Type-ahead in unix
Doug Gwyn
gwyn at smoke.brl.mil
Tue Apr 16 11:25:12 AEST 1991
In article <4467 at skye.ed.ac.uk> richard at aiai.UUCP (Richard Tobin) writes:
>In article <15784 at smoke.brl.mil> gwyn at 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.
More information about the Comp.unix.questions
mailing list