[Coco] Re: Re: Path command wasRe: OS-9 LVL II

Charlie chazbeenhad at hotmail.com
Sat Feb 19 09:47:42 EST 2005


Bob, I have read the doc a few times. I didn't understand a thing in it. ;-)
So, basically you are saying there is no way to set PATH in startup and have 
other Shell screens created.
Oh well. It would be nice. Right now my CMDS directory is cluttered with 
utilities I'd like to keep in a separate
directory.

Charlie

"Robert Gault" <robert.gault at worldnet.att.net> wrote 
in message news:42173F24.3020706 at worldnet.att.net...
>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
>>>
>>
>>
>>
>>
>>
>
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
> 






More information about the Coco mailing list