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.266 by sf-exg, Mon Jun 14 15:40:03 2010 UTC vs.
Revision 1.268 by root, Mon Jun 14 15:50:08 2010 UTC

1540 if (1) 1540 if (1)
1541 { 1541 {
1542 // return error - use system defaults, 1542 // return error - use system defaults,
1543 // where possible, and zero elsewhere 1543 // where possible, and zero elsewhere
1544 memset (tio, 0, sizeof (struct termios)); 1544 memset (tio, 0, sizeof (struct termios));
1545 if (VDISABLE)
1546 for (int i = 0; i < NCCS; i++)
1547 tio->c_cc[i] = VDISABLE;
1545 1548
1546 tio->c_cc[VINTR] = CINTR; 1549 tio->c_cc[VINTR] = CINTR;
1547 tio->c_cc[VQUIT] = CQUIT; 1550 tio->c_cc[VQUIT] = CQUIT;
1548 tio->c_cc[VERASE] = CERASE; 1551 tio->c_cc[VERASE] = CERASE;
1549#ifdef VERASE2 1552#ifdef VERASE2
1569 tio->c_cc[VLNEXT] = CLNEXT; 1572 tio->c_cc[VLNEXT] = CLNEXT;
1570# endif 1573# endif
1571 } 1574 }
1572 1575
1573 tio->c_cc[VEOF] = CEOF; 1576 tio->c_cc[VEOF] = CEOF;
1574 tio->c_cc[VEOL] = VDISABLE;
1575# ifdef VEOL2
1576 tio->c_cc[VEOL2] = VDISABLE;
1577# endif
1578# ifdef VSWTC
1579 tio->c_cc[VSWTC] = VDISABLE;
1580# endif
1581# ifdef VSWTCH
1582 tio->c_cc[VSWTCH] = VDISABLE;
1583# endif
1584# if VMIN != VEOF 1577# if VMIN != VEOF
1585 tio->c_cc[VMIN] = 1; 1578 tio->c_cc[VMIN] = 1;
1586# endif 1579# endif
1587# if VTIME != VEOL 1580# if VTIME != VEOL
1588 tio->c_cc[VTIME] = 0; 1581 tio->c_cc[VTIME] = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines