On Mon, 16 Feb 2009, Vincent Lefevre wrote:
Package: ncurses-base
Version: 5.7+20090207-1
Severity: normal
In the linux terminfo data: smacs=\E[11m and rmacs=\E[10m
However the correct values are: smacs=^N and rmacs=^O
perhaps. SCS would be a better choice:
\E(0
\E(B
since they don't rely on the current state of the terminal. However,
reading vt.c in 2.6.15, I see Linux's implementation of SCS is buggy,
since it won't update the G0/G1 if another SCS was made since the last
reset (see the case under ESsetG1).
These values work in practice (contrary to \E[11m and \E[10m)
and this is what is mentioned on:
http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/0868.html
I see (had forgotten). Seems that ^O/^N didn't use to work, either.
Perhaps SCS works properly in a current kernel (someone might want
to test it).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]