|
XINU
|

Go to the source code of this file.
Data Structures | |
| struct | ttycblk |
Macros | |
| #define | TC_ECHO 9 /* Turn on echo */ |
| #define | TC_ICHARS 8 /* Return number of input chars */ |
| #define | TC_MODEC 5 /* Set input mode to cooked */ |
| #define | TC_MODEK 6 /* Set input mode to cbreak */ |
| #define | TC_MODER 4 /* Set input mode to raw */ |
| #define | TC_NEXTC 3 /* Look ahead 1 character */ |
| #define | TC_NOECHO 10 /* Turn off echo */ |
| #define | TY_BACKSP '\b' /* Backspace character */ |
| #define | TY_BACKSP2 '\177' /* Alternate backspace char. */ |
| #define | TY_BELL '\07' /* Character for audible beep */ |
| #define | TY_BLANK ' ' /* Blank */ |
| #define | TY_EBUFLEN 20 /* Size of echo queue */ |
| #define | TY_EOFCH '\04' /* Control-D is EOF on input */ |
| #define | TY_FULLCH TY_BELL /* Char to echo when buffer full*/ |
| #define | TY_IBUFLEN 128 /* Num. chars in input queue */ |
| #define | TY_IMCBREAK 'K' /* Honor echo, etc, no line edit*/ |
| #define | TY_IMCOOKED 'C' /* Cooked mode => line editing */ |
| #define | TY_IMRAW 'R' /* Raw input mode => no edits */ |
| #define | TY_KILLCH '\025' /* Control-U is line kill */ |
| #define | TY_NEWLINE '\n' /* Newline == line feed */ |
| #define | TY_OBMINSP 20 /* Min space in buffer before */ |
| #define | TY_OBUFLEN 64 /* Num. chars in output queue */ |
| #define | TY_OMRAW 'R' /* Raw output mode => no edits */ |
| #define | TY_RETURN '\r' /* Carriage return character */ |
| #define | TY_STOPCH '\023' /* Control-S stops output */ |
| #define | TY_STRTCH '\021' /* Control-Q restarts output */ |
| #define | TY_UPARROW '^' /* Used for control chars (^X) */ |
Variables | |
| struct ttycblk | ttytab [] |
| #define TC_ECHO 9 /* Turn on echo */ |
Definition at line 83 of file tty.h.
Referenced by ttycontrol().
| #define TC_ICHARS 8 /* Return number of input chars */ |
Definition at line 82 of file tty.h.
Referenced by ttycontrol().
| #define TC_MODEC 5 /* Set input mode to cooked */ |
Definition at line 80 of file tty.h.
Referenced by ttycontrol().
| #define TC_MODEK 6 /* Set input mode to cbreak */ |
Definition at line 81 of file tty.h.
Referenced by ttycontrol().
| #define TC_MODER 4 /* Set input mode to raw */ |
Definition at line 79 of file tty.h.
Referenced by ttycontrol().
| #define TC_NEXTC 3 /* Look ahead 1 character */ |
Definition at line 78 of file tty.h.
Referenced by ttycontrol().
| #define TC_NOECHO 10 /* Turn off echo */ |
Definition at line 84 of file tty.h.
Referenced by ttycontrol().
| #define TY_BACKSP '\b' /* Backspace character */ |
| #define TY_BACKSP2 '\177' /* Alternate backspace char. */ |
| #define TY_BLANK ' ' /* Blank */ |
| #define TY_EBUFLEN 20 /* Size of echo queue */ |
Definition at line 5 of file tty.h.
Referenced by eputc(), and ttyhandle_out().
| #define TY_FULLCH TY_BELL /* Char to echo when buffer full*/ |
| #define TY_IBUFLEN 128 /* Num. chars in input queue */ |
Definition at line 13 of file tty.h.
Referenced by erase1(), ttygetc(), and ttyhandle_in().
| #define TY_IMCBREAK 'K' /* Honor echo, etc, no line edit*/ |
Definition at line 23 of file tty.h.
Referenced by ttycontrol(), and ttyhandle_in().
| #define TY_IMCOOKED 'C' /* Cooked mode => line editing */ |
| #define TY_IMRAW 'R' /* Raw input mode => no edits */ |
Definition at line 21 of file tty.h.
Referenced by ttycontrol(), and ttyhandle_in().
| #define TY_KILLCH '\025' /* Control-U is line kill */ |
| #define TY_NEWLINE '\n' /* Newline == line feed */ |
| #define TY_OBUFLEN 64 /* Num. chars in output queue */ |
Definition at line 16 of file tty.h.
Referenced by ttyhandle_out(), ttyinit(), and ttyputc().
| #define TY_RETURN '\r' /* Carriage return character */ |
| #define TY_STOPCH '\023' /* Control-S stops output */ |
| #define TY_STRTCH '\021' /* Control-Q restarts output */ |
| #define TY_UPARROW '^' /* Used for control chars (^X) */ |
| struct ttycblk ttytab[] |
Definition at line 11 of file ttyinit.c.
Referenced by ttycontrol(), ttygetc(), ttyhandler(), ttyinit(), ttyputc(), and ttyread().
1.8.13