Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-unix!hplabs!decwrl!pyramid!prls!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP Newsgroups: comp.unix.questions Subject: Re: Question on implementing "repeat...until keypress"? Message-ID: <647@mcgill-vision.UUCP> Date: Wed, 11-Feb-87 19:12:03 EST Article-I.D.: mcgill-v.647 Posted: Wed Feb 11 19:12:03 1987 Date-Received: Sun, 15-Feb-87 01:00:56 EST References: <32100@auc.UUCP> <1485@megaron.arizona.edu> <12911@sun.uucp> Organization: McGill University, Montreal Lines: 22 In article <12911@sun.uucp>, guy%gorodish@Sun.COM (Guy Harris) writes: > Is there some reason why this example requires that you: > [assorted things] > If not, then you should be going into CBREAK mode, not RAW mode. True enough, in this case. > (Yes, I know EMACS uses [RAW mode], but that's just because the only > way to guarantee no special input processing whatsoever with the > older V7-style interface is to turn RAW mode on.) It's also much easier to simply turn RAW on than to grovel through struct tchars and struct ltchars turning all the characters off and then fiddling half a dozen bits to get the literal input and output effect. der Mouse USA: {ihnp4,decvax,akgua,utzoo,etc}!utcsri!mcgill-vision!mouse think!mosart!mcgill-vision!mouse Europe: mcvax!decvax!utcsri!mcgill-vision!mouse ARPAnet: think!mosart!mcgill-vision!mouse@harvard.harvard.edu