Xref: utzoo comp.sys.next:16910 comp.unix.programmer:1720 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!umd5!lewhoosh.umd.edu!matthews From: matthews@lewhoosh.umd.edu (Mike Matthews) Newsgroups: comp.sys.next,comp.unix.programmer Subject: non-buffered input for gets etc. Message-ID: <8517@umd5.umd.edu> Date: 2 May 91 01:41:20 GMT Sender: news@umd5.umd.edu Organization: Computer Science Center, University of Maryland, College Park Lines: 18 Can someone please tell me how to get a standard tty-based program to not buffer the input? Specifically on an '040, 2.1 NeXT. (i.e., if I am looking for at most 10 characters, I don't want anything typed past that to stay around for the next input sequence; I already wrote my own routine (need to do some other stuff too), but the buffering is still killing me) Forgive such a basic question; I think it has something to do with an ioctl but my brain is fried and I need to find out how to do this Real Soon Now, but have lots of more important things to do in the meantime. Please Email. Thanks. ------ Mike Matthews, matthews@lewhoosh.umd.edu (NeXT)/matthews@umdd (bitnet) ------ If you want your spouse to listen and pay strict attention to every word you say, talk in your sleep.