/[grub]/grub/grub/main.c
ViewVC logotype

Diff of /grub/grub/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by okuji, Fri Feb 8 01:28:39 2002 UTC revision 1.23 by okuji, Tue Jun 11 16:36:54 2002 UTC
# Line 30  int grub_stage2 (void); Line 30  int grub_stage2 (void);
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;
# Line 256  main (int argc, char **argv) Line 257  main (int argc, char **argv)
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 ());

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26