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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.265 by root, Sun May 23 00:02:52 2010 UTC vs.
Revision 1.266 by sf-exg, Mon Jun 14 15:40:03 2010 UTC

1533rxvt_get_ttymode (struct termios *tio, int erase) 1533rxvt_get_ttymode (struct termios *tio, int erase)
1534{ 1534{
1535 /* 1535 /*
1536 * standard System V termios interface 1536 * standard System V termios interface
1537 */ 1537 */
1538 // does not work as stdin is not a tty
1538 if (tcgetattr (STDIN_FILENO, tio) < 0) 1539 // if (tcgetattr (STDIN_FILENO, tio) < 0)
1540 if (1)
1539 { 1541 {
1540 // return error - use system defaults, 1542 // return error - use system defaults,
1541 // where possible, and zero elsewhere 1543 // where possible, and zero elsewhere
1542 memset (tio, 0, sizeof (struct termios)); 1544 memset (tio, 0, sizeof (struct termios));
1543 1545

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines