35 |
char *program_name = 0; |
char *program_name = 0; |
36 |
int use_config_file = 1; |
int use_config_file = 1; |
37 |
int use_preset_menu = 0; |
int use_preset_menu = 0; |
38 |
|
#ifdef HAVE_LIBCURSES |
39 |
int use_curses = 1; |
int use_curses = 1; |
40 |
|
#else |
41 |
|
int use_curses = 0; |
42 |
|
#endif |
43 |
int verbose = 0; |
int verbose = 0; |
44 |
int read_only = 0; |
int read_only = 0; |
45 |
int floppy_disks = 1; |
int floppy_disks = 1; |
246 |
sleep (1); |
sleep (1); |
247 |
} |
} |
248 |
|
|
249 |
|
/* If we don't have curses (!HAVE_LIBCURSES or --no-curses or |
250 |
|
--batch) put terminal to dumb for better handling of line i/o */ |
251 |
|
if (!use_curses) |
252 |
|
terminal |= TERMINAL_DUMB; |
253 |
|
|
254 |
/* Transfer control to the stage2 simulator. */ |
/* Transfer control to the stage2 simulator. */ |
255 |
exit (grub_stage2 ()); |
exit (grub_stage2 ()); |
256 |
} |
} |