rkitover / vimpager

Use Vim as PAGER
http://www.vim.org/scripts/script.php?script_id=1723
Other
769 stars 72 forks source link

Bug report : vimpager freezes when specifying a directory #237

Open windware-ono opened 5 years ago

windware-ono commented 5 years ago

OS : Ubuntu 18.04 64bit Shell : /bin/bash Vim : Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58) (Installed via 'vim-nox' package.) .vimrc : None .vimpagerrc : None Cloned : 8cbddd1

I installed it with sudo make install-deb and when I run vimpager . and specify some directory (which I shouldn't but it can happen accidentally), vimpager freezes and had to be killed with SIGKILL.

The error shown is,

$ vimpager .
head: error reading '.': Is a directory
head: error reading '.': Is a directory
cat: .: Is a directory
wc: 'standard input': Is a directory
sed: read error on .: Is a directory
cat: .: Is a directory
rkitover commented 5 years ago

Fixed in master, thank you for the report.