delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/31/18:02:13

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: <3F527055.9C5FD822@dessent.net>
Date: Sun, 31 Aug 2003 15:01:57 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ctrl-c swallowed
References: <003a01c36fee$7ba18b70$ddb470d5 AT gotia>
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h7VM2BX01053

Anders Lindén wrote:

> When I use the Programs->cygwin->cygwin bash shell, I get a console window with a bash shell, but ctrl-c
> presses never reaches the applications. I presume that it is the bash application that swallows them, or?
> 
> When I run bash in xfree (shipped with cygwin), the problem is not there, ctrl-c presses is reaching the application.
> However, I need to use the console.

I don't know if this is the "officially correct" answer or not, but I
find that ^C doesn't work right with some programs when run from CMD.EXE
unless I have the "tty" flag added to the CYGWIN environment variable. 
The users' guide has a section on how to do this, I'm sure.

A better solution, in my opinion, is to ditch CMD.EXE completely and use
rxvt as the terminal -- it will work equally well regardless of whether
XFree86 is running or not.

Brian

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

- Raw text -


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