🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Ian Hoyle Tue, 19 Jun 1990 02:30
aux.sh broken by patch #5
#590
Author: Ian Hoyle
Date: Tue, 19 Jun 1990 02:30
24 lines
1524 bytes
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 :-).

I think nn tries to invoke aux which then starts up the editor (in my case
vi), but all I get is the -WAIT- at the bottom of the screen and nothing
happens at all - it's *real* stuck :-(  (can't even hit the interrupt key
to get out as these are already trapped in aux :-(

question is: why is exec 3<&0 there anyway ?? It wasn't documented as a 
change in the RELEASE_NOTES as far as I can see.

			ian
-- 

                Ian Hoyle
     /\/\       
    / / /\      BHP Melbourne Research Laboratories
   / / /  \     245 Wellington Rd, Mulgrave, 3170
  / / / /\ \    AUSTRALIA
  \ \/ / / /
   \  / / /     Phone   :  +61-3-560-7066
    \/\/\/      ACSnet  :  ianh@bhpmrl.oz.au
                Internet:  ianh%bhpmrl.oz.au@uunet.uu.net
Re: aux.sh broken by patch #5
#633
Author: Kim F. Storm
Date: Mon, 25 Jun 1990 10:14
22 lines
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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads