Hi GRUB-HACKERS !

As I need the GRUB over serial line @home, I hacked it in.
As the first try, I used the bios functionality (int 0x14).
The stuff runs !
Inclusive menu controlling, command line editing with cursor
keys etc.....
The menu is of course not very quick, as it has to draw very much.

Of course this is only a quick-test-hack. Many design issues
have to be discussed. In my version of patched grub, a compile
option -DGRUB_SERIAL_CONSOLE is used to deside, whether the PC console
or the serial one is used - not very good !

Grub for example can ask via ^[[0n, if there is a terminal connected,
and if not, using the vga console, but this can take a while 
(timeout of 1 to 3 seconds). The other possibility Klaus Reichl
describes 2 weeks ago. Grub wait for the first character on both
consoles. The first character desides, which console is taken.

Also the baud rate is a issue. At home I use 9600 every where,
in the company we use 19200 - a compiler option, a runtime option ?

Redesign of the menu:
        One idea of Klaus Reichl:

        Use numbered items like

                0: hurd OS
                1: Linux 
                2: Window 98
                :

        The other possibility: If it should stay such a graphic menu
        then following has to be done:

        * Only draw the frame and do not fill with a special color
        * Draw the text lines (menu item only once)
        * the item should be selected by an asterisk on the left side:

                   Hurd OS
                *  Linux
                   Windows 98
                   :

          So only the asterisk has to be deletes and drawn on the new
                position

Are you interested so far in my code for the serial line, or has
anyone else a better implementation yet ?
I am interested in the status of the design desicions concerning
the serial line.

With friendly regards

        Christoph Plattner


-------------------------------------------------------------------
private:                [EMAIL PROTECTED]
company:                [EMAIL PROTECTED]

Reply via email to