Re: Problem when installing Net::SSH2 via CPAN - libssh2 not found

2012-05-10 Thread Yaakov (Cygwin/X)
On Thu, 2012-05-10 at 21:36 -0300, Ricardo Caldeira wrote: > I'm trying to install Net:SSH2 via CPAN, but I'm stuck with the > libssh2 library.After executing "install Net::SSH2" the following > message is received (after running make and doing some other stuff): The problem appears to be in inc

Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-05-10 Thread Linda Walsh
James Johnston wrote: I can't say with 100% certainty, but I would bet with 90+% confidence that this is a bug in MS's libraries -- they "cheat" and use a null/0 byte read as a signal for end of file rather than sending out-of-band information that *nix supports. From examining .NET Framework

Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-05-10 Thread Daniel Colascione
On 5/9/12 1:11 PM, Christopher Faylor wrote: > Please stop thinking that there is a simple solution that you can > intuit without fully understanding how Cygwin works. Indeed. _Everything_ is more complicated than it looks. > > 1.7.15 will contain a new CYGWIN option "pipe_byte" which will force

Problem when installing Net::SSH2 via CPAN - libssh2 not found

2012-05-10 Thread Ricardo Caldeira
Hi, I'm trying to install Net:SSH2 via CPAN, but I'm stuck with the libssh2 library.After executing "install Net::SSH2" the following message is received (after running make and doing some other stuff): ---::The lib

Re: mkshortcut seems to not work correctly recently...

2012-05-10 Thread Ken
John Refling wrote: It seems that mkshortcut is failing as of the last few weeks (when I did an upgrade to latest Cygwin). Upgrade as of today shows the same problems. I have scripts that use mkshortcut that have not changed in a long time, which worked before, and now do not. [snip] returns

mkshortcut seems to not work correctly recently...

2012-05-10 Thread John Refling
It seems that mkshortcut is failing as of the last few weeks (when I did an upgrade to latest Cygwin). Upgrade as of today shows the same problems. I have scripts that use mkshortcut that have not changed in a long time, which worked before, and now do not. Specifically, the man page example:

Re: mintty suggestion

2012-05-10 Thread Andy Koppe
On 10 May 2012 20:34, Nellis, Kenneth wrote: > With X-Windows, one can independently set the titles of the terminal > window and the window's icon. > > to set window title: ESC ] 2 ; ^G > to set icon title:   ESC ] 1 ; ^G > > Analogously, it would be nice if Mintty would allow me to independently

Re: mintty suggestion

2012-05-10 Thread Richard Gribble
I don't know if this will resolve your problem, but I deal with long pathnames (as a prompt) by using the following function (I set it up as a function so that I can keep changing the prompt as I move around): function set_prompt { if [ `pwd | sed "s|${HOME}|~|" | wc -c` -gt 15 -a \ "

mintty suggestion

2012-05-10 Thread Nellis, Kenneth
With X-Windows, one can independently set the titles of the terminal window and the window's icon. to set window title: ESC ] 2 ; ^G to set icon title: ESC ] 1 ; ^G Analogously, it would be nice if Mintty would allow me to independently set the titles of the window and the associated taskbar

Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-05-10 Thread Corinna Vinschen
On May 10 13:57, Earnie Boyd wrote: > On Thu, May 10, 2012 at 12:28 PM, James Johnston wrote: > > Forgive me for asking perhaps a dumb question, but I was reading the page at > > http://cygwin.com/cygwin-ug-net/setup-env.html and wasn't too sure what was > > meant by the sentence "All Windows envir

Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-05-10 Thread Earnie Boyd
On Thu, May 10, 2012 at 12:28 PM, James Johnston wrote: > Forgive me for asking perhaps a dumb question, but I was reading the page at > http://cygwin.com/cygwin-ug-net/setup-env.html and wasn't too sure what was > meant by the sentence "All Windows environment variables are imported when > Cygwin

Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-05-10 Thread Otto Meta
Hi James, > 1. Cygwin would need an additional function with a parameter to specify > byte pipes (maybe you already added this, I have not checked the recent > source code very much). You just missed the announcement: On 2012-05-10 08:28, Corinna Vinschen wrote: [snip] > I just released 1.7.15.

RE: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-05-10 Thread James Johnston
> The cygwin DLL can't intercede here. It's not some superior process > controlling I/O. It's just a DLL used by two programs. cat is writing to the > stdout that it inherited from the shell. Good point, I had not thought this through enough. In this case, bash.exe is asking CYGWIN1.DLL for a

Re: openssh: uid changes unexpectedly to cyg_server

