Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!psuvax1!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Type-ahead in unix Message-ID: <15711@smoke.brl.mil> Date: 4 Apr 91 18:51:51 GMT References: <659@adpplz.UUCP> <15686@smoke.brl.mil> <671@adpplz.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 39 In article <671@adpplz.UUCP> martin@adpplz.UUCP (Martin Golding) writes: >If you call it supported. If you call that typeahead. Yes on both counts. >BTW ksh on my machine cannot process typedahead edit commands. Sounds like a bug in the implementation of ksh. The same feature in BRL's version of the Bourne shell does not have that problem. (The editing of course does not occur until the shell reads the characters, but they do have the desired effect at that point.) >How about, typeahead for passwords? Why do you often find yourself typing passwords? In any case, you can type them ahead, but they will be echoed. Or, you could wait until you are prompted, just in case the program ends up asking for something other than a password at that point, so you won't be embarrassed by having entered a password that ends up getting displayed. >How about, screen formatting programs? I don't know what problems you see there. >I just got out of a meeting with our vendor about this very subject- >the terminal drivers are deliberately programmed against us. When >you do disk stuff, the input doesn't start until the process asks: >terminal stuff is crammed willy-nilly into the memory, so the controller >doesn't have to be annoyed by the processes. The fundamental difference is that the data source for keyboard input is forced upon the operating system whether or not it wants it, so it must do something with that input. The disk is read only upon decision of the operating system, not of the disk. Basically I would suggest simply getting used to the UNIX input style. It is not much better or worse that what you are accustomed to, merely different.