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.6 by pcg, Fri Feb 13 12:16:21 2004 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 () */
6int 6int
7main (int argc, const char *const *argv) 7main (int argc, const char *const *argv)
8{ 8try
9 {
9 rxvt_init_signals (); 10 rxvt_init_signals ();
10 11
12 rxvt_term *t = new rxvt_term;
13
11 if (!rxvt_init (argc, argv)) 14 if (!t->init (argc, argv))
15 return EXIT_FAILURE;
16
17 iom.loop ();
18
19 return EXIT_SUCCESS;
20 }
21catch (const class rxvt_failure_exception &e)
22 {
12 return EXIT_FAILURE; 23 return EXIT_FAILURE;
13 24 }
14 iom.loop ();
15
16 return EXIT_SUCCESS;
17}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines