Re: scripting sftp in a bash script

2003-12-02 Thread James Hu
On 2003-12-02, James Hu <[EMAIL PROTECTED]> wrote: > On 2003-12-02, David Strozzi <[EMAIL PROTECTED]> wrote: >> I'm trying to use sftp within a bash script on cygwin (version 1.5.5 >> on winXP pro). Ideally I'd like to use a 'here document' rather than >> using an external batchfile... >> >> ... a

Re: Problem with gcc -mno-cygwin?

2003-12-02 Thread Christopher Faylor
On Tue, Dec 02, 2003 at 11:14:12PM -0500, Charles Wilson wrote: >Christopher Faylor wrote: > >>I don't know what this particular problem is (it sounds pretty bad if >>-mno-cygwin is this broken) but: >> >>== >>File: w32-shared-ptr.c Status: Up-to-date >> >> Working revision:

Re: Problem with gcc -mno-cygwin?

2003-12-02 Thread Charles Wilson
Christopher Faylor wrote: I don't know what this particular problem is (it sounds pretty bad if -mno-cygwin is this broken) but: == File: w32-shared-ptr.c Status: Up-to-date Working revision:1.1.6.1 Repository revision: 1.1.6.1 /cvs/gcc/gcc/gcc/config/i386/Attic/w32-

Re: Problem with gcc -mno-cygwin?

