Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.sources.bugs Subject: rn bug #27 Message-ID: <1517@sdcrdcf.UUCP> Date: Fri, 30-Nov-84 20:22:27 EST Article-I.D.: sdcrdcf.1517 Posted: Fri Nov 30 20:22:27 1984 Date-Received: Sun, 2-Dec-84 06:03:16 EST Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Organization: System Development Corp. R+D, Santa Monica Lines: 309 System: rn version 4.1 Priority: LOW Subject: Pnews and Rnmail can show environment under some circumstances From: geoff@desint.UUCP (Geoff Kuenning) Description: Pnews.SH uses set `command` to set certain variables. If the command returns nothing, the environment will be displayed on the terminal. (There are also some instances of "echo -n" that need generalizing in Rnmail.SH, and that are fixed by this patch.) Repeat-By: Temporarily remove the Distribution: line from your NEWSHEADER environment variable. Now enter 'rn' and follow up to an article. The current variables of the Pnews script will be shown on the terminal. Fix: Ensure there is at least one argument to each set command by saying set X `command` shift From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patchPnews <Pnews <Rnmail <Rnmail <