Diff for ep/src/main.c between version 1.16 and 1.17
| version 1.16, 2002/02/19 14:26:15 |
version 1.17, 2002/02/20 20:12:10 |
|
|
| # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
| #endif |
#endif |
| |
|
| #if MENU |
#if HAVE_MENU |
| # include <curses.h> |
# include <curses.h> |
| #endif |
#endif |
| |
|
|
|
| #include "sigserv.h" |
#include "sigserv.h" |
| #include "conf.h" |
#include "conf.h" |
| |
|
| #if MENU |
#if HAVE_MENU |
| # include "menu.h" |
# include "menu.h" |
| #endif |
#endif |
| |
|
| Line 79 void exit_fnc(void) |
|
| Line 79 void exit_fnc(void) |
|
| |
|
| free(argv0); |
free(argv0); |
| |
|
| #if MENU |
#if HAVE_MENU |
| endwin(); |
endwin(); |
| #endif |
#endif |
| } |
} |
| Line 108 main(argc, argv) |
|
| Line 108 main(argc, argv) |
|
| return 1; |
return 1; |
| } |
} |
| |
|
| #if MENU |
#if HAVE_MENU |
| menu_curses_init(); |
menu_curses_init(); |
| #endif |
#endif |
| |
|
| Line 230 main(argc, argv) |
|
| Line 230 main(argc, argv) |
|
| return errno; |
return errno; |
| } |
} |
| |
|
| #if MENU |
#if HAVE_MENU |
| if (FD_ISSET(0, &rfds)) { |
if (FD_ISSET(0, &rfds)) { |
| int c; |
int c; |
| c = getch(); |
c = getch(); |
| Line 250 main(argc, argv) |
|
| Line 250 main(argc, argv) |
|
| |
|
| } |
} |
| } |
} |
| #endif /* #if MENU */ |
#endif /* #if HAVE_MENU */ |
| |
|
| /* Read and transfer data. */ |
/* Read and transfer data. */ |
| while (proctable_read(&ptbl, &rfds, &efds) == 0) { |
while (proctable_read(&ptbl, &rfds, &efds) == 0) { |
Platon Group <platon@platon.org> http://platon.org/
|
|