Skip to contentSkip to conversation

Some issues in scripting support?

DISCUSSION Vesa Jääskeläinen 2 participants 2 messages Mar 9, 2006 – Mar 10, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I was playing a bit with grub.cfg and following crashes my vmware session... :)... I know I didn't remember first that there were syntaxtical changes in there, but even after correcting my mistake, it doesn't allow me move it with cursor keys, not in console or in video mode. Pressing enter correctly changes to video mode as it were first choice.

--- crashing --
insmod font
font /boot/grub/unifont.pff
insmod terminal
insmod vbe
insmod videoterm

title switch to videoterm
terminal videoterm

title switch back to console
terminal console

--- correct ---
insmod font
font /boot/grub/unifont.pff
insmod terminal
insmod vbe
insmod videoterm

menuentry "switch to videoterm" {
terminal videoterm
}

menuentry "switch back to console" {
terminal console
}

Thanks,
Vesa Jääskeläinen

#1 lore raw

Vesa Jääskeläinen <[email protected]> writes:

Hi Vesa,

Quoted 6 lines

I was playing a bit with grub.cfg and following crashes my vmware session... :)... I know I didn't remember first that there were syntaxtical changes in there, but even after correcting my mistake, it doesn't allow me move it with cursor keys, not in console or in video mode. Pressing enter correctly changes to video mode as it were first choice.

Yeah, error handling should be improved considerably. I found some other bugs related to this as well. It's something I planned to work on after my current networking code is in CVS.

--
Marco