Re: always-on-top bug

2005-03-28 Thread Jack Tanner
Igor Pechtchanski wrote: The splashscreen of an app being displayed over ssh X11 forwarding stays on top of other windows instead of going to background when I select a Windows window. Normally, I would've never noticed this since splashscreens usually whiz by, but I was on a slow connection, and

Small clipboard bug triggered by gvim

2005-03-28 Thread Michael Schaap
Hi, I recently started using Cygwin/X a bit more, and it works amazingly well! I did, however, stumble upon a small bug using the built-in -clipboard handling: when using a GTK2 gvim, consecutive selections are not copied to the Windows clipboard. Here's how to recreate this: Build a GTK2

Multiple XWin.exe programs loading and no xterm

2005-03-28 Thread Scott Cegielski
Hello, Please help. This is my first time trying to start X windows using cygwin although I have been using cygwin for a while now. I am running it like this: 1. Open cygwin bash shell 2. Type startxwin.bat The problem is that not much happens after that except that an X icon shows up in the

Re: Multiple XWin.exe programs loading and no xterm

2005-03-28 Thread Steven Boothe
Scott Cegielski wrote: Hello, Please help. This is my first time trying to start X windows using cygwin although I have been using cygwin for a while now. I am running it like this: 1. Open cygwin bash shell 2. Type startxwin.bat Try typing startx at the command line. What happens then?

winsup/cygwin ChangeLog errno.cc

2005-03-28 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2005-03-28 16:57:13 Modified files: cygwin : ChangeLog errno.cc Log message: * errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG. Patches:

winsup/cygwin ChangeLog cygthread.cc cygwin.di ...

2005-03-28 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2005-03-28 19:31:25 Modified files: cygwin : ChangeLog cygthread.cc cygwin.din timer.cc cygwin/include : ctype.h Log message: * cygthread.cc (cygthread::detach): Revert

winsup/cygwin ChangeLog timer.cc

2005-03-28 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2005-03-28 19:55:59 Modified files: cygwin : ChangeLog timer.cc Log message: * timer.cc (timer_tracker::settime): Set times to zero when just cancelling a timer.

winsup/cygwin ChangeLog timer.cc

2005-03-28 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2005-03-28 21:51:56 Modified files: cygwin : ChangeLog timer.cc Log message: * timer.cc (getitimer): Check that ovalue is a valid pointer, not just NULL. Patches:

winsup/cygwin ChangeLog include/ctype.h

2005-03-28 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2005-03-28 21:58:23 Modified files: cygwin : ChangeLog cygwin/include : ctype.h Log message: * include/ctype.h: Accommodate building in newlib. Patches:

Re: exceeding PATH_MAX

2005-03-28 Thread Christopher Faylor
On Mon, Mar 28, 2005 at 04:19:08PM +, Eric Blake wrote: Christopher Faylor cgf-no-personal-reply-please at cygwin.com writes: 2005-03-26 Eric Blake ebb9 at byu.net * errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG. This is apparently fixing the symptom rather than the

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

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 cygwin1.dll, but how about

[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

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:

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

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 or raw

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

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 doesn't work if I

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 the ' character around it.

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 if I

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 '' #

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 2004

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 the part up to

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 actual call, the

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

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 shared

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

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

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 try to load

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

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

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

/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 the

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

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_val){

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): $

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 mysql command