ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.h
(Generate patch)

Comparing rxvt-unicode/src/init.h (file contents):
Revision 1.17 by root, Tue Jun 15 11:07:16 2010 UTC vs.
Revision 1.20 by sf-exg, Wed Dec 21 11:13:43 2011 UTC

1#ifndef INIT_H_ 1#ifndef INIT_H_
2#define INIT_H_ 2#define INIT_H_
3 3
4/* use the fastest baud-rate */ 4/* use the fastest baud-rate */
5#if defined(B4000000) 5//#if defined(B4000000)
6# define BAUDRATE B4000000 6//# define BAUDRATE B4000000
7#elif defined(B921600) 7//#elif defined(B921600)
8# define BAUDRATE B921600 8//# define BAUDRATE B921600
9#elif defined(B115200) 9//#elif defined(B115200)
10# define BAUDRATE B115200 10//# define BAUDRATE B115200
11#elif defined(B38400) 11//#elif defined(B38400)
12#if defined(B38400)
12# define BAUDRATE B38400 13# define BAUDRATE B38400
13#elif defined(B19200) 14#elif defined(B19200)
14# define BAUDRATE B19200 15# define BAUDRATE B19200
15#else 16#else
16# define BAUDRATE B9600 17# define BAUDRATE B9600
31#endif 32#endif
32#ifndef CQUIT 33#ifndef CQUIT
33# define CQUIT '\034' /* ^\ */ 34# define CQUIT '\034' /* ^\ */
34#endif 35#endif
35#ifndef CERASE 36#ifndef CERASE
36# ifdef linux 37# ifdef __linux__
37# define CERASE '\177' /* ^? */ 38# define CERASE '\177' /* ^? */
38# else 39# else
39# define CERASE '\010' /* ^H */ 40# define CERASE '\010' /* ^H */
40# endif 41# endif
41#endif 42#endif
80# ifdef VWERASE 81# ifdef VWERASE
81# define VWERSE VWERASE 82# define VWERSE VWERASE
82# endif 83# endif
83#endif 84#endif
84 85
85#ifndef O_NOCTTY
86# define O_NOCTTY 0
87#endif
88#ifndef ONLCR 86#ifndef ONLCR
89# define ONLCR 0 87# define ONLCR 0
90#endif 88#endif
91 89
92#define CONSOLE "/dev/console" /* console device */ 90#define CONSOLE "/dev/console" /* console device */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines