Re: /etc/profile in base-files 4.0-5

2011-03-18 Thread Alex
Thanks for noting this. Such an easy fix! It was driving me crazy. I had installed MikTex just before upgrading so was wasting my time thinking it had stomped something. -- Alex -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: How to setup cygwin to use always textmode

2011-03-18 Thread Andy Koppe
On 18 March 2011 16:48, ralf wrote: > Eric Blake writes: >> But you didn't need the setup.exe radio button to get the same effect, >> instead, just change your mounts manually (/etc/fstab) to set the >> text-mode mount flag on the subset of directories where it matters to you. > > In releases with

Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes

2011-03-18 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 11:47:12PM -0400, David Boyce wrote: >On Fri, Mar 18, 2011 at 6:00 PM, Larry Hall (Cygwin) wrote: >> On 3/18/2011 2:39 PM, Alex Khripin wrote: >> If you're using a native Windows 'make' with a Cywgin shell, you're better >> off making your tools consistent. ?Quoting mechanis

Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes

2011-03-18 Thread Charles Wilson
On 3/18/2011 11:47 PM, David Boyce wrote: > From the README.W32 file in the source package: > >Good news! Make now has native support for Cygwin sh. To enable, >define the HAVE_CYGWIN_SHELL in config.h and rebuild make >from scratch. This version of make tested with B20.1 o

Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes

2011-03-18 Thread David Boyce
On Fri, Mar 18, 2011 at 6:00 PM, Larry Hall (Cygwin) wrote: > On 3/18/2011 2:39 PM, Alex Khripin wrote: > If you're using a native Windows 'make' with a Cywgin shell, you're better > off making your tools consistent.  Quoting mechanisms for Windows do not > align with those used by Cygwin/Linux/Uni

Re: ssh-keygen command not doing anything OR github problem

2011-03-18 Thread Larry Hall (Cygwin)
On 3/18/2011 2:45 PM, sclaussen wrote: I have the precisely same problem - were you able to resolve this? I have tried reinstalling, looked online for others w/a similar issue, but thus far have run across no solution. If you're using msysgit, you want to talk to Mingw folks. -- Larry _

Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes

2011-03-18 Thread Larry Hall (Cygwin)
On 3/18/2011 2:39 PM, Alex Khripin wrote: Hi, Short summary: getting nested quotes in an argument through to a Cygwin process from DOS is problematic, and there does not seem to be any detailed spec for how to escape quotes correctly. Backslash characters seem to be spuriously generated. If yo

Re: last snapshot (2011-03-13)

2011-03-18 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 07:39:39PM +0100, Denis Excoffier wrote: >Le 18 mars 2011 ? 19:02, Christopher Faylor a ?crit : >>Or, are you saying that you still see failures when setting the buffer >>size down to 64K? > >With a buffer 64k all is fine. With a buffer 31*1024*1024, that's >different. It

[ANNOUNCEMENT] Updated base-files-4.0-6

2011-03-18 Thread David Sastre
Version 4.0-6 of base-files has been uploaded. Base-files is a set of system configuration and setup files. Change Log -- 4.0-6 * Re-corrected PRINTER setting. * Dropped non-POSIX tests in /etc/profile - Eric Blake * Dropped user's homedir ownership test. *** CY

Re: ssh-keygen command not doing anything OR github problem

2011-03-18 Thread sclaussen
I have the precisely same problem - were you able to resolve this? I have tried reinstalling, looked online for others w/a similar issue, but thus far have run across no solution. Thanks! mearrex wrote: > > In my cygwin installation, I cannot seem to use github.com. However, here > are the pr

Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes

2011-03-18 Thread Alex Khripin
Hi, Short summary: getting nested quotes in an argument through to a Cygwin process from DOS is problematic, and there does not seem to be any detailed spec for how to escape quotes correctly. Backslash characters seem to be spuriously generated. I'm working on a build system (GNU make, Windows b

Re: last snapshot (2011-03-13)

2011-03-18 Thread Denis Excoffier
Le 18 mars 2011 à 19:02, Christopher Faylor a écrit : Or, are you saying that you still see failures when setting the buffer size down to 64K? With a buffer 64k all is fine. With a buffer 31*1024*1024, that's different. It seems that all pipes open at the same time add their buffers up to an

Re: last snapshot (2011-03-13)

