|
|
1.1 ! root 1: /* ! 2: * List of special characters, used by tty emulation ! 3: */ ! 4: #ifndef TTY_H ! 5: #define TTY_H ! 6: struct ttychars { ! 7: char flags0; /* mode flags (low bits) */ ! 8: char flags1; /* mode flags (high bits) */ ! 9: char erase; /* erase character */ ! 10: char kill; /* kill character */ ! 11: char intrc; /* interrupt */ ! 12: char quitc; /* quit */ ! 13: char startc; /* start output */ ! 14: char stopc; /* stop output */ ! 15: char eofc; /* end-of-file */ ! 16: char brkc; /* input delimiter (like nl) */ ! 17: }; ! 18: ! 19: #define JTTYC 128 /* higher than all jioctl's */ ! 20: ! 21: struct ttycmesg { ! 22: char cmd; /* always JTTYC */ ! 23: char chan; /* channel to be set; 0 ==> global */ ! 24: struct ttychars ttychars; ! 25: }; ! 26: ! 27: #define TRAW 0040 ! 28: #define TCRMOD 0020 ! 29: #define TECHO 0010 ! 30: #define TCBREAK 0002 ! 31: ! 32: #endif TTY_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.