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.12 by root, Sat Jan 20 00:51:31 2007 UTC vs.
Revision 1.16 by ayin, Fri Dec 21 16:21:07 2007 UTC

1#ifndef INIT_H_ 1#ifndef INIT_H_
2#define INIT_H_ 2#define INIT_H_
3 3
4#undef CERASE /* TODO */ 4#undef CERASE /* TODO */
5#define CERASE '\010' /* ^H */ 5#define CERASE '\010' /* ^H */
6
7#ifdef HAVE_XSETLOCALE
8# define X_LOCALE
9# include <X11/Xlocale.h>
10#else
11# ifdef HAVE_SETLOCALE
12# include <clocale>
13# endif
14#endif /* HAVE_XLOCALE */
15
16#ifdef TTY_GID_SUPPORT
17# include <grp.h>
18#endif
19
20/* ways to deal with getting/setting termios structure */
21
22/* termios interface */
23#define GET_TERMIOS(fd,tios) tcgetattr (fd, tios)
24#define SET_TERMIOS(fd,tios) \
25 cfsetospeed (tios, BAUDRATE), \
26 cfsetispeed (tios, BAUDRATE), \
27 tcsetattr (fd, TCSANOW, tios)
28 6
29/* use the fastest baud-rate */ 7/* use the fastest baud-rate */
30#ifdef B38400 8#ifdef B38400
31# define BAUDRATE B38400 9# define BAUDRATE B38400
32#else 10#else
110# define ONLCR 0 88# define ONLCR 0
111#endif 89#endif
112 90
113#define CONSOLE "/dev/console" /* console device */ 91#define CONSOLE "/dev/console" /* console device */
114 92
115#endif /* _INIT_H_ */ 93#endif /* _INIT_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines