RSH hangs indefinitely

2010-09-08 Thread 7force
Here is the situation I have and the things I did to get it:- 1. Initiate an RCP connection from Server A (Windows Vista) via Cygwin to Server B (Linux). 2. Disconnect the RJ45 cable to simulate a server down event (@ Server B). This is where I notice two possibilities. Scenario #1 RJ45 unplug wh

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 10:21 PM, Quanah Gibson-Mount wrote: --On Wednesday, September 08, 2010 7:12 PM -0700 Quanah Gibson-Mount wrote: That covers all the obvious things for me. I'd recommend taking a look at the SAMBA server to see if user IDs are mapped correctly. Also, I know there were some problems

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 7:12 PM -0700 Quanah Gibson-Mount wrote: That covers all the obvious things for me. I'd recommend taking a look at the SAMBA server to see if user IDs are mapped correctly. Also, I know there were some problems in the past with older Samba servers, bugs and

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 9:55 PM -0400 "Larry Hall (Cygwin)" <> wrote: bu...@zre-win-002 ~ $ id build uid=503(build) gid=513(None) groups=513(None) bu...@zre-win-002 ~ $ grep build /etc/passwd build:unused:503:513:U-ZRE-WIN-002\build,S-1-5-21-1229272821-2049760794- 1417001333-1003:/h

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 7:07 PM, Quanah Gibson-Mount wrote: --On Wednesday, September 08, 2010 6:51 PM -0400 "Larry Hall (Cygwin)" <> wrote: OK, take a look at . You'll want to use 'mkpasswd' and 'mkgroup' to get the passwd and group files fixed up.

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 6:51 PM -0400 "Larry Hall (Cygwin)" <> wrote: OK, take a look at . You'll want to use 'mkpasswd' and 'mkgroup' to get the passwd and group files fixed up. I've read that page multiple times, and it still

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 6:45 PM, Quanah Gibson-Mount wrote: --On Wednesday, September 08, 2010 6:37 PM -0400 "Larry Hall (Cygwin)" <> wrote: I think you need to look at why the user that created the files in the first place isn't known to Cygwin. If you can solve that problem, you may find the rest fall

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 6:37 PM -0400 "Larry Hall (Cygwin)" <> wrote: $ ls -l total 104 -r-xr-xr-x 1 1362 2010-09-08 13:31 BUILD_EVO_template I think you need to look at why the user that created the files in the first place isn't known to Cygwin. If you can so

Re: Windows-style pathname does not work as command - why?

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 5:19 PM, Karl M wrote: To be fair (as opposed to just mean) Cygwin does provide other tools to... Fair? And not mean?? Who let this guy in? Karl, you obviously just don't fit in here. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc.

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 6:17 PM, Quanah Gibson-Mount wrote: I have a CIFS drive I connect to as the windows user. I can write to the drive with no problem. However, when I go to delete files from the drive, Cygwin behaves very oddly. $ ls -l total 104 -r-xr-xr-x 1 1362 2010-09-08 13:3

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 3:17 PM -0700 Quanah Gibson-Mount <> wrote: This behavior is quite bizarre. I should be able to delete the files I created with the "-f" option to "rm". Also, if I mount it on a linux box via CIFS, I can delete files on this drive no issue. So it is d

Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
I have a CIFS drive I connect to as the windows user. I can write to the drive with no problem. However, when I go to delete files from the drive, Cygwin behaves very oddly. bu...@zre-win-002 /cygdrive/z/current/WINDOWS/main/20100908131458_ZDESKTOP/ZimbraBuild/templates $ rm -f * bu...@zre

[ANNOUNCEMENT] New: flexdll-0.22-1

2010-09-08 Thread Yaakov (Cygwin/X)
The following package has been added to the Cygwin distribution: *** flexdll-0.22-1 FlexDLL is an implementation of the dlopen() APIs which creates DLLs whose symbols can be resolved at runtime. It will be required for an upcoming OCaml release with dynamic module support. Yaakov -- CYGWIN-

RE: Windows-style pathname does not work as command - why?

2010-09-08 Thread Karl M
> Date: Wed, 8 Sep 2010 15:39:09 -0400 > From: cgf > To: cygwin > Subject: Re: Windows-style pathname does not work as command - why? > > Isn't the whole reason for Cygwin actually to enable doing Unixy things > in Windows (that is, providing Windows/Unix interoperablity? > >>> > >>> No,

Re: Windows-style pathname does not work as command - why?

