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

2011-06-08 Thread Christopher Faylor
On Mon, May 09, 2011 at 06:10:28PM +0200, Corinna Vinschen wrote: >Hi, > > >Chris and I are wondering how many people are using the Windows console >as local console window in CYGWIN=tty mode and why. > >Here's why we ask: > >We are both not sure why anybody would use it voluntarily, given that >it

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

2011-05-11 Thread Edward Lam
On 5/11/2011 11:02 AM, Edward Lam wrote: So this brings us to Cygwin. When we spawn such a Windows mode app from Cygwin, the method I describe above fails. The call to _open_osfhandle(info.hStdOutput, _O_TEXT) returns with an error value of -1. This is likely why jam reports "the handle is invali

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

2011-05-11 Thread Andy Koppe
On 11 May 2011 16:02, Edward Lam wrote: > On 5/11/2011 2:34 AM, Corinna Vinschen wrote: >> >> Kind of weird.  The difference is that in tty mode the stdio handles are >> pipes, while in the notty case the stdio handles are console handles. >> Usually native Windows applications shouldn't see a diff

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

2011-05-11 Thread Christopher Faylor
On Wed, May 11, 2011 at 11:02:40AM -0400, Edward Lam wrote: >On 5/11/2011 2:34 AM, Corinna Vinschen wrote: >> Kind of weird. The difference is that in tty mode the stdio handles are >> pipes, while in the notty case the stdio handles are console handles. >> Usually native Windows applications shou

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

2011-05-11 Thread Edward Lam
On 5/11/2011 2:34 AM, Corinna Vinschen wrote: Kind of weird. The difference is that in tty mode the stdio handles are pipes, while in the notty case the stdio handles are console handles. Usually native Windows applications shouldn't see a difference and even work *better* in notty mode. One p

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

2011-05-11 Thread David Antliff
On Wed, May 11, 2011 at 18:34, Corinna Vinschen wrote: > On May 10 17:17, Len Giambrone wrote: >> We use windows native jam which spawns any number of cmd, cygwin, or studio >> processes. >> If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we >> get: > > I assume that most

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

2011-05-10 Thread Corinna Vinschen
On May 10 17:17, Len Giambrone wrote: > This time with a subject; apologies if the first one gets through. > > We use windows native jam which spawns any number of cmd, cygwin, or studio > processes. > If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we > get: I assume th

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

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 06:11:35PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Christopher Faylor sent the following at Tuesday, May 10, 2011 1:19 PM >>If we changed the /dev/console to /dev/consN (where N is a unique number >>for each console window) would that address your use case? > >Yes,

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

2011-05-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
Christopher Faylor sent the following at Tuesday, May 10, 2011 1:19 PM >If we changed the /dev/console to /dev/consN (where N is a unique number >for each console window) would that address your use case? Yes, it works for me if there would be a reasonably small (preferably single digit) number in

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

2011-05-10 Thread Len Giambrone
This time with a subject; apologies if the first one gets through. We use windows native jam which spawns any number of cmd, cygwin, or studio processes. If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we get: The handle is invalid. Every time output goes to the screen.

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

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 01:18:47PM -0400, Christopher Faylor wrote: >starting in a console window. So, yes, you'll see /dev/ttyN as the >controlling terminal in a tty application. pty/tty cgf -- Problem reports: http://cygwin.com/problems.html FAQ:

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

2011-05-10 Thread Christopher Faylor
On Tue, May 10, 2011 at 09:37:43AM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Corinna Vinschen sent the following at Monday, May 09, 2011 12:10 PM >>Chris and I are wondering how many people are using the Windows console >>as local console window in CYGWIN=tty mode and why. > >I've been usin

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

2011-05-10 Thread Lee Maschmeyer
There is no need for CYGWIN=tty as far as my use of brltty is concerned. I can still run c:\cygwin\cygwin.bat having taken out the tty from the CYGWIN var. If I discover massive emacs malfunctions I can always defect to the vim camp. :-) I'm curious why the tty command in mintty reports /dev/t

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

