From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12528 invoked by alias); 10 May 2011 14:59:30 -0000 Received: (qmail 12507 invoked by uid 22791); 10 May 2011 14:59:29 -0000 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 Received: from mail-qy0-f178.google.com (HELO mail-qy0-f178.google.com) (209.85.216.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 May 2011 14:59:14 +0000 Received: by qyk2 with SMTP id 2so5839104qyk.2 for ; Tue, 10 May 2011 07:59:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.77.139 with SMTP id g11mr6209973qck.9.1305039553975; Tue, 10 May 2011 07:59:13 -0700 (PDT) Received: by 10.229.34.81 with HTTP; Tue, 10 May 2011 07:59:13 -0700 (PDT) In-Reply-To: <20110510140819.GS27739@calimero.vinschen.de> References: <20110509161028.GJ27739@calimero.vinschen.de> <20110509175205.GA5069@const.famille.thibault.fr> <20110509200524.GB10705@ednor.casa.cgf.cx> <20110509202300.GN5069@const.famille.thibault.fr> <20110510140819.GS27739@calimero.vinschen.de> Date: Tue, 10 May 2011 14:59:00 -0000 Message-ID: Subject: Re: Who's using "CYGWIN=tty" and why? From: Andy Koppe To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00125.txt.bz2 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