Re: CYGWIN=tty round 2

2011-05-23 Thread Christopher Faylor
On Mon, May 23, 2011 at 07:21:16PM -0400, Ryan Johnson wrote: >On 22/05/2011 10:53 PM, Yaakov (Cygwin/X) wrote: >>On Sun, 2011-05-22 at 17:19 -0400, Christopher Faylor wrote: >>>I don't think we saw anyone step forward with a valid reason why they >>>needed to use CYGWIN=tty over something like "mi

Re: 1.7.9: Problem with line endings of Perl output redirected to a file with textmode mounting

2011-05-23 Thread Reini Urban
2011/5/18 Sven Severus: > let me report a strange behaviour with Cygwin Perl (I'm using cygwin1.dll > 1.7.9-1, full installation 2 weeks ago). > > File foo.h is an ordinary text file, all lines are terminated with DOS > style line endings (hex: 0d 0a). > It is located in a directory with textmode

Re: CYGWIN=tty round 2

2011-05-23 Thread Ryan Johnson
On 22/05/2011 10:53 PM, Yaakov (Cygwin/X) wrote: On Sun, 2011-05-22 at 17:19 -0400, Christopher Faylor wrote: I don't think we saw anyone step forward with a valid reason why they needed to use CYGWIN=tty over something like "mintty". I've summarized the thread where Corinna asked why people us

Re: CYGWIN=tty round 2

2011-05-23 Thread Christopher Faylor
On Mon, May 23, 2011 at 11:24:21PM +0200, Angelo Graziosi wrote: >Following this thread and the similar > > http://cygwin.com/ml/cygwin-apps/2011-05/msg00041.html > >I want to flag that this: > >/cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash >--login -i' > >works in a d

RE: CYGWIN=tty round 2

2011-05-23 Thread Angelo Graziosi
Hi Eric, but this works for me to get a shell running under the proper user: runas /user:proddev\bldmgr "c:\cygwin\bin\mintty.exe -" yes, also for me, but *only* from Cygwin.bat shell not from MinTTY: here it asks for password and return the prompt without waiting for password typing. I w

RE: CYGWIN=tty round 2

2011-05-23 Thread Fahlgren, Eric
Angelo Graziosi wrote: > /cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash > --login -i' > > works in a dos-like shell (Cygwin.bat) but not in mintty. Is there some trick > to do the job also in mintty? Angelo, I'm not completely sure about what you are trying to do, but

Re: CYGWIN=tty round 2

2011-05-23 Thread Angelo Graziosi
Following this thread and the similar http://cygwin.com/ml/cygwin-apps/2011-05/msg00041.html I want to flag that this: /cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash --login -i' works in a dos-like shell (Cygwin.bat) but not in mintty. Is there some trick to do t

Re: Error building run2 from source package in win7

2011-05-23 Thread Charles Wilson
On 5/23/2011 1:22 PM, Eric Blake wrote: > On 05/23/2011 11:17 AM, David Sastre wrote: >> cc1: warnings being treated as errors >> /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c: In >> function 'run2_strtol': >> /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c:423:

Re: CYGWIN=tty round 2

2011-05-23 Thread Christopher Faylor
[sorry. I don't seem to be able to send a typo-free message lat3ly.] On Mon, May 23, 2011 at 02:02:04AM -0400, Christopher Faylor wrote: >On Sun, May 22, 2011 at 09:53:12PM -0500, Yaakov (Cygwin/X) wrote: >>On Sun, 2011-05-22 at 17:19 -0400, Christopher Faylor wrote: >>>I don't think we saw anyone

Re: Error building run2 from source package in win7

2011-05-23 Thread Eric Blake
On 05/23/2011 11:17 AM, David Sastre wrote: > Hello, > > This error shows up when trying to build run2-0.4.0-1-src on > > CYGWIN_NT-6.1 win7 1.7.10s(0.244/5/3) 20110510 19:08:34 i686 Cygwin > > cc1: warnings being treated as errors > /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util

Error building run2 from source package in win7

2011-05-23 Thread David Sastre
Hello, This error shows up when trying to build run2-0.4.0-1-src on CYGWIN_NT-6.1 win7 1.7.10s(0.244/5/3) 20110510 19:08:34 i686 Cygwin cc1: warnings being treated as errors /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c: In function 'run2_strtol': /usr/src/run2-0.4.0-1-src/ru

Re: CYGWIN=tty round 2

2011-05-23 Thread Corinna Vinschen
On May 23 12:49, Andy Koppe wrote: > The reason is that XWin.exe is built with -Wl,--subsystem,windows (or > -mwindows, which implies it), which allows it to be invoked directly > from a shortcut or the Run.. dialog without popping up a console or > requiring a console hiding hack. (It's the same f

Re: CYGWIN=tty round 2

2011-05-23 Thread Andy Koppe
On 23 May 2011 03:53, Yaakov wrote: >> I've summarized the thread where Corinna asked why people used CYGWIN=tty >> over CYGWIN=notty below. >> >> I don't see any showstoppers here so unless people can provide specific >> examples of how this change would cause hardwhip, we'll be removing >> CYGWIN

Re: CYGWIN=tty round 2

2011-05-23 Thread David Sastre
On Mon, May 23, 2011 at 11:35:40AM +0200, Sven Köhler wrote: > Am 22.05.2011 23:19, schrieb Christopher Faylor: > > mintty > > I have the feeling, you should make mintty default :-) > (for startup menu shortcuts, etc.) http://cygwin.com/ml/cygwin-apps/2010-05/msg00082.html -- Huella de clave pr

Re: CYGWIN=tty round 2

2011-05-23 Thread Sven Köhler
Am 22.05.2011 23:19, schrieb Christopher Faylor: > mintty I have the feeling, you should make mintty default :-) (for startup menu shortcuts, etc.) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/doc