Xref: utzoo news.software.nn:571 news.software.b:4925 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!tidk!storm From: storm@texas.dk (Kim F. Storm) Newsgroups: news.software.nn,news.software.b Subject: Re: Fix for SCO posting with nnpost to cnews Keywords: nnpost nn cnews posting Message-ID: <579@texas.dk> Date: 6 Jun 90 11:46:54 GMT References: <1990May29.224134.6404@telesys.cts.com> Organization: Texas Instruments, Denmark Lines: 23 kreed@telesys.cts.com (Kevin W. Reed) writes: >The following is how I fixed my posting problems using nn 6.4.3 and Cnews. >It seems that for some reason, when inews is called from nn it is no longer >attached to a terminal (?) and since this is so, who am i fails. When called >from postnews it works ok. I would propose the following fix which I would like somebody to try out: Add this line at the beginning of aux.sh: exec 3<&0 This will open fd #3 as the tty, and Cnews' anne.jones script will use this before 0 1 2 (which are not ttys when inews is called by the aux script). Please try it out and tell me whether it works. it works. -- Kim F. Storm No news is good news, Texas Instruments A/S, Denmark but nn is better!