[Coco] OS/9 Command to gain keyboard control from script

Robert Gault robert.gault at att.net
Sat Apr 4 22:29:32 EDT 2015


Luis Antoniosi (CoCoDemus) wrote:
> now I'm trying to use:
>
> path=/dd/cmds /d0/cmds /d1/cmds
>
> but it wont work because anything you set inside a script is valid only for
> that session. You need to type it by hand what is awful. I want to use that
> in my startup script
>
> I just wnat to be able to put a disk on drive 0 or 1 and run a program
> without having to change CHX or PATH everytime. This is so frustating...
>
>
> Luis Felipe Antoniosi
>

Luis,

Go to ftp://www.rtsi.com/OS9/OS9_6X09/APPS/ and download the file
cc3go_shell_parm.lzh . This contains a replacement for cc3go by Roger A. Krupski 
of RGB Computer Systems & Ken-Ton fame. This version of cc3go will permit you to 
use the above path= command.

In short, the new cc3go will use /dd/sys/shell.parameters (a new file) to permit 
a one line set of commands for shellplus. I just ran a test and it will do 
exactly what you want.
As a test, I used dEd to change Init in my OS9Boot file replacing SysGo with 
cc3go. I placed the cc3go from the .lzh archive in /dd. I created the following 
SYS/shell.parameters file:
I=/1 path=/d1/cmds /d2/cmds

After booting, I entered:
path=?
and got
/d1/cmds
/d2/cmds

Robert



More information about the Coco mailing list