2010-09-08 Thread Christopher Faylor
On Wed, Sep 08, 2010 at 02:47:57PM -0400, Larry Hall (Cygwin) wrote: >On 9/8/2010 1:24 PM, Andy Koppe wrote: >> On 8 September 2010 17:35, Larry Hall (Cygwin) wrote: Isn't the whole reason for Cygwin actually to enable doing Unixy things in Windows (that is, providing Windows/Unix interop

Re: rsnapshot running with unix hosts

2010-09-08 Thread James Chase
Why? Windows still works as usual. Only applications explicitely asking for case-sensitivity, like Cygwin, will actually use it. Reading the below made me think this may create issues with applications already in use on the system and fundamentally alter the function of the OS. Also, reboot

Re: rsnapshot running with unix hosts

2010-09-08 Thread Corinna Vinschen
On Sep 8 15:06, James Chase wrote: > > >You *did* read > >http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive > >did you? Especially the part concerning the registry. > > Yes, I saw that but that's not an option for me at the moment. I Why? Windows still works as u

Re: cmake 2.8.x

2010-09-08 Thread Marco Atzeri
--- Mer 8/9/10, Yaakov (Cygwin/X) ha scritto: > Marco Atzeri wrote: > > any obstacle to move to cmake 2.8.x ? > > > > I know that Yaakov has his own version, but it will be > simpler > > to have it in the "distro". > > I'm trying to work with the package maintainer, who is also > an upstream >

Re: rsnapshot running with unix hosts

2010-09-08 Thread James Chase
You *did* read http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive did you? Especially the part concerning the registry. Yes, I saw that but that's not an option for me at the moment. I suppose the heart of my question is: shouldn't mounting with posix=1 enable th

Re: rsnapshot running with unix hosts

2010-09-08 Thread Corinna Vinschen
On Sep 8 14:27, James Chase wrote: > Hi All: > > I have rsnapshot running on cygwin on Server 2003 and this seems to > work fine except that I'm wondering what the best way to handle > case-insensitivity is. I read through the cygwin mount information > and caveats about files named and etc and

Re: Windows-style pathname does not work as command - why?

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 1:24 PM, Andy Koppe wrote: On 8 September 2010 17:35, Larry Hall (Cygwin) wrote: Isn't the whole reason for Cygwin actually to enable doing Unixy things in Windows (that is, providing Windows/Unix interoperablity? No, that's not a key goal. From the Cygwin main web page: Cygwin is

cross compile windows => Linux

2010-09-08 Thread Bryan
So, I've been searching for a way to build linux binaries, and then package them using the rpmbuild command. I've not been able to find a cross compiler other than the one here: http://metamod-p.sourceforge.net/cross-compiling.on.windows.for.linux.html I had kind of expected there to be one in c

Re: rand() was not declared in this scope, please help‏

