Re: xfs under Win2k

2002-03-11 Thread Sergei Lodyagin
I have no problems with starting up xfs and my /etc/X11/fs/config is OK. I have problems with accessing this server from the X server. It seams like it has predefined font path and I don't known how to change it. In Linux I can write the line in my /etc/X11/XF86Config: unix/:7100 to use the

Re: xfs under Win2k

2002-03-11 Thread Staf Verhaegen
Alexander Gottwald wrote: On Mon, 11 Mar 2002, Sergei Lodyagin wrote: In Linux I can write the line in my /etc/X11/XF86Config: unix/:7100 to use the xfs. My question is: how I can do it under Win2k? Haven't I answered such a question last week? Anyway: The cygwin/xfree Xserver

Re: dumper.exe help/version patch

2002-03-11 Thread egor duda
Hi! Saturday, 09 March, 2002 Christopher Faylor [EMAIL PROTECTED] wrote: CF On Fri, Mar 08, 2002 at 10:53:28PM -0800, Joshua Daniel Franklin wrote: Here is the next in the series of patches to standardize the help and version options in the utils. This also adds GNUish options to dumper. I left

[Fwd: src/winsup/w32api ChangeLog include/accctrl.h ...]

2002-03-11 Thread Earnie Boyd
Danny, This isn't a proper ChangeLog. You need to list each file on a separate line. If the change to the file is the same as the previously listed file then use `Ditto.' or `Likewise.' Please correct the ChangeLog. Thanks, Earnie. ---BeginMessage--- CVSROOT:/cvs/src Module name:

Re: big kill patch (adds list/help/version)

2002-03-11 Thread Joshua Daniel Franklin
--- Christopher Faylor [EMAIL PROTECTED] wrote: No lectures, please. If you want to get rid of a goto, fine. 'twas a joke. Sorry. I'm sorry but 'kill -l' has an established way of working. How does the linux kill program handle this? RedHat's prints a list like 1) SIGHUP 2) SIGINT

Re: big kill patch (adds list/help/version)

2002-03-11 Thread Christopher Faylor
On Mon, Mar 11, 2002 at 07:01:58AM -0800, Joshua Daniel Franklin wrote: --- Christopher Faylor [EMAIL PROTECTED] wrote: No lectures, please. If you want to get rid of a goto, fine. 'twas a joke. Sorry. I'm sorry but 'kill -l' has an established way of working. How does the linux kill

Re: big kill patch (adds list/help/version)

2002-03-11 Thread Joshua Daniel Franklin
--- Christopher Faylor [EMAIL PROTECTED] wrote: How does the linux kill program handle this? RedHat's prints a list like 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE ... Looks hard-coded to me, but I didn't look at

Re: big kill patch (adds list/help/version)

2002-03-11 Thread Christopher Faylor
On Mon, Mar 11, 2002 at 07:48:07AM -0800, Joshua Daniel Franklin wrote: --- Christopher Faylor [EMAIL PROTECTED] wrote: How does the linux kill program handle this? RedHat's prints a list like 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7)

msync patch

2002-03-11 Thread Chris January
This patch modifies msync in mmap.cc so that you can call msync with an address which occurs in the middle of an mmap'ed region. It also fixes the bug where the address in the relevant mmap_record would not match the one passed to msync if the offset of the mmap'ed region within the file was not

(small) kill.cc patch

2002-03-11 Thread Joshua Daniel Franklin
Here is a patch that moves the functions in kill.cc to the top. That's all it does. This is for consistency with the other utils. 2001-03-11 Joshua Daniel Franklin [EMAIL PROTECTED] * kill.cc (usage) move to top of file (getsig) ditto (forcekill) ditto

Re: (small) kill.cc patch

2002-03-11 Thread Earnie Boyd
Your ChangeLog entry is improper format. Try again. Earnie. Joshua Daniel Franklin wrote: Here is a patch that moves the functions in kill.cc to the top. That's all it does. This is for consistency with the other utils. 2001-03-11 Joshua Daniel Franklin [EMAIL PROTECTED] * kill.cc

Re: (small) kill.cc patch

2002-03-11 Thread Christopher Faylor
On Mon, Mar 11, 2002 at 10:16:27AM -0800, Joshua Daniel Franklin wrote: Here is a patch that moves the functions in kill.cc to the top. That's all it does. This is for consistency with the other utils. 2001-03-11 Joshua Daniel Franklin [EMAIL PROTECTED] * kill.cc (usage) move to top of file

Re: Security patches

2002-03-11 Thread Christopher Faylor
On Mon, Mar 11, 2002 at 09:38:05PM +0100, Corinna Vinschen wrote: On Sat, Mar 09, 2002 at 07:28:13PM -0500, Pierre A. Humblet wrote: Does RedHat have my copyright assignment after all? We're checking. I come back to you. I'm not clear here. I just checked my records and I've never been

long-option patch for kill.cc

2002-03-11 Thread Joshua Daniel Franklin
I apologize for my hasty Changelog. I was suprised to find in the util-linux sources included with RH7.2 that kill.c is actually BSD-licenced. So any fears were unfounded. However, the signals (for -l, --list) are indeed hard-coded, and options are handled in the same basic way as this patch

long-option patch for kill.cc

2002-03-11 Thread Joshua Daniel Franklin
Um. And here's the patch. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ --- kill.cc-origMon Mar 11 19:48:34 2002 +++ kill.cc Mon Mar 11 19:55:19 2002 -1,6 +1,6 /* kill.cc -

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

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 The

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 to change

Basename and dirname

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

Missing lib

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

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 there or is

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 name

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 cygcheck

Re: [PATCH] cygrunsrv --query service

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

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: snip Install sh-utils. Forgive me - ignore this. I misread this and thought you were

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

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 cygwin on NT4 setup

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 from

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

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

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

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 is not

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

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 have an

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 the

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

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 following

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

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 unset

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

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

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.

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.

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

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 =

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 #

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

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 on your

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 help appreciated,

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

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] __

statfs() and file system types

2002-03-11 Thread Ross Smith
How do I interpret the statfs.f_type field? The sys/vfs.h 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:

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 [EMAIL

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

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

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

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

[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 --

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

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

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

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

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

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