3 errors related to console modes

From: Thomas Wolff
Date: Sun Oct 18 2009 - 10:46:09 EST


The manual page describes two graphics character set modes:
* VT100 line drawing graphics, triggered with ESC ( 0 or ESC ) 0 ^N
* VGA block graphics, triggered with ESC [ 11 m
Both graphics modes do not work in UTF-8 mode.

Termcap/Terminfo entries smacs (as) and rmacs (ae) are wrong. The codes
switch graphics mode but not according to VT100 but rather to
"native PC VGA" mode. The correct entries to give these codes would be
smpch (S2) and rmpch (S3).
VT100 graphics works as described in "man console_codes", so the entries
need to be fixed accordingly, in either of two ways:
1) smacs=\E(0:rmacs=\E(B (like the xterm entry)
2) with an additional entry for enacs (eA):
smacs=^N:rmacs=^O:enacs=\E)0

In the manual page: In text section "MOUSE TRACKING", mouse tracking
mode reset code is said to be ESC [ 1000 l, its correct value, also
listed above, is ESC [ ? 1000 l

Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/