Package: less
Version: 481-2.1
Severity: normal

less -R passes through ANSI color sequences; however, it seems to reset
ANSI colors at each newline.  For an example, try running the following:

/usr/bin/printf '\e[1mHello\nworld\n\e[0m'

This should print two lines to the terminal, both of them bold.  Then
try running the same through less -R:

/usr/bin/printf '\e[1mHello\nworld\n\e[0m' | less -R

This shows the first line bold, and the second line normal.

- Josh Triplett

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages less depends on:
ii  debianutils  4.8
ii  libc6        2.23-4
ii  libtinfo5    6.0+20160625-1

less recommends no packages.

less suggests no packages.

-- no debconf information

Reply via email to