Larry Alkoff wrote:
Yakov Lerner wrote:
On 9/21/06, Larry Alkoff <[EMAIL PROTECTED]> wrote:
Whenever I run Vim, the statement
Thanks for flying Vim - Shell - Console
appears on the Konsole Window Titlebar (the blue one at the top).

What is causing this and how can I stop it?

:he 'title'
:he 'titleold'
:he 'titlestring'

Yakov


Thanks Yakow.  I had mistakenly 'set title' in ~/.vimrc.
Commenting it out fixed the problem.

Larry


It may depend on your Vim version and on your running environment. In my Gnome2 GUI-enabled Vim, I don't set anything but 'title' is set by default in konsole, and it displays, for instance, "[No Name] + - VIM - Shell - Konsole" where [No Name] changes to the current filename and + appears if the file is 'modified'. I have 'term' and $TERM both set to "xterm" which ought to mean that the title can be restored. I also have 'ttybuiltin' on (the default) which means that the builtin termcap (which contains a 't_ts' setting for the "xterm" terminal) will be used in preference to an external termcap or terminfo. In turn, t_ts defined means that (if the value is correct) the window title can be restored.

Morality: Leave 'title' 'titleold' 'titlestring' and 'ttybuiltin' at their defaults and you sould have a "typical" title with the current filename and (if applicable) the "servername". (Note: The reason 'ttybuiltin' is on by default is that, according to Bram, many systems have fulty termcaps...)


Best regards,
Tony.

Reply via email to