2011-05-10 Thread Charles Wilson
On 5/10/2011 9:39 AM, Lee Maschmeyer wrote: > Just now. So far I haven't noticed any problems but this is even less > significant. I guess "notty" was meant to say that tty should not be > mentioned at all in the $CYGWIN variable. I'll remove it and see what > happens. Maybe it's not clear, but mo

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

2011-05-10 Thread Andy Koppe
On 10 May 2011 15:08, Corinna Vinschen wrote: > Samuel, > > On May  9 22:23, Samuel Thibault wrote: >> Christopher Faylor, le Mon 09 May 2011 16:05:24 -0400, a écrit : >> > Has anyone tried running brltty without setting CYGWIN=tty? >> >> I never set the CYGWIN variable nowadays, actually, and brlt

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

2011-05-10 Thread Jeremy Bopp
On 5/10/2011 09:50, Bernhard Ege wrote: > I generelly use command line editing a lot (is tty necessary for that?). General command line usage doesn't require the setting. If in doubt though, remove the setting and try things out for a bit. You'll probably find that nothing changes for your usage

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

2011-05-10 Thread Bernhard Ege
On 09-05-2011 18:10, Corinna Vinschen wrote: Chris and I are wondering how many people are using the Windows console as local console window in CYGWIN=tty mode and why. I have, perhaps unnecessarily, tty defined (as well as ntsec). My typical use of cygwin involves opening a cygwin window usin

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

2011-05-10 Thread Corinna Vinschen
Samuel, On May 9 22:23, Samuel Thibault wrote: > Christopher Faylor, le Mon 09 May 2011 16:05:24 -0400, a écrit : > > Has anyone tried running brltty without setting CYGWIN=tty? > > I never set the CYGWIN variable nowadays, actually, and brltty works > fine in that case. do you happen to know w

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

2011-05-10 Thread Lee Maschmeyer
Christopher wrote: Ok, it sounds like there is no need whatsoever to set CYGWIN=tty with brltty. That is good news. According to what Ken wrote, emacs won't work as well. This would be very distressing, though I haven't verified it personally. I'd be pretty surprised if it was the case si

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

2011-05-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
Corinna Vinschen sent the following at Monday, May 09, 2011 12:10 PM >Chris and I are wondering how many people are using the Windows console >as local console window in CYGWIN=tty mode and why. I've been using it for so long that I do not remember why - probably because I thought it was recommend

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

2011-05-10 Thread Corinna Vinschen
On May 10 10:29, Csaba Raduly wrote: > On Mon, May 9, 2011 at 6:10 PM, Corinna Vinschen wrote: > > Hi, > > > > > > Chris and I are wondering how many people are using the Windows console > > as local console window in CYGWIN=tty mode and why. > > > > Here's why we ask: > > > > We are both not sure

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

2011-05-10 Thread Corinna Vinschen
On May 9 18:36, Henry S. Thompson wrote: > 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. > >> >

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

2011-05-10 Thread Csaba Raduly
On Mon, May 9, 2011 at 6:10 PM, Corinna Vinschen wrote: > Hi, > > > Chris and I are wondering how many people are using the Windows console > as local console window in CYGWIN=tty mode and why. > > Here's why we ask: > > We are both not sure why anybody would use it voluntarily, given that > it's

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

2011-05-09 Thread Claude Sylvain
On 09/05/2011 12:10, Corinna Vinschen wrote: > > 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 not a Cygwin "Power User", and I am not sure to understand you well. - If you talk about the console that is

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

2011-05-09 Thread rifter rifter
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: >> > >>

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

2011-05-09 Thread Christopher Faylor
On Tue, May 10, 2011 at 12:27:08AM +0200, Thomas Wolff wrote: >Am 09.05.2011 18:10, schrieb Corinna Vinschen: >>Chris and I are wondering how many people are using the Windows console >>as local console window in CYGWIN=tty mode and why. >> >>Here's why we ask: >> >>We are both not sure why anybody

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

2011-05-09 Thread Thomas Wolff
Am 09.05.2011 18:10, schrieb Corinna Vinschen: Hi, Chris and I are wondering how many people are using the Windows console as local console window in CYGWIN=tty mode and why. 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, co

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

