Article View: news.software.nn
Article #1066Re: nn messing with the PATH
From: Kim F. Storm
Date: Fri, 09 Nov 1990 17:47
Date: Fri, 09 Nov 1990 17:47
26 lines
1426 bytes
1426 bytes
barrett@undeed.uucp (Alan P. Barrett) writes: >I usually have my path set to something like > $HOME/bin:/bin:/usr/bin:. >When I run a '!' command from inside nn, /bin is inserted at the front >of the path. I have a similar PATH, and I never have problems with nn's ! command. The easiest way to see what the PATH is when you do '!' is to do: !echo $PATH When I does that from nn, I get the expected result: /ram:/u/storm/bin:/u/bin:/bin:... But if I try the same from within vi, I get /bin prepended out of nowhere: /bin:/ram:/u/storm/bin:/u/bin:/bin:... So nn does the right thing (really it does nothing special with the PATH). I would suspect your shell or exec system call to prepend /bin - nn doesn't. -- Kim F. Storm <storm@texas.dk> No news is good news, Texas Instruments A/S, Denmark but nn is better!
Technical Details
Message-ID:
<713@texas.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!stormReferences:
<1990Oct20.145754.1210@undeed.uucp>Show Full Headers
Complete Article Headers
Message-ID: <713@texas.dk> Subject: Re: nn messing with the PATH Date: Fri, 09 Nov 1990 17:47:16 +0000 From: storm@texas.dk (Kim F. Storm) References: <1990Oct20.145754.1210@undeed.uucp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm Newsgroups: news.software.nn Organization: Texas Instruments, Denmark Lines: 26 Posted: Fri Nov 9 18:47:16 1990