Package: vim-tiny
Version: 2:8.1.0875-5
Severity: normal

Dear Maintainer,

When invoked as vi, vim.tiny incorrectly reports the file size being
edited, reporting "898964 characters" no matter now large or small the
file is (tried files from 0 bytes to 71 MB).  It works correctly when
invoked as vim.tiny.  This seems to be a problem on the armhf/armv7l
architecture; I did not see it on an i686 machine.

tresi@raspberrypi:~$ uname -a
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l 
GNU/Linux
tresi@raspberrypi:~$ echo hi > foo
tresi@raspberrypi:~$ ls -al foo
-rw-r--r-- 1 tresi tresi 3 Feb 15 11:59 foo
tresi@raspberrypi:~$ vi foo
hi
~
"foo" 1 line, 898964 characters

tresi@raspberrypi:~$ which vi
/usr/bin/vi
tresi@raspberrypi:~$ readlink /usr/bin/vi
/etc/alternatives/vi
tresi@raspberrypi:~$ readlink /etc/alternatives/vi
/usr/bin/vim.tiny
tresi@raspberrypi:~$ readlink /usr/bin/vim.tiny

tresi@raspberrypi:~$ vim.tiny foo
hi
~
"foo" 1L, 3C

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.tiny

-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
Architecture: armv7l

Kernel: Linux 4.19.97-v7+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim-tiny depends on:
ii  libacl1      2.2.53-4
ii  libc6        2.28-10+rpi1
ii  libselinux1  2.8-1+b1
ii  libtinfo6    6.1+20181013-2+deb10u2
ii  vim-common   2:8.1.0875-5

vim-tiny recommends no packages.

Versions of packages vim-tiny suggests:
pn  indent  <none>

-- no debconf information

Reply via email to