Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!gatech!ncar!ames!ll-xn!oberon!skat.usc.edu!blarson From: blarson@skat.usc.edu (Bob Larson) Newsgroups: comp.unix.wizards Subject: Re: Input Line Editing Message-ID: <11024@oberon.USC.EDU> Date: 23 Jul 88 13:08:04 GMT References: <16456@brl-adm.ARPA> <9666@eddie.MIT.EDU> <11933@ncoast.UUCP> Sender: news@oberon.USC.EDU Reply-To: blarson@skat.usc.edu (Bob Larson) Organization: USC AIS, Los Angeles Lines: 13 In article <11933@ncoast.UUCP> allbery@ncoast.UUCP (Brandon S. Allbery) writes: >??? Why not just a modified version of gets()? Gets has a major bug: it has no way of detecting the end of buffer passed to it. I use fgets(stdin, ... instead. [I expected someone else to mention this earlier.] Bob Larson Arpa: Blarson@Ecla.Usc.Edu blarson@skat.usc.edu Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson Prime mailing list: info-prime-request%ais1@ecla.usc.edu oberon!ais1!info-prime-request