#: 3358 S10/Tandy CoCo
07-May-90 21:47:17
Sb: #3352-OS-9 Startup
Fm: Kevin Darling (UG Pres) 76703,4227
To: Bob Archambault 76506,3544 (X)
Bob,
It depends on exactly what you want. If you simply want to always run and goto
a certain program, why not just start up other shell windows in the background,
and then start the program on /term? Then you ain't gotta go nowhere .
Example:
* ------------------------------------------------------------
* Script to start a shell window in backgnd and change current
* one to gfx window type 8... then start "program"
shell i=/w&
-t
display 1b24
display 1b20 8 0 0 28 18 1 0 2
display 1b21 1
program 1
Now all that did was DWEND (1b24) the current window, DWSET (1b20..) it to a
type 8, SELECT (1b21) it to keep it, and start Program. The "1" stuff is
needed because the standard input of a shell script file is of course, the
script file itself... so you needed to change stdin (<) to whatever window
stdout (/1) was.
|