[syslinux] ^L does not reset cursor in graphics mode

H. Peter Anvin hpa at zytor.com
Fri Sep 15 10:31:30 PDT 2006


Jan Engelhardt wrote:
>>> Hi,
>>>
>>> when having a string like "^Xlogo^Ltext here" as boot.msg, then the text
>>> is not displayed at row 1 column 1, but rather in row 24. What's up with
>>> that?
>>>
>>> Jan Engelhardt
>> The text is located beneath the logo image, so the exact position depends on
>> the height of your logo image.
> 
> The logo is a fullscreen 640x480. However, I would like a control code 
> which repositions the cursor to absolute-0,0 rather than 
> relativ-to-below-the-image-0,0

Oh wait, I missed something.

You need a newline before your ^L (otherwise it gets eaten.)  However, 
the ^L will clear the screen.

There isn't any cursor control in the traditional SYSLINUX message 
files.  Using COM32 you can do anything you want, of course; the 
standard ANSI and VESA (in 3.30-pre) consoles use standard console 
escape codes which also work with the serial console.

	-hpa




More information about the Syslinux mailing list