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

Comparing rxvt-unicode/src/rxvt.C (file contents):
Revision 1.2 by pcg, Tue Nov 25 11:52:42 2003 UTC vs.
Revision 1.7 by pcg, Wed Mar 17 05:15:02 2004 UTC

1#include "../config.h"
1#include "rxvtlib.h" 2#include "rxvt.h"
2#include "iom.h"
3 3
4/*----------------------------------------------------------------------*/ 4/*----------------------------------------------------------------------*/
5/* main() */ 5/* main () */
6/* INTPROTO */
7int 6int
8main(int argc, const char *const *argv) 7main (int argc, const char *const *argv)
9{ 8try
9 {
10 rxvt_init_signals ();
11
12 rxvt_term *t = new rxvt_term;
13
10 if (rxvt_init(argc, argv) == NULL) 14 if (!t->init (argc, argv))
11 return EXIT_FAILURE; 15 return EXIT_FAILURE;
12 16
13 iom.loop (); 17 iom.loop ();
14 18
15 return EXIT_SUCCESS; 19 return EXIT_SUCCESS;
16} 20 }
21catch (const class rxvt_failure_exception &e)
22 {
23 return EXIT_FAILURE;
24 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines