[Coco] Major OS-9 discovery to enhance script file use.

Robert Gault robert.gault at worldnet.att.net
Sun Jan 8 09:13:54 EST 2006


Have any of you OS-9 users every tried to create a script file to 
permanently change directories or switch to different windows? You will 
have found either it just doesn't work or the changes revert once the 
script finishes. I have just found a syntax that will permit this type 
of script to work. The technique is to enclose any problem command(s) as 
follows:    (command)</1

As an example, suppose you want to occasionally use MultiVue but don't 
want to boot into it. You might have an MVue directory on your hard 
drive that should be the MV base directory and you also want /term to 
stay as is while MultiVue is running. You could use the following script 
file named say MV.

iniz /w4
* Make w4 a 4 color graphics window
display 1b 20 6 0 0 28 18 1 0 5 >/w4
* Load fonts, patterns, and pointers
chd /dd/sys; merge stdfonts stdpats_4 stdpats_16 stdptrs >/w4
* Start MultiVue in /w4
(multistart <>>>/w4)&
* Permanently change to the MultiVue directory
(chd /h0/MVUE)</1
* Make the new window /w4 the active window
(display 1b 21)</1




More information about the Coco mailing list