[syslinux] editing screen/menu colours?

Didier Spaier didier.spaier at epsm.fr
Thu Mar 27 06:00:25 PDT 2014


On 27/03/2014 08:31, Tomasz Chmielewski wrote:
> On Wed, 26 Mar 2014 23:34:00 -0400
> Gene Cumm <gene.cumm at gmail.com> wrote:
>
>>> Say, this is about.txt I'd like to display:
>>>
>>> ######
>>> [clear screen character, ctrl+l equivalent]
>>> This is a sample help message.
>>> Press <red>F1</red> to see about.
>>> Press <red>F2</red> to see more help.
>>> #####
>>>
>>> Any hints appreciated!
>>
>> doc/syslinux.txt under "++++ DISPLAY FILE FORMAT ++++".  Note it's a
>> 2-byte code (<SI> being the first; <bg><fg> representing the hex
>> digits of second).
>
> OK, I see.
> How do I place them using, say, vim (or any other editor)?
>
>
I'm not (yet :-) a VIM user but with most text editors (e.g. in Geany) you can input UTF-8 code points like this:
1) press together  the release [Ctrl]+[Shift]+u => displays an underlined u
2) Type the two hexadecimal digits of the code point
3) Press [Enter] (not always necessary, depends on the editor)

Example : <SI> is the ASCII command character Shift In, hexadecimal code 0F

ASCII being a subset of UTF-8 with the first digit set to 00, you can input it this way:
[Ctrl]+[Shift]+u
000F
[Enter]

Didier



More information about the Syslinux mailing list