[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Runaway vim on SSH disconnect

on Mon, Dec 16, 2002 at 06:01:25PM -0500, Derrick 'dman' Hudson (dman@dman.ddts.net) wrote:
> On Mon, Dec 16, 2002 at 10:13:26AM -0500, JP Glutting wrote:
> | I have a problem with a Debian-stable (Wody) install. When I connect via 
> | ssh to this box, and the connection gets cut while I am running a vim 
> | session, vim runs out of control and the CPU usage goes up to 99.5%. The 
> | process has to be killed manually. I have heard that this is a problem 
> | with older versions of ssh, but I am using OpenSSH.
> It happens with any terminal that can become disconnected from the
> process.

> | Does anyone know a workaround (other than a script that seeks and
> | kills runaway vim sessions...)?

Use 'screen' for remote sessions.

Article in this month's LJ, or apt-get install screen.


Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html

Reply to: