Jason Majors wrote: > > > > This wouldn't bother me too much, but the app that complains is vim. > > > Not the gui version, the console version. I have version 5.8.007-4 instal > > led > > > of vim-rt and vim-gtk. I can't install just vim, because it conflicts with > > > vim-gtk, which for the most part provides the console version. > > > Is this a vim bug, or some special feature I'm unaware of? > > > > No... > > > > You can choose either console vim ( vim package ) > > or _both_ console and gtk (vim-gtk package) This is done for people who > > do > > n't > > want to install xlibraries just to use vim. > > > But why does the console call to vim check the DISPLAY variable? If I unset > it, > vim runs just fine.
it sets the title of xterm, I guess that's why it connects to X server (if available), notice that when you run vim in xterm and the user is not allowed to connect to given X server you get error messages complaining about not being able to connect to X server. erik