2003-12-02 Thread Christopher Faylor
On Tue, Dec 02, 2003 at 09:55:25PM -0500, Charles Wilson wrote: >So I'm trying to release a new version of "mingw-zlib" for cygwin(*) now >that zlib-1.2.1 has been released. But I can't... > >(*) this package is a msvcrt-linked version of zlib, used by cygwin >internal projects (like setup.exe a

Re: Problem with gcc -mno-cygwin?

2003-12-02 Thread Charles Wilson
Oh, one other thing -- here's the list of relevant (cygwin) packages I have installed: binutils20030901-1 gcc 3.3.1-3 gcc-g++ 3.3.1-3 gcc-g77 3.3.1-3 gcc-mingw 20030911-4 gcc-mingw-core 20031020-1 gcc-mingw

Problem with gcc -mno-cygwin?

2003-12-02 Thread Charles Wilson
So I'm trying to release a new version of "mingw-zlib" for cygwin(*) now that zlib-1.2.1 has been released. But I can't... (*) this package is a msvcrt-linked version of zlib, used by cygwin internal projects (like setup.exe and others) which are not allowed, for whatever reason, to link again

MySQL server running on Cygwin

2003-12-02 Thread Max Bowsher
A mysqld is running on my cygwin system as I type this. Steps: 1. Get mysql 4.0.16 source. 2. Remove all "#pragma interface" lines from the source. In the source directory: $ perl -i.rpi -pe 's/^#pragma interface.*$//;' \ `fgrep -rl '#pragma interface' .` 3. Configure, make, make instal

Problems with trivial makefile

2003-12-02 Thread Guillaume du Pontavice
hello, i am in trouble with a trivial makefile, using cygwin 1.5.5-1 and make 3.80-1 on Windows 2000 SP3 here it is : i have just created 5 folders (fold1 fold2 ... fold5) , each one contains one file ( respectively foo1.c foo2.c ... foo5.c) you can recreate this tree using this : mkdir fold1

annoying dos windows when running some exe's under xemacs compiled for cygwin

2003-12-02 Thread Robert Harper
I am using the cygwin version of xemacs version 21.4.11 under Windows XP. My cygcheck output is attached. The problem is that under certain circumstances (to be described shortly) invoking an .exe file causes a DOS window to pop up while the program runs. In some cases the input/output is direct

RE: Cygwin from read-only drive

2003-12-02 Thread John Morrison
Ivanov Pavel wrote > > Hello, > I am trying to start the cygwin from network read-only shared > drive. I can not edit any files in the drive and I can not add > the login name and password in cygwin configuration files. Could you get your network admin to add them once for all users and just upd

Re: how do I convince MySQL AB to get MySQL to build out of the box on Cygwin?

2003-12-02 Thread Shankar Unni
Terrence Brannon wrote: > > Windows is natively supported platform. Why do you need to run MySQL > under Cygwin? > I can sort of understand their reluctance in this regard. If *you*, as a volunteer, were to do the port, and contribute the patches back to them, I'm sure Monty or one of the seni

Cygwin from read-only drive

2003-12-02 Thread Ivanov Pavel
Hello, I am trying to start the cygwin from network read-only shared drive. I can not edit any files in the drive and I can not add the login name and password in cygwin configuration files. Can I start the cygwin properly in such case? May be I can submit configuration files? Thank You, Ivanov P.

Re: ssh hangs

2003-12-02 Thread Christopher Faylor
On Tue, Dec 02, 2003 at 06:16:10PM +, Ben Anderson wrote: >what's easy way to find version of cygwin? I recently updated, but I can't >find the number. From your cygcheck output: > 949k 2003/09/20 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=

RE: ssh hangs

2003-12-02 Thread Ben Anderson
Igor, thank you very much for your reply. I dispersed more coments below > >1. Consider deleting your ~/.ssh directory on your ssh client > >computer and running the 'ssh-user-config' script that > >is provided with OpenSSH (in /usr/bin). This should > >allow you to do the minimal amo

Re: Bash wait indefinitely

2003-12-02 Thread Christopher Faylor
On Tue, Dec 02, 2003 at 10:42:38AM -0600, Brian Ford wrote: >On Tue, 2 Dec 2003, Ronald Landheer-Cieslak wrote: >> On Mon, Dec 01, 2003 at 12:24:47PM -0800, Antoine Labour wrote: >> > Ronald Landheer-Cieslak wrote: >> > >Unfortunately, I don't have any system with more than one CPU, so there's >> >

RE: ssh hangs

2003-12-02 Thread Igor Pechtchanski
Ben, Some comments inline below. On Tue, 2 Dec 2003, Ben Anderson wrote: > >1. Consider deleting your ~/.ssh directory on your ssh client > >computer and running the 'ssh-user-config' script that > >is provided with OpenSSH (in /usr/bin). This should > >allow you to do the minimal a

Re: ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap

2003-12-02 Thread Kurt Roeckx
On Tue, Dec 02, 2003 at 07:17:34AM -0500, Jason Tishler wrote: > Kurt, > > On Mon, Dec 01, 2003 at 09:05:55PM +0100, Kurt Roeckx wrote: > > 12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't > > reserve space for cygwin's heap (0x6160 <0x47>) in child, > > Win32 error 487 > >

Re: Problem reading from COM1

2003-12-02 Thread Brian Ford
On Tue, 2 Dec 2003, c|>>><<<|3NuL|_ wrote: > hi.. > > i found your email at cywin mailing list. > Please do not email me directly. I do read the list. And, there is a wealth of knowledge the list can provide that a single person can not. > have you discovered why there is problem with serial >

Re: Bash wait indefinitely

2003-12-02 Thread Brian Ford
On Tue, 2 Dec 2003, Ronald Landheer-Cieslak wrote: > On Mon, Dec 01, 2003 at 12:24:47PM -0800, Antoine Labour wrote: > > Ronald Landheer-Cieslak wrote: > > >Unfortunately, I don't have any system with more than one CPU, so there's > > >no way I can test it on a system like that and I have not run i

Re: Setup.bz2 currently broken

2003-12-02 Thread Larry Hall
At 07:50 AM 12/2/2003, Jörg Schaible you wrote: >Hi gang, > >Setup (2.416 started directly from the web) seems currently broken (or at least the >contents of setup.bz2). I tried 4 different mirrors and after downloading setup.bz2 I >get always a Dialogbox with "Parse Error" and the message "(null

Setup.bz2 currently broken

2003-12-02 Thread Jörg Schaible
Hi gang, Setup (2.416 started directly from the web) seems currently broken (or at least the contents of setup.bz2). I tried 4 different mirrors and after downloading setup.bz2 I get always a Dialogbox with "Parse Error" and the message "(null) line 783: parse error, unexpected COMMA, expecting

RE: BUG?: /usr/bin is accepted as /bin in PATH

2003-12-02 Thread Jörg Schaible
Hello Huu-Dung, no private mails, please keep the discussion on the list! Nguyen, Huu-Dung wrote on Tuesday, December 02, 2003 1:08 PM: > But after i have set > ... > PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH" > export PATH > ... > and see that my bash file in /usr/bin can NOT be ca

RE: ssh hangs

2003-12-02 Thread Ben Anderson
1. Consider deleting your ~/.ssh directory on your ssh client computer and running the 'ssh-user-config' script that is provided with OpenSSH (in /usr/bin). This should allow you to do the minimal amount of configuration. Then copy the public-key file that it creates in your ~/.ssh

Re: ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap

2003-12-02 Thread Jason Tishler
Kurt, On Mon, Dec 01, 2003 at 09:05:55PM +0100, Kurt Roeckx wrote: > I recently upgraded to postgresql 7.4-1. Now when I try to run my > program linked with ecpg.dll I get: > > 12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't > reserve space for cygwin's heap (0x6160 <0x47000

RE: BUG?: /usr/bin is accepted as /bin in PATH

2003-12-02 Thread Jörg Schaible
Nguyen, Huu-Dung wrote on Tuesday, December 02, 2003 12:27 PM: [snip] > #!/bin/sh > echo "Hello World" > > and move this bash file from every directory set for PATH in > /etc/profile and see that i can NOT call this bash file when > it is in /usr/bin. > > Any help is appreciated This is in Cygw

BUG?: /usr/bin is accepted as /bin in PATH

2003-12-02 Thread Nguyen, Huu-Dung
Hello I send again since no file is attached in my last mail I want to report you a bug observed by me I have just (on 27.11.2003) downloaded CygWin and installed it with all packages installed on a new laptop with Windows XP. The installation runs without error. I have then started Cygwin by t

BUG?: /usr/bin is accepted as /bin in PATH

2003-12-02 Thread Nguyen, Huu-Dung
Hello I want to report you a bug observed by me I have just (on 27.11.2003) downloaded CygWin and installed it with all packages installed on a new laptop with Windows XP. The installation runs without error. I have then started Cygwin by the link on the desktop of Windows XP i.e. the installed

Re: Bash wait indefinitely

2003-12-02 Thread Ronald Landheer-Cieslak
Please use cygwin at cygwin dot com for cygwin-related mail. I have set the reply-to header for your convenience. On Mon, Dec 01, 2003 at 12:24:47PM -0800, Antoine Labour wrote: > Ronald Landheer-Cieslak wrote: > >Unfortunately, I don't have any system with more than one CPU, so there's > >no way

Re: scripting sftp in a bash script

2003-12-02 Thread James Hu
On 2003-12-02, David Strozzi <[EMAIL PROTECTED]> wrote: > I'm trying to use sftp within a bash script on cygwin (version 1.5.5 on > winXP pro). Ideally I'd like to use a 'here document' rather than using > an external batchfile... > ... are there other ways to script/call sftp (or a _secure_ equi