[syslinux] [PATCH 1/1] cmd.c32: allow an option for clearing the screen

Gene Cumm gene.cumm at gmail.com
Sat Mar 14 14:47:13 PDT 2009


On Sat, Mar 14, 2009 at 3:35 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> Gene Cumm wrote:
>>
>> If "-c" is the first option to cmd.c32, it will first clear the screen
>> by dumping a series of newlines to the screen.
>>
>> Applies against current head.
>>
>
> Double NAK.
>
> First of all, I just removed the console dependencies to cmd.c32, which
> cut it down from 5K to some 600 bytes.  Second, dumping newlines to the
> screen isn't really the best way to clear.
>

Thank you for reminding me about that.  I keep forgetting about the
terminal control functions.  I wish I would have learned it sooner.

Initially, I'm surprised that it shrunk that much but it makes sense
considering how versatile that function is.

-Gene




More information about the Syslinux mailing list