Running 4096 parallel cat processes on remote share results in only 1018 succeeding

2014-10-08 Thread Nathan Fairchild
When I run a script like so: #!/bin/bash ulimit -n 3200 for i in $(seq $1) do exec cat /u/pe/env_files/transpath.map > out$i.log & done Where /u maps to a Windows share in /etc/fstab I get the following when running with 4096 instances (this happens whether I use a mapped /etc/fstab pat

login -p disabling leads to Windows failures -- as it expects its ENV to remain instact for new processes

2014-10-08 Thread Linda Walsh
Eric Blake wrote: On 10/08/2014 01:55 PM, Linda Walsh wrote: I get this message the 1st time logging in via 'rlogin': You do realize, of course, that rlogin is a security hole, and that you really ought to consider using something more secure like ssh if you are trying to use it outsid

[ANNOUNCEMENT] Updated: bash-4.1.17-9

2014-10-08 Thread Eric Blake (cygwin)
A new release of bash, 4.1.17-9, has been uploaded and will soon reach a mirror near you; leaving the previous version at 4.1.16-8. NEWS: = This is a minor rebuild which picks up an upstream patch to fix another parser bug (CVE-2014-6278). This bug was found as a result of studying the extent

Re: what path to use that is not DOS??

2014-10-08 Thread Eric Blake
On 10/08/2014 01:55 PM, Linda Walsh wrote: > I get this message the 1st time logging in via 'rlogin': You do realize, of course, that rlogin is a security hole, and that you really ought to consider using something more secure like ssh if you are trying to use it outside the boundaries of a heavil

Re: what path to use that is not DOS??

2014-10-08 Thread Eric Blake
On 10/08/2014 01:55 PM, Linda Walsh wrote: > I get this message the 1st time logging in via 'rlogin': > > MS-DOS style path detected: > /Windows/System32/cygwin/usr/spool/mail/Bliss/law > Preferred POSIX equivalent is: > /Windows/System32/cygwin/usr/spool/mail/Bliss/law Could any prefix of that

what path to use that is not DOS??

2014-10-08 Thread Linda Walsh
I get this message the 1st time logging in via 'rlogin': MS-DOS style path detected: /Windows/System32/cygwin/usr/spool/mail/Bliss/law Preferred POSIX equivalent is: /Windows/System32/cygwin/usr/spool/mail/Bliss/law Can someone explain what is wrong with the 1st that the 2nd corrects? Than

Re: fish PATH problem

2014-10-08 Thread Alive4Ever
On Wednesday, October 08, 2014 11:08:43 AM you wrote: > Does that work. It seemed to have the same issue as noted in the > following thread https://cygwin.com/ml/cygwin/2014-04/msg00111.html > > Dave. It should work, although I don't recommend running cygwin apps directly via wincmd, unless the

Re: Cannot exec() program outside of /bin if PATH is unset

2014-10-08 Thread Christian Franke
Corinna Vinschen wrote: On Sep 15 16:35, Christian Franke wrote: ... I'm somewhat reluctant to add a call to SetDllDirectory to the Cygwin DLL for two reasons. - Calling SetDllDirectory with an explicit dir doesn't just add this dir to the search path, it also removes the CWD from the searc

Re: Packages up for adoption

2014-10-08 Thread Yaakov Selkowitz
On 2014-09-19 09:56, Warren Young wrote: 3. Other than time, is there a reason you haven't released R50b yet? It seems to pass its own test suite here, so if I adopt it, I'm committing to releasing R50b shortly, unless there are traps I haven't discovered. I suspect it was just a matter of tim

Re: Packages up for adoption

2014-10-08 Thread Corinna Vinschen
Hi Warren, On Sep 19 08:56, Warren Young wrote: > On 9/18/2014 11:44, Chris Sutcliffe wrote: > > > >I'm looking for any volunteers to take over > >maintainership of the following packages: mksh > > I'm also somewhat interested in this one. I've never been a Korn shell > user, but I recently lear

Re: Question regarding grep 2,6,3 regular expression looking for lines without something in a part of a line

2014-10-08 Thread Nick
You need a quantifier, such as '+': grep '^"[^,"]+";' file.csv -- 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

Re: Question regarding grep 2,6,3 regular expression looking for lines without something in a part of a line

2014-10-08 Thread Eric Blake
On 10/08/2014 08:00 AM, Larry W. Virden wrote: > I am using an older version of cygwin on a Windows 7 PC. > I have a file of data that is formatted in character separated value format. > For example, a couple of lines might be: > > "Doe, John";"Student";"Senior" > "Admin";"Staff"; > > Now, I want

Question regarding grep 2,6,3 regular expression looking for lines without something in a part of a line

2014-10-08 Thread Larry W. Virden
I am using an older version of cygwin on a Windows 7 PC. I have a file of data that is formatted in character separated value format. For example, a couple of lines might be: "Doe, John";"Student";"Senior" "Admin";"Staff"; Now, I want to perform a grep that returns lines that do not have a comma

Re: Problem with X86_64 ssh-agent

