Re: Runaway vim on SSH disconnect
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. | Has anyone sen this? Yes. | Does anyone know a workaround (other than a script that seeks and | kills runaway vim sessions...)? Yes and no. | My apologies if this has been discussed before here - I can't seem to | search the archives of this list, and a Google search has not been very | productive. I don't know if it was discussed here, but it was discussed on vim-dev a year ago : http://marc.theaimsgroup.com/?l=vim-devm=100803941216634w=2 http://marc.theaimsgroup.com/?l=vim-devm=100827301719235w=2 The problem is a generic one that comes with mixing threads and signals. If you compile vim without any threading whatsoever then you won't see this problem. If vim is built with python (and probably perl, ruby or tcl) then it will have threads linked in. -D -- Microsoft is to operating systems security what McDonald's is to gourmet cooking http://dman.ddts.net/~dman/ msg19501/pgp0.pgp Description: PGP signature
Re: Runaway vim on SSH disconnect
on Mon, Dec 16, 2002 at 06:01:25PM -0500, Derrick 'dman' Hudson ([EMAIL PROTECTED]) 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. Peace. -- Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/ What Part of Gestalt don't you understand? Geek for hire: http://kmself.home.netcom.com/resume.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]