strange behavior of vim syntax highlighting

Gilboa Davara gilboad at gmail.com
Tue Sep 2 13:14:25 UTC 2008


On Tue, 2008-09-02 at 15:00 +0200, Uwe Kiewel wrote:
> Hi world,
> 
> I've got a problem using vim's syntax highlighting feature.
> 
> System: Runlevel 5, KDE, Fedora 8
> 
> - in a text console (STRG-ALT-F1)-> it works
> - ssh to localhost or ssh from a remote system -> it works
> - as user doing su - user -> it works
> - opening a xterm in KDE -> it doesn't work
> 
> 
> My question: What is the difference between the first 3 ways and the
> last one in allocating the vim environment?
> 
> Thanks,
> 	Uwe
> 

What's the output of xterm's TERM?
$ echo $TERM

... Try:
$ TERM=xterm-color vim ...

- Gilboa




More information about the fedora-list mailing list