This is the mail archive of the
mailing list for the Cygwin project.
Re: Who's using "CYGWIN=tty" and why?
Corinna Vinschen writes:
> On May 9 17:21, Henry S. Thompson wrote:
>> Corinna Vinschen writes:
>> > Chris and I are wondering how many people are using the Windows console
>> > as local console window in CYGWIN=tty mode and why.
>> I am one such.
>> > Here's why we ask:
>> > We are both not sure why anybody would use it voluntarily, given that
>> > it's I/O is extremly slow, compared to using a Windows console window in
>> > the default CYGWIN=notty mode or, even better, mintty. Actually, we
>> > only keep the console tty mode up because it was "always there", 14
>> > years or so.
>> Um, history is sticky, is I guess the answer. When I started using
>> cygwin (a _long_ time ago), CYGWIN=tty was the recommended setting
>> (and isn't it still there in cygwin/cygwin.bat ?). So I have
> No, it's not the default, and it never was, actually.
Well, I guess I misunderstood the earlier version of this prose (from
The CYGWIN variable is used to configure many global settings for
the Cygwin runtime system. Initially you can leave CYGWIN unset or
set it to tty (e.g. to support job control with ^Z etc...) using a
syntax like this in the DOS shell, before launching bash.
plus the prose further up
Some of these settings need to be in effect prior to launching the
initial Cygwin session (before starting your bash shell, for
instance). They should therefore be set in the Windows environment
to mean that CYGWIN=tty was recommended. I followed what I understood
that recommendation to be at the time, and have faithfully copied that
into my Windows environment initialisation ever since.
> I don't quite understand, if you use the Windows console for pure
> Windows stuff, why do you use tty mode at all?
Because I thought that having job control might be useful, and so I
followed the recommendation above. . . I clearly didn't understand,
at the time, that the console as such, vs. the console running bash
as from cygwin.bat, were not the same thing.
> And what do you use to run Cygwin apps?
mintty, of course :-)
> Many native Windows tools don't work well in tty mode anyway. For
> non-Cygwin tools, the default notty mode is the most compatible one.
OK, I hear that as answers along the lines of "yes", and "only good
things" to my questions:
>> Is it time to remove it? I do use a windows console
>> occasionally for pure Windows activities---what change(s) will I see?
The Wayback machine  suggests that the prose quoted above hasn't
changed for nearly 11 years -- perhaps it's due for an update?
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 651-1426, e-mail: email@example.com
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple