delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/07/12:23:05

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020207121753.021ba718@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Thu, 07 Feb 2002 12:18:53 -0500
To: Koen Claessen <koen AT cs DOT chalmers DOT se>, <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Control-C in Windows command line programs
In-Reply-To: <Pine.SOL.4.30.0202071157331.29332-100000@muppet23.cs.chalm
ers.se>
Mime-Version: 1.0

At 06:04 AM 2/7/2002, Koen Claessen wrote:
>Dear all,
>
>I have encountered the following problem, and I wonder if
>anyone has a good solution to it.
>
>I am running a number of programs that are compiled to be
>run in the Windows command shell (formerly called DOS
>command shell). I am running Windows 2000.
>
>It works fine to run them in cygwin bash as well. The only
>problem I have is that control-C does not behave as it
>should!
>
>Normally, in the Windows command shell, control-C is
>understood and handled by the applications themselves.
>But when I run them under cygwin, control-C terminates the
>application.
>
>I have tried to install traps, with no success.
>
>I have had this problem with virtually all applications
>installed on my computer which run in the windows command
>shell: Pine, Hugs, GHCi (the last two are interpreters for a
>programming language called Haskell), and sometimes even
>OpenSSH for cygwin has the same problem.
>
>I wonder if there is a general solution to this that somehow
>traps control-C and leaves my applications running.


That's not my impression but you may want to review the discussion
about Control-C issues on this list.  There was at least a couple in 
the last month.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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