Path: utzoo!attcan!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: ReadKey like Function in C Message-ID: <5799@ficc.uu.net> Date: 21 Aug 89 02:25:31 GMT References: <148@trigon.UUCP> <225800206@uxe.cso.uiuc.edu> <3180@scolex.sco.COM> <13656@bloom-beacon.MIT.EDU> Organization: Xenix Support, FICC Lines: 14 In article <13656@bloom-beacon.MIT.EDU>, scs@adam.pika.mit.edu (Steve Summit) writes: > It turns out that ed does reads of 1 from standard > input. I believe this dates to a very old version of Unix when > it was important to do so to avoid reading past a !, the > characters following which had to be left in some input buffer > for the shell to read during a shell escape. Ah yes. If anyone ever wondered about the point of the '-t' option of sh, that's what it was for... -- Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation. Biz: peter@ficc.uu.net, +1 713 274 5180. Fun: peter@sugar.hackercorp.com. `-_-' "Optimization is not some mystical state of grace, it is an intricate act U of human labor which carries real costs and real risks." -- Tom Neff