2014-10-08 Thread Corinna Vinschen
On Sep 13 10:46, DJ Sylvester wrote: > I moved from 32- to 64-bit Cygwin (fully uninstalled 32, then installed > 64). Since, I've spent days trying to get ssh to work. Just can't get there. > > $ ssh -V > OpenSSH_6.6.1p1, OpenSSL 1.0.1i 6 Aug 2014 > > $ ssh-agent bash (also tried "eval `ssh-agent

Re: Cannot exec() program outside of /bin if PATH is unset

2014-10-08 Thread Corinna Vinschen
On Sep 15 16:35, Christian Franke wrote: > Peter Rosin wrote: > >On 2014-09-13 12:00, Christian Franke wrote: > >>Note that setting PATH=/bin on Cygwin does not fix the security problem in > >>the DLL search order. Even with "SafeDllSearchMode" enabled, the current > >>directory is always checked

Re: cygport dropping *.exe links

2014-10-08 Thread Corinna Vinschen
On Sep 23 21:24, Eric Blake wrote: > On 08/15/2014 09:16 AM, Corinna Vinschen wrote: > > Sorry for taking more than a month to get to the bottom of this one. > But I have good news: > > >> $ touch a.exe > >> $ ln -s a.exe b.exe > >> $ ls -l > >> total 1 > >> -rw-r--r-- 1 marco Administrators 0 A

Re: Windows Server 2012R2 and cygserver

2014-10-08 Thread Corinna Vinschen
On Sep 24 07:41, Achim Gratz wrote: > Corinna Vinschen cygwin.com> writes: > > > cygserver: bad request body length: got 11 > > > > I think I found the bug. I missed the trailing \0 from the user name > > in the packet length sent to cygserver. I fixed that in CVS and uploaded > > a new snapsho

Re: connect() hangs on a listen()ing AF_UNIX socket

2014-10-08 Thread Corinna Vinschen
On Sep 25 16:24, Christian Franke wrote: > Corinna Vinschen wrote: > >On Aug 26 21:03, Christian Franke wrote: > >>Corinna Vinschen wrote: > >>>Sounds like a nice idea. We should try that. I'm just not sure how > >>>much time I have left to work on this before my vaca next month. Do you > >>>hav

Re: gdb 7.8 consistently fails to run executable - error is

2014-10-08 Thread Dominik Straßer
Am 08.10.2014 um 14:12 schrieb Corinna Vinschen: > On Sep 29 14:13, Dominik Straßer wrote: >> Hi all, Hi Corinna, >> I've dug into the gdb sources. The problem is in the cygwin-only >> part and is not about the PATH variable but about one single DLL >> file name. >> >> This path length is *fixed

Re: gdb 7.8 consistently fails to run executable - error is

2014-10-08 Thread Corinna Vinschen
On Sep 29 14:13, Dominik Straßer wrote: > Hi all, > I've dug into the gdb sources. > The problem is in the cygwin-only part and is not about the PATH > variable but about one single DLL file name. > > This path length is *fixed* to 512 characters (SO_NAME_MAX_PATH_SIZE) > for the *realpath* of the

Re: glib errors with latest gdb

2014-10-08 Thread Corinna Vinschen
On Sep 12 14:40, Ken Brown wrote: > On 9/12/2014 2:02 PM, Ken Brown wrote: > >On 8/28/2014 9:57 AM, Corinna Vinschen wrote: > >>On Aug 13 16:57, Corinna Vinschen wrote: > >>>On Aug 13 10:28, Ken Brown wrote: > I'm getting errors with the latest gdb when trying to debug programs > that > >>>

[ANNOUNCEMENT] New package: python-sphinx-1.2.3-1

2014-10-08 Thread Tony Kelman
Version 1.2.3-1 of python-sphinx has been uploaded. Sphinx is a tool that makes it easy to create intelligent and beautiful documentation. It was originally created to translate the new Python documentation, and it has excellent support for the documentation of Python projects, but other document

Re: fish PATH problem

2014-10-08 Thread Dave Kilroy
On 08/10/2014 10:57, Andrew Schulman wrote: On Wednesday, October 08, 2014 05:13:54 AM Andrew Schulman wrote: When I try to start fish directly from the Windows shell instead of from bash, I get a boatload of errors, like this: I suggest you to read fish manual page, and find how to invoke fish

Re: fish PATH problem

2014-10-08 Thread Andrew Schulman
> On Wednesday, October 08, 2014 05:13:54 AM Andrew Schulman wrote: > > When I try to start fish directly from the Windows shell instead of from > > bash, I get a boatload of errors, like this: > > I suggest you to read fish manual page, and find how to invoke fish as login > shell. On bash and z

Re: fish PATH problem

2014-10-08 Thread Alive4Ever
On Wednesday, October 08, 2014 05:13:54 AM Andrew Schulman wrote: > When I try to start fish directly from the Windows shell instead of from > bash, I get a boatload of errors, like this: > > === > /usr/share/fish/functions/type.fish (line 14): if not getopt -T > /dev/null >

fish prompt oddity

2014-10-08 Thread Andrew Schulman
In fish, I like to set the prompt to print a blank line before the prompt text. No problem: I just add an "echo" statement at the beginning of the fish_prompt function. In fish in Linux that works fine: === andrex@helium ~> pwd /home/andrex andrex@helium ~> === But in Cygwin, it has a stran

fish PATH problem

2014-10-08 Thread Andrew Schulman
When I try to start fish directly from the Windows shell instead of from bash, I get a boatload of errors, like this: === /usr/share/fish/functions/type.fish (line 14): if not getopt -T > /dev/null ^ in function 'type', called

[ANNOUNCEMENT] New package: python-jinja2-2.7.3-1

2014-10-08 Thread Tony Kelman
Version 2.7.3-1 of python-jinja2 has been uploaded. Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. See http://jinja.pocoo.org for more information. Cygwin packaging is identic

[ANNOUNCEMENT] New package: python-docutils-0.12-1

2014-10-08 Thread Tony Kelman
Version 0.12-1 of python-docutils has been uploaded. Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX. It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup lang