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!microsoft!uw-beaver!cornell!vax135!ariel!houti!hogpc!houxm!ihnp4!astrovax!wls From: wls@astrovax.UUCP Newsgroups: net.news.b Subject: Another ^Z bug in r and f commands of vnews (4.1 BSD) Message-ID: <78@astrovax.UUCP> Date: Mon, 31-Oct-83 21:01:47 EDT Article-I.D.: astrovax.78 Posted: Mon Oct 31 21:01:47 1983 Date-Received: Tue, 25-Oct-83 06:57:46 EDT Organization: Princeton Univ. Astrophysics Lines: 15 How to produce the bug: Enter vnews, then send a followup or a reply using the `r' or `f' commands. Then exit the editor. One is now back in vnews. If one then stops vnews with ^Z, the signal will also stop the background processes (mailer, uucp, etc.) that the mail or inews programs had invoked. The way I fixed it was to modify the "reply" and "follow" shell scripts to add signals 18, 21, and 22 to those ignored during the invocation of inews or mail. Unfortunately I had to modify the Bourne shell to let it recognize the existence the higher numbered signals. The change to /bin/sh is trivial (and, I believe, should have been done anyway). Change MAXTRAP in defs.h from 17 to 33. -- Bill Sebok Princeton Univ. Astrophysics {allegra,akgua,burl,cbosgd,decvax,ihnp4,knpo,princeton}!astrovax!wls