script hangs with 20050716/20050826 snapshot but not with 1.5.18 dll

2005-08-27 Thread Volker Quetschke
The following script hangs after running a short while when using the 20050716/20050826 snapshots, but works with the 1.5.18 dll. --- start tcsh_hang.csh --- #!/bin/tcsh while (1) # perl -e 'print("12\n");' |& /usr/bin/grep -v "yy" perl -e 'exec( "/cygdrive/c/WINNT/system32/cmd", "/c", "echo

RE: Spaces in Environment Variables

2005-08-27 Thread Mike Miller
On Sat, 27 Aug 2005, Herb Martin wrote: mount -fsb "c:/Program Files" "/pgf" Agreed. A common recommendation in the Windows world is to use C:\progra~1 which is GENERALLY right but not totally reliable if either of the following is true: 1) This is a second copy of Windows install

Cygwin on CD?

2005-08-27 Thread Stuart McGraw
Is there anyplace I can buy a *recent* copy of the full Cygwin distribution on CD? I live in the US in a place where only modem internet connections are available and Cygwin is a bit big to download that way... Thanks... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Proble

RE: Xargs positioning the arguments in a command -- is this a bug or a feature?

2005-08-27 Thread Herb Martin
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Blake > > It is an unusual command that requires switches to appear in a > > specific order, especially when the switches are not directly > > dependent on each other. > > The upcoming findutils-4.2.25-1 (whenever upstream releases > 4.2.25) better

Re: Xargs positioning the arguments in a command -- is this a bug or a feature?

2005-08-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/27/2005 6:08 PM: > > The upcoming findutils-4.2.25-1 (whenever upstream releases 4.2.25) > better documents this. -i is being deprecated in favor of POSIX -I, which > requires an argument, whereas the non-standard -i trea

Re: Xargs positioning the arguments in a command -- is this a bug or a feature?

2005-08-27 Thread Eric Blake
> > dir -gGtcr --time-style=+%Y%m%d%X | cut -c 24- | xargs -i -n 2 echo {} > MORE_STUFF > > ...doesn't work -- i.e., "{}" appears in the output. > > However, reversing the switches does work as expected: > > dir -gGtcr --time-style=+%Y%m%d%X | cut -c 24- | xargs -n 2 -i echo {} > MORE_STUFF >

RE: Spaces in Environment Variables

2005-08-27 Thread Herb Martin
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Saturday, August 27, 2005 5:00 PM > To: cygwin@cygwin.com > Subject: Re: Spaces in Environment Variables > > Brian Dessent wrote: > > > $ export PF="/cygdrive/c/Program Files" > > $ cd "$PF" > > And for the record, I find that it's a

Xargs positioning the arguments in a command -- is this a bug or a feature?

2005-08-27 Thread Herb Martin
CygWin 1.5.18 I was trying to create a date-time-sortable list of files with an appended tag for each entry (ham or spam flag if you care about the detail) and had some difficulty with xargs: dir -gGtcr --time-style=+%Y%m%d%X | cut -c 24- | xargs -i -n 2 echo {} MORE_STUFF ...doesn't work -- i.e

Re: Spaces in Environment Variables

2005-08-27 Thread Brian Dessent
Brian Dessent wrote: > $ export PF="/cygdrive/c/Program Files" > $ cd "$PF" And for the record, I find that it's a heck of a lot easier to do the following once and then never have to deal with this kind of crap again. mount -fsb "c:/Program Files" "/pgf" Brian -- Unsubscribe info: http:/

Re: Spaces in Environment Variables

2005-08-27 Thread Brian Dessent
Jesse Hogan wrote: > $ PF="/cygdrive/c/Program\ Files" > $ export PF > $ cd $PF > : cd: /cygdrive/c/Program\: No such file or directory > $ ls $PF > ls: /cygdrive/c/Program\: No such file or directory > ls: Files: No such file or directory You are simultaneously overquoting and underquoting. Whe

Re: Spaces in Environment Variables

2005-08-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jesse Hogan on 8/27/2005 3:38 PM: > If I set environment variables to paths that have > spaces in them they don't work right with common shell > commands. Does anybody know a work around for this? Read up on shells; this problem is not un

Spaces in Environment Variables

2005-08-27 Thread Jesse Hogan
If I set environment variables to paths that have spaces in them they don't work right with common shell commands. Does anybody know a work around for this? For example: --SHELL $ PF="/cygdrive/c/Program\ Files" $ export PF $ cd $PF : cd: /cygdrive/c/Pr

Site changes

2005-08-27 Thread webmaster
Please, read the document. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Problem with sh/bash and snapshot cygwin1-20050825.dll

2005-08-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 8/27/2005 2:44 AM: > > That's a result of attaching .exe to symlinks. When iterating over > paths, the .exe suffix is only checked on the last component, never > on inner (== directory) components. This makes sense,

Re: Emacs from cygwin in X mode with no X running

2005-08-27 Thread Harry Putnam
"James R. Phillips" <[EMAIL PROTECTED]> writes: > Have you actually tried installing the x-server and using it? It takes a > while Yes. I just wanted to stay away from extra stuff. But as you surmised, not if it requires huge energy output. > to download, but can be used somewhat unobtrusivel

Re: Problem with sh/bash and snapshot cygwin1-20050825.dll

2005-08-27 Thread Corinna Vinschen
On Aug 26 14:30, Eric Blake wrote: > $ readlink u > x > $ ls x* > x.exe > $ ls -lF x > - -rwxr-xr-x 1 eblake None 13961 Mar 10 06:54 x* > $ file x# See below for more on this... > x: writable, executable, regular file, no read permission > $ ./myreadlink u/blah > 'u/blah': NULL, 2 No such file

Re: Timestamps

2005-08-27 Thread Corinna Vinschen
On Aug 27 02:28, Wes S wrote: > Replying to my own email for archives. > > I didn't have syslogd running. Install script /bin/syslogd-config > I initially installed sshd with: > cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a '-D -e' > changed to cygrunsrv -I sshd -d "CYGWIN sshd" -p /us