Package: less
Version: 551-1
Severity: minor

Hi,

it seems that the repainting/erasing of status messages of less is not working
when an error message appears in a specific situation.

Steps to reproduce:
- run `less does_not_exist /etc/hosts` where the `does_not_exist` doesn't exist
  and the second file exists (using `/etc/hosts` as a convenient example)
- press q

Less exists, but besides expected error message "does_not_exist: No such file
or directory" also the message "/etc/hosts  (press RETURN)" is left on the
screen (in inverted colours).

Similar commands `less does_not_exist`, `less /etc/hosts /etc/passwd` or
`less /etc/hosts does_not_exist` don't leave such leftovers on the screen.

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

Kernel: Linux 5.6.0-2-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages less depends on:
ii  libc6      2.30-8
ii  libtinfo6  6.2-1

less recommends no packages.

less suggests no packages.

-- no debconf information

Reply via email to