Package: less
Version: 394-4
Severity: normal

A way to disable all the color changes is to send the sgr0 sequence.
The xterm-xfree86 terminfo data for sgr0 contain both \E[m (supported
by less as a color escape sequence) and ^O (which is in fact, rmacs),
but ^O is not supported by less as a special character. This means
that a colorized input file is displayed by less with lots of ^O on
such a terminal.

Moreover it would be a good idea to support ^N as well: this would
allow to have characters of the alternate character set (ACS), a.k.a.
line graphics, correctly displayed.

Possibly make this optional via environment variables (a bit like
LESSANSIENDCHARS and LESSANSIMIDCHARS) or use the terminfo data.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686-bigmem
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages less depends on:
ii  debianutils                  2.17.3      Miscellaneous utilities specific t
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libncurses5                  5.5-5       Shared libraries for terminal hand

less recommends no packages.

-- no debconf information


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

Reply via email to