You are not logged in.

#1 2017-11-20 07:16:51

GioGio
Member
Registered: 2017-01-03
Posts: 9

Weird behavior moving cursor on terminal.

Hello everyone, I'm having a weird problem while using VIM on arch linux.
To better explain what happens I have included an animated gif
https://imgur.com/a/iCLCI
This happens only when writing into a string I think.
Someone has any idea what could be the problem?

Another thing I noticed is that when I was using a certain program (Weka) it was not displaying the character 'y'. I don't know if that could be related.

Thanks in advance for any hint.

Offline

#2 2017-11-20 07:25:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Weird behavior moving cursor on terminal.

Looks like your TERM is broken. Are you forcing it anywhere?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-11-20 07:51:28

GioGio
Member
Registered: 2017-01-03
Posts: 9

Re: Weird behavior moving cursor on terminal.

jasonwryan wrote:

Looks like your TERM is broken. Are you forcing it anywhere?

Forgive the maybe dull question, but what do you mean exactly by forcing it?

Offline

#4 2017-11-20 07:52:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Weird behavior moving cursor on terminal.

Are you exporting a TERM variable anywhere in your shell initialisation files? What happens if you `echo $TERM` in your terminal and then in vim?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-11-20 08:02:48

GioGio
Member
Registered: 2017-01-03
Posts: 9

Re: Weird behavior moving cursor on terminal.

jasonwryan wrote:

Are you exporting a TERM variable anywhere in your shell initialisation files? What happens if you `echo $TERM` in your terminal and then in vim?

mmh no there is no export TERM in the initialisation files.

the command returns xterm both in the terminal and in vim

Offline

#6 2017-11-20 08:32:48

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Weird behavior moving cursor on terminal.

This is not a monospace font and the majority of terminals cannot deal with that (leaving aside that it's a crap choice because your brain has far work to do)

Offline

Board footer

Powered by FluxBB