Martin Krischik wrote:
> When gvim is started in gui mode but cannot connect to the X-Server it
> falls back to terminal mode.
>
> I would which that this feature could be disabled as it caused serious
> problems when gvim is started as background task - in which case the
> now simple vim has a terminal to display but no keyboard to accept
> commands from.
>
> Martin
>
> PS: Please remember that on some operating systems gvim allways starts
> as if --nofork has been set.
There appears to be no way to do something in this situation. How about
adding a GUIFailed event? Then you can do:
au GUIFailed * qall
GUIFailed would be done in the same position as GUIEnter, but when it
failed to start.
--
hundred-and-one symptoms of being an internet addict:
258. When you want to see your girlfriend, you surf to her homepage.
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///