2011-05-09 Thread Jeremy Bopp
On 5/9/2011 16:14, Karl M wrote: > I did try rxvt and didn't like the way it looked, so I stayed with a console > window and CYGWIN=tty. Hi, Karl. Have you tried mintty yet? If looks are what turned you away from rxvt, I think you'll like mintty much more. -Jeremy -- Problem reports: htt

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

2011-05-09 Thread Karl M
> Date: Mon, 9 May 2011 18:10:28 +0200 > From: corinna > Subject: Who's using "CYGWIN=tty" and why? > > Hi, > > Chris and I are wondering how many people are using the Windows console > as local console window in CYGWIN=tty mode and why. > > Here's why we ask: > > We are both not sure why anybody

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

2011-05-09 Thread Samuel Thibault
Christopher Faylor, le Mon 09 May 2011 16:05:24 -0400, a écrit : > Has anyone tried running brltty without setting CYGWIN=tty? I never set the CYGWIN variable nowadays, actually, and brltty works fine in that case. Samuel -- Problem reports: http://cygwin.com/problems.html FAQ:

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

2011-05-09 Thread Christopher Faylor
On Mon, May 09, 2011 at 04:00:25PM -0400, Christopher Faylor wrote: >On Mon, May 09, 2011 at 12:39:47PM -0400, Edward Lam wrote: >>On 5/9/2011 12:10 PM, Corinna Vinschen wrote: >>> Chris and I are wondering how many people are using the Windows console >>> as local console window in CYGWIN=tty mode

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

2011-05-09 Thread Christopher Faylor
On Mon, May 09, 2011 at 07:52:05PM +0200, Samuel Thibault wrote: >Lee Maschmeyer, le Mon 09 May 2011 13:40:57 -0400, a ?crit : >> And, truth to tell, I've been around here for a good long time and >> never heard of CYGWIN=notty. > >As I understand it, notty is already the default, so unless you hav

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

2011-05-09 Thread Christopher Faylor
On Mon, May 09, 2011 at 12:39:47PM -0400, Edward Lam wrote: >On 5/9/2011 12:10 PM, Corinna Vinschen wrote: >> Chris and I are wondering how many people are using the Windows console >> as local console window in CYGWIN=tty mode and why. > >I'm not but there's various references to it it the web abo

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

2011-05-09 Thread Samuel Thibault
Lee Maschmeyer, le Mon 09 May 2011 13:40:57 -0400, a écrit : > And, truth to tell, I've been around here for a good long time and > never heard of CYGWIN=notty. As I understand it, notty is already the default, so unless you have an explicit CYGWIN=tty, it's already notty. brltty does not touch a

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

2011-05-09 Thread Lee Maschmeyer
Hi all, At the risk of exciting the contempt avalanche all too pervasive in this list (never at any time by Corinna--THANKS): I'm not sure I understand the difference between the DOS console and the Windows console. And, truth to tell, I've been around here for a good long time and never hea

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

2011-05-09 Thread Henry S. Thompson
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

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

2011-05-09 Thread Ken Brown
On 5/9/2011 12:39 PM, Edward Lam wrote: On 5/9/2011 12:10 PM, Corinna Vinschen wrote: Chris and I are wondering how many people are using the Windows console as local console window in CYGWIN=tty mode and why. I'm not but there's various references to it it the web about it being requires for

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

2011-05-09 Thread Edward Lam
On 5/9/2011 12:10 PM, Corinna Vinschen wrote: Chris and I are wondering how many people are using the Windows console as local console window in CYGWIN=tty mode and why. I'm not but there's various references to it it the web about it being requires for Emacs. eg. http://blog.arithm.com/2007/

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

2011-05-09 Thread Corinna Vinschen
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 us

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

2011-05-09 Thread Andrew Schulman
> Chris and I are wondering how many people are using the Windows console > as local console window in CYGWIN=tty mode and why. /usr/share/doc/screen/README.Cygwin says: "In a DOS console, screen works, but in order to be able to reattach detached sessions, you must set "tty" in the CYGWIN enviro

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

2011-05-09 Thread Henry S. Thompson
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, comp