1 /* ----------------------------------------------------------------------- *
3 * Copyright 2004-2006 H. Peter Anvin - All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 * Boston MA 02111-1307, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * ----------------------------------------------------------------------- */
16 * Simple menu system which displays a list and allows the user to select
17 * a command line and/or edit it.
19 * VESA graphics version.
26 void console_prepare(void)
28 fputs("\033[0m\033[20h\033[25l", stdout
);
31 void console_cleanup(void)
33 /* For the serial console, be nice and clean up */
34 fputs("\033[0m\033[20l", stdout
);
37 int vesacon_load_background(const char *);
39 int main(int argc
, char *argv
[])
41 openconsole(&dev_rawcon_r
, &dev_vesaserial_w
);
43 draw_background
= vesacon_load_background
;
45 return menu_main(argc
, argv
);