|
From: | Thomas Dickey |
Subject: | Re: bug in the alternate character set output |
Date: | Mon, 12 Sep 2011 05:14:48 -0400 (EDT) |
On Mon, 12 Sep 2011, Alexei Malinin wrote:
Thomas Dickey wrote:On Sun, 11 Sep 2011, Alexei Malinin wrote:But your example isn't doing that. It's assigning it to the alternate character set's entry in the "|" position.These sentences are unclear for me. In my test terminal description I wrote that ACS_VLINE should be displayed as "|" (ASCII decimal 124). Please see below.But it won't do that. Only if the terminal description's smacs/rmacs/enacs are empty will the expected display from acsc mappings _be_ the same as the second character in each pair.O! I did not know about that. Is this behavior documented somewhere?
The terminfo(5) manpage should do that more clearly, but it assumes a lot of the reader: a familiarity with vt100 escape sequences.
Is this behavior a bug or a feature?
feature ;-)
I made quick checks. My test program displayed the box correctly for a terminal description without smacs/rmacs/enacs and with "acsc=q-x|".
that sounds right... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |