bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ncurses 5.5: Blue Moon demo does not work properly


From: Michael Deutschmann
Subject: ncurses 5.5: Blue Moon demo does not work properly
Date: Thu, 29 Dec 2005 05:40:01 -0800 (PST)

The Blue Moon demo program (program "blue" in the test directory) does
not render properly on terminals such as "linux" where smpch/rmpch are
available.

The problem appears to be new code that suppresses the ACS attribute when
fallback mappings are being used.  This interacts badly with a hack used
in "blue" -- it assumes that if ??pch is available, it can just set
ALTCHARSET and plug the raw CP437 values in.

Said CP437 values are ^C, ^D, ^E, and ^F, so when the new code removes
the ACS attribute, these codes are sent "naked" to the terminal, which
interprets them as unprintable.  The result is that the columns are
misaligned, and the suit symbols are absent.

I can workaround the problem by creating and using a modified Linux
terminfo entry, with "\003\003\004\004\005\005\006\006" added to the acsc
attribute.

Vitals: Linux 2.0.40, i386-pc-linux-gnu, glibc 2.1.3, gcc 2.95.3

---- Michael Deutschmann <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]