[syslinux] Syslinux-4/libutil: console_ansi_std()

Gene Cumm gene.cumm at gmail.com
Mon Mar 29 13:59:22 PDT 2010


On Sun, Mar 28, 2010 at 6:59 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> On 03/28/2010 06:32 AM, Gene Cumm wrote:
>>
>> Reading the ECMA-48, it seems that the removal at least of using <ESC>
>> [20h and <ESC> [20l are proper as their use has been deprecated for at
>> least 18 years.  It appears that the removal of this statement, at
>> least within ansiraw.c, introduced the issues I'm noticing.  I still
>> need to experiment more with ansiline.c to determine the best fix.
>>
>
> You won't find CSI h and CSI l in ECMA-48 as anything other than
> "vendor-specific".  Their use are common to the DEC VT-class terminals.
>

Reading back, I realize that I wasn't specific.  Mode # 20, LF/NLM
(Line Feed/New Line Mode) is what is deprecated as of the 4th edition
(1986-12) and all but completely removed in the 5th Edition (1991-06,
current) and relegated to a footnote in an appendix.

"Implementors are urged to use the control functions CR and LF to
obtain the results of New Line." -4e

Not the word deprecated but its meaning.

If I'm interpreting you correctly Peter, you're saying that most
likely the "terminals" I used (Linux virtual console and Konsole) were
probably just "nice" and interpreted this mode data (probably for
compatibility with DEC VT-class terminals) but the implementation of
all of the modes are standardized in that a certain mode number shall
implement a certain behavior but they are all optional and might not
be available on a given implementation (from the vendor-neutral
perspective) and therefore one should avoid depending on these
behaviors.

-Gene




More information about the Syslinux mailing list