From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.help Subject: Re: WIN emacs can not catch Ctrl-C in CYGWIN bash shell Date: Wed, 31 Jan 2007 19:37:11 +0000 Message-ID: <874pq7xa1k.fsf@lem.shootybangbang.com> References: <1170223983.062445.305690@v45g2000cwv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170276063 15274 80.91.229.12 (31 Jan 2007 20:41:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Jan 2007 20:41:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 31 21:40:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCMFu-0005Lh-8n for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jan 2007 21:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCMFt-0000Em-O9 for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jan 2007 15:40:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news-peer-lilac.gradwell.net!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help X-Mailer: Norman X-Attribution: JPW X-Face: oX^^1Wzw=7hF+$9sbFF; "@y\k=M:/\KKp>Ix4]Nue{W[-D*|!E&nB]#ZV7!P List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40808 Archived-At: "sealo" writes: > I setup a environment EMACS+CYGWIN. Everything works well. > But in the cygwin shell session, it seems the shell can not catch Ctr- > C. For example, I type command "more". No matter how many times I type > Ctrl-C, no response. So I have to kill the shell buffer, and start > again. > Could you tell me how to solve this issue? Try saying: export CYGWIN="binmode ntsec tty" It looks like the tty option is what makes C-c work. See also: http://lists.gnu.org/archive/html/help-emacs-windows/2002-10/msg00109.html http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/a180845843d43295/069eb75ca57d83c7