printf, data presentation

Richard J Cox maujt at warwick.ac.uk
Sun Jan 15 03:13:36 AEST 1989


In article <225800107 at uxe.cso.uiuc.edu> mcdonald at uxe.cso.uiuc.edu writes:
>
>
>This implies that it does not wait for input, but rather returns at once.
>If there is something there, the
 

On UNIX - cbreak mode. Characters are passed to the buffer immediately
(no newline needed) and can be read with getc() or similar.

To go into cbreak mode you use one of the ioctl() calls.

Nothing is echoed to the terminal, so you have to do this explicitly (I 
think).

- RC

/*--------------------------------------------------------------------------*/
JANET:  maujt at uk.ac.warwick.cu     BITNET:  maujt%uk.ac.warwick.cu at UKACRL
ARPA:   maujt at cu.warwick.ac.uk	   UUCP:    maujt%cu.warwick.ac.uk at ukc.uucp
Richard Cox, 84 St. Georges Rd, Coventry, CV1 2DL; UK PHONE: (0203) 520995



More information about the Comp.lang.c mailing list