[Coco] Re: Path command wasRe: OS-9 LVL II
Robert Gault
robert.gault at worldnet.att.net
Sat Feb 19 08:29:08 EST 2005
I had just reported what was contained in the shellplus doc. After some
testing, I have found when the path= command is entered from the
keyboard, the paths are inherited by any new shell. If the command is
placed in a script file or Startup, the paths won't stick unless the
last line of the script is i=/1 .
This last method of using a script with i=/1 has an unfortunate
consequence. It interferes with the prompting in shellplus and the shell
using the script no longer issues a command line prompt. However any new
shell will behave in the normal fashion and retain the path information.
As an aside, the shellplus package is easily obtained from RTSI and it
contains a doc file. If this file is read and shellplus tested, most
questions will be answered before they are asked. :)
Charlie wrote:
> Bob, If you put the PATH command in startup, won't it only set path for the
> TERM window?
> Is there a way to set path for all open shell windows without having to go
> to each screen and
> using a script or typing path=whatever ?
>
> Charlie
>
> "Robert Gault" <robert.gault at worldnet.att.net> wrote
> in message news:42156377.6050009 at worldnet.att.net...
>
>>John, this took awhile to track down.
>>
>>The Path command is built into ShellPlus so you won't see it as a separate
>>command anywhere. The syntax is path= (pathnames) or path=? the latter
>>will display whatever was set as alternate command paths.
>>
>>A typical use of this command might be from a script or in startup:
>>
>>path= /d1/CMDS /d2/GAMES/CMDS /h1/EDITORS/CMDS
>>
>>Multiple paths should be separated by a space.
>>
>>There are two versions of ShellPlus on RTSI and one in the NitrOS-9
>>distribution disks at www.nitros9.org
>>
>>John Donaldson wrote:
>>
>>> I am setting up my JC/JV Emulator with NitrOS9 both 6809 and 6309
>>>version. I am also want to setup
>>>different development packages, but don't want to have to put evrything
>>>into /DD?CMDS.
>>> I think I remember that shell+ allows multi-Directories to be searched
>>>so that if the command is NOT in
>>>CMDS, it then searches the next directory in the list. If I remember
>>>correctly it is like the PATH
>>>command under MSDOS.
>>> I need the correct syntax and where it is placed.
>>>
>>>John Donaldson
>>>
>>>
>>>
>>
>>--
>>Coco mailing list
>>Coco at maltedmedia.com
>>http://five.pairlist.net/mailman/listinfo/coco
>>
>
>
>
>
>
More information about the Coco
mailing list