Re: Compiling purely native (mingw) win32 apps under cygwin...

2005-03-28 Thread Jonathan Arnold
Jani Tiainen wrote: Larry Hall kirjoitti: At 05:42 AM 3/27/2005, you wrote: Hi all! I was wondering what I have to do to get purely native win32 app to build under cygwin. I know that -mnocygwin directive drops out dependency to cygwin1.dll, but how about other libraries? How I can make a separa

Re: Compiling purely native (mingw) win32 apps under cygwin...

2005-03-28 Thread Larry Hall
At 07:13 AM 3/28/2005, you wrote: >Jani Tiainen wrote: >>Larry Hall kirjoitti: >> >>>At 05:42 AM 3/27/2005, you wrote: >>> Hi all! I was wondering what I have to do to get purely native win32 app to build under cygwin. I know that -mnocygwin directive drops out dependency to

[ANNOUNCEMENT] Updated: gdb-20041228-3 (also includes GUI "insight" debugger)

2005-03-28 Thread Christopher Faylor
I've made a new version of the gdb debugger available for installation. This version is a refresh from the CVS repository on sources.redhat.com. The package also contains the "insight" graphical debugger. This version fixes two problems: 1) You can now restart a program within gdb without getting

Spaces in Paths

2005-03-28 Thread zzapper
Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a variable eg mysqldump='/cygdrive/c/prog

OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Peter Fraser
I just put in OpenSSH_3.9p1 I started to get the following errors. I believe it is a permission problem, but when NT permissions are mixed with Unix permissions I get confused. Invoked from bash we get: /usr/sbin/sshd -D -d -d -d debug2: load_server_config: filename /etc/sshd_config debug2: load_

Re: Spaces in Paths

2005-03-28 Thread Jonathan Arnold
zzapper wrote: Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a variable eg mysqldump='/cygd

RE: recv and errno during a connection reset/closed by peer

