Re: GCC-3.1/Cygwin

2002-03-11 Thread Dylan Cuthbert
I'm just going through it now as it happens, here's a blow by blow set of instructions: 1> cd /usr/src# make the directory if it doesn't exist 2> cvs -z 9 -d :pserver:[EMAIL PROTECTED]:/cvsroot/gcc login 3> press the return key for the password 4> cvs -z 9 -d :pserver:[EMAIL PROTECTED]:/c

reboot problem

2002-03-11 Thread iman lee
(sorry for my poor english level) and also sorry if this question is too simple. I use "reboot -r now" command to reboot my win2k machine, it's ok. but this is when I login through console. when I use ssh to logon and no console user, the same command give a reboot warning but do nothing. if som

Re: ssmtp: No recipients supplied

2002-03-11 Thread dale henderson
My mistake. It did work. My second problem with apache was causing the cgi script to not work properly. thanks Gerrit for the correction. Note: forwarded message attached. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email

Re: ssmtp: No recipients supplied

2002-03-11 Thread dale henderson
Gerrit, I made the one line change to the Open statement, but did not receive any email - open (MAIL, "|$mailprog -f gp\@familiehaase.de dalehend\@yahoo.com") || die "Can't open $mailprog!\n"; Below is my system environment - Cygwin Package Information Package Version

Cygwin and networking issues (Win2k)

2002-03-11 Thread Tom Limoncelli
I'm having a really odd problem. I use Cygwin all over the place just fine. However, I have a Win2000 PC at home on a cable modem that loses network connections (SecureCRT and others) left and right when Cygwin is in use. All my debugging techniques (process of elimination, etc) all point to

Re: Newbie Questions about Device Drivers

2002-03-11 Thread Peter Eccles
Hi Miles, Not so long ago, I used Cygwin to do some parallel port bit-bashing using cygwin for a major project in my Computer Systems Engineering degree. It involved direct hardware port IO and sounds similar to what you want to do. The idea was to generate a parallel port abstraction layer for

[ANNOUNCEMENT] Updated: zlib-1.1.4-1

2002-03-11 Thread Charles Wilson
The zlib package has been updated to version 1.1.4-1. zlib is a standard lossless compression library. The 1.1.4 version of zlib fixes a 'double free' bug that could lead to heap corruption when untrusted, compressed data is fed to zlib. CHANGES: - update to official 1.1.4 release -- Charl

mmap of large amount returns invalid pointer

2002-03-11 Thread Stephen Weeks
I am experience a problem where mmap does not return -1, but the pointer returned is not to a valid chunk of memory. I have included a sample program, the output that I see, and the output of cygcheck below. I have tried this program both with and withouth the registry setting HKEY_CURR

Re: Is wchar_t support possible with Cygwin/GCC?

2002-03-11 Thread Kohn Emil Dan
Hi Bruce, I just saw your message on the cygwin mailing list, and I think that this post might interest you. I also tried to build xerces-c on cygwin. I also stumbled against the wctype.h problem. I found a (very ugly) workaround for it, so I will show it to you if you are interested. The wctyp

Re: how to find the amount of RAM

2002-03-11 Thread Stephen Weeks
Corinna Vinschen wrote: > On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote: > > > > Is there a way to find the amount of RAM from within Cygwin? I > > tried sysconf(_SC_PHYS_PAGES) but that returns -1. The only other > > thing that I saw was a post on this list > >

Newbie Questions about Device Drivers

2002-03-11 Thread Miles Cederman-Haysom
Okay, I'm a 4th year Electrical Engineering student, and I'm currently doing a project using Cygwin - and I've got a bunch of questions about it. I apologise if any questions here have been answered elsewhere, seem daft, or whatever. I have read the Cygwin FAQ, and numerous amounts of documentat

Re: grep -r on win98

