FS#45535 - [vim] latest version inserting g character upon opening file looks still broken

688 views
Skip to first unread message

mailin...@pcfreak.de

unread,
Jul 15, 2015, 9:13:32 PM7/15/15
to vim...@googlegroups.com
Hi,

I think the problem, that some random characters are inserted into a file after opening vim is still present, see https://bugs.archlinux.org/task/45535

I personally can confirm, that on Arch Linux with vim 7.4.778-1 the problem is not fixed. There are 2 workarrounds that seem to help.

a) remove transparency from .XResources file e.g. remove "urxvt.background: [80]#000000"
b) apply a color scheme to vim

During work I access my arch box using MobaXTerm (Windows), for testing, the personal version is free for 10 connections!
I also use Putty.

Problem only happens with MobaXTerm (which I use for years now without problems) but not with Putty (Windows).

I do not have a .XResources file so I workarround with a color scheme at the moment.

I also can confirm, whithout applying one of the workarrounds but downgrading vim and vim-runtime to 7.4.738-1 the problem is gone.
It started (on my machine) with version 7.4.764-1.

So the problem needs to be found in changes between version 7.4.738-1 and 7.4.764-1.

In my opinion, it is very dangerous for the integrity of configuration files, that vim inserts characters at last cursor position!

Kind regards and thanks for your commitment!

PCFreak

h_east

unread,
Jul 16, 2015, 9:48:20 AM7/16/15
to vim...@googlegroups.com
Hi,

2015-7-16(Thu) 10:13:32 UTC+9 mailin...@pcfreak.de:

Vim 7.4.757 or later send out the background color request to terminal and receive response. (Depending on the conditions)
There was bugs in Vim, but we had been fixed in patch 7.4.766 and patch 7.4.770.

I think that's probably mobaXterm of bug of you have reported.

Please try to hit the following command(Background color request) on the mobaXterm:

printf "\033]11;?\007"; cat

It will probably be less of such output(Background color response):

^[]0;rgb:0000/0000/0000^[\

This is incorrect.
Correct response must begin start with "^[]11;rgb:".

The mobaXterm response is incorrect. So, Vim buffer is in a bad state.

Please report to the development company of mobaXterm.

Thanks for reporting.
--
Best regard,
Hirohito Higashi (a.k.a. h_east)

Reply all
Reply to author
Forward
0 new messages