X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 30 Jun 2011 16:08:36 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Emacs and removal of CYGWIN=tty
Message-ID: <20110630140836.GG9552@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <m3y60jrbre.fsf@dalen.lamasti.net> <4E0C62D6.3060901@cornell.edu> <20110630115403.GH4471@const.bordeaux.inria.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20110630115403.GH4471@const.bordeaux.inria.fr>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jun 30 13:54, Samuel Thibault wrote:
> Ken Brown, le Thu 30 Jun 2011 07:49:42 -0400, a écrit :
> > On 6/30/2011 3:58 AM, Lars Bjørndal wrote:
> > >I've heard that the value of the CYGWIN environment variable 'tty' will
> > >be unsupported for the next release of cygwin. I use emacs a lot from within
> > >cygwin, and if not CYTWIN=tty is set prior to starting bash, the control-c
> > >character outputs control-g. C-c, c-x is therefore wrongly interpreted
> > >by emacs. Is there other ways to get emacs works as expected, if the
> > >variable is removed?
> > 
> > The problem only occurs in a Windows console, such as the one you get by
> > using the Cygwin desktop shortcut.  Use a different terminal emulator, such
> > as mintty, instead.
> 
> This is not an option, as mintty is not accessible from brltty.

I just applied a patch to CVS which makes Emacs' Ctrl-x Ctrl-c work as
expected in the console.  This should work with other applications as
well which set the termios IGNBRK flag.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

