Discussion:
Vim update - Stray chars on file-new
(too old to reply)
David C. Rankin
2017-08-24 01:44:11 UTC
Permalink
Raw Message
All,

After vim update to 8.0.0987-1, creating a new file with 'vim somefile.txt'
results in the following stray characters at the top of the file:

$q q
~

Can someone confirm?
--
David C. Rankin, J.D.,P.E.
Eli Schwartz
2017-08-24 03:10:30 UTC
Permalink
Raw Message
Post by David C. Rankin
All,
After vim update to 8.0.0987-1, creating a new file with 'vim somefile.txt'
$q q
~
Can someone confirm?
I can confirm that it's just you. :)
--
Eli Schwartz
Darshit Shah via arch-general
2017-08-24 06:18:02 UTC
Permalink
Raw Message
Post by David C. Rankin
All,
After vim update to 8.0.0987-1, creating a new file with 'vim somefile.txt'
$q q
~
I have seen something like this for a while on server. I thought it was
some misconfigured display settings. But yes, I'm facing it too
Post by David C. Rankin
Can someone confirm?
--
David C. Rankin, J.D.,P.E.
--
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6
Omar Polo
2017-08-24 07:07:35 UTC
Permalink
Raw Message
I'm not using arch atm, but I remember I had the exactly same problem
using neovim on the tty. After some experiments, I've found that the
cause was the changing of the shape of the cursor.

So, try
```
vim -u NONE foo.txt
```
to see if the problem remains.
Post by David C. Rankin
All,
After vim update to 8.0.0987-1, creating a new file with 'vim somefile.txt'
$q q
~
Can someone confirm?
--
David C. Rankin, J.D.,P.E.
--
No computers were harmed in the making of this email, only free (as in freedom) software was used
Simon Doppler
2017-08-24 22:17:35 UTC
Permalink
Raw Message
Post by David C. Rankin
All,
After vim update to 8.0.0987-1, creating a new file with 'vim
somefile.txt' results in the following stray characters at the top of the
$q q
~
Can someone confirm?
Hi,

I had the same problem, but fixed it by changing the $TERM variable from
xterm-256color to konsole-256color in Konsole (I don't know why it is set that
way in the first place).

To change it, you need to edit your profile files (in ~/.local/share/konsole)
and add `Environment=TERM=konsole-256color` to the `[General]` section.

Best,
--
Simon Doppler
E: ***@dopsi.ch
PGP: 5C3A 7347 AE06 D520 68A6 D292 9A08 963D B82F 5A19
David C. Rankin
2017-08-26 05:40:10 UTC
Permalink
Raw Message
Post by Simon Doppler
Post by David C. Rankin
All,
After vim update to 8.0.0987-1, creating a new file with 'vim
somefile.txt' results in the following stray characters at the top of the
$q q
~
Can someone confirm?
Hi,
I had the same problem, but fixed it by changing the $TERM variable from
xterm-256color to konsole-256color in Konsole (I don't know why it is set that
way in the first place).
To change it, you need to edit your profile files (in ~/.local/share/konsole)
and add `Environment=TERM=konsole-256color` to the `[General]` section.
Best,
It is a KDE issue with konsole. Upstream bug is:

https://bugs.kde.org/show_bug.cgi?id=383976
--
David C. Rankin, J.D.,P.E.
Loading...