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 12572
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- 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:44:56 +0100
- In-reply-to: <chaz20080214162554.GB6772@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Kreccount: 1
- 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>
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?
Yes, running xclipboard helps, but it doesn't work together nicely
with other X programs like xemacs. :-(
Thanks,
Andy.
--
echo '@a=(A..Z,a..z," ");$t="a"x25;{for($x=0,$|=$n=30; $n--;){for($l=$t;1<rand 7;)
{substr$l,rand 25,1,$ a[rand@a]}$q=$_="resU naibeD a eb ot duorP";for($a=$l;$_;){s/.//;$q++
if chop$a eq$&}if($x<=$q){$e=$l;die$ e,$/if($x=$q)==25}}print$t=$e,"\r";redo}'|perl
Messages sorted by:
Reverse Date,
Date,
Thread,
Author