2002-03-11 Thread Bobby McNulty
Windows 98 bug. Subrata Datta wrote: > sorry if this was discussed before. I could not find any hint on faq > and on the archive. > > " grep -r xyz *" cannot recurse directories on win89. > what could be wrong.. > > thanks > sd > > = > Subrata Datta > > [E

statfs() and file system types

2002-03-11 Thread Ross Smith
How do I interpret the statfs.f_type field? The header says "see below" but there's nothing below. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http:

grep -r on win98

2002-03-11 Thread Subrata Datta
sorry if this was discussed before. I could not find any hint on faq and on the archive. " grep -r xyz *" cannot recurse directories on win89. what could be wrong.. thanks sd = Subrata Datta [EMAIL PROTECTED] _

Is wchar_t support possible with Cygwin/GCC?

2002-03-11 Thread Bruce Reid
My reliance on GCC/Cygwin includes the following: 1) App must be able to be built/run on: Linux, Solaris, and Cygwin 2) App needs Xerces-C XML parser, which includes unicode support, and I must be able to build/link the library on all three platforms. I did initial development on Solaris, then l

Re: ssmtp: No recipients supplied

2002-03-11 Thread dale henderson
Thanks, the test email was received. --- "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: > Hallo dale, > > Am 2002-03-11 um 23:27 schriebst du: > > > I have installed the latest ssmtp from > contrib/ssmtp > > and the error above from the following test script > at > > a shell prompt. > > > Any h

Re: ssmtp: No recipients supplied

2002-03-11 Thread Gerrit P. Haase
Hallo dale, Am 2002-03-11 um 23:27 schriebst du: > I have installed the latest ssmtp from contrib/ssmtp > and the error above from the following test script at > a shell prompt. > Any help appreciated, > [EMAIL PROTECTED] > #!/usr/bin/perl > #Make sure the above line is the path > #to perl o

RE: Missing lib

2002-03-11 Thread Oddvar . Myrnes
Hello People Yes, you are right. The reason for the problem was that the system admin just copyd the linux make files, and modified the compile flags. He forgot thei macro: LINK = gcc -ldl Removing the -ldl from the LINK macro fixed the problem. My sinsere apolegies for not investing the prob

ssmtp: no recipients supplied

2002-03-11 Thread dale henderson
# /etc/ssmtp.conf -- a config file for sSMTP sendmail. # # The person who gets all mail for userids < 10 # root=postmaster projectobjects=postmaster # The place where the mail goes. The actual machine name is required # no MX records are consulted. Commonly mailhosts are named mail.domain.com #

ssmtp: No recipients supplied

2002-03-11 Thread dale henderson
I have installed the latest ssmtp from contrib/ssmtp and the error above from the following test script at a shell prompt. Any help appreciated, [EMAIL PROTECTED] #!/usr/bin/perl #Make sure the above line is the path #to perl on your server. $mailprog = "/usr/sbin/ssmtp"; $now_string = localt

g++/static members/DLL problem

2002-03-11 Thread Kohn Emil Dan
Hello everyone, I would like to report a problem with g++ static member initialization on cygwin. I have a class in which I have a static data member. The definition of that class resides in a DLL. That static member is initialized in the corresponding .cpp file. However when I access it from an

resize?

2002-03-11 Thread Andrew DeFaria
There doesn't appear to be an equivalent to resize(1). Now normally programs like rxvt catch sigwinch and set LINES and COLUMNS accordingly but there are a few places where this breaks down. Open an rxvt terminal at 25x80. echo $LINES. It dutifully reports 25. Now resize the window to ~30x80.

Bug Report: rsync core dumps

2002-03-11 Thread Patrik Schilt
Hi, I'm using cygwin and it's absolutly cool, thanks to everybody. I encountered a problem with rsync, when syncing a normal pdf file. $ uname -a CYGWIN_NT-5.0 HOMER 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown $ rsync --version rsync version 2.5.2 protocol version 26 Copyright (C) 1996-20

resize?

