Le 2018-03-09 08:19, Nan Xiao a écrit :
Hi all,
Greetings from me!
I meet a weird issue: there is a file which contains only "1":
# cat a
1
While use vim to open it, it displays "0". I find the number behind
cursor will decrease 1.
Does anyone bump into this issue? Thanks very much in advance!
P.S., my OpenBSD is 6.2 release, and vim is 8.0.1476.
Best Regards
Nan Xiao
hello,
Do you have this error only with this file ? If you do
echo 2 > file
and then you use vim on this file, does it display 1 ?
Could you try with another terminal emulator or from a tty ?
I have no idea about this problem but it may gives some clues.