Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!zog.cs.cmu.edu!dlc From: dlc@zog.cs.cmu.edu (Daryl Clevenger) Newsgroups: net.lang.c,net.unix Subject: Re: C I/O Question Message-ID: <1005@zog.cs.cmu.edu> Date: Sat, 26-Jul-86 00:51:29 EDT Article-I.D.: zog.1005 Posted: Sat Jul 26 00:51:29 1986 Date-Received: Sat, 26-Jul-86 21:56:55 EDT Organization: Carnegie-Mellon University, CS/RI Lines: 7 Xref: mnetor net.lang.c:5461 net.unix:5032 Here we have a csh with command line editing and tenex style file name completion. In order for it to work, it must read and interpret each character as it is typed. By using ioctl to get the terminal flags, one can set CBREAK (or RAW, but I think there are some problems using raw mode) mode. I think that you could either use this approach in your shell or just set the bits in your desired application. Curses also allows you to change the input mode from COOKED to CBREAK or RAW.