lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 18 Oct 2009 16:46:01 +0200
From:	Thomas Wolff <towo@...o.net>
To:	linux-kernel@...r.kernel.org
Subject: 3 errors related to console modes

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