Re: Can you close xterms with multixterm?
From: Don Libes (libes_at_nist.gov)
Date: 05/05/04
- Next message: Lim kiang Leng: "gets the info in specific line"
- Previous message: Bryan Oakley: "Re: ANNOUNCE: expect5.41 port to Interix3.5 (Windows SFU)"
- In reply to: Dave P: "Re: Can you close xterms with multixterm?"
- Next in thread: Dave P: "Re: Can you close xterms with multixterm?"
- Reply: Dave P: "Re: Can you close xterms with multixterm?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 05 May 2004 11:48:47 -0400
Dave P <powersd@fastmail.fm> writes:
> On Mon, 03 May 2004 16:53:05 -0400, Don Libes wrote:
>
> > Dave P <powersd@fastmail.fm> writes:
> >
> >> I am using the most excellent multixterm tool, but when I try to close an
> >> xterm, it won't let me close it. Is there anyway to do this safely?
> >>
> >> Thanks.
> >>
> >> -Dave
> >
> > What do you mean by "close an xterm". That could mean a few different
> > things. But they should all work. For example, when I end the
> > underlying process (for example, type ^D to the shell), the xterm goes
> > away. And when I do a window manager "kill", the xterm goes away.
> >
> > Don
>
> If I control-d out of an xterm, it kills every xterm that multixterm
> spawns, and kills multixterm itself. If I try to close the window by just
> pressing the X in the top right corner, nothing happens. The only way to
> close it and still keep multixterm running is to find the PID of the xterm
> and use kill -9. For me, anyway.
>
> -Dave
Pressing the X sends an X Window System WM_DELETE_WINDOW to the xterm.
Alas, xterm just ignores it when run in this mode. It's clearly a
missing feature in xterm and I've spoken to xterm's author about this
but nothing has ever been done about it. If you absolutely need this,
you can edit the xterm source code to add the support.
As an alternative, you can do kill -9 as you said. However it is much
more simpler to tell the X server to close the connection. I have
this bound to alt-k in my window manager. I also have
WM_DELETE_WINDOW bound to a keystroke, too. Since both are bound to
keystrokes, my window manager doesn't bother to display the X in the
titlebars.
By the way, I'm not sure what you mean by "out of an xterm". If this
is not what you expect you need to provide more detail.
Don
- Next message: Lim kiang Leng: "gets the info in specific line"
- Previous message: Bryan Oakley: "Re: ANNOUNCE: expect5.41 port to Interix3.5 (Windows SFU)"
- In reply to: Dave P: "Re: Can you close xterms with multixterm?"
- Next in thread: Dave P: "Re: Can you close xterms with multixterm?"
- Reply: Dave P: "Re: Can you close xterms with multixterm?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|