--- rxvt-unicode/src/init.h 2006/01/17 11:02:10 1.9 +++ rxvt-unicode/src/init.h 2007/01/20 00:45:30 1.11 @@ -13,18 +13,12 @@ # endif #endif /* HAVE_XLOCALE */ -#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) -# include /* for struct rlimit */ -# define _NEW_TTY_CTRL /* to get proper defines in */ -#endif - #ifdef TTY_GID_SUPPORT # include #endif /* ways to deal with getting/setting termios structure */ -#ifdef HAVE_TERMIOS_H /* termios interface */ # ifdef TCSANOW /* POSIX */ # define GET_TERMIOS(fd,tios) tcgetattr (fd, tios) @@ -46,17 +40,6 @@ # endif # endif # define SET_TTYMODE(fd,tios) SET_TERMIOS (fd, tios) -#else -/* sgtty interface */ - -# define SET_TTYMODE(fd,tt) \ - tt->sg.sg_ispeed = tt->sg.sg_ospeed = BAUDRATE, \ - ioctl (fd, TIOCSETP, & (tt->sg)), \ - ioctl (fd, TIOCSETC, & (tt->tc)), \ - ioctl (fd, TIOCSLTC, & (tt->lc)), \ - ioctl (fd, TIOCSETD, & (tt->line)), \ - ioctl (fd, TIOCLSET, & (tt->local)) -#endif /* HAVE_TERMIOS_H */ /* use the fastest baud-rate */ #ifdef B38400