2002-03-11 Thread Andrew DeFaria
There doesn't appear to be an equivalent to resize(1). Now normally programs like rxvt catch sigwinch and set LINES and COLUMNS accordingly but there are a few places where this breaks down. Open an rxvt terminal at 25x80. echo $LINES. It dutifully reports 25. Now resize the window to ~30x80.

Working Mail

2002-03-11 Thread stuart
I'll make you a promise. READ THIS E-MAIL TO THE END! - follow what it says to the letter - and you will not worry whether a RECESSION is coming or not, who is President, or whether you keep your current job or not. Yes, I know what you are thinking. I never responded to one of these before eithe

Re: 1.3.9 bug in mmap MAP_PRIVATE followed by fork

2002-03-11 Thread Corinna Vinschen
On Fri, Mar 08, 2002 at 02:18:35PM -0800, Stephen Weeks wrote: > > I am having a problem using mmap (... MAP_PRIVATE ...) followed by > fork () in Cygwin DLL version 1.3.9. The memory allocated by mmap > does not appear to be available in the child. A small C program that > shows the problem is

Re: bash expansion question

2002-03-11 Thread Randall R Schulz
Lynn, [ This is almost entirely a non-Cygwin issue. ] You have the option of telling BASH to treat a glob pattern such as *.pl that matches no files to yield an empty string ("shopt -s nullglob") or the pattern itself ("shopt -u nullglob"). The default, as you now know, is to have "nullglob"

RE: Missing lib