2005-03-28 Thread Brian Ford
On Fri, 25 Mar 2005, Peter Stephens wrote: > I boiled this down to nothing(see below). I must be missing something > basic. Yup. > I tried the suggestions made so far and it never gets to: > > printf(" >>> ERRNO %i\n", errno); > > I would expect that on a disconnect (I use putty in telnet

Re: Spaces in Paths

2005-03-28 Thread Andrew DeFaria
Jonathan Arnold wrote: zzapper wrote: Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a vari

Re: Spaces in Paths

2005-03-28 Thread zzapper
On Mon, 28 Mar 2005 11:34:12 -0500, wrote: >zzapper wrote: >> Hi, >> >> Mysql has now moved under c:/program files/ >> >> My backup bash script will run correctly if I use the follwing syntax >> >> /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params >> >> However it

Re: Spaces in Paths

2005-03-28 Thread Andrew Schulman
> >> mysqldump='/cygdrive/c/program\ files/mysql/MySQL\ Server\ > >> 4.1/bin/mysqldump.exe' > >> > >> I get "/cygdrive/c/program\: No such file or directory..." > >> > >> Is this just hard luck? > > > >Nope, just the way the quoting rules work. You've already quoted the spaces > >by > >using th

Re: Spaces in Paths

2005-03-28 Thread Jean-Sebastien Trottier
On Mon, Mar 28, 2005 at 05:15:07PM +0100, zzapper wrote: > Hi, > > Mysql has now moved under c:/program files/ > > My backup bash script will run correctly if I use the follwing syntax > > /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params > > However it doesn't work

perl test failures on 20050326 snapshot

2005-03-28 Thread Yitzchak Scott-Thoennes
I'm seeing several alarm, sleep, and timer related failures on the 20050326 snapshot that weren't there with 20050323: op/alarm...# Failed at op/alarm.t line 31 # got '' # expected 'ALARM! # ' # Failed at op/alarm.t line 32 # Failed at op/alarm.t line 45 # got '' # ex

Re: OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Larry Hall
At 11:31 AM 3/28/2005, you wrote: >I just put in OpenSSH_3.9p1 I started to >get the following errors. I believe it >is a permission problem, but when NT >permissions are mixed with Unix permissions >I get confused. Those permissions look fine. >$ ssh -v >OpenSSH_3.9, OpenSSL 0.9.7d 17 Mar 200

Re: Spaces in Paths

2005-03-28 Thread zzapper
On Mon, 28 Mar 2005 12:42:58 -0500, wrote: > >Have you tried the following: > >mysqldump="/cygdrive/c/program files/mysql/MySQL Server > 4.1/bin/mysqldump.exe" >"$mysqldump" $params > >Without the double-quotes around the actual call, the variable gets >split at spaces such that only th

RE: Spaces in Paths

2005-03-28 Thread Buchbinder, Barry (NIH/NIAID)
At Monday, March 28, 2005 1:01 PM, zzapper wrote: > On Mon, 28 Mar 2005 12:42:58 -0500, wrote: >> >> Have you tried the following: >> >>mysqldump="/cygdrive/c/program files/mysql/MySQL Server >> 4.1/bin/mysqldump.exe""$mysqldump" $params >> >> Without the double-quotes around the actua

unprotected private key error.

2005-03-28 Thread curtorkar
Hi Cywin users, I have installed Cygwin on my windows machine that is on a domain. I am trying to rsync to a linux machine. This is the error i get when i run the rsync command with ssh enabled. I guess the problem is because the Cygwin is installed on a shared network drive. Is there any turnaroun

Re: unprotected private key error.

2005-03-28 Thread Larry Hall
At 01:52 PM 3/28/2005, you wrote: >Hi Cywin users, >I have installed Cygwin on my windows machine that is on a domain. I am trying >to rsync to a linux machine. This is the error i get when i run the rsync >command with ssh enabled. I guess the problem is because the Cygwin is >installed on a share

Re: Spaces in Paths

2005-03-28 Thread Linda W
zzapper wrote: Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a variable eg mysqldump='/cygdr

Re: Spaces in Paths

2005-03-28 Thread Linda W
Buchbinder, Barry (NIH/NIAID) wrote: Changing program files to progra~1 might also work. --- It _might_, is true. But if you turn off short-filename generation on NT file systems to speed up NTFS performance and reduce the space needed for directory entries, it won't: REGEDIT4 [HKEY_

Re: Spaces in Paths

2005-03-28 Thread zzapper
On Mon, 28 Mar 2005 12:50:12 -0800, wrote: >zzapper wrote: > >>Hi, >>Mysql has now moved under c:/program files/ >>My backup bash script will run correctly if I use the follwing syntax >>/cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params >>However it doesn't work if I

RE: OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Peter Fraser
Also I thought privilege separation, might be causing the problem but I reran ssh-host-config and did not configure privilege separation, and still had the problem P.S. you cannot change this without losing your changes to ssh_conf and sshd_config. -Original Message- From: Larry Hall [m

Re: package for netstat?

2005-03-28 Thread Shankar Unni
Shapiro, Jonathan wrote: But if other cygwinners use Win netstat, I'll use it too. [OT?] ping, tracert (not traceroute), nslookup and netstat are a few of the shining exceptions among Windows clones of BSD tools, in that they're as generally good as the originals (actually better in a couple of

RE: recv and errno during a connection reset/closed by peer

2005-03-28 Thread Peter Stephens
Brian Are you saying that there is no way to distinguish a dropped connection from a MSG_PEEK with no data to retrieve? Pete P.S. I use this standard: http://www.unix.org/unix03.html . Is this incorrect? Peter A. Stephens [EMAIL PROTECTED] -Original Message- From: Brian Ford [mailto:

RE: OpenSSH_3.9p1 and Could not load host key

2005-03-28 Thread Larry Hall
At 04:16 PM 3/28/2005, you wrote: >I have included cygcheck.out. > >The OpenSSH_3.9 which I used from an OpenBSD 3.6 system. >I have a lot less control over, thought I would have thought that >a new version of sshd on my Windows XP should be a able to speak >to an older ssh on a differing machine

RE: Spaces in Paths

2005-03-28 Thread Stephan Mueller
Also, even if you leave short name generation on, there's no guarantee that the sequence number part of the generated short name for "Program Files" will be ~1. It's very likely, but if "Program Files" is not the first directory created in the current directory starting with 'Progra', for example,

RE: recv and errno during a connection reset/closed by peer

2005-03-28 Thread Peter A. Castro
On Mon, 28 Mar 2005, Peter Stephens wrote: Brian Are you saying that there is no way to distinguish a dropped connection from a MSG_PEEK with no data to retrieve? As someone who's seen this behaviour on several platforms, it can happen. I've had to deal with this little annoyance in other products

Cannot link ___assert, __impure_ptr with -mno-cygwin

2005-03-28 Thread Matt Olson
Hello, I'm trying to port some SDL code from Linux to Win32-Cygwin, and I've run into problems linking programs using assert() and fprintf() with the -mno-cygwin flag. (I'm compiling and linking with -mno-cygwin because that's what the output of `sdl-config --libs` gives me.) I've Googled, with

RE: recv and errno during a connection reset/closed by peer

2005-03-28 Thread Peter Stephens
Peter, FYI - I tried setting the SO_LINGER and the SO_RCVTIMEO on Linux and on Cygwin (see code below). It makes sense to me that if the timeout has been exceeded then the recv(..., MSG_PEEK) should do something. On Cygwin it doesn't do anything. On Linux it DOES time out, but it returns -1 and

/proc/self/exename -> exe ? (Re: Retrieving name of executable)

2005-03-28 Thread Anthony Heading
On Fri, Jan 14, 2005 at 02:35:28PM -0500, Christopher Faylor wrote: > On Fri, Jan 14, 2005 at 10:39:23AM -0800, Earl Chew wrote: > >I think the name of the current executable is stored in myself->progname > >within cygwin1.dll. > > > >The more easily accessible __progname returns the basename of th

RE: recv and errno during a connection reset/closed by peer

2005-03-28 Thread Peter Stephens
Pete, The most likely reason for the difference in Cygwin is, "If you create a socket using the Winsock 2 WSASocket API and you need to apply a timeout in receive or send operations on the socket, you must specify the WSA_FLAG_OVERLAPPED flag in the WSASocket call." >From the MSDN website arti

RE: recv and errno during a connection reset/closed by peer

2005-03-28 Thread Peter Stephens
Peter, I have thought about your suggestion and it makes a lot of sense. If I understand correctly this is what you are thinking about: int I = 0; << another new line do{ ret_val = recv(afd, buf, MAX_BUF, MSG_PEEK); if(0 > ret_val) err(" >>> ERRNO"); else if(0 == ret_

Program launched under rxvt asks for user input in original prompt

2005-03-28 Thread Mikael
Hello, a few days ago I got some help on this list to get rxvt (and also with emacs' shell mode) up and running and I love it! But today when trying out MySQL 5.0.3 beta that was just released, I noticed an annoying thing: I tried to start mysql command line shell by issuing (under rxvt): $ mysql

Re: Program launched under rxvt asks for user input in original prompt

2005-03-28 Thread Brian Dessent
Mikael wrote: > Hello, a few days ago I got some help on this list to get rxvt (and also > with emacs' shell mode) up and running and I love it! But today when trying > out MySQL 5.0.3 beta that was just released, I noticed an annoying thing: > I tried to start mysql command line shell by issuing

Re: Program launched under rxvt asks for user input in original prompt

2005-03-28 Thread Mikael
"Brian Dessent" wrote: > Mikael wrote: > >> Hello, a few days ago I got some help on this list to get rxvt (and also >> with emacs' shell mode) up and running and I love it! But today when >> trying >> out MySQL 5.0.3 beta that was just released, I noticed an annoying thing: >> I tried to start m