Re: Linking to which mySQL library?

2004-06-18 Thread Reini Urban
Eddy Steevens schrieb: gcc -I/usr/local/include/mysql -L/usr/lib -L/usr/local/lib/mysql -lmysql myTest.c -o myTest.exe /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lmysql you need -lmysqlclient -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsu

Re: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Jani tiainen
Warren Young wrote: John Cooper wrote: The problem is that I often don't want to have to terminate the GUI app just to get my shell prompt back. Well now, that's an entirely different deal. Somehow, cmd.exe detects that a program is GUI-only, and it gives you your prompt back when the program ha

Re: Poor execution speeds using -mno-cygwin g77 option

2004-06-18 Thread Igor Pechtchanski
On Fri, 18 Jun 2004, Douglas A. Vechinski wrote: > Igor Pechtchanski wrote: > > >>Even though Case C, when the -mno-cygwin flag is not used, the > >>difference is still significant. compared to Case A. > > > >That's not surprising. Cygwin is a POSIX emulation environment *on top* > >of Windows --

Re: announce -> cygwin mailing list gateway broken

2004-06-18 Thread Igor Pechtchanski
On Fri, 18 Jun 2004, Christopher Faylor wrote: > On Fri, Jun 18, 2004 at 06:19:17PM -0500, Brian Ford wrote: > >On Fri, 18 Jun 2004, Brian Ford wrote: > >> On Fri, 18 Jun 2004, Christopher Faylor wrote: > >> > I've been changing my email system here and I've broken the announce -> > >> > cygwin ma

Re: announce -> cygwin mailing list gateway broken

2004-06-18 Thread Brian Ford
On Fri, 18 Jun 2004, Christopher Faylor wrote: > I should have posted this before. > > Here's my procmail rule, fwiw: > > * ^Sender: cygwin-announce-owner-HAT-cygwin.* > { > :0c > /var/spool/mail/cygwin-announce > > :0c > /home/cgf/mail/cygwin-announce > > S

Re: announce -> cygwin mailing list gateway broken

2004-06-18 Thread Christopher Faylor
On Fri, Jun 18, 2004 at 10:14:37PM -0400, Christopher Faylor wrote: >On Fri, Jun 18, 2004 at 06:19:17PM -0500, Brian Ford wrote: >>On Fri, 18 Jun 2004, Brian Ford wrote: >>> On Fri, 18 Jun 2004, Christopher Faylor wrote: >>> > I've been changing my email system here and I've broken the announce ->

Re: announce -> cygwin mailing list gateway broken

2004-06-18 Thread Christopher Faylor
On Fri, Jun 18, 2004 at 06:19:17PM -0500, Brian Ford wrote: >On Fri, 18 Jun 2004, Brian Ford wrote: >> On Fri, 18 Jun 2004, Christopher Faylor wrote: >> > I've been changing my email system here and I've broken the announce -> >> > cygwin mailing list gateway which used to run from my computer. So

Re: announce -> cygwin mailing list gateway broken

2004-06-18 Thread Brian Ford
On Fri, 18 Jun 2004, Brian Ford wrote: > On Fri, 18 Jun 2004, Christopher Faylor wrote: > > I've been changing my email system here and I've broken the announce -> > > cygwin mailing list gateway which used to run from my computer. So you > > won't be seeing announcements here for a while. > > > >

Re: Perl crash caused by "system 'net send...'"? - FIXED

2004-06-18 Thread Peter Aarestad
> Oh, that. You're in for some pain, friend. Oh dear. :( (Actually, the pain was minor...) > What's happening is > that Windows is trying to load two "executables" into the same > address space (I think).The short answer is to investigate the > program /usr/bin/rebaseall; simply running that pro

RE: Carriage Returns

2004-06-18 Thread Hannu E K Nevalainen
> From: Dave Korn > Sent: Friday, June 18, 2004 9:53 PM > > From: cygwin-owner On Behalf Of DePriest, Jason R. > > Sent: 18 June 2004 18:14 > > The best workaround would be to get an Amiga or Mac... they're the only > systems that use CR lineends! Hey-Hey-Hey! ;-) let's not throw thrash all over

Linking to which mySQL library?

