home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!utcsri!geac!r-node!druid!darcy
- From: darcy@druid.uucp (D'Arcy J.M. Cain)
- Subject: Re: getting characters
- Message-ID: <1992Sep15.122502.15370@druid.uucp>
- Date: Tue, 15 Sep 1992 12:25:02 GMT
- References: <BuDt1C.38v@usenet.ucs.indiana.edu> <1992Sep11.220512.4332@ima.isc.com>
- Organization: D'Arcy Cain Consulting
- Lines: 13
-
- karl@ima.isc.com (Karl Heuer) writes:
- >optionally turn off ECHO). On some Unix variants you may have to turn on the
- >CBREAK flag instead. If you have the curses package and don't mind using it
- >for this project, you can use its getch() function, which does this for you.
-
- But you still have to set CBREAK first. Curses supplies cbreak() for this
- purpose.
-
- --
- D'Arcy J.M. Cain (darcy@druid.com) |
- D'Arcy Cain Consulting | There's no government
- Toronto, Ontario, Canada | like no government!
- +1 416 424 2871 DoD#0082 |
-