delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/06/03:20:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 6 Jul 2011 09:19:51 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Emacs and removal of CYGWIN=tty
Message-ID: <20110706071951.GC23717@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <m3y60jrbre DOT fsf AT dalen DOT lamasti DOT net> <4E0C62D6 DOT 3060901 AT cornell DOT edu> <20110630115403 DOT GH4471 AT const DOT bordeaux DOT inria DOT fr> <20110630140836 DOT GG9552 AT calimero DOT vinschen DOT de> <m31uy3ga9v DOT fsf AT dalen DOT lamasti DOT net>
MIME-Version: 1.0
In-Reply-To: <m31uy3ga9v.fsf@dalen.lamasti.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Jul  6 09:04, Lars Bjørndal wrote:
> 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.

What I don't get from your reply is if you are comparing the latest
snapshot against 1.7.9 with CYGWIN=tty mode, or if you're comparing
to another snapshot in default console mode.  Without this information
it's rather tricky to see where the problem might come from.

We're trying to make the console window work so that the tty option is
not necessary, but we can't debug stuff we can't use.  So this might
have to be debugged by a brltty developer.

I can't believe it's due to my change.  The only relevant difference
between 20110705 and the 20110624 snapshot is that Window's Ctrl-C
handling is now switched off if an applicaton sets the IGNBRK termios
attribute.

The problem is to know how the braille display is updated and what's
missing in the console tty emulation 


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

- Raw text -


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