2012-05-10 Thread Earnie Boyd
On Thu, May 10, 2012 at 12:10 PM, bartels wrote: >> >> Yes.  You've changed the tool you're using when you changed your path. >> Try '( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; >> /cygdrive/c/cygiwn/bin/id)'. >> >> > You are right, of course. > Now the question is how to use the devki

Re: openssh: uid changes unexpectedly to cyg_server

2012-05-10 Thread bartels
On 05/10/2012 05:39 PM, Larry Hall (Cygwin) wrote: On 5/10/2012 8:51 AM, bartels wrote: Hi All, I have a situation where the uid changes to cyg_server unexpectedly when changing PATH: $ ( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; id ) UID=1001(pleezy) GID=513(None) groepen=513(No

Re: openssh: uid changes unexpectedly to cyg_server

2012-05-10 Thread Larry Hall (Cygwin)
On 5/10/2012 8:51 AM, bartels wrote: Hi All, I have a situation where the uid changes to cyg_server unexpectedly when changing PATH: $ ( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; id ) UID=1001(pleezy) GID=513(None) groepen=513(None),544(Administrators),545(Gebruikers),1000(HomeUse

Re: Cygwin 1.7.14-2 make/gcc no longer functional on Windows 7 64-bit

2012-05-10 Thread Christopher Faylor
On Thu, May 10, 2012 at 03:12:50AM -0400, dag...@aol.com wrote: >In a message dated 5/9/2012 6:35:38 A.M. Eastern Daylight Time, >marco.atz...@gmail.com writes: >>On 5/9/2012 11:59 AM, dag...@aol.com wrote: >>> PROBLEM 1: "make" expects "cc" to exist, and indeed it existed in my >>> previous

Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.15

2012-05-10 Thread Christopher Faylor
On Thu, May 10, 2012 at 08:51:49AM +0200, Thomas Wolff wrote: >Am 10.05.2012 08:28, schrieb Corinna Vinschen: >> Hi Cygwin friends and users, >> >> >> I just released 1.7.15. This is a bugfix release. Only one new feature >> has been added. >> >> ... >> >> Bug fixes: >> == >> >> - Fix ...

openssh: uid changes unexpectedly to cyg_server

2012-05-10 Thread bartels
Hi All, I have a situation where the uid changes to cyg_server unexpectedly when changing PATH: $ ( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; id ) UID=1001(pleezy) GID=513(None) groepen=513(None),544(Administrators),545(Gebruikers),1000(HomeUsers) uid=500(cyg_server) gid=544(Ad

Re: Zip file extraction permissions help

2012-05-10 Thread Andrey Repin
Greetings, Assaf! > I understand where comes the Administrators user in the /etc/passwd > after reading http://cygwin.com/cygwin-ug-net/ntsec.html > But still, I would like to get the same permissions when extracting a > file outside and inside cygwin by the same user, Administrator Mount direct

Re: 'cmd /C start cmd' no longer non-blocking (base-cygwin 3.1-1), but used to work (in base-cygwin 3.0-1)

2012-05-10 Thread Andrey Repin
Greetings, Buchbinder, Barry (NIH/NIAID) [E]! > Question #1: > Why not use cygstart? > The only reason I ever use cmd /c start is to use the /wait option of start, > which is exactly not what you want. (Indeed, I wouldn't mind it if a --wait > option was added to cygstart. Hint. Hint.) > Que

Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process

2012-05-10 Thread Andrey Repin
Greetings, Daniel Colascione! >> [cmd /c start foo not going into the background] >> It is not likely to change. > What worries me isn't that the behavior changed, but that the new > behavior is weird. SIGINT doesn't work on processes spawned by cmd /c > start. > Try it yourself: > $ cmd /c sta

Re: Cygwin 1.7.14-2 make/gcc no longer functional on Windows 7 64-bit

2012-05-10 Thread DAGwyn
In a message dated 5/9/2012 6:35:38 A.M. Eastern Daylight Time, marco.atz...@gmail.com writes: >On 5/9/2012 11:59 AM, dag...@aol.com wrote: >> PROBLEM 1: "make" expects "cc" to exist, and indeed it existed in my >> previous (August 2011) installation of Cygwin. >> PROBLEM 2: "gcc-4" (also

[ANNOUNCEMENT] Updated: Unicode text editor MinEd 2012.22

2012-05-10 Thread Thomas Wolff
MinEd 2012.22 (May 2012) Major enhancements in this release: User configuration: * New user preferences configuration file $HOME/.minedrc. Interactive: * Backarrow now also performs dual-mode function like Del (delete selection if acti