[syslinux] com32: \n to \r\n?

H. Peter Anvin hpa at zytor.com
Tue Jun 24 15:21:01 PDT 2008


Ferenc Wagner wrote:
>>
>> Okay, in menu system I have used the ANSI escape code to convert \n ->
>> \r\n on the *client side*, but mboot.c32 not actually using the ANSI
>> engine it requested, doesn't emit it and doesn't do the right things.
>> I did this way back before I actually filtered serial output; it was
>> almost certainly a bad idea.
> 
> What kind of filtering does serial output go through now?
> Do you mean those "\1# sequences" or something else?
> 

Yes; they are used for attribute control in vesamenu etc.

>> It's not like newline is particularly useful by itself.  There is a
>> CSI sequence for moving the cursor down if needed.
>>
>> Want to try this patch out for me?
> 
> Yes, very much. . . . . If fixes both fancyhello and mboot!  Meanwhile
> it doesn't seem to break sanboot or reset.  I like it. :)

Excellent... let's think about if there is anywhere else that needs to 
be cleaned up.  In the meantime, mboot shouldn't really be using the 
ANSI engine; it's complete waste.

	-hpa




More information about the Syslinux mailing list