2004-06-18 Thread Eddy Steevens
I'm trying to build a simple app under cygwin using the windows version of mySQL server. If I compile with "gcc -I/cygdrive/c/mysql/include -L/cygdrive/c/mysql/lib/opt -lmysql myTest.c -o myTest.exe" then my program compiles, links and even runs, but then core dumps. The result are very stran

Re: Carriage Returns

2004-06-18 Thread Yitzchak Scott-Thoennes
On Fri, Jun 18, 2004 at 01:17:07PM -0700, Chris Carlson wrote: > As defined in C, there is a concept of "end-of-line character." I was > under the impression that Perl understood this concept, too. It just so > happens that M$ doesn't have one end-of-line character, but a pair of > them. In some

Re: Poor execution speeds using -mno-cygwin g77 option

2004-06-18 Thread Douglas A. Vechinski
Igor Pechtchanski wrote: Even though Case C, when the -mno-cygwin flag is not used, the difference is still significant. compared to Case A. That's not surprising. Cygwin is a POSIX emulation environment *on top* of Windows -- naturally the performance of any Cygwin tool will be slower than t

Fw: Tweaking the hostname possible?

2004-06-18 Thread Erik Anderson
I don't think that this issue is a Cygwin/X issue, even though the symptoms involve the problem... I am currently on a WinXP machine named squire, which (using a DHCP server on a different machine), is fully DNS resolvable, as is its FQDN of squire.vpn I have setup an XDM server on another machin

RE: Carriage Returns

2004-06-18 Thread Chris Carlson
-Original Message- [snip] I just really, really, *really* don't think that _anything_ is going to work around the issue that if you strip all the newlines from a CRLF terminated file[+], what you end up with is something that won't be any good for either 'doze ~OR~ *nix! Apart from maybe

RE: Carriage Returns

2004-06-18 Thread Igor Pechtchanski
On Fri, 18 Jun 2004, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of DePriest, Jason R. > > Sent: 18 June 2004 18:14 > > > > Somebody seems a bit grumpy today. > > Umm well maybe I guess, but I hope you noticed I didn't swear, flame, > kook-call or otherwise exc

RE: Carriage Returns

2004-06-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of DePriest, Jason R. > Sent: 18 June 2004 18:14 > > Oops! You quoted the list address uncensored three times, > included a > >disallowed disclaimer, and didn't spot that no amount of cygcheck > output is > >going to give us any clue

Re: Poor execution speeds using -mno-cygwin g77 option

2004-06-18 Thread Igor Pechtchanski
On Fri, 18 Jun 2004, Douglas A. Vechinski wrote: > I am experiencing significantly longer exection speeds when compiling > with g77 under cygwin using the -mno-cygwin option. Even though you're invoking the Cygwin g77, by using -mno-cygwin you're essentially cross-compiling to the MinGW environme

Poor execution speeds using -mno-cygwin g77 option

2004-06-18 Thread Douglas A. Vechinski
I am experiencing significantly longer exection speeds when compiling with g77 under cygwin using the -mno-cygwin option. I primarily work and develop under Linux. However, I need to provide a user with an executable (of a Fortran program) that runs under windows. I initially performed some t

RE: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Peter A. Castro > Sent: 18 June 2004 19:38 > > >> [win32sdk] > > >>>ID: Q90493 > > > > > > I have a suspicion that this (and similar) code samples > should probably > > > not be posted to this list; can everyone please snip > thei

OT (WAY) RE: Carriage Returns

2004-06-18 Thread DePriest, Jason R.
Igor Pechtchanski wrote: > On Fri, 18 Jun 2004, DePriest, Jason R. wrote: > >>> -Original Message- >>> From: cygwin-owner at cygwin dot com [mailto: cygwin-owner at >>> cygwin dot com] On Behalf Of Dave Korn Sent: Friday, June 18, 2004 >>> 11:55 AM >>> To: cygwin at cygwin dot com >>> Sub

Re: Problem to install a crontab

2004-06-18 Thread Chris Taylor
On Fri, June 18, 2004 7:07 pm, some person said: > Hi Folks, > > > this is he first time I try to get a crontab running. I installed the cron > server as I found it in the archive with the following commands > > > >

Re: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Peter A. Castro
On Fri, 18 Jun 2004, Jani tiainen wrote: > Dave Korn wrote: > > >>-Original Message- > >>From: cygwin-owner On Behalf Of Peter A. Castro > >>Sent: 17 June 2004 21:13 > >>To: John Cooper > >>Cc: cygwin > >>Subject: RE: Ctrl-Z fails to suspend Windows programs > > > >>Anyway, can you point m

