30 |
#include <setjmp.h> |
#include <setjmp.h> |
31 |
|
|
32 |
#define WITHOUT_LIBC_STUBS 1 |
#define WITHOUT_LIBC_STUBS 1 |
33 |
#include "shared.h" |
#include <shared.h> |
34 |
|
#include <term.h> |
35 |
|
|
36 |
char *program_name = 0; |
char *program_name = 0; |
37 |
int use_config_file = 1; |
int use_config_file = 1; |
257 |
|
|
258 |
/* If we don't have curses (!HAVE_LIBCURSES or --no-curses or |
/* If we don't have curses (!HAVE_LIBCURSES or --no-curses or |
259 |
--batch) put terminal to dumb for better handling of line i/o */ |
--batch) put terminal to dumb for better handling of line i/o */ |
260 |
if (!use_curses) |
if (! use_curses) |
261 |
terminal |= TERMINAL_DUMB; |
current_term->flags = TERM_NO_EDIT | TERM_DUMB; |
262 |
|
|
263 |
/* Transfer control to the stage2 simulator. */ |
/* Transfer control to the stage2 simulator. */ |
264 |
exit (grub_stage2 ()); |
exit (grub_stage2 ()); |