delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/21:50:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E559408.4BB817C3@real.com>
Date: Thu, 20 Feb 2003 18:50:48 -0800
From: Sudheer Tumuluru <stumuluru AT real DOT com>
Organization: RealNetworks Inc.
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Remote ssh terminal hangs on Ctrl-C

Hi,
            I have a peculiar problem with remote ssh terminal on
cygwin. The Win2k box has cygwin installed and sshd is running as a
service. I connect remotely to this machine through ssh. I bring up a
shell script which encapsulates a java command line invocation (java.exe
from the Java SDK: which is a Win32 program). The program executes fine,
but when I try to kill it using Ctrl-C from the remote terminal, it
either hangs, or gets back to the command prompt without actually
killing the process. This behavior is not visible from the cygwin
terminal on Win2k machine's console: the program exits normally.
            I need the Ctrl-C to work, because the program needs to
unregister with a server on Ctrl-C (in the cleanup code). Any
help/suggestions?

Thanks in advance,
Sudheer T



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019