2002-03-11 Thread Robert Collins
> -Original Message- > From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]] > Perhaps if I (and the list) had a better idea of the > functionality for which > you are looking, I might be able to tell you where you will > find it (assuming that it's in some other library i

Re: bash expansion question

2002-03-11 Thread Larry Hall (RFK Partners, Inc)
At 12:16 PM 3/11/2002, Lynn Wilson wrote: >The man page for bash says: >Enclosing characters in single quotes preserves the lit- >eral value of each character within the quotes. A single >quote may not occur between single quotes, even when pre- >ceded by a backslash. > >If I write the follow

bash expansion question

2002-03-11 Thread Lynn Wilson
The man page for bash says: Enclosing characters in single quotes preserves the lit- eral value of each character within the quotes. A single quote may not occur between single quotes, even when pre- ceded by a backslash. If I write the following bash script( test.bash ): #!/usr/bin/bash ech

Re: Setting and using a password in W98

2002-03-11 Thread Christopher Faylor
On Mon, Mar 11, 2002 at 02:57:02PM -, fergus at bonhard dot uklinux dot net wrote: >Q3. Could the contents of c:\Cygwin\cygwin.bat be "officially" tweaked >to c:\Cygwin\bin\login in order to gain the password-protection that is >not conferred by the current contents of c:\Cygwin\cygwin.bat, o

Re: Setting and using a password in W98

2002-03-11 Thread Max Bowsher
> Q3. Could the contents of c:\Cygwin\cygwin.bat be "officially" tweaked to > c:\Cygwin\bin\login in order to gain the password-protection that is not > conferred by the current contents of c:\Cygwin\cygwin.bat, or would this > change simply induce other, different, equally bad consequences?! > Fe

make core dumping

2002-03-11 Thread Michael Teske
Hi! Maybe this is interesting for some of you: I did some research for the "make somtimes core-dumping problem", which still seems to be open from what I read in the release notes. With the help of the generated stack traces I saw that it happens in the function exec_command () in job.c. Then I

Re: Setting and using a password in W98

2002-03-11 Thread Michael A Chase
- Original Message - From: "fergus at bonhard dot uklinux dot net" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 06:57 Subject: Setting and using a password in W98 > All this is in W98: > > I pasted the output from crypt {mypassword}into

Re: Q: How CDROM programming (PLAY, PAUSE, ...)?

2002-03-11 Thread Larry Hall (RFK Partners, Inc)
At 10:37 AM 3/11/2002, Markus Pizka wrote: >Hi, > >I am using cygwin 1.3.9 on W2K. > >I urgently need to port a Linux application that uses linux/cdrom.h >to control the operation of a audio CDROM (just play, pause and stop). > >cdrom.h does not seem to be available under Cygwin, yet? >Does anyone

Re: Missing lib

2002-03-11 Thread Larry Hall (RFK Partners, Inc)
Please keep replies on the list. The results may be of interest to others and, more importantly, there is certainly more information in the minds of many than in the mind of one (mine). Forgive me but I have no idea what libdl.a is, regardless of whether it's in Linux or not. It is a fact that

Q: How CDROM programming (PLAY, PAUSE, ...)?

2002-03-11 Thread Markus Pizka
Hi, I am using cygwin 1.3.9 on W2K. I urgently need to port a Linux application that uses linux/cdrom.h to control the operation of a audio CDROM (just play, pause and stop). cdrom.h does not seem to be available under Cygwin, yet? Does anyone have an idea on how I can get this program working

Re: Missing lib

2002-03-11 Thread Larry Hall (RFK Partners, Inc)
At 06:14 AM 3/11/2002, [EMAIL PROTECTED] wrote: >I am trying to link a small test application and I get an error: > >make: Making executable testApp ... >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: >cannot find -ldl >collect2: ld returned 1 exit status > >The libdl

Setting and using a password in W98

2002-03-11 Thread fergus at bonhard dot uklinux dot net
All this is in W98: I pasted the output from crypt {mypassword}into the appropriate place in /etc/passwd as shown {myusername}:{output}:500:544::/home/{myusername}:/bin/bash and now I get prompted for a password when starting Cygwin. Nice. (This is when starting Cygwin with "c:\Cygwin\bin\

Re: Basename and dirname

2002-03-11 Thread Larry Hall (RFK Partners, Inc)
At 06:13 AM 3/11/2002, [EMAIL PROTECTED] wrote: >- Forwarded by Oddvard Myrnes/SVG/SCS on 11.03.2002 12:25 - >Hi > >The unix functions; 'basename' and 'dirname' defined in the header file >'libgen.h' is not found in cygwin. The libgen.h is not in the distribution. >The command: > >find /

Re: Problem with PATH env when starting sshd with cygrunsrv

2002-03-11 Thread Larry Hall (RFK Partners, Inc)
At 09:22 AM 3/11/2002, Ames Andreas (PN-SYS/A) wrote: >Hello, > >for the output of 'cygcheck -csv', see below. > >As you can see there is another, much older, cygwin1.dll in my path. > >If I use: > >'cygrunsrv --install sshd --path /usr/sbin/sshd --env >PATH="\"/bin:$PATH:/bin\"" --args -D' > >to

Problem with PATH env when starting sshd with cygrunsrv

2002-03-11 Thread Ames Andreas (PN-SYS/A)
Hello, for the output of 'cygcheck -csv', see below. As you can see there is another, much older, cygwin1.dll in my path. If I use: 'cygrunsrv --install sshd --path /usr/sbin/sshd --env PATH="\"/bin:$PATH:/bin\"" --args -D' to install the sshd service (or no path spec at all), starting sshd f

Re: Telneting/ftping to cygwin

2002-03-11 Thread David Starks-Browning
On Monday 11 Mar 02, Corinna Vinschen writes: > On Mon, Mar 11, 2002 at 10:18:47AM +, John Beranek wrote: > > Corinna Vinschen wrote: > > >On Fri, Mar 08, 2002 at 04:05:01PM +, Don Sharp wrote: > > > > > >>I can confirm that there is a problem. I telnetted from a linux box to > > >>my cygw

Re: how to find the amount of RAM

2002-03-11 Thread Chris January
Corinna Vinschen wrote: > On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote: >> >> Is there a way to find the amount of RAM from within Cygwin? I >> tried sysconf(_SC_PHYS_PAGES) but that returns -1. The only other >> thing that I saw was a post on this list >> >> http://sources.r

Re: Basename and dirname

2002-03-11 Thread Mark Himsley
On Mon, 11 Mar 2002 11:25:16 + I wrote: >>The unix functions; 'basename' and 'dirname' defined in the header file >>'libgen.h' is not found in cygwin. The libgen.h is not in the distribution. >>The command: >Install sh-utils. Forgive me - ignore this. I misread this and thought you were loo

Re: how to find the amount of RAM

2002-03-11 Thread Corinna Vinschen
On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote: > > Is there a way to find the amount of RAM from within Cygwin? I > tried sysconf(_SC_PHYS_PAGES) but that returns -1. The only other > thing that I saw was a post on this list > > http://sources.redhat.com/ml/cygwin/2001-11

Re: [PATCH] cygrunsrv --query

2002-03-11 Thread Corinna Vinschen
On Fri, Mar 08, 2002 at 03:04:38PM -0500, Mike Gerdts wrote: > The following patch implements the options -Q and --query to determine > if a service is installed and if so whether it is up and what controls > it will accept. Cool patch! Thanks, I've applied it to the CVS repository and I'm going

Re: Telneting/ftping to cygwin

2002-03-11 Thread Corinna Vinschen
On Mon, Mar 11, 2002 at 10:18:47AM +, John Beranek wrote: > Corinna Vinschen wrote: > >On Fri, Mar 08, 2002 at 04:05:01PM +, Don Sharp wrote: > > > >>I can confirm that there is a problem. I telnetted from a linux box to > >>my cygwin on NT4 setup which has an up to date cygwin1.dll (see c

Re: info please

2002-03-11 Thread Gabriel Antonio Arcos Acosta
I think you can check the kernel to-do list, and consult the developer area of the cygwin project web page: http://www.cygwin.com - Original Message - From: "alex bohemia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 5:38 AM Subject: info please > hello my

Re: Basename and dirname

2002-03-11 Thread Mark Himsley
On Mon, 11 Mar 2002 12:13:50 +0100 you wrote: >Hi > >The unix functions; 'basename' and 'dirname' defined in the header file >'libgen.h' is not found in cygwin. The libgen.h is not in the distribution. >The command: > >find / -name "*.h" | xargs grep basename > >gives me nothing. Should they be t

Missing lib

2002-03-11 Thread Oddvar . Myrnes
- Forwarded by Oddvard Myrnes/SVG/SCS on 11.03.2002 12:26 - Oddvard

Basename and dirname

2002-03-11 Thread Oddvar . Myrnes
- Forwarded by Oddvard Myrnes/SVG/SCS on 11.03.2002 12:25 - Oddvard

Re: Failed: Installing Postgresql under Cygwin on win98se

2002-03-11 Thread S . L .
[...] > $ ls -l /bin/postgres > > gives me this: > > ?rw-r--r--0 0unknown 2706432 Jan 1 1970 /bin/postgres > > where "unknown" is my win-username (ok might be confusing..) > 1970 looks funny, but this ?rw-r--r-- makes me nervous... > and chmod doesn´t work, so I have no idea how

Re: Telneting/ftping to cygwin

2002-03-11 Thread John Beranek
Corinna Vinschen wrote: > On Fri, Mar 08, 2002 at 04:05:01PM +, Don Sharp wrote: > >>I can confirm that there is a problem. I telnetted from a linux box to >>my cygwin on NT4 setup which has an up to date cygwin1.dll (see cygcheck >>output) >> >>On the cygwin side I get a pop-up >> >>bash.exe

info please

2002-03-11 Thread alex bohemia
hello my name is alex, i program in C/C++ and java .. i could say that im interested enough whith what i do :). i usually program under linux and solaries .. somtimes under windows using java. i dont like using win32 api nor mfc and i prefer the unix api that i have learned in the first place. i h