[LCP]Unbuffered getchar()

Greg Black gjb at gbch.net
Fri Apr 11 11:37:02 UTC 2003


On 2003-04-11, McDonald, Joshua J (Josh) wrote:

> Does anyone know enough about termios to instruct me how to have the program
> automatically return to a state where input is buffered/echo'd again?

Yes.

It's not rocket science.  Read the manual.  Specifically, read
how to save the state before you muck about with it.  Then
restore it before you quit.

-- 
Greg Black <gjb at gbch.net> <http://www.gbch.net/gjb.html>
GPG signed mail preferred; further information in headers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 249 bytes
Desc: not available
Url : http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20030411/b2b868a1/attachment.pgp 


More information about the linuxCprogramming mailing list