This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Who's using "CYGWIN=tty" and why?


On 5/9/11, Corinna Vinschen wrote:
> 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.
>
>> faithfully copied that into my Windows environment initialisation ever
>> since.  Is it time to remove it?  I do use a windows console
>> occasionally for pure Windows activities---what change(s) will I see?
>
> I don't quite understand, if you use the Windows console for pure
> Windows stuff, why do you use tty mode at all?  And what do you use
> to run Cygwin apps?
>

You do realize cygwin apps run just fine from the regular windows
console, right? You can even invoke your favorite shell to run
scripts.  So if you were trying to run native windows console tools
while using cygwin tools as well, this might be something you would do
(for instance running a batch file or sysinternals tool or something
similar and using some cygwin tool like grep).  I can't speak to the
cygwin=tty thing though.

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]