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.267 by sf-exg, Mon Jun 14 15:47:52 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 for (int i = 0; i < NCCS; i++)
1546 tio->c_cc[i] = VDISABLE;
1545 1547
1546 tio->c_cc[VINTR] = CINTR; 1548 tio->c_cc[VINTR] = CINTR;
1547 tio->c_cc[VQUIT] = CQUIT; 1549 tio->c_cc[VQUIT] = CQUIT;
1548 tio->c_cc[VERASE] = CERASE; 1550 tio->c_cc[VERASE] = CERASE;
1549#ifdef VERASE2 1551#ifdef VERASE2
1569 tio->c_cc[VLNEXT] = CLNEXT; 1571 tio->c_cc[VLNEXT] = CLNEXT;
1570# endif 1572# endif
1571 } 1573 }
1572 1574
1573 tio->c_cc[VEOF] = CEOF; 1575 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 1576# if VMIN != VEOF
1585 tio->c_cc[VMIN] = 1; 1577 tio->c_cc[VMIN] = 1;
1586# endif 1578# endif
1587# if VTIME != VEOL 1579# if VTIME != VEOL
1588 tio->c_cc[VTIME] = 0; 1580 tio->c_cc[VTIME] = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines