Package: less
Version: 487-0.1+b1
Severity: normal

Ctrl-C has no effect with -c (--clear-screen) and process substitution,
e.g. with

zira% less -fc <(echo foo; sleep 3; echo bar)

and Ctrl-C hit during the "sleep 3", while the following has no issue:

zira% less -f <(echo foo; sleep 3; echo bar)

(Tested with all LESS* environment variables unset.)

This is surprising as -c should just change the screen painting:

       -c or --clear-screen
              Causes full screen repaints to be painted  from  the
              top line down.  By default, full screen repaints are
              done by scrolling from the bottom of the screen.

I don't see why this would affect signals.

-- System Information:
Debian Release: 10.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(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  debianutils  4.8.6.1
ii  libc6        2.28-10
ii  libtinfo6    6.1+20181013-2

less recommends no packages.

less suggests no packages.

-- no debconf information

Reply via email to