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:
Except vim, vi display correct for all the SSH clients. So it seems
On Tue, Mar 13, 2018 at 10:24 PM, Stuart Henderson <s...@spacehopper.org> wrote:
> 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
>> SSH_CONNECTION=10.217.243.14 63260 10.217.242.61 22
>> SSH_CLIENT=10.217.243.14 63260 22
>> Don't know what causes the problem.
>> Best Regards
>> Nan Xiao
>> On Tue, Mar 13, 2018 at 6:39 PM, Stuart Henderson <s...@spacehopper.org>
>> > On 2018-03-13, Nan Xiao <xiaonan830...@gmail.com> 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"?
> The only thing that looks odd in there is the LD_LIBRARY_PATH setting
> though I don't see how that would be triggering this..
> Other thing I'm wondering is what terminal it is.
> Perhaps running it under script(1) and examining ./typescript would
> give another clue.