Package: ncurses-base
Version: 5.7+20100313-2
Severity: normal

The rxvt-unicode terminfo entry for sgr0 is currently set to \E[m\017, but
this should be \E[m\(B. The original rxvt entry uses \016 and \017 for smacs
and rmacs respectively and the sgr0 entry for rxvt is correspondingly set to
\E[m\017. For rxvt-unicode the smacs and rmacs entries have been changed to
\E(0 and \E(B, but the sgr0 entry has not been updated to reflect the
different rmacs sequence.

The bug can be shown by executing the following two command sequences in
rxvt-unicode (with incorrect results) and for reference in any other
terminal (emulator). What should be shown is one line with two checkerboard
blocks, followed by a line with two a's. On rxvt-unicode the output is two
lines with two checkerboard blocks because sgr0 doesn't return from
alternate character set mode.

tput smacs ; echo aa ; tput sgr0 ; echo aa ; tput rmacs
tput smacs ; echo aa ; tput rmacs ; echo aa ; tput rmacs

Note that I ended the sequence with "tput rmacs" to ensure that the terminal
is usable even if sgr0 doesn't return from alternate character set mode.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to