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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.334 by sf-exg, Fri Oct 22 16:49:26 2010 UTC vs.
Revision 1.336 by sf-exg, Tue Nov 2 13:32:50 2010 UTC

511 tio->c_cc[VWERSE] = CWERASE; 511 tio->c_cc[VWERSE] = CWERASE;
512# endif 512# endif
513# ifdef VLNEXT 513# ifdef VLNEXT
514 tio->c_cc[VLNEXT] = CLNEXT; 514 tio->c_cc[VLNEXT] = CLNEXT;
515# endif 515# endif
516# ifdef VSTATUS
517 tio->c_cc[VSTATUS] = CSTATUS;
518# endif
516 519
517# if VMIN != VEOF 520# if VMIN != VEOF
518 tio->c_cc[VMIN] = 1; 521 tio->c_cc[VMIN] = 1;
519# endif 522# endif
520# if VTIME != VEOL 523# if VTIME != VEOL
553 rxvt_get_ttymode (&rxvt_term::def_tio); 556 rxvt_get_ttymode (&rxvt_term::def_tio);
554 557
555 // get rid of stdin/stdout as we don't need them, to free resources 558 // get rid of stdin/stdout as we don't need them, to free resources
556 dup2 (STDERR_FILENO, STDIN_FILENO); 559 dup2 (STDERR_FILENO, STDIN_FILENO);
557 dup2 (STDERR_FILENO, STDOUT_FILENO); 560 dup2 (STDERR_FILENO, STDOUT_FILENO);
558
559 ptytty::init ();
560 561
561 if (!ev_default_loop ()) 562 if (!ev_default_loop ())
562 rxvt_fatal ("cannot initialise libev (bad value for LIBEV_METHODS?)\n"); 563 rxvt_fatal ("cannot initialise libev (bad value for LIBEV_METHODS?)\n");
563 564
564 rxvt_environ = environ; 565 rxvt_environ = environ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines