Re: The vim display issue on OpenBSD

2018-03-14 Thread Nan Xiao
Hi all, I guess this issue (https://github.com/vim/vim/issues/2008) may be the cause. My vim version is 8.0.987. Best Regards Nan Xiao On Wed, Mar 14, 2018 at 9:24 AM, Nan Xiao wrote: > Hi Stuart, > > Thanks for your reply! > > When I don't use SSH client, the vim

Re: The vim display issue on OpenBSD

2018-03-13 Thread Nan Xiao
Hi Stuart, Thanks for your reply! When I don't use SSH client, the vim display correct result. My OS is Windows, and my SSH client is Cygwin, it display 0. I try putty and MobaXterm, both display: 1q q Except vim, vi display correct for all the SSH clients. So it seems interesting. Best

Re: The vim display issue on OpenBSD

2018-03-13 Thread Stuart Henderson
On 2018/03/13 21:59, Nan Xiao wrote: > Hi Stuart, > > No! It doesn't happen when run "env -i vim $filename". > > But check my environment: > > # env > _=/usr/bin/env > LOGNAME=root > HOME=/root > SSH_TTY=/dev/ttyp0 > LSCOLORS=fxexcxdxbxegedabagacad > SHELL=/bin/ksh > PS1=$USER:$PWD# >

Re: The vim display issue on OpenBSD

2018-03-13 Thread Nan Xiao
Hi Stuart, No! It doesn't happen when run "env -i vim $filename". But check my environment: # env _=/usr/bin/env LOGNAME=root HOME=/root SSH_TTY=/dev/ttyp0 LSCOLORS=fxexcxdxbxegedabagacad SHELL=/bin/ksh PS1=$USER:$PWD# TERM=xterm SSH_CONNECTION=10.217.243.14 63260 10.217.242.61 22

Re: The vim display issue on OpenBSD

2018-03-13 Thread Stuart Henderson
On 2018-03-13, Nan Xiao wrote: > Hi Ville, > > I don't have ~/.vimrc, only a ~/.viminfo, thanks! Perhaps something in your environment is causing a problem. Does it also happen if you run "env -i vim $filename"?

Re: The vim display issue on OpenBSD

2018-03-12 Thread Nan Xiao
Hi Ville, I don't have ~/.vimrc, only a ~/.viminfo, thanks! Best Regards Nan Xiao On Tue, Mar 13, 2018 at 1:47 PM, Ville Valkonen wrote: > Hi, > > can you please show your ~/.vimrc? > > Thanks, > Ville > > On Tue, 13 Mar 2018 at 4.52, Nan Xiao

Re: The vim display issue on OpenBSD

2018-03-12 Thread Ville Valkonen
Hi, can you please show your ~/.vimrc? Thanks, Ville On Tue, 13 Mar 2018 at 4.52, Nan Xiao wrote: > I tried other options, but still the same problem ... > Best Regards > Nan Xiao > > > On Tue, Mar 13, 2018 at 12:51 AM, jungle Boogie > wrote:

Re: The vim display issue on OpenBSD

2018-03-12 Thread Nan Xiao
I tried other options, but still the same problem ... Best Regards Nan Xiao On Tue, Mar 13, 2018 at 12:51 AM, jungle Boogie wrote: > On 11 March 2018 at 18:18, Nan Xiao wrote: >> Hi all, >> >> Update: >> >> I try to install

Re: The vim display issue on OpenBSD

2018-03-12 Thread jungle Boogie
On 11 March 2018 at 18:18, Nan Xiao wrote: > Hi all, > > Update: > > I try to install vim-8.0.0987p0-no_x11, still the same problem, thanks! I am using vim-8.0.1589-no_x11-python3 without any issues on openBSD snapshot from this morning. > Best Regards > Nan Xiao >

Re: The vim display issue on OpenBSD

2018-03-11 Thread Nan Xiao
Hi all, Update: I try to install vim-8.0.0987p0-no_x11, still the same problem, thanks! Best Regards Nan Xiao On Mon, Mar 12, 2018 at 9:14 AM, Nan Xiao wrote: > Hi all, > > Thanks for all your kind response! > > I reinstall vim: > > # pkg_add vim > quirks-2.367 signed

Re: The vim display issue on OpenBSD

2018-03-11 Thread Nan Xiao
Hi all, Thanks for all your kind response! I reinstall vim: # pkg_add vim quirks-2.367 signed on 2017-10-03T11:21:28Z Ambiguous: choose package for vim a 0: 1: vim-8.0.0987p0-gtk2 2: vim-8.0.0987p0-gtk2-lua 3: vim-8.0.0987p0-gtk2-perl-python-ruby 4:

Re: The vim display issue on OpenBSD

2018-03-09 Thread Andreas Kusalananda Kähäri
On Fri, Mar 09, 2018 at 03:19:32PM +0800, Nan Xiao wrote: > 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

Re: The vim display issue on OpenBSD

2018-03-09 Thread Solène Rapenne
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

Re: The vim display issue on OpenBSD

2018-03-09 Thread Nan Xiao
Hi Stuart, I am very sorry, and the VIM's version is 8.0.987. I reported wrong version from other machine. I should installed it from ports. Thanks! Best Regards Nan Xiao On Fri, Mar 9, 2018 at 9:37 PM, Stuart Henderson wrote: > No ideas then, sorry. > > Maybe try it

Re: The vim display issue on OpenBSD

2018-03-09 Thread Stuart Henderson
No ideas then, sorry. Maybe try it from ports/packages instead in case there's anything funny with your build? (I know that's not a standard ports one because we didn't have 8.0.1476). On 2018/03/09 21:32, Nan Xiao wrote: > Hi Stuart, > > hexdump doesn't show anything exceptionally: > #

Re: The vim display issue on OpenBSD

2018-03-09 Thread Nan Xiao
Hi Stuart, hexdump doesn't show anything exceptionally: # hexdump -C a 31 0a |1.| 0002 I don't have .vimrc, just a .viminfo and .vim directory: # ls -alth .vim* -rw--- 1 root wheel 725B Mar 9 21:27 .viminfo .vim: total 24

Re: The vim display issue on OpenBSD

2018-03-09 Thread Stuart Henderson
On 2018-03-09, Nan Xiao wrote: > 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

The vim display issue on OpenBSD

2018-03-08 Thread Nan Xiao
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