Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!paperboy!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Type-ahead in unix Message-ID: <15844@smoke.brl.mil> Date: 16 Apr 91 01:25:12 GMT References: <15783@smoke.brl.mil> <15784@smoke.brl.mil> <4467@skye.ed.ac.uk> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article <4467@skye.ed.ac.uk> richard@aiai.UUCP (Richard Tobin) writes: >In article <15784@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes: >>I forgot to mention that this also moves the insertion point to just >>after the newline. >Presumably this happens when the process reads the line, rather than when >the newline is inserted? That I don't recall, but my guess would be not, since the interface has no idea when the input data will actually be consumed by a process on the host. In an independent reimplementation of the basic notion, you could opt to do this whatever way seems suitable. Let us know how it turns out.