Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVb+D9jbHDtGLvc8WOCpgwpcU1OR+BU5K7IFb6oAsZ/XOgBoV+uHIBZL Message-ID: <3F3015CE.1020905@cygwin.com> Date: Tue, 05 Aug 2003 16:38:38 -0400 From: Larry Hall Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Dessent CC: cygwin AT cygwin DOT com Subject: Re: SSH session terminates with Ctl+C References: <20030805162123 DOT 79242 DOT qmail AT web20416 DOT mail DOT yahoo DOT com> <3F301421 DOT E6D5A415 AT dessent DOT net> In-Reply-To: <3F301421.E6D5A415@dessent.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Brian Dessent wrote: > Jeff Nokes wrote: > > >>I've ran into a strange issue, one of which I have not run into before with >>cygwin. I have a W2K workstation at work, and I use cygwin to ssh into both >>Solaris and RedHat Linux boxes to do development. Sometimes, while ssh'd into >>a remote host, I have to 'Ctl+C' out of a process when it hangs. When >>connected to the Solaris boxes, the Ctl+C just puts me back at the command >>prompt on the remote host, which is what I would expect it to do. But when >>I'm connected to a Linux box and I Ctl+C out of a process, not only does it >>kill the process on the remote Linux host, but it kills my active ssh session >>with that host and puts me back in the default cygwin shell in my W2K >>environment. > > > If you're using CMD.EXE for your command prompt you might try setting > "tty" in the CYGWIN environment variable. Also, give rxvt a try. Make > sure that your TERM is set to "Cygwin" or "rxvt" for CMD.EXE and rxvt, > repectively. You shouldn't have to explicitly set TERM to anything, it > should take the correct value without forcing it. Brian, what makes you think this is a Cygwin problem? To me, if it works Cygwin->Cygwin and Cygwin->Solaris but not Cygwin->Linux, then it's not likely that a change on the Cygwin side is going to help, IMO. FWIW, this worked for me Cygwin->Cygwin from bash and from rxvt without tty set for either attempt. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/