2011-03-18 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 05:43:40PM +0100, EXCOFFIER Denis wrote: >This follows http://cygwin.com/ml/cygwin/2011-03/msg00563.html > >> Maybe it has something to do with the nonpaged pool size? MSDN states: >> >> "Every time a named pipe is created, the system creates the inbound >> and/or outbou

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 04:41:49PM +, Andy Koppe wrote: > On 18 March 2011 16:23, David Sastre wrote: > > On Fri, Mar 18, 2011 at 02:17:14PM +, Andy Koppe wrote: > >> On 18 March 2011 13:46, David Sastre wrote: > >> > All [[, have been changed to a portable [ test. > >> > I've changed `test

Re: How to setup cygwin to use always textmode

2011-03-18 Thread ralf
Eric Blake redhat.com> writes: > > On 03/18/2011 10:00 AM, ralf wrote: > > > > During setup of cygwin you could choose between UNIX ending und DOS ending. > > Which was a bug in the GUI for offering it in the first place, because > it basically set the text-mode mount flag on every single dire

last snapshot (2011-03-13)

2011-03-18 Thread EXCOFFIER Denis
This follows http://cygwin.com/ml/cygwin/2011-03/msg00563.html Maybe it has something to do with the nonpaged pool size? MSDN states: "Every time a named pipe is created, the system creates the inbound and/or outbound buffers using nonpaged pool, which is the physical memory used by the k

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread Andy Koppe
On 18 March 2011 16:23, David Sastre wrote: > On Fri, Mar 18, 2011 at 02:17:14PM +, Andy Koppe wrote: >> On 18 March 2011 13:46, David Sastre wrote: >> > All [[, have been changed to a portable [ test. >> > I've changed `test -a' for a portable `test -e', and the -a operator >> > in the user's

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 11:14:09AM -0500, Nellis, Kenneth wrote: > While you're at it, it would probably be a good idea to: > $ unset p > when you're done with it. Indeed. Already applied. In fact, there was another one (fDest, used in a loop to copy skel files). Thanks. -- Huella de clave pri

last snapshot (2011-03-18)

2011-03-18 Thread EXCOFFIER Denis
This follows http://cygwin.com/ml/cygwin/2011-03/msg00549.html You say "change it back" as if that was the only change. It wasn't. The meaning changed in recent snapshots. In fact, i created a snapshot 20110313++, where the only change wrt 20110313 was to replace 31*1024*1024 with PREFERRED_IO

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 02:17:14PM +, Andy Koppe wrote: > On 18 March 2011 13:46, David Sastre wrote: > > All [[, have been changed to a portable [ test. > > I've changed `test -a' for a portable `test -e', and the -a operator > > in the user's home ownership test to a chained test: > > > > eli

Re: How to setup cygwin to use always textmode

2011-03-18 Thread Eric Blake
On 03/18/2011 10:00 AM, ralf wrote: > Eric Blake redhat.com> writes: >> >> On 03/18/2011 09:11 AM, ralf wrote: >>> I can not understand why this feature has been dropped. >> >> What feature? Cygwin was designed with POSIX pathnames in mind. If DOS >> pathnames work, it is a fortunate side-effec

Re: last snapshot (2011-03-13)

2011-03-18 Thread Corinna Vinschen
On Mar 18 12:03, EXCOFFIER Denis wrote: > This message follows http://cygwin.com/ml/cygwin/2011-03/msg00539.html > > > Both system are > Microsoft Windows XP Professional Version 2002 Service Pack 3. > > The system that produces the "File too large" error is: > Intel(R) Core(TM)2 Duo CPU > E6850

RE: Problems with the new base-files-4.0-5?

2011-03-18 Thread Nellis, Kenneth
From: David Sastre > On Fri, Mar 18, 2011 at 12:46:26AM +0100, Cyrille Lefevre wrote: > > > > Le 17/03/2011 23:43, Angelo Graziosi a écrit : > > > > >p='/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows > > >NT/CurrentVersion/Windows/Device' > > > > > >[ -e "${p}" ] && read -r PRINTER < "

Re: Start a crontab service

2011-03-18 Thread Marc Girod
Marc Girod wrote: > > Still reading... > Actually... in my very simple case, running: /usr/bin/cron-config and accepting the defaults (recording my own password) was enough to get cron the work... $ cygrunsrv -L cron $ crontab ~/cron/mg $ crontab -l # DO NOT EDIT THIS FILE - edit the master

Re: How to setup cygwin to use always textmode

2011-03-18 Thread ralf
Eric Blake redhat.com> writes: > > On 03/18/2011 09:11 AM, ralf wrote: > > I can not understand why this feature has been dropped. > > What feature? Cygwin was designed with POSIX pathnames in mind. If DOS > pathnames work, it is a fortunate side-effect, but not the primary > design goal, and

Re: Start a crontab service

2011-03-18 Thread Marc Girod
Larry W. Virden-2 wrote: > > If you find a sequence of steps that gets it working correctly, please > let me know. Not yet... but found some doc I had missed: /usr/share/doc/Cygwin/cron-4.1-59.README as part of the cron package (I looked at the crontab one so far...). This sends me to: http://

Re: /etc/profile in base-files 4.0-5

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 08:22:01AM -0700, Marc Girod wrote: > /etc/profile: line 39: ${p}: ambiguous redirect > It sounds ${p} should be quoted to take care of possible spaces in the path > to the Windows device: Thanks for reporting. A fix is on its way. See http://cygwin.com/ml/cygwin/2011-03/m

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-18 Thread Corinna Vinschen
On Mar 18 10:56, Christopher Faylor wrote: > On Fri, Mar 18, 2011 at 03:40:48PM +0100, Corinna Vinschen wrote: > >On Mar 18 11:23, Corinna Vinschen wrote: > >> On Mar 18 02:08, Christopher Faylor wrote: > >> > On Fri, Mar 18, 2011 at 05:47:04AM +, Dave Korn wrote: > >> > >On 11/03/2011 13:53, R

Re: Migrating home dir

2011-03-18 Thread Jeremy Bopp
On 3/18/2011 10:28, Tod wrote: > I'm going to be migrating to win7 in a few weeks. When I do I'll be > logging in with a different userid. What's the best way to migrate my > existing install and home dir to the new userid? My recommendation is that you back up only your Cygwin home directory co

Migrating home dir

2011-03-18 Thread Tod
I'm going to be migrating to win7 in a few weeks. When I do I'll be logging in with a different userid. What's the best way to migrate my existing install and home dir to the new userid? Thanks - Tod -- Problem reports: http://cygwin.com/problems.html FAQ: http://cyg

/etc/profile in base-files 4.0-5

2011-03-18 Thread Marc Girod
Hi, Just upgraded, and got a new glitch: /etc/profile: line 39: ${p}: ambiguous redirect It sounds ${p} should be quoted to take care of possible spaces in the path to the Windows device: # Define default printer p='/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/CurrentVersion/W

Re: How to setup cygwin to use

2011-03-18 Thread Eric Blake
On 03/18/2011 09:11 AM, ralf wrote: > I can not understand why this feature has been dropped. What feature? Cygwin was designed with POSIX pathnames in mind. If DOS pathnames work, it is a fortunate side-effect, but not the primary design goal, and not subject to stay the same in future release

Re: How to setup cygwin to use

2011-03-18 Thread ralf
Eric Blake redhat.com> writes: > > On 03/18/2011 01:43 AM, Ralf wrote: > > I'm using cygwin under windows to change text-files with windows line-endings > > (CR and LF). I wrote a lot of shell-scripts which call each other. The > > filenames in those scripts are sometimes given als windows fi

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-18 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 03:40:48PM +0100, Corinna Vinschen wrote: >On Mar 18 11:23, Corinna Vinschen wrote: >> On Mar 18 02:08, Christopher Faylor wrote: >> > On Fri, Mar 18, 2011 at 05:47:04AM +, Dave Korn wrote: >> > >On 11/03/2011 13:53, Rainer Emrich wrote: >> > > >> > >> I have to be more

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-18 Thread Corinna Vinschen
On Mar 18 11:23, Corinna Vinschen wrote: > On Mar 18 02:08, Christopher Faylor wrote: > > On Fri, Mar 18, 2011 at 05:47:04AM +, Dave Korn wrote: > > >On 11/03/2011 13:53, Rainer Emrich wrote: > > > > > >> I have to be more clear. I increased the heap_chunk_in_mb to 1792 using: > > >> regtool -i

Re: last snapshot (2011-03-13)

2011-03-18 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 10:25:38AM +0100, EXCOFFIER Denis wrote: >Hello, > >Please consider http://cygwin.com/ml/cygwin/2011-03/msg00436.html I read it. I hadn't had time to look into it. >In fhandler.h i changed DEFAULT_PIPEBUFSIZE back to contain >PREFERRED_IO_BLKSIZE (instead of 31*1024*1024)

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread Andy Koppe
On 18 March 2011 13:46, David Sastre wrote: > All [[, have been changed to a portable [ test. > I've changed `test -a' for a portable `test -e', and the -a operator > in the user's home ownership test to a chained test: > > elif [ ! -O "${HOME}" ] && [ "${HOME#/home/}" != "${HOME}" ]; then ... Eve

Re: How to setup cygwin to use "always" testmode

2011-03-18 Thread Eric Blake
On 03/18/2011 01:43 AM, Ralf wrote: > I'm using cygwin under windows to change text-files with windows line-endings > (CR and LF). I wrote a lot of shell-scripts which call each other. The > filenames in those scripts are sometimes given als windows filenames (e.g. > c:\temp\file.txt) sometimes

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 12:46:26AM +0100, Cyrille Lefevre wrote: > > Le 17/03/2011 23:43, Angelo Graziosi a écrit : > > >p='/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows > >NT/CurrentVersion/Windows/Device' > > > >[ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} >

Re: gcc4 outstanding issues (was Re: Cygport woes: CHOST not defined.)

2011-03-18 Thread Charles Wilson
On 3/18/2011 5:06 AM, Yaakov (Cygwin/X) wrote: > BTW, I wonder if we can begin mitigating (2) by not shipping the .la > files with GCC. This would stop those paths from being hardcoded into > other .la files, so that eventually only the libtool scripts will need > to be fixed. Yes, please. I thi

Re: ITP dos2unix 5.2.1-1

2011-03-18 Thread Charles Wilson
On 3/18/2011 2:47 AM, Erwin Waterlander wrote: > I will create a branch for cygwin. I think that for temporary and > redundant options it may be better to silently accept them and not > document them. We are still not communicating. I do NOT propose that the new options -- whether you call the r

RE: Problems with the new base-files-4.0-5?

2011-03-18 Thread Nellis, Kenneth
> From: David Sastre > Please test if > > [ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} > > works as expected. No, it doesn't work, probably due to bash subshell or something, as separating the final assignment from the command line *does* work: $ [ -e "${p}" ] && read -r

Re: Start a crontab service

2011-03-18 Thread Larry W. Virden
On Thu, Mar 17, 2011 at 6:07 PM, Marc Girod wrote: > > Hello, > I tried to install cron locally on my laptop, and could not find > instructions to proceed. I understand. I tried so many different things trying to get this to work a year or two ago and never was successful in getting it to work. I

last snapshot (2011-03-13)

2011-03-18 Thread EXCOFFIER Denis
This message follows http://cygwin.com/ml/cygwin/2011-03/msg00539.html Both system are Microsoft Windows XP Professional Version 2002 Service Pack 3. The system that produces the "File too large" error is: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz 3.00 GHz, 3.48 GB of RAM The system where i'm

Re: last snapshot (2011-03-13)

2011-03-18 Thread Corinna Vinschen
On Mar 18 11:26, Corinna Vinschen wrote: > On Mar 18 10:25, EXCOFFIER Denis wrote: > > Hello, > > > > Please consider http://cygwin.com/ml/cygwin/2011-03/msg00436.html > > > > > > In fhandler.h i changed DEFAULT_PIPEBUFSIZE back to contain > > PREFERRED_IO_BLKSIZE (instead of 31*1024*1024), inst

Re: last snapshot (2011-03-13)

2011-03-18 Thread Corinna Vinschen
On Mar 18 10:25, EXCOFFIER Denis wrote: > Hello, > > Please consider http://cygwin.com/ml/cygwin/2011-03/msg00436.html > > > In fhandler.h i changed DEFAULT_PIPEBUFSIZE back to contain > PREFERRED_IO_BLKSIZE (instead of 31*1024*1024), installed the new cygwin1.dll > and of course, no more proble

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-18 Thread Corinna Vinschen
On Mar 18 02:08, Christopher Faylor wrote: > On Fri, Mar 18, 2011 at 05:47:04AM +, Dave Korn wrote: > >On 11/03/2011 13:53, Rainer Emrich wrote: > > > >> I have to be more clear. I increased the heap_chunk_in_mb to 1792 using: > >> regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1792 > >

last snapshot (2011-03-13)

2011-03-18 Thread EXCOFFIER Denis
Hello, Please consider http://cygwin.com/ml/cygwin/2011-03/msg00436.html In fhandler.h i changed DEFAULT_PIPEBUFSIZE back to contain PREFERRED_IO_BLKSIZE (instead of 31*1024*1024), installed the new cygwin1.dll and of course, no more problem. I also performed extended tests on another Windows

gcc4 outstanding issues (was Re: Cygport woes: CHOST not defined.)

2011-03-18 Thread Yaakov (Cygwin/X)
On Fri, 2011-03-18 at 05:18 +, Dave Korn wrote: > On 18/03/2011 02:50, Yaakov (Cygwin/X) wrote: > > BTW, do you need me to resend my patches for 4.5.2? > > Couldn't hurt, I know I had some stuff to dig through my inbox looking for > but if you wouldn't mind... My outstanding issues with gc

Re: ITP dos2unix 5.2.1-1

2011-03-18 Thread Erwin Waterlander
Op 18-3-2011 7:53, Charles Wilson schreef: On 3/17/2011 4:36 PM, Charles Wilson wrote: OK, everybody, time out for a minute. Rather than talk vapor, I'll develop the patches necessary. Fair warning: I've developed this patch set, and made a cygport-based package...but I have NOT TESTED the app

How to setup cygwin to use "always" testmode

2011-03-18 Thread Ralf
I'm using cygwin under windows to change text-files with windows line-endings (CR and LF). I wrote a lot of shell-scripts which call each other. The filenames in those scripts are sometimes given als windows filenames (e.g. c:\temp\file.txt) sometimes relative (e.g. ../tmp/file.txt) sometimes as