RE: Carriage Returns

2004-06-18 Thread Igor Pechtchanski
On Fri, 18 Jun 2004, DePriest, Jason R. wrote: > >-Original Message- > >From: cygwin-owner at cygwin dot com [mailto: cygwin-owner at cygwin dot com] On > >Behalf Of Dave Korn > >Sent: Friday, June 18, 2004 11:55 AM > >To: cygwin at cygwin dot com > >Subject: RE: Carriage Returns > > > >>

Perl crash caused by "system 'net send...'"?

2004-06-18 Thread Peter Aarestad
I'm running a script that does a screen scrape and tries to send out a "net send" to our team to let them know about a new ticket. When I run it with the 'system "net send machine msg"' commented out, it works fine. But when I uncomment it, I get the following: C:\cygwin\bin\perl.exe (2100): *** u

Problem to install a crontab

2004-06-18 Thread cygwin . 20 . job
Hi Folks, this is he first time I try to get a crontab running. I installed the cron server as I found it in the archive with the following commands net user cron_server /add /yes net localgroup cron_server /add

Re: gcj: error during genaration of object code (ld cannot find -liconv)

2004-06-18 Thread Gerrit P. Haase
Hello Alexey, > my question is: if I try to run `gcj' without `-C' option then I get the > error from ld: > $cat HelloWorldApp.java > /** > * The HelloWorldApp class implements an application that > * simply displays "Hello World!" to the standard output. > */ > class HelloWorldApp { > p

RE: Carriage Returns

2004-06-18 Thread DePriest, Jason R.
>-Original Message- >From: cygwin-owner at cygwin dot com [mailto: cygwin-owner at cygwin dot com] On Behalf Of Dave Korn >Sent: Friday, June 18, 2004 11:55 AM >To: cygwin at cygwin dot com >Subject: RE: Carriage Returns > > >> -Original Message- >> From: cygwin-owner On Behalf Of D

RE: Carriage Returns

2004-06-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of DePriest, Jason R. Oops! You quoted the list address uncensored three times, included a disallowed disclaimer, and didn't spot that no amount of cygcheck output is going to give us any clue why Mr. Kramer is complaining about the f

RE: Carriage Returns

2004-06-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of John Kramer > Sent: 18 June 2004 17:33 > To: cygwin > Subject: Carriage Returns > To whom it may concern: > > I have a real problem with the way that cygwin/cygwin's > version of perl > handles carriage returns (\r). No, you have

RE: Carriage Returns

2004-06-18 Thread DePriest, Jason R.
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kramer >Sent: Friday, June 18, 2004 11:33 AM >To: [EMAIL PROTECTED] >Subject: Carriage Returns > > >To whom it may concern: > >I have a real problem with the way that cygwin/cygwin's version of perl >h

Carriage Returns

2004-06-18 Thread John Kramer
To whom it may concern: I have a real problem with the way that cygwin/cygwin's version of perl handles carriage returns (\r). I was working on a program in perl on cygwin which takes input from files. I stripped newlines from the input, and then found that the strings that I stripped newline

Re: PLEASE HELP: TCSH does exit when sending SIGHUP

2004-06-18 Thread Corinna Vinschen
On Jun 18 09:58, [EMAIL PROTECTED] wrote: > The symptom is the following: > As soon as one tries to kill a TCSH process under Cygwin, this process keeps > alive without beeing able to enter any further commands. > The TCSH process turns into "I" stated waiting for input (see below). I found the pr

announce -> cygwin mailing list gateway broken

2004-06-18 Thread Christopher Faylor
I've been changing my email system here and I've broken the announce -> cygwin mailing list gateway which used to run from my computer. So you won't be seeing announcements here for a while. I'm looking to implement a more robust method for doing this that doesn't rely on my network connectivity

gcj: error during genaration of object code (ld cannot find -liconv)

2004-06-18 Thread Алексей Любимов
Hello, my question is: if I try to run `gcj' without `-C' option then I get the error from ld: $cat HelloWorldApp.java /** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(Stri

