msc@qubix.UUCP (Mark Callow) (01/05/84)
Has anyone fixed vnews to deal with a hangup signal in an intelligent manner (i.e., to update the .newsrc file)? Before I dig in and fix it I thought I see if anyone else has done it. I'm sick of having the phone disconnected and then having to plow through all the news headers again. -- From the Tardis of Mark Callow msc@qubix.UUCP, decwrl!qubix!msc@Berkeley.ARPA ...{decvax,ucbvax,ihnp4}!decwrl!qubix!msc, ...{ittvax,amd70}!qubix!msc
wls@astrovax.UUCP (William L. Sebok) (01/06/84)
What operating system are you running? If it is 4.X BSD I know what the problem is but haven't got around to fixing it. The problem is in 4.X BSD's signal mechanism. The hangup routine sets a flag which is tested on return from the input command read. The read expects that it will be aborted when it is interrupted, which, of course, doesn't happen in the Berkeley Unix dialects. A cure is to replace the synchronous signal routine with a longjmp construction. -- Bill Sebok Princeton University, Astrophysics {allegra,akgua,burl,cbosgd,decvax,ihnp4,kpno,princeton,vax135}!astrovax!wls