… | |
… | |
32 | #endif |
32 | #endif |
33 | #ifndef CQUIT |
33 | #ifndef CQUIT |
34 | # define CQUIT '\034' /* ^\ */ |
34 | # define CQUIT '\034' /* ^\ */ |
35 | #endif |
35 | #endif |
36 | #ifndef CERASE |
36 | #ifndef CERASE |
37 | # ifdef linux |
37 | # ifdef __linux__ |
38 | # define CERASE '\177' /* ^? */ |
38 | # define CERASE '\177' /* ^? */ |
39 | # else |
39 | # else |
40 | # define CERASE '\010' /* ^H */ |
40 | # define CERASE '\010' /* ^H */ |
41 | # endif |
41 | # endif |
42 | #endif |
42 | #endif |
… | |
… | |
81 | # ifdef VWERASE |
81 | # ifdef VWERASE |
82 | # define VWERSE VWERASE |
82 | # define VWERSE VWERASE |
83 | # endif |
83 | # endif |
84 | #endif |
84 | #endif |
85 | |
85 | |
86 | #ifndef O_NOCTTY |
|
|
87 | # define O_NOCTTY 0 |
|
|
88 | #endif |
|
|
89 | #ifndef ONLCR |
86 | #ifndef ONLCR |
90 | # define ONLCR 0 |
87 | # define ONLCR 0 |
91 | #endif |
88 | #endif |
92 | |
89 | |
93 | #define CONSOLE "/dev/console" /* console device */ |
90 | #define CONSOLE "/dev/console" /* console device */ |