delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/10:59:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20110510140819.GS27739@calimero.vinschen.de>
References: <20110509161028 DOT GJ27739 AT calimero DOT vinschen DOT de> <CCD7B66B83144FC29DC158B10C564CC0 AT cit DOT wayne DOT edu> <20110509175205 DOT GA5069 AT const DOT famille DOT thibault DOT fr> <20110509200524 DOT GB10705 AT ednor DOT casa DOT cgf DOT cx> <20110509202300 DOT GN5069 AT const DOT famille DOT thibault DOT fr> <20110510140819 DOT GS27739 AT calimero DOT vinschen DOT de>
Date: Tue, 10 May 2011 15:59:13 +0100
Message-ID: <BANLkTikaf1ONji9XxET87YH0rAKuB3J1CA@mail.gmail.com>
Subject: Re: Who's using "CYGWIN=tty" and why?
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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 10 May 2011 15:08, Corinna Vinschen wrote:
> Samuel,
>
> On May =C2=A09 22:23, Samuel Thibault wrote:
>> Christopher Faylor, le Mon 09 May 2011 16:05:24 -0400, a =C3=A9crit :
>> > Has anyone tried running brltty without setting CYGWIN=3Dtty?
>>
>> I never set the CYGWIN variable nowadays, actually, and brltty works
>> fine in that case.
>
> do you happen to know why brltty doesn't work with mintty? =C2=A0Is there
> a chance to make this work?

On 9 May 2011 18:40, Lee Maschmeyer wrote:
> BRLTTY is a screen reading system that enables the use of refreshable
> braille devices (see below). It works on Linux and other unixes both in
> console mode and as an adjunct to the Unix GUI screen reader (Orca). It a=
lso
> works at the DOS command prompt, and gloriously beautifully in Cygwin. I
> tried mintty once and brltty would not read that window. Whether this can=
 be
> changed by the developers I don't know. I've sporadically tried things li=
ke
> rxvt and when they didn't work right off the bat I didn't bother anymore
> since brltty is really splendid.

I've had a quick look at the brltty source and documentation, in
particular the chapter on supported screen drivers at [1]. Brltty
requires access to the full screen buffer of a console or terminal.

The Cygwin and native Windows versions of brltty default to using the
Windows console API to access the screen buffer of console windows.
Mintty, rxvt, and others of course aren't based on Windows consoles,
so that method won't work there. And since there's no documented or
otherwise obvious way for third party programs to implement the
Windows console API, this is a dead end.

However, brltty also has a driver for cooperating with GNU Screen,
which can be enabled with the option '-x sn' . This requires a patch
to Screen though that makes its screen buffers available to brltty via
shared memory. With that, it ought to be possible to make brltty work
with any terminal emulator, plus you'd get the added features of
Screen.

Andy

[1] http://mielke.cc/brltty/doc/Manual-BRLTTY/English/BRLTTY-11.html

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