Re: Spam:Re: Find not working w/ Samba drive

2006-04-12 Thread Corinna Vinschen
On Apr 11 15:45, Stefan Vorkoetter wrote: > And here's one from a Samba 2.2.3a share, repeated twice. Notice the inodes > are different each time. > > ~/sandboxes/main/internal/src [920] $ ls -i > v:/internal_html/2006-04-10/*.jpg > 3796172808 v:/internal_html/2006-04-10/17-50-56.jpg > [...] I

Re: awk -v BINMODE=rw '{print}' # future sed revs binary too?

2006-04-12 Thread Corinna Vinschen
On Apr 11 15:21, Tom Rodman wrote: > On Tue 4/11/06 11:19 +0200 cygwin@cygwin.com wrote: > > Use dos2unix/unix2dos in scripts. > > So the change to sed is intentional, I assume. I always thought 'sed' should > be > binary by default, but for years the cygwin version was not. > > Will you reassu

Re: XP embedded

2006-04-12 Thread Corinna Vinschen
On Apr 11 14:22, Jeff Lange wrote: > Hi all, > While searching though the mail list archives, I found a posting > back on March 9th asking about XP Embedded SP2 and the error > "/dev/null: No such file or directory". > > Everyone blasted the poster for running a really old version of Cygwin. >

Re: SSH works, but SFTP fails on non-admin users

2006-04-12 Thread Corinna Vinschen
On Apr 11 23:03, DJ Lee wrote: > Hello - > > I just upgraded cygwin a few days ago (a lot of packages were upgraded), > and all of a sudden, I have an odd issue with SFTP. > > On this box 'icenine', I have two users, one administrator, one > non-admin. I can ssh and scp into the box with both

Re: Fixing the state of C++ in Cygwin

2006-04-12 Thread Corinna Vinschen
On Apr 11 22:35, Steven Brown wrote: > Christopher Faylor wrote: > > >How about figuring out what the "for some reason" is that makes sed 4.1.5 > >(theoretically) fail? > > The thread regarding sed 1.4.5 and libtool: > http://www.cygwin.com/ml/cygwin/2006-02/msg00846.html > > Wouldn't it be best

Re: XP embedded

2006-04-12 Thread Jeff Lange
/dev/zero does work properly. I changed line 68 in /etc/profile to use /dev/zero instead of /dev/null and I no longer get the bash error on start up. Perhaps the cygwin libraries should be modified so that if the windows NUL device doesn't exist, it should use a different method. Thanks. -Jeff

[ANNOUNCEMENT] Updated [experimental]: tar-1.15.90-1

2006-04-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of tar, 1.15.90-1, is available for experimental use. NEWS: = This is a new alpha-quality upstream release. It also relies on features that have been added to cygwin since cygwin-1.5.19 was released (such as freopen(NULL) and d_ino)

Re: Spam:Re: Find not working w/ Samba drive

2006-04-12 Thread Corinna Vinschen
On Apr 12 11:48, Corinna Vinschen wrote: > On Apr 11 15:45, Stefan Vorkoetter wrote: > > And here's one from a Samba 2.2.3a share, repeated twice. Notice the inodes > > are different each time. > > > > ~/sandboxes/main/internal/src [920] $ ls -i > > v:/internal_html/2006-04-10/*.jpg > > 37961728

Re: XP embedded

2006-04-12 Thread Christopher Faylor
On Wed, Apr 12, 2006 at 07:43:33AM -0400, Jeff Lange wrote: >/dev/zero does work properly. I changed line 68 in /etc/profile to >use /dev/zero instead of /dev/null and I no longer get the bash error >on start up. > >Perhaps the cygwin libraries should be modified so that if the windows >NUL device

Re: XP embedded

2006-04-12 Thread Igor Peshansky
On Wed, 12 Apr 2006, Christopher Faylor wrote: > On Wed, Apr 12, 2006 at 07:43:33AM -0400, Jeff Lange wrote: > >/dev/zero does work properly. I changed line 68 in /etc/profile to > >use /dev/zero instead of /dev/null and I no longer get the bash error > >on start up. FWIW, /dev/zero is not alway

Re: XP embedded

2006-04-12 Thread Corinna Vinschen
On Apr 12 12:05, Igor Peshansky wrote: > On Wed, 12 Apr 2006, Christopher Faylor wrote: > > > On Wed, Apr 12, 2006 at 07:43:33AM -0400, Jeff Lange wrote: > > >/dev/zero does work properly. I changed line 68 in /etc/profile to > > >use /dev/zero instead of /dev/null and I no longer get the bash er

Re: XP embedded

2006-04-12 Thread Christopher Faylor
On Wed, Apr 12, 2006 at 12:05:04PM -0400, Igor Peshansky wrote: >On Wed, 12 Apr 2006, Christopher Faylor wrote: >>On Wed, Apr 12, 2006 at 07:43:33AM -0400, Jeff Lange wrote: >>>/dev/zero does work properly. I changed line 68 in /etc/profile to use >>>/dev/zero instead of /dev/null and I no longer

Re: XP embedded

2006-04-12 Thread Igor Peshansky
On Wed, 12 Apr 2006, Corinna Vinschen wrote: > On Apr 12 12:05, Igor Peshansky wrote: > > On Wed, 12 Apr 2006, Christopher Faylor wrote: > > > > > On Wed, Apr 12, 2006 at 07:43:33AM -0400, Jeff Lange wrote: > > > >/dev/zero does work properly. I changed line 68 in /etc/profile to > > > >use /dev/

