Article View: news.software.nn
Article #633Re: aux.sh broken by patch #5
From: Kim F. Storm
Date: Mon, 25 Jun 1990 10:14
Date: Mon, 25 Jun 1990 10:14
22 lines
1516 bytes
1516 bytes
ianh@bhpmrl.oz.au (Ian Hoyle) writes: >The addition of exec 3<&0 in aux.sh breaks the invocation of the editor >of choice when replying, posting etc. (at least it does on my Apollo 10000 >& 35/4500's running sr10.2 :-). Sigh! I added the "exec 3<&0" to fix the problem related to Cnews' inews not being able to find the name of the invoking user (it uses "who am i <&3") And of course it had to break something else. Looking closer at Cnews' anne.jones script I have found a simpler solution: It only uses the who am i command if LOGNAME is not defined in the environment. So with patch #6 installed, nn will simply set LOGNAME to the login name (getlogin()) before invoking inews (if not already defined). So with patch #6 installed it will only break on systems which don't have a working getlogin() (half :-) -- Kim F. Storm <storm@texas.dk> No news is good news, Texas Instruments A/S, Denmark but nn is better!
Technical Details
Message-ID:
<604@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:
<1572@merlin.bhpmrl.oz.au>Show Full Headers
Complete Article Headers
Message-ID: <604@texas.dk> Subject: Re: aux.sh broken by patch #5 Date: Mon, 25 Jun 1990 10:14:32 +0000 From: storm@texas.dk (Kim F. Storm) References: <1572@merlin.bhpmrl.oz.au> 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: 22 Posted: Mon Jun 25 11:14:32 1990