/[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.20 by okuji, Tue Jan 8 03:19:23 2002 UTC revision 1.21 by kr, Fri Jan 18 17:16:10 2002 UTC
# Line 35  int grub_stage2 (void); Line 35  int grub_stage2 (void);
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;
# Line 242  main (int argc, char **argv) Line 246  main (int argc, char **argv)
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  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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