X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: lars@lamasti.net (Lars =?iso-8859-1?Q?Bj=F8rndal?=)
To: cygwin@cygwin.com
Subject: Re: Emacs and removal of CYGWIN=tty
References: <m3y60jrbre.fsf@dalen.lamasti.net> <4E0C62D6.3060901@cornell.edu>	<20110630115403.GH4471@const.bordeaux.inria.fr>	<20110630140836.GG9552@calimero.vinschen.de>
Date: Wed, 06 Jul 2011 09:04:28 +0200
In-Reply-To: <20110630140836.GG9552@calimero.vinschen.de> (Corinna Vinschen's	message of "Thu, 30 Jun 2011 16:08:36 +0200")
Message-ID: <m31uy3ga9v.fsf@dalen.lamasti.net>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
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

Corinna Vinschen writes:

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

I downloaded the 20110705 version of cygwin1.dll, and replaced my
original one. Now, BRLTTY doesn't work. It starts, but the braille
display isn't updated/refreshed. I confirmed that Emacs exits with c-x,
c-c.

Lars

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

