Dennis Nezic wrote:
On Wed, 17 May 2006 19:56:29 +0200,
"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
[...]
Gvim needs a keyboard device and a display device. IIUC, on Unix
these are handled through X11. Now if X11 pops out, gvim suddenly
finds itself with no keyboard or display. Morality: Don't close X11
as long as there are programs which use it, unless those same
programs will be "properly" closed by the same action.
yeah .. that is the current "workaround". but it's laborious :). i
think it'd be much better if gvim could interpret lack of x as a close
signal.
[...]
Maybe under a different window manager it would work differently? I
don't think I have the same problem as you do... now which wm am I
using? I believe it's the one which comes with kde.
Or else, have you tried killing Vim with SIGTERM rather than SIGKILL?
The former (but not the latter) can be intercepted by the user program
as meaning "Closing time, everyone! Please start closing down cleanly!"
(but I don't know if Vim actually intercepts it or not). (Of course, the
"proper" way to do it is by closing Vim first, maybe with :xa to save
everything and exit, and closing X11 afterwards.)
Best regards,
Tony.