[Coco] How to permanently change NitrOS-9 directories within a script?
Wayne Campbell
asa.rand at gmail.com
Sun May 12 09:59:38 EDT 2019
Maybe I'm confusing it with Basic09's SHELL keyword. I just thought I
remembered being able to run a command from a shell forked from within a
script that would execute the command and return you to the script, but
making whatever change you wanted without it reverting back. Guess I am
misremembering.
Wayne
On Sun, May 12, 2019, 6:42 AM Robert Gault <robert.gault at att.net> wrote:
> 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
> >>
> >
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list