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 Message-ID: <3E559408.4BB817C3@real.com> Date: Thu, 20 Feb 2003 18:50:48 -0800 From: Sudheer Tumuluru 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/