ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.h
Revision: 1.16
Committed: Fri Dec 21 16:21:07 2007 UTC (16 years, 5 months ago) by ayin
Content type: text/plain
Branch: MAIN
CVS Tags: before_dynamic_fontidx, rel-9_0, rel-8_9, dynamic_fontidx, rel-9_02, rel-9_01, rel-9_06, rel-9_07, rel-9_05
Changes since 1.15: +0 -9 lines
Log Message:
Remove {GET,SET}_TERMIOS macros.

File Contents

# User Rev Content
1 pcg 1.4 #ifndef INIT_H_
2     #define INIT_H_
3 pcg 1.1
4     #undef CERASE /* TODO */
5     #define CERASE '\010' /* ^H */
6    
7     /* use the fastest baud-rate */
8     #ifdef B38400
9     # define BAUDRATE B38400
10     #else
11     # ifdef B19200
12     # define BAUDRATE B19200
13     # else
14     # define BAUDRATE B9600
15     # endif
16     #endif
17    
18     /* Disable special character functions */
19     #ifdef _POSIX_VDISABLE
20     # define VDISABLE _POSIX_VDISABLE
21     #else
22     # define VDISABLE 255
23     #endif
24    
25     /*----------------------------------------------------------------------*
26     * system default characters if defined and reasonable
27     */
28     #ifndef CINTR
29     # define CINTR '\003' /* ^C */
30     #endif
31     #ifndef CQUIT
32     # define CQUIT '\034' /* ^\ */
33     #endif
34     #ifndef CERASE
35     # ifdef linux
36     # define CERASE '\177' /* ^? */
37     # else
38     # define CERASE '\010' /* ^H */
39     # endif
40     #endif
41     #ifndef CKILL
42     # define CKILL '\025' /* ^U */
43     #endif
44     #ifndef CEOF
45     # define CEOF '\004' /* ^D */
46     #endif
47     #ifndef CSTART
48     # define CSTART '\021' /* ^Q */
49     #endif
50     #ifndef CSTOP
51     # define CSTOP '\023' /* ^S */
52     #endif
53     #ifndef CSUSP
54     # define CSUSP '\032' /* ^Z */
55     #endif
56     #ifndef CDSUSP
57     # define CDSUSP '\031' /* ^Y */
58     #endif
59     #ifndef CRPRNT
60     # define CRPRNT '\022' /* ^R */
61     #endif
62     #ifndef CFLUSH
63     # define CFLUSH '\017' /* ^O */
64     #endif
65     #ifndef CWERASE
66     # define CWERASE '\027' /* ^W */
67     #endif
68     #ifndef CLNEXT
69     # define CLNEXT '\026' /* ^V */
70     #endif
71    
72     #ifndef VDISCRD
73     # ifdef VDISCARD
74     # define VDISCRD VDISCARD
75     # endif
76     #endif
77    
78     #ifndef VWERSE
79     # ifdef VWERASE
80     # define VWERSE VWERASE
81     # endif
82     #endif
83    
84     #ifndef O_NOCTTY
85     # define O_NOCTTY 0
86     #endif
87     #ifndef ONLCR
88 root 1.9 # define ONLCR 0
89 pcg 1.1 #endif
90    
91     #define CONSOLE "/dev/console" /* console device */
92    
93 ayin 1.15 #endif /* _INIT_H_ */