Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site astrovax.UUCP Path: utzoo!linus!decvax!genrad!grkermit!masscomp!clyde!akgua!astrovax!wls From: wls@astrovax.UUCP (William L. Sebok) Newsgroups: net.news.b Subject: Re: Has anyone fixed vnews to hangup correctly? Message-ID: <205@astrovax.UUCP> Date: Fri, 6-Jan-84 00:16:28 EST Article-I.D.: astrovax.205 Posted: Fri Jan 6 00:16:28 1984 Date-Received: Sat, 7-Jan-84 01:28:42 EST References: <750@qubix.UUCP> Organization: Princeton Univ. Astrophysics Lines: 10 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