Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: timeout problem in ssh sessions - I found the culprit: mouse.zsh
- X-seq: zsh-users 12573
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: timeout problem in ssh sessions - I found the culprit: mouse.zsh
- Date: Thu, 14 Feb 2008 17:42:59 +0000
- In-reply-to: <20080214164456.GE31852@xxxxxxxxx>
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080211233404.GA13398@xxxxxxxxx> <080212083755.ZM20121@xxxxxxxxxxxxxxxxxxxxxx> <20080212232947.GA13793@xxxxxxxxx> <080212200708.ZM20711@xxxxxxxxxxxxxxxxxxxxxx> <20080213134200.GB31852@xxxxxxxxx> <200802131349.m1DDnXRF004831@xxxxxxxxxxxxxx> <20080214132417.GD31852@xxxxxxxxx> <chaz20080214162554.GB6772@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080214164456.GE31852@xxxxxxxxx>
On Thu, Feb 14, 2008 at 05:44:56PM +0100, Andy Spiegl wrote:
> On 2008-02-14, 16:25, Stephane CHAZELAS wrote:
> >
> > xclip or xsel fork a background process in order to own the
> > CLIPBOARD selection. Having something else owning the selection
> > (by having another app copying some text) should terminate that
> > xclip/xsel and release your ssh session.
>
> YES, that's it! There is a xsel process hanging around until
> I press Ctrl-U or Ctrl-Y in a different shell. As soon as I
> do that the ssh connection terminates, too.
>
> Now I am thinking whether it would be easily possible to kill
> this process in .zlogout. Does mouse.zsh keep track of the pid?
> A "killall xsel" might not always be what I want, right?
[...]
Doing a xsel -b -c
should terminate the background xsel or xclip.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author