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!mhuxi!cbosgd!ulysses!princeton!astrovax!wls From: wls@astrovax.UUCP Newsgroups: net.news.b Subject: Fixed visual.c of vnews posted to net.sources Message-ID: <82@astrovax.UUCP> Date: Mon, 31-Oct-83 23:09:50 EDT Article-I.D.: astrovax.82 Posted: Mon Oct 31 23:09:50 1983 Date-Received: Tue, 25-Oct-83 07:34:53 EDT Organization: Princeton Univ. Astrophysics Lines: 35 I have posted a revised version of visual.c (a component of Kenneth Alquist's vnews) to net.sources. I have fixed some bugs, added one command, fixed some things I thought were handled crudely, and have tried to keep up to date with the current posted bug fixes. The changes are enough that a simple diff posting is unrealistic. We run 4.1 BSD here and although I have tried to do the correct things for USG I do not guarantee them. This is the list of changes extracted from the file: /* * Changes to visual.c (W. Sebok astrovax!wls) * * 1) Added 'H' command to print out full header. * 2) Interrupt character was hard-wired to Rubout. Replaced this with * interrupt (and quit) characters obtained from terminal ioctl's. * 3) fixed 4.1 BSD bug which would cause the interrupt character to be * ignored anyway unless set differently than vnews is expecting. This * bug is produced by the fact that the terminal read is *not* aborted * by an interrupt signal in 4.1 BSD when the new signal mechanism is used. * 4) Added handling of delete and kill characters to the entry of a number * used as a command parameter. * 5) Cleaned up behavior of `s' command when environment variable NEWSBOX * is present: * a) when %s is present in NEWSBOX string added directory creation when * directory is not present. It also recognizes and rejects the case * when the "directory" is present but not a directory. * b) formerly, saving at article at ~/file would cause the article to * saved at newsdir/groupname/~/file where "newsdir" is the news * directory and "groupname" is the name of the news group. This has * been fixed to instead save the article at $HOME/file. * 6) Applied many of the bug fixes given on the net. This includes the bug fix * I posted to make ^Z not hang vnews when given from the editor invoked by * the "r" or "f" commands. */ -- Bill Sebok Princeton Univ. Astrophysics {allegra,akgua,burl,cbosgd,decvax,ihnp4,knpo,princeton}!astrovax!wls