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.4 by pcg, Sat Jan 17 01:20:01 2004 UTC vs.
Revision 1.7 by root, Sun Aug 15 02:17:32 2004 UTC

7#ifdef HAVE_XSETLOCALE 7#ifdef HAVE_XSETLOCALE
8# define X_LOCALE 8# define X_LOCALE
9# include <X11/Xlocale.h> 9# include <X11/Xlocale.h>
10#else 10#else
11# ifdef HAVE_SETLOCALE 11# ifdef HAVE_SETLOCALE
12# include <locale.h> 12# include <clocale>
13# endif 13# endif
14#endif /* HAVE_XLOCALE */ 14#endif /* HAVE_XLOCALE */
15 15
16#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) 16#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
17# include <sys/resource.h> /* for struct rlimit */ 17# include <sys/resource.h> /* for struct rlimit */
53#else 53#else
54/* sgtty interface */ 54/* sgtty interface */
55 55
56# define SET_TTYMODE(fd,tt) \ 56# define SET_TTYMODE(fd,tt) \
57 tt->sg.sg_ispeed = tt->sg.sg_ospeed = BAUDRATE, \ 57 tt->sg.sg_ispeed = tt->sg.sg_ospeed = BAUDRATE, \
58 ioctl (fd, TIOCSETP, &(tt->sg)), \ 58 ioctl (fd, TIOCSETP, & (tt->sg)), \
59 ioctl (fd, TIOCSETC, &(tt->tc)), \ 59 ioctl (fd, TIOCSETC, & (tt->tc)), \
60 ioctl (fd, TIOCSLTC, &(tt->lc)), \ 60 ioctl (fd, TIOCSLTC, & (tt->lc)), \
61 ioctl (fd, TIOCSETD, &(tt->line)), \ 61 ioctl (fd, TIOCSETD, & (tt->line)), \
62 ioctl (fd, TIOCLSET, &(tt->local)) 62 ioctl (fd, TIOCLSET, & (tt->local))
63#endif /* HAVE_TERMIOS_H */ 63#endif /* HAVE_TERMIOS_H */
64 64
65/* use the fastest baud-rate */ 65/* use the fastest baud-rate */
66#ifdef B38400 66#ifdef B38400
67# define BAUDRATE B38400 67# define BAUDRATE B38400
146# define ONLCR 0 /* QNX, at least */ 146# define ONLCR 0 /* QNX, at least */
147#endif 147#endif
148 148
149#define CONSOLE "/dev/console" /* console device */ 149#define CONSOLE "/dev/console" /* console device */
150 150
151#include "init.intpro" /* PROTOS for internal routines */
152#endif /* _INIT_H_ */ 151#endif /* _INIT_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines