--- rxvt-unicode/src/init.C 2007/12/18 15:44:55 1.232 +++ rxvt-unicode/src/init.C 2007/12/21 16:21:06 1.233 @@ -1148,7 +1148,7 @@ /* * standard System V termios interface */ - if (GET_TERMIOS (STDIN_FILENO, tio) < 0) + if (tcgetattr (STDIN_FILENO, tio) < 0) { // return error - use system defaults, // where possible, and zero elsewhere @@ -1341,7 +1341,10 @@ er = -1; rxvt_get_ttymode (&tio, er); - SET_TERMIOS (pty->tty, &tio); /* init terminal attributes */ + /* init terminal attributes */ + cfsetospeed (&tio, BAUDRATE); + cfsetispeed (&tio, BAUDRATE); + tcsetattr (pty->tty, TCSANOW, &tio); pty->set_utf8_mode (enc_utf8); /* set initial window size */