[Coco] How to permanently change NitrOS-9 directories within a script?

Robert Gault robert.gault at att.net
Sun May 12 09:42:50 EDT 2019


Wayne,

I think you mean something like   shell i=/w2&
which will start a new shell in a specific window leaving you in the current shell and screen.

Robert

Wayne Campbell wrote:
> Been awhile, but isn't there a shell operator in the shell script that
> allows you to fork another shell for the command that separates it from the
> script?
>
> Wayne
>
>
> On Sat, May 11, 2019, 9:35 PM Joel Rees <joel.rees at gmail.com> wrote:
>
>> Do OS-9 shells have an equivalent to "export"?
>>
>> 2019年5月9日(木) 7:51 Robert Gault <robert.gault at att.net>:
>>
>>> Changing directories with chd, cd, chx, cx at the keyboard results in a
>>> permanent change. Using
>>> these commands within a script, such as startup, will give you a
>> temporary
>>> change until the script
>>> ends. I'm sure at one time I knew how to use these commands within a
>>> script so that the directory
>>> changes did not revert when the script finished but I can't remember how
>>> nor find any discussion on
>>> the subject.
>>>
>>> Does anyone know how to do this?
>>>
>>> Robert
>>>
>>> --
>>> Coco mailing list
>>> Coco at maltedmedia.com
>>> https://pairlist5.pair.net/mailman/listinfo/coco
>>>
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> https://pairlist5.pair.net/mailman/listinfo/coco
>>
>


More information about the Coco mailing list