/* Special Raw console I/O for BDSC Steve Ward 1/81
*
* Provides a reasonably flexible, device-independent interface:
*
* ch = getchar() Read a character
*
* putchar(ch) write a character
*
* kbhit() true iff input character waiting
*
* old = TTYMode(m) Sets tty mode bits to m, returning old
* value. Mode bits:
* 1 Echo mode: chars echoed as read.
* 2 Quit: ^C causes an exit.
* 4 Flow: ^S, ^Q flow control.
* 8 Strip: input characters stripped to 7 bits.
* 16 Expand: expand \n, \t on output.
*
* Hence for REALLY raw I/O, do TTYMode(0).
*
* NOTE: Program using CIO.C are NOT PORTABLE to systems lacking a C compiler!
* If you really must use CIO, then compile this once (to get CIO.CRL)
* and link your programs by saying:
*
* A>clink main <other CRL files> DEFF CIO <cr>
*
*/
#include "bdscio.h" /* Make sure BDSCIO.H has been
customized for your system! */