LFS10: strange characters in vim via ssh
by derguteweka from LinuxQuestions.org on (#5CHMS)
Moin,
On brand new LFS10; facing strange problem:
If i open file with vi(m) and syntax highlighting is on, strange numbers/characters appear in the terminal, example:
Code:set 5:81mrulerthe same line when syntax highlighting is switched off in vim looks ok:
Code:set rulerBut this happens only, if i do this via ssh connection. On the machine itself it's OK with/without syntax highlighting.
Also colored ls output and cacafire via ssh are OK.
Somehow the escape sequences for coloring might get misinterpreted i guess, but i've never seen something like this before.
Happens with the 8.2.something vim used in LFS10, but also with vim74 i just installed because on versions >7.999 vim tends to do lots of rather strange things im my opinion.
But this time the Version >8 doesnt seem to be the problem, but the ssh connection?
Any advice would be welcome...
Gruss
WK


On brand new LFS10; facing strange problem:
If i open file with vi(m) and syntax highlighting is on, strange numbers/characters appear in the terminal, example:
Code:set 5:81mrulerthe same line when syntax highlighting is switched off in vim looks ok:
Code:set rulerBut this happens only, if i do this via ssh connection. On the machine itself it's OK with/without syntax highlighting.
Also colored ls output and cacafire via ssh are OK.
Somehow the escape sequences for coloring might get misinterpreted i guess, but i've never seen something like this before.
Happens with the 8.2.something vim used in LFS10, but also with vim74 i just installed because on versions >7.999 vim tends to do lots of rather strange things im my opinion.
But this time the Version >8 doesnt seem to be the problem, but the ssh connection?
Any advice would be welcome...
Gruss
WK