Re: XP embedded

2006-04-12 Thread Christopher Faylor
On Wed, Apr 12, 2006 at 06:19:37PM +0200, Corinna Vinschen wrote: >Since /dev/null is a really existing native device, it also works for >stdio redirection when executing a native Windows process. Off the top >of my head I don't know a case for which that really matters, but it's >guaranteed that

perl reading ^M on text mounts

2006-04-12 Thread Lemke, Michael SZ/HZA-IOM1
If I execute this perl script de010597> cat x.pl #!/usr/bin/perl use strict; open( HO, ") { print "$_"; } on a text mount with an input file that has CRLF line endings perl should treat this as a text file and strip the CR. Only if I use binmode HO should I see the CR. But it does

Re: XP embedded

2006-04-12 Thread Igor Peshansky
On Wed, 12 Apr 2006, Christopher Faylor wrote: > On Wed, Apr 12, 2006 at 12:05:04PM -0400, Igor Peshansky wrote: > >On Wed, 12 Apr 2006, Christopher Faylor wrote: > >>On Wed, Apr 12, 2006 at 07:43:33AM -0400, Jeff Lange wrote: > >>>/dev/zero does work properly. I changed line 68 in /etc/profile t

Re: Cygrunsrv starts service but reports that it didn't start

2006-04-12 Thread Sven Köhler
> Command : /usr/sbin/sshd -D for sshd, "-D" means, that the sshd process will _not_ detach from his parent process (which is cygrunsrv) > Command : /usr/local/sbin/samhain -D and according to the docs, saimhain will _not_ detach from the parent process to become a daemon

Re: XP embedded

2006-04-12 Thread Tony Richardson
Jeff Lange gmail.com> writes: > While searching though the mail list archives, I found a posting > back on March 9th asking about XP Embedded SP2 and the error > "/dev/null: No such file or directory". > > Everyone blasted the poster for running a really old version of Cygwin. > > Well I'm run

CVS command returns error

2006-04-12 Thread Michael Giroux
The CVS related ANT tasks require that the cvs executable is on the PATH. I have two versions of cvs installed, one is at c:\bin\cvs\cvs.exe The other at c:\cygwin\bin\cvs.exe Both versions show the same version information: Concurrent Versions System (CVS) 1.11.20 (client) When I attempt to ex

Re: CVS command returns error

2006-04-12 Thread Michael Giroux
BTW, any suggestions for helping to debug the problem will be appreciated. I normally use CVS via Eclipse and ANT tasks, so I'm not very familiar with the command-line, but I'll gladly try anything to sort out the problem. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Cron on Cygwin

2006-04-12 Thread grahul
I installed cron, everything seems fine. This is what I've done so far: cygrunsrv -I cron -p /usr/sbin/cron -a -D net start cron and seems to start fine, it even comes up when i do ps -ef i modify the crontab file by doing crontab -e then I do crontab -l to see if it picks it up and it does and t

Re: Cron on Cygwin

2006-04-12 Thread Brian Dessent
grahul wrote: > I installed cron, everything seems fine. This is what I've done so far: > cygrunsrv -I cron -p /usr/sbin/cron -a -D > net start cron You should run the cron-config script instead of trying to do it yourself. There's more to it than this. See also cron_diagnose.sh. Also, please

Re: CVS command returns error

2006-04-12 Thread Igor Peshansky
On Wed, 12 Apr 2006, Michael Giroux wrote: > The CVS related ANT tasks require that the cvs executable is on the PATH. > > I have two versions of cvs installed, > one is at c:\bin\cvs\cvs.exe > The other at c:\cygwin\bin\cvs.exe I'm assuming the former is a Windows build of cvs. > Both versions

Re: CVS command returns error

2006-04-12 Thread René Berber
Michael Giroux wrote: > The CVS related ANT tasks require that the cvs executable is on the PATH. Which is Windows' environment variable PATH, not necessarily the same as the shell variable PATH you see under Cygwin. Most important is that ant, like any other java application, uses Windows paths

Re: CVS command returns error

2006-04-12 Thread Michael Giroux
Igor, Thanks for the very complete answer. I had not considered the fact that there were two separate builds for windows and cygwin. Based on this, it seems that the correct solution is to set my PATH so that the windows version of CVS is in the PATH prior to cygwin version I suspect that y

Re: CVS command returns error

2006-04-12 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Wed, 12 Apr 2006, Michael Giroux wrote: > Igor Peshansky wrote: > > On Wed, 12 Apr 2006, Michael Giroux wrote: > > > > > The CVS related ANT tasks require that the cvs executable is on the > > > PATH. > > > > > > I have two versions of cvs installed, > > > one

Thread support in cygwin!

2006-04-12 Thread Do Nguyen Luong
Hi, I'm trying to port a program used pthread in Linux to Windows.In cygwin, I compiled it but when executing I got this message : Threads are not supported In Linux, it works fine. Then in Cygwin I write this simple program : #include #include #include int main() { #ifdef _POSIX_THREADS

Re: Thread support in cygwin!

2006-04-12 Thread Joost Kraaijeveld
On Wed, 2006-04-12 at 21:53 -0700, Do Nguyen Luong wrote: > #include > #include > #include > int main() > { > #ifdef _POSIX_THREADS > printf("sysconf(_SC_THREADS): %d\n", sysconf(_SC_THREADS)); > #else > printf("_POSIX_THREADS not defined\n"); > #endif > return