| 1 | /* |
| 2 | * Copyright (c) 1982, 1986 Regents of the University of California. |
| 3 | * All rights reserved. The Berkeley software License Agreement |
| 4 | * specifies the terms and conditions for redistribution. |
| 5 | * |
| 6 | * @(#)ttychars.h 7.3 (Berkeley) 10/18/88 |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * 4.3 COMPATIBILITY FILE |
| 11 | * |
| 12 | * User visible structures and constants |
| 13 | * related to terminal handling. |
| 14 | */ |
| 15 | #ifndef _TTYCHARS_ |
| 16 | #define _TTYCHARS_ |
| 17 | |
| 18 | struct ttychars { |
| 19 | char tc_erase; /* erase last character */ |
| 20 | char tc_kill; /* erase entire line */ |
| 21 | char tc_intrc; /* interrupt */ |
| 22 | char tc_quitc; /* quit */ |
| 23 | char tc_startc; /* start output */ |
| 24 | char tc_stopc; /* stop output */ |
| 25 | char tc_eofc; /* end-of-file */ |
| 26 | char tc_brkc; /* input delimiter (like nl) */ |
| 27 | char tc_suspc; /* stop process signal */ |
| 28 | char tc_dsuspc; /* delayed stop process signal */ |
| 29 | char tc_rprntc; /* reprint line */ |
| 30 | char tc_flushc; /* flush output (toggles) */ |
| 31 | char tc_werasc; /* word erase */ |
| 32 | char tc_lnextc; /* literal next character */ |
| 33 | }; |
| 34 | #ifdef USE_OLD_TTY |
| 35 | #include <sys/ttydefaults.h> /* to pick up character defaults */ |
| 36 | #endif |
| 37 | #endif /* _TTYCHARS */ |