#Postscript printer
15-Feb-92 22:37:05
Sb: #20402-#Postscript printer
Fm: John Draper 76703,4322
To: Syndesis 76004,1763
Well, I don't mind if you excerpt what I say for an article. Bear in mind
that I seem to be pretty atypical in this area, since I really enjoy
writing scripts to do things for me. I even use the 'immediate' mode a lot.
In case you aren't sure what I mean by that, it's where you can send a
complete program right from the command line, and sometimes it's just a
whole lot easier for me to write the little script, testing as I go, and
then letting it do its thing, than it would be to do it all by hand, yet
would be a definite one-shot program, never to be used again.
In my REXX: directory.. let's see… lpr.rexx, which I already mentioned.
Several scripts to get me to a specific directory, run a program, and
return control to the original directory. Examples would be for games. I
just type the name of the game, and the script pushes the current dir, CD's
to the appropriate directory, runs the program, and pushes 'popcd' before
exiting.
One that I use a lot is called go.rexx. It recognizes a number of keywords,
such as 'asm', 'lc', 'manx', 'tape', 'a-doc', and so on. Ths purpose of the
script is to set up environment variables for the task at hand, CD to the
appropriate directory, and to clear any path/env stuff that I won't be
needing. I have also used KeymapEdit to assign strings to my ALT-NUMPAD
keys, to the form 'go lc', etc. So when I want to do some programming in
Lattice, I hit ALT-NUMPAD-6, and I am all set to start.
[cont]