Package: util-linux Version: 2.38.1-1.1 Severity: normal X-Debbugs-Cc: vo...@math.berkeley.edu
Dear Maintainer, I get incorrect behavior from "more -ce" in the presence of certain blank lines. To reproduce: 1. In a terminal with 66 lines, run "more -ce" on the attached file. 2. At the "--More--" prompt, press the space bar. 3. Line 2 of the file incorrectly remains on the screen. Also, if you type "d" at step 2 instead of the space bar, two blank lines are shown instead of one. This happens both with xterm (TERM=xterm) and the Linux console (TERM=linux). The attached file was created as follows: 1. ls /bin | head -67 | cat -n > file 2. Edit the file and replace line 66 with a blank line. For terminals with n lines instead of 66, replace "66" and "67" in the above instructions with n and n+1, respectively. -- System Information: Debian Release: 11.5 APT prefers oldstable-debug APT policy: (500, 'oldstable-debug'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-18-amd64 (SMP w/4 CPU threads) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages util-linux depends on: ii libblkid1 2.38.1-1.1 ii libc6 2.35-3 ii libcap-ng0 0.7.9-2.2+b1 ii libcrypt1 1:4.4.18-4 ii libmount1 2.38.1-1.1 ii libpam0g 1.4.0-9+deb11u1 ii libselinux1 3.1-3 ii libsmartcols1 2.38.1-1.1 ii libsystemd0 247.3-7+deb11u1 ii libtinfo6 6.2+20201114-2 ii libudev1 247.3-7+deb11u1 ii libuuid1 2.36.1-8+deb11u1 ii util-linux-extra 2.38.1-1.1 ii zlib1g 1:1.2.11.dfsg-2+deb11u2 Versions of packages util-linux recommends: ii sensible-utils 0.0.14 Versions of packages util-linux suggests: ii dosfstools 4.2-1 ii kbd 2.3.0-3 ii util-linux-locales 2.36.1-8+deb11u1 -- no debconf information
1 bash 2 bunzip2 3 busybox 4 bzcat 5 bzcmp 6 bzdiff 7 bzegrep 8 bzexe 9 bzfgrep 10 bzgrep 11 bzip2 12 bzip2recover 13 bzless 14 bzmore 15 cat 16 chacl 17 chgrp 18 chmod 19 chown 20 chvt 21 cp 22 cpio 23 csh 24 dash 25 date 26 dd 27 df 28 dir 29 dmesg 30 dnsdomainname 31 domainname 32 dumpkeys 33 echo 34 ed 35 egrep 36 false 37 fgconsole 38 fgrep 39 findmnt 40 fuser 41 fusermount 42 getfacl 43 grep 44 gunzip 45 gzexe 46 gzip 47 hostname 48 ip 49 journalctl 50 kbd_mode 51 keyctl 52 kill 53 kmod 54 ln 55 loadkeys 56 login 57 loginctl 58 lowntfs-3g 59 ls 60 lsblk 61 lsmod 62 mkdir 63 mknod 64 mktemp 65 more 67 mountpoint