1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: main.c |
2 | * File: main.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: main.C,v 1.6 2003/11/25 17:11:33 pcg Exp $ |
4 | * $Id: main.C,v 1.7 2003/11/26 10:42:34 pcg Exp $ |
5 | * |
5 | * |
6 | * All portions of code are copyright by their respective author/s. |
6 | * All portions of code are copyright by their respective author/s. |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
8 | * - original version |
8 | * - original version |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
… | |
… | |
161 | rxvt_init_env (this); |
161 | rxvt_init_env (this); |
162 | rxvt_init_command (this, cmd_argv); |
162 | rxvt_init_command (this, cmd_argv); |
163 | |
163 | |
164 | x_ev.start (Xfd, EVENT_READ); |
164 | x_ev.start (Xfd, EVENT_READ); |
165 | pty_ev.start (cmd_fd, EVENT_READ); |
165 | pty_ev.start (cmd_fd, EVENT_READ); |
|
|
166 | |
|
|
167 | flush (); |
166 | |
168 | |
167 | return true; |
169 | return true; |
168 | } |
170 | } |
169 | |
171 | |
170 | /* ------------------------------------------------------------------------- * |
172 | /* ------------------------------------------------------------------------- * |