2010-09-08 Thread mike marchywka
On 9/8/10, Václav Haisman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > eric lin wrote, On 8.9.2010 19:35: >> dear cygwin/gcc users: >> >> I compile a simple code which i copied from a book, "The Complete >> Reference of C++" Fourth Edition by Herbert Schildt in page 575, rand(

rsnapshot running with unix hosts

2010-09-08 Thread James Chase
Hi All: I have rsnapshot running on cygwin on Server 2003 and this seems to work fine except that I'm wondering what the best way to handle case-insensitivity is. I read through the cygwin mount information and caveats about files named and etc and tried mounting a folder posix=1 but I don't

Re: cmake 2.8.x

2010-09-08 Thread Yaakov (Cygwin/X)
On Wed, 2010-09-08 at 16:29 +, Marco Atzeri wrote: > any obstacle to move to cmake 2.8.x ? > > I know that Yaakov has his own version, but it will be simpler > to have it in the "distro". I'm trying to work with the package maintainer, who is also an upstream author, to support my changes to

Re: svn using sasl

2010-09-08 Thread David Rothenberger
On 9/8/2010 1:23 AM, Joël Krähemann wrote: > Hi, I don't want svn to store passwords in plain text that's why I > decided to use sasl. But I can't login anymore when changing > authentication to sasl. Below I posted some files and commands, could > someone tell me what's wrong with? I didn't test

Re: rand() was not declared in this scope, please help‏

2010-09-08 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 eric lin wrote, On 8.9.2010 19:35: > dear cygwin/gcc users: > > I compile a simple code which i copied from a book, "The Complete Reference > of C++" Fourth Edition by Herbert Schildt in page 575, rand() > which is clearly not be included in >

rand() was not declared in this scope, please help‏

2010-09-08 Thread eric lin
dear cygwin/gcc users: I compile a simple code which i copied from a book, "The Complete Reference of C++" Fourth Edition by Herbert Schildt in page 575, rand() which is clearly not be included in #include I tried #inlcude it still not compile, i.e. same compile error please help(see

Re: Windows-style pathname does not work as command - why?

2010-09-08 Thread Andy Koppe
On 8 September 2010 17:35, Larry Hall (Cygwin) wrote: >> Isn't the whole reason for Cygwin actually to enable doing Unixy things >> in Windows (that is, providing Windows/Unix interoperablity? > > No, that's not a key goal. From the Cygwin main web page: > > Cygwin is a Linux-like environment for W

Re: Windows-style pathname does not work as command - why?

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 11:58 AM, Daniel Barclay wrote: Christopher Faylor wrote: And, trying hard to make MS-DOS stuff work is sorta counter to the whole reason for Cygwin. Isn't the whole reason for Cygwin actually to enable doing Unixy things in Windows (that is, providing Windows/Unix interoperabl

cmake 2.8.x

2010-09-08 Thread Marco Atzeri
any obstacle to move to cmake 2.8.x ? I know that Yaakov has his own version, but it will be simpler to have it in the "distro". Yaakov, your last 2.8.2 seems to need a "cygport" version of cygstdc++-6.dll, so I am using your previous 2.8.1 Regards Marco -- Problem reports: http://c

Re: Windows-style pathname does not work as command - why?

2010-09-08 Thread Daniel Barclay
Christopher Faylor wrote: On Thu, Sep 02, 2010 at 12:13:12PM -0600, Eric Blake wrote: On 09/02/2010 11:45 AM, Daniel Barclay wrote: I don't quite understand this behavior: $ ls C:\\tools\\emacs-23.2\\bin\\runemacs.exe C:\tools\emacs-23.2\bin\runemacs.exe $ C:\\tools\\emacs-23.2\\bin\\runemacs.

Re: incredibly slow file listing script on windoze 7 pro 4 core 64 bit

2010-09-08 Thread Eric Blake
On 09/08/2010 09:24 AM, Larry Hall (Cygwin) wrote: To somewhat sooth your curiousity, Windows (or perhaps it's more accurate to say NTFS) ain't great with directories with a large number of files. I expect you would be less than impressed with the performance of of 'dir' in 'cmd.exe' in the same

Re: GSMlib

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 10:00 AM, DEWI - N. Zacharias wrote: Hi all, has someone successfully compiled and installed gsmlib 1.10 (http://www.pxh.de/fs/gsmlib/index.html) ? Norbert, please don't commandeer another thread for your own purposes. If you have something that isn't related to an existing threa

Re: incredibly slow file listing script on windoze 7 pro 4 core 64 bit

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 9:35 AM, mike marchywka wrote: On 9/7/10, Larry Hall (Cygwin) wrote: On 9/7/2010 12:05 PM, mike marchywka wrote: this takes a few minutes on old debian machine, taking much longer here on same data- about 19k file about 24Gb total size. Windoze finally has better perf stuff but sti

Re: likely stupid question but name conflicts with foo and foo.exe?

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 7:32 AM, mike marchywka wrote: On 9/8/10, Corinna Vinschen<> wrote: On Sep 7 09:00, mike marchywka wrote: Hi, I'm trying to copy of bunch of files from debian over to windoze using scp -r. This was working fine except for one error where it complains foo is not a directory and app

Re: Cygwin slow on x64 systems

2010-09-08 Thread Christopher Faylor
On Tue, Sep 07, 2010 at 01:54:14AM -0400, Christopher Faylor wrote: >On Thu, Sep 02, 2010 at 01:10:56AM -0400, Christopher Faylor wrote: >>On Wed, Sep 01, 2010 at 10:28:35PM -0500, Yaakov (Cygwin/X) wrote: >>>On Wed, 2010-09-01 at 17:20 -0400, Christopher Faylor wrote: On Wed, Sep 01, 2010 at

Re: setmode under Cygwin

2010-09-08 Thread Ariel Burbaickij
yes, it was exactly it. Thank you. On Wed, Sep 8, 2010 at 2:27 PM, Corinna Vinschen wrote: > On Sep  8 13:47, Ariel Burbaickij wrote: >> Hello all, >> I am trying to compile djvulibre in version 3.5.22 -- it does not >> check in configure for setmode >> as it, as it pretty much look likes, expect

GSMlib

2010-09-08 Thread DEWI - N. Zacharias
Hi all, has someone successfully compiled and installed gsmlib 1.10 (http://www.pxh.de/fs/gsmlib/index.html) ? I run into trouble because of strange C++ errors . Because it is part of Redhat 9 , Mandriva2010 it shoud be no problem to compile it with gcc. But I get errors like ../gsmlib/

Re: OpenGL linking problems

2010-09-08 Thread Jon TURNEY
On 08/09/2010 13:53, David Doria wrote: Oh, I guess you have a makefile generated by cmake? In which case you need make VERBOSE=1 to get it to show you what it is doing. Ok, now there is some useful output. I see an -lGL, what else should I be looking for? /usr/bin/c++.exe -Wno-deprecated

Re: incredibly slow file listing script on windoze 7 pro 4 core 64 bit

2010-09-08 Thread mike marchywka
On 9/7/10, Larry Hall (Cygwin) wrote: > On 9/7/2010 12:05 PM, mike marchywka wrote: >> this takes a few minutes on old debian machine, taking much longer >> here on same data- >> about 19k file about 24Gb total size. >> Windoze finally has better perf stuff but still no help- one core at >> 25 pct

Re: OpenGL linking problems

2010-09-08 Thread mike marchywka
On 9/8/10, David Doria wrote: >> Oh, I guess you have a makefile generated by cmake? In which case you need >> make VERBOSE=1 to get it to show you what it is doing. >> > > Ok, now there is some useful output. I see an -lGL, what else should I > be looking for? > > /usr/bin/c++.exe -Wno-deprec

Re: OpenGL linking problems

2010-09-08 Thread David Doria
> Oh, I guess you have a makefile generated by cmake? In which case you need > make VERBOSE=1 to get it to show you what it is doing. > Ok, now there is some useful output. I see an -lGL, what else should I be looking for? /usr/bin/c++.exe -Wno-deprecated -mwin32 CMakeFiles/GraphicsCxxTests.d

Re: OpenGL linking problems

2010-09-08 Thread Jon TURNEY
On 08/09/2010 12:24, David Doria wrote: Since you don't give the link line which is causing the problem, I'd tend to assume the problem is [2] [2] http://cygwin.com/faq/faq-nochunks.html#faq.programming.linker I looked at the make man page to try to see how to get make to tell me what it is do

Re: setmode under Cygwin

2010-09-08 Thread Corinna Vinschen
On Sep 8 13:47, Ariel Burbaickij wrote: > Hello all, > I am trying to compile djvulibre in version 3.5.22 -- it does not > check in configure for setmode > as it, as it pretty much look likes, expects it to be present under > cygwin as seen from following > excerpt: > > #if defined(__CYGWIN32__)

setmode under Cygwin

2010-09-08 Thread Ariel Burbaickij
Hello all, I am trying to compile djvulibre in version 3.5.22 -- it does not check in configure for setmode as it, as it pretty much look likes, expects it to be present under cygwin as seen from following excerpt: #if defined(__CYGWIN32__) setmode(fileno(fout), O_BINARY); now despite the

Re: likely stupid question but name conflicts with foo and foo.exe?

2010-09-08 Thread mike marchywka
On 9/8/10, Corinna Vinschen <> wrote: > On Sep 7 09:00, mike marchywka wrote: >> Hi, >> I'm trying to copy of bunch of files from debian over to windoze using scp >> -r. >> This was working fine except for one error where it complains foo is >> not a directory >> and apparently I have foo and foo.

Re: OpenGL linking problems

2010-09-08 Thread David Doria
> Since you don't give the link line which is causing the problem, I'd tend to > assume the problem is [2] > [2] http://cygwin.com/faq/faq-nochunks.html#faq.programming.linker I looked at the make man page to try to see how to get make to tell me what it is doing (i.e. show the g++ commands that

Re: likely stupid question but name conflicts with foo and foo.exe?

2010-09-08 Thread Corinna Vinschen
On Sep 7 09:00, mike marchywka wrote: > Hi, > I'm trying to copy of bunch of files from debian over to windoze using scp -r. > This was working fine except for one error where it complains foo is > not a directory > and apparently I have foo and foo.exe in one dir but foo is a directory. This is

svn using sasl

2010-09-08 Thread Joël Krähemann
Hi, I don't want svn to store passwords in plain text that's why I decided to use sasl. But I can't login anymore when changing authentication to sasl. Below I posted some files and commands, could someone tell me what's wrong with? my svnserve.conf file: [general] anon-access = read auth-access

Re: Problem with mouse events in XWin server

2010-09-08 Thread Jurgen Defurne
Thanks for the reply, I'll remember it about cygwin-xfree. On Tue, Sep 7, 2010 at 4:16 PM, Jon TURNEY wrote: > On 07/09/2010 14:31, Jurgen Defurne wrote: >> >> At work I use my portable as X server for a remote Linux machine. I can >> use >> two brands of software, Reflection X, which is installe