all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Killing a hung ssh process in a TRAMP session
@ 2010-01-07  7:24 Suvayu Ali
  2010-01-07  8:41 ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Suvayu Ali @ 2010-01-07  7:24 UTC (permalink / raw)
  To: Emacs mailing list

Hi everyone,

I have a small problem. I usually have to develop code remotely. 
(usually across the Atlantic :) ) The connection is not always very 
stable. Whenever there are any network problems, TRAMP keeps trying to 
reconnect to the remote machine.

My problem is whenever TRAMP is trying to reconnect, the whole emacs 
session hangs. The only way out of this situation is to wait for the 
connection to be established (not always practical as often it might 
take over 10 mins for the network to be back to normal) or kill emacs 
with `kill -9'. And since I usually run emacs in server mode, this means 
loosing a really complicated session with lots of buffers on several 
remote machines.

Is there any way I could tell emacs not to reconnect when this happens? 
I tried running `ps uf -u `whoami`' and kill the shell running the hung 
ssh process. But that only re-spawns the process again.

Is there anyway around this? Hopefully I have explained my predicament 
clearly. Thanks for any advice on this.

-- 
Suvayu

Open source is the future. It sets us free.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-17 19:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  7:24 Killing a hung ssh process in a TRAMP session Suvayu Ali
2010-01-07  8:41 ` Michael Albinus
2010-01-07 15:29   ` Suvayu Ali
2010-01-07 15:46     ` Michael Albinus
2010-01-14  6:23       ` Suvayu Ali
2010-01-17 12:23         ` Michael Albinus
2010-01-17 19:18           ` Suvayu Ali

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.