RE: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Buchbinder, Barry (NIH/NIAID)
Might it wok the way you want if you write aliases or functions that supply the & or launch with cygstart for the windows programs that you are likely to use. (Aliases would not work with programs to which you are supplying arguments if the alias includes &.) -Original Message- From: John

Re: Question about select function

2004-06-18 Thread Igor Pechtchanski
On Fri, 18 Jun 2004, Lev Pliner wrote: > Dear forum members! > > I'm writing a multithreaded rpc program. The following is a part of my > program that causes a error: > > fd_set readfds; > int size = getdtablesize ( ); > > while ( 1 ) > { > readfds = svc_fdset; Where is svc_fdset comi

Re: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Warren Young
John Cooper wrote: The problem is that I often don't want to have to terminate the GUI app just to get my shell prompt back. Well now, that's an entirely different deal. Somehow, cmd.exe detects that a program is GUI-only, and it gives you your prompt back when the program has launched. I suspect

Re: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Jani tiainen
Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Peter A. Castro Sent: 17 June 2004 21:13 To: John Cooper Cc: cygwin Subject: RE: Ctrl-Z fails to suspend Windows programs Anyway, can you point me to where you got this code example? [win32sdk] ID: Q90493 I hav

Re: fetchmail

2004-06-18 Thread Jason Tishler
On Thu, Jun 17, 2004 at 01:38:58PM -0400, Harpreet Singh wrote: > i get the following error message when using fetchmail. I do have > procmail installed on my machine as well. > > [snip] Does the following .fetchmailrc sample from the README work any better? To install fetchmail for a single

RE: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Peter A. Castro > Sent: 17 June 2004 21:13 > To: John Cooper > Cc: cygwin > Subject: RE: Ctrl-Z fails to suspend Windows programs > Anyway, can you point me to where you got this code example? > [win32sdk] > > ID: Q90493

Question about select function

2004-06-18 Thread Lev Pliner
Dear forum members! I'm writing a multithreaded rpc program. The following is a part of my program that causes a error: fd_set readfds; int size = getdtablesize ( ); while ( 1 ) { readfds = svc_fdset; switch ( select ( size, &readfds, NULL, NULL, NULL ) ) { case -1:

Re: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread John Cooper
Thorsten Kampe <[EMAIL PROTECTED]> writes: > Why should Cygwin zsh have such a feature and make a difference > between a GUI and a non GUI application? Two reasons: 1) Most native Windows apps don't read from or write to the invoking shell window - it doesn't add much value to run them in th

Re: Ctrl-Z fails to suspend Windows programs

2004-06-18 Thread John Cooper
"Peter A. Castro" <[EMAIL PROTECTED]> writes: > On Tue, 15 Jun 2004, John Cooper wrote: > > > > The point is that it's not about cygwin-vs-windoze apps. It's about > > > apps-that-use-console-stdin-and-stdout vs. apps-that-display-a-gui; those > > > that show a gui could usefully be deta

Re: Delete key... was home directory.

2004-06-18 Thread Thorsten Kampe
* GARY VANSICKLE (2004-06-18 07:23 +0100) >>> Am I the only one that thinks reading a 12 page document, and possibly >>> editing 5 different config files is a hell of a lot of work just to get >>> the delete key to work?!?!?! >> >> You want to make the "delete key" delete in bash? > > No, he just

Re: cygwin autoconf question

2004-06-18 Thread Gerrit P. Haase
Chris wrote: > I am trying to build a GTK app in windows, I think this is the last > error I need to track down. When I run autogen.sh that is created by > glade for windows I get this error. > Please add the files > codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 > prog

Re: Problem creating files on network drives with cygwin 1.5.10-3 and tar

2004-06-18 Thread Corinna Vinschen
On Jun 17 11:54, Rick Rankin wrote: > Corinna, > > Thanks for making the change so quickly! The 0617 snapshot definitely fixed the > tar problem. I don't know if it makes a difference for the internal change you > make, but I am able to delete files on that share, both with Cygwin and native > Win

PLEASE HELP: TCSH does exit when sending SIGHUP

2004-06-18 Thread bse2000
Hi Cygwin gurus, I opened a threat in cygwin-xfree http://cygwin.com/ml/cygwin-xfree/2004-06/msg00136.html because I thought it is an X problem. However, Igor and me found out that it seems to be a general TCSH issue related to my latest Cygwin update. We isolated the problem to TCSH because