Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site hwcs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!edcaad!hwcs!chris From: chris@hwcs.UUCP (Chris Miller) Newsgroups: net.bugs.4bsd Subject: addbib goes into infinite loop. Message-ID: <260@hwcs.UUCP> Date: Mon, 5-Nov-84 12:24:01 EST Article-I.D.: hwcs.260 Posted: Mon Nov 5 12:24:01 1984 Date-Received: Sat, 10-Nov-84 05:50:58 EST Organization: Computer Sci., Heriot-Watt U., Scotland Lines: 17 Index: /usr/src/usr.bin/refer/addbib.c 4.2BSD Description: After reading an abstract, "addbib" ignores further input and prints out an unending stream of prompts. Repeat-By: Run "addbib /tmp/junk" and create a dummy reference with arbitrary keywords. Type the EOF character in response to the "Abstract: " prompt. Fix: Test for EOF and clear the condition before issuing a "Continue? " prompt. -- Chris Miller Department of Computer Science Heriot-Watt University ...!ukc!{edcaad,west44}!hwcs