1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: main.c |
2 | * File: main.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: main.C,v 1.9 2003/12/02 21:49:46 pcg Exp $ |
4 | * $Id: main.C,v 1.10 2003/12/03 23:19:44 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> |
… | |
… | |
238 | |
238 | |
239 | x_ev.start (Xfd, EVENT_READ); |
239 | x_ev.start (Xfd, EVENT_READ); |
240 | pty_ev.start (cmd_fd, EVENT_READ); |
240 | pty_ev.start (cmd_fd, EVENT_READ); |
241 | |
241 | |
242 | check_ev.start (); |
242 | check_ev.start (); |
|
|
243 | |
|
|
244 | process_x_events (); |
243 | |
245 | |
244 | return true; |
246 | return true; |
245 | } |
247 | } |
246 | |
248 | |
247 | /* ------------------------------------------------------------------------- * |
249 | /* ------------------------------------------------------------------------- * |