Package: less
Version: 458-3
Severity: minor

Type:

  { echo foo; sleep 2; } | less -F

then Ctrl-C. One gets the "less" prompt, i.e. "less" doesn't exit,
while the description of the -F option is:

  Causes less to automatically exit if the entire file can be
  displayed on the first screen.

Obviously the entire file (the string "foo") can be displayed on the
first screen, so that "less" should exit.

Note: I automatically pipe some commands to "less -+c -FRX" in order to
use the "less" pager when need be, so that this bug is a bit annoying.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages less depends on:
ii  debianutils  4.4
ii  libc6        2.19-10
ii  libtinfo5    5.9+20140712-2

less recommends no packages.

less suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to