[Coco] CHX broke? for 6309l2v030201
Boisy G. Pitre
boisy at boisypitre.com
Wed Jul 14 14:38:55 EDT 2004
On Jul 14, 2004, at 12:12 PM, Paul T. Barton wrote:
> Boisy, Charlie,
>
> OK, did a test.
> went to /r0/CMDS.
> typed build test
> chx /dd/cmds
> pxd
> chx /r0/cmds
> pxd
>
> attr test e
> ----
>
> and of course it replied with
>
> /dd/cmds
> /r0/cmds
>
> Just what I expected.
> Except that I want to go to /r0/cmds
> without typing it, in startup for instance.
>
You can insert this last line in your startup file:
shell</1
That will cause a second instance of the shell to be forked, which
inherits its default I/O paths from the parent shell (the one running
the startup file).
Of course, you now have three instances of the shell running, including
sysgo (the first shell forked the second shell with 'startup' as its
input, and the third shell is the shell you forked within the startup
file)
Do a procs after adding the above line to startup, and you'll see what
I mean.
Another option is to use the path= command in Shell+
path=/dd/cmds:/r0/cmds
Now both directories get searched for commands!
More information about the Coco
mailing list