Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!cmcl2!yale!bunker!wtm From: wtm@bunker.UUCP Newsgroups: news.software.b Subject: Re: Bug in "rn" Message-ID: <1828@bunker.UUCP> Date: Wed, 1-Apr-87 23:56:08 EST Article-I.D.: bunker.1828 Posted: Wed Apr 1 23:56:08 1987 Date-Received: Sat, 4-Apr-87 16:36:23 EST References: <537@cpocd2.UUCP> Reply-To: wtm@bunker.UUCP (Bill McGarry) Organization: Bunker Ramo, an Olivetti Company, Shelton, CT Lines: 33 In article <537@cpocd2.UUCP> howard@cpocd2.UUCP (Howard A. Landman) writes: >When following up an article with 'f' or 'F', you get the prompt: > > Prepared file to include [none]: > >If, in answer, you type an accidental ' ' (space), followed by , >rn hangs up. It appears to be searching for file " " or something. >I eventually got out of this after a pile of ^Cs and s, with >an error message saying something had been appended to my dead.letter >file. In the shell script, "Pnews", somewhere around line 245, there is a line: $cat $file >> tmpart With $file being what was just read from the user. Since this was a space, this is the same as: $cat >> tmpart which is reading from standard in. One fix would be to change that line to: $cat "$file" >> tmpart which would then cause an error message. Bill McGarry Bunker Ramo, Shelton, CT PATH: {philabs, decvax, motown, fortune, yale}!bunker!wtm