Re: Apache2 & cygwin

2004-07-08 Thread Gerrit P. Haase
Paul-Kenji schrieb: >> Paul-Kenji wrote: Paul-Kenji schrieb: > -L/usr/local/apache2/lib -L/usr/local/lib > /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/auto/DynaLoader/DynaLoader.a > -L/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE -lperl -lcrypt > -lgdbm_compat -lapr

RE: Running a shell Script Directly from windows

2004-07-08 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Brian Dessent > Sent: 08 July 2004 03:32 > Create a shortcut that runs "sh.exe /path/to/script.sh". > If the script has > something other than /bin/sh in the shebang, then substitute > appropriately. Or couldn't you just let sh

Re: Bug in csh/tcsh 6.12 (and later): ignoring 'x' attribute on files in path

2004-07-08 Thread Corinna Vinschen
On Jul 7 01:20, Tim Hubberstey wrote: > It appears that csh/tcsh executes any file it finds that matches the > filename specified as a command, regardless of whether or not the 'x' > bit is set. I have run the following check on both 6.12 and the latest, > 6.13-2, on 3 different computers, with th

negative error status: gcc vs. cl

2004-07-08 Thread Daniel Lungu
Feel like bash tcsh on Cygwin mess up with negative exit status from a cl compiled .exe % uname -a CYGWIN_NT-5.0 pc 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin % echo $SHELL /bin/bash % cat nerr.c int main() { exit (-2); } % gcc -o nerr-gcc nerr.c % cl -o nerr-cl nerr.c M

Re: cron_diagnose.sh version 1.6

2004-07-08 Thread Reini Urban
Harig, Mark wrote: Please report the version number that this script reports so that improvements can be made to it. v1.6: permission fail for /etc/passwd: for fname in /etc/passwd /etc/group; do /usr/bin/ls -ld $fname | egrep -q '^-r..r..r.. '; if [ $? -ne 0 ]; then echo "The permissions o

Re: negative error status: gcc vs. cl

2004-07-08 Thread Corinna Vinschen
On Jul 8 11:49, Daniel Lungu wrote: > Feel like bash tcsh on Cygwin mess up with negative exit status from a cl > compiled .exe The answer is "don't do that". Use positive values in the range from 0 to 255. See http://www.opengroup.org/onlinepubs/009695399/functions/exit.html Corinna -- Cori

docbook-dsssl maintainer wanted

2004-07-08 Thread Gerrit P. Haase
Hello All, I want to contribute/maintain OpenSP/OpenJade packages. Since I'm new to docbook and no regular user, I'm looking for a docbook user with experience who is willing to maintain a docbook-dsssl package and evtually more SGML related packages if neccessary (e.g. ISO entity sets). Gerri

Re: negative error status: gcc vs. cl

2004-07-08 Thread Daniel Lungu
> Feel like bash tcsh on Cygwin mess up with negative exit status from a cl > compiled .exe :) The answer is "don't do that". Use positive values in the range from :) 0 to 255. See :) http://www.opengroup.org/onlinepubs/009695399/functions/exit.html I wouldn't do that. The problem is other did

RE: negative error status: gcc vs. cl

2004-07-08 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Corinna Vinschen > Sent: 08 July 2004 11:09 > On Jul 8 11:49, Daniel Lungu wrote: > > Feel like bash tcsh on Cygwin mess up with negative exit > status from a cl > > compiled .exe > > The answer is "don't do that". Use positive val

Re: What does clock() return?

2004-07-08 Thread Tim Prince
At 09:01 PM 7/7/2004, Alex Vinokur wrote: Here is an article http://groups.google.com/groups?selm=2l2ucgF7jv50U1%40uni-berlin.de from http://groups.google.com/groups?group=microsoft.public.vc.language "Victor Bazarov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is it a known is

Re: negative error status: gcc vs. cl

2004-07-08 Thread Corinna Vinschen
On Jul 8 14:00, Daniel Lungu wrote: > > Feel like bash tcsh on Cygwin mess up with negative exit status from a cl > > compiled .exe > > :) The answer is "don't do that". Use positive values in the range from > :) 0 to 255. See > :) http://www.opengroup.org/onlinepubs/009695399/functions/exit.ht

AW: Scrolling on console with keyboard?

2004-07-08 Thread cygwin . 20 . job
> Von: Igor Pechtchanski - [EMAIL PROTECTED] > Gesendet: Freitag, 2. Juli 2004 16:45 > > On Fri, 2 Jul 2004, cygwin.20.job wrote: > > > Hi Folks, > > > > Is there a way to scroll on the colsole with the keyboard > linke in an > > xterm? > > And what does this question have to do with Cygwin?

FAQ update suggestion for "I'm having basic problems with find. Why?"

2004-07-08 Thread William Blunn
I have been using *ixy-type systems on and off for what must now be 16 years, including using "find". I was using "find" today on an UDF/ISO format DVD-R, and was perplexed by it seemingly missing out large chunks of the hierarchy at random. It seems that "find" has an optimisation relating to

ls could not list all files

2004-07-08 Thread Vinay Kumar
Dear all, I am facing strange problem. I have a directory test1 in which there are number of files. I am running following command and see some problem here. $ ls test1/* | wc 27452745 32724 So total number of charcter if all filename is written on command line is 32724. Now I create

Re: ls could not list all files

2004-07-08 Thread Mike Eggleston
On Thu, 08 Jul 2004, Vinay Kumar wrote: > Dear all, > I am facing strange problem. I have a directory test1 in which there > are number of files. I am running following command and see some problem > here. > > $ ls test1/* | wc > 27452745 32724 > > So total number of charcter if all

Re: negative error status: gcc vs. cl

2004-07-08 Thread Igor Pechtchanski
On Thu, 8 Jul 2004, Corinna Vinschen wrote: > On Jul 8 11:49, Daniel Lungu wrote: > > Feel like bash tcsh on Cygwin mess up with negative exit status from a cl > > compiled .exe > > The answer is "don't do that". Use positive values in the range from > 0 to 255. See > http://www.opengroup.org/o

AW: [mailinglist] ls could not list all files

2004-07-08 Thread Uwe Schmitt
Hi, maybe there is a file like "-xxx" in the directory, which will be interpreted as an argument to ls. Try the following: for U in *; do echo $U; ls $U || break; done The loop should stop at the file making problems and above the error statement you should see the according filename. Greeting

Re: FAQ update suggestion for "I'm having basic problems with find. Why?"

2004-07-08 Thread Larry Hall
At 10:02 AM 7/8/2004, you wrote: >I have been using *ixy-type systems on and off for what must now be 16 years, >including using "find". > >I was using "find" today on an UDF/ISO format DVD-R, and was perplexed by it >seemingly missing out large chunks of the hierarchy at random. > >It seems that

Re: FAQ update suggestion for "I'm having basic problems with find. Why?"

2004-07-08 Thread Igor Pechtchanski
Bill, While you can do nothing about the legal disclaimer (except, maybe, precede it with sigdashes ["-- "] so that it gets automatically cut off on replies by smarter mailers), . Thanks. More below. On Thu, 8 Jul 2004, William Blunn wrote: > I have been us

Re: ls could not list all files

2004-07-08 Thread Larry Hall
At 04:50 PM 7/8/2004, you wrote: >Dear all, > I am facing strange problem. I have a directory test1 in which there >are number of files. I am running following command and see some problem >here. > >$ ls test1/* | wc > 27452745 32724 > >So total number of charcter if all filename is writt

Re: ls could not list all files

2004-07-08 Thread Igor Pechtchanski
On Thu, 8 Jul 2004, Vinay Kumar wrote: > Dear all, > I am facing strange problem. I have a directory test1 in which there > are number of files. I am running following command and see some problem > here. > > $ ls test1/* | wc > 27452745 32724 > > So total number of charcter if all fil

Re: Building DLL

2004-07-08 Thread Maarten Boekhold
Hi all, Gerrit P. Haase wrote: Maarten wrote: Now that GTK2 is in the package tree, I thought I'd give building XFCE a try. This package depends on 'Disk based hashes' (dbh), which needs to be built as a shared library. Dbh uses libtool in its build process. You don't need .def files on Cygwin. J

Re: negative error status: gcc vs. cl

2004-07-08 Thread Christopher Faylor
On Thu, Jul 08, 2004 at 10:25:09AM -0400, Igor Pechtchanski wrote: >On Thu, 8 Jul 2004, Corinna Vinschen wrote: > >> On Jul 8 11:49, Daniel Lungu wrote: >> > Feel like bash tcsh on Cygwin mess up with negative exit status from a cl >> > compiled .exe >> >> The answer is "don't do that". Use posit

Re: negative error status: gcc vs. cl

2004-07-08 Thread Igor Pechtchanski
On Thu, 8 Jul 2004, Christopher Faylor wrote: > On Thu, Jul 08, 2004 at 10:25:09AM -0400, Igor Pechtchanski wrote: > >On Thu, 8 Jul 2004, Corinna Vinschen wrote: > > > >> On Jul 8 11:49, Daniel Lungu wrote: > >> > Feel like bash tcsh on Cygwin mess up with negative exit status > >> > from a cl co

Re: Building DLL

2004-07-08 Thread Gerrit P. Haase
Maarten wrote: > Hi all, > Gerrit P. Haase wrote: >> Maarten wrote: >>>Now that GTK2 is in the package tree, I thought I'd give building XFCE a >>>try. This package depends on 'Disk based hashes' (dbh), which needs to >>>be built as a shared library. Dbh uses libtool in its build process. >> You

[ANNOUNCEMENT] Updated: libtool-devel-1.5.6-3

2004-07-08 Thread Charles Wilson
The libtool-devel package contains the 1.5.6 version of libtool, a cross-platform tool for building libraries (shared and otherwise). It enables relatively trouble-free builds of DLLs on cygwin and mingw. Changes from 1.5-3: o routine update to latest release version o Includes Gerrit's "expat

Re: Running a shell Script Directly from windows

2004-07-08 Thread Fred Kulack
I have had the best luck using the 'run' utility to avoid extra consoles and other 'shtuff' like that. Haven't seen any doc about it though so it may disappear. Dunno the details. For example, I create a shortcut for running X so that I don't get the extra console window where bash ran... That s

"cd" in bash script not being executed

2004-07-08 Thread Mikael Åsberg
Hello, I am using the latest Cygwin under Windows XP Professional. Lately, I've been playing around with the CVS version of emacs. I wrote a bash script that is supposed to check out the files and compile. However, it doesn't work, because the script fails to change directory. Here's the script: #!

Re: negative error status: gcc vs. cl

2004-07-08 Thread Daniel Lungu
:) "The value of status may be 0, EXIT_SUCCESS, EXIT_FAILURE, [CX] or any :) other value" :) but what you shouldn't do is expect the exit status in the shell to be :) anything other than the least-significant byte of the value you passed: :) "though only the least significant 8 bits (that is, sta

RE: Time out server mechanism in cygwin

2004-07-08 Thread Amit Grover
Hi, If I understood your suggestion correctly, this is what I think. I can use pthread but problem is following What if process A wants to create multiple timers, should I create multiple pthreads for each timer request. Probably not. What if there are say 20 processes in the system and all of th

RE: negative error status: gcc vs. cl

2004-07-08 Thread Dave \"I do not speak for AT&T!\" Korn
> -Original Message- > From: cygwin-owner On Behalf Of Daniel Lungu > Sent: 08 July 2004 18:14 > Indeed, but same arithmetic should apply when exit status > comes from a "cl > compiled .exe". It is not the case when compiling nerr.c with cl: > > -wrong-nil(!)-exit-status- > % ner

Re: "cd" in bash script not being executed

2004-07-08 Thread 3APA3A
Dear Mikael Åsberg, A most probable you have directory which is mounted, but no directory entry is created. Run `mount` and check if all directories used as mount points exist (in your case problem is probably with /cvsroot, create cvsroot directory in cygwin root). --Thursday, July 8, 200

[ANNOUNCEMENT] Updated: libiconv-1.9.2-1, libiconv2-1.9.2-1, libcharset1-1.9.2-1

2004-07-08 Thread Charles Wilson
The GNU libiconv package provides an iconv() implementation, for use on systems which don't have one, or whose implementation cannot convert from/to Unicode. These should be upgraded together with the gettext packages. libiconv-1.9.2-1 libiconv2-1.9.2-1 libcharset1-1.9.2-1 gettext-0.14.1-1 gette

RE: "cd" in bash script not being executed

2004-07-08 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Mikael Åsberg > Sent: 08 July 2004 17:54 > #!/bin/bash > export CVS_RSH="ssh" > cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/emacs co emacs > cd emacs/nt/ > configure.bat --with-msvc > mv ../lisp/url/vc-dav.el ../lisp/url/no.vc-dav.el.no

RE: "cd" in bash script not being executed

2004-07-08 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of 3APA3A > Sent: 08 July 2004 18:26 > MÅ> cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/emacs co emacs > points exist (in your case problem is probably with > /cvsroot, create cvsroot directory in cygwin root). N the cvsroot

RE: zeroyjj@126.com's Autoreply

2004-07-08 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of [EMAIL PROTECTED] http://cygwin.com/acronyms#PCYDBTNSOLWAOWQYREAIROAOAUYGLALOSATYATSCBUMBEOTYH C. > Sent: 08 July 2004 18:25 > To: dk > Subject: [EMAIL PROTECTED]'s Autoreply > > ÎÒÒÑÊÕµ½ÄúµÄÀ´ÐÅ£¬ÎÒ»áÔÚÒ»ÖÜÄÚ¾¡¿ì»Ø¸´µÄ¡£ Two in

Re: "cd" in bash script not being executed

2004-07-08 Thread Michael D. Crawford
> the script fails to change directory. Just to make sure, put the following on the line after #!/bin/bash set -x and then before and after the line with the cd command: pwd Are you sure it's not changing directory, or could something else be going wrong? Mike -- Michael D. Crawford GoingWare Inc.

Re: negative error status: gcc vs. cl

2004-07-08 Thread Christopher Faylor
On Thu, Jul 08, 2004 at 11:23:41AM -0400, Igor Pechtchanski wrote: >On Thu, 8 Jul 2004, Christopher Faylor wrote: > >> On Thu, Jul 08, 2004 at 10:25:09AM -0400, Igor Pechtchanski wrote: >> >On Thu, 8 Jul 2004, Corinna Vinschen wrote: >> > >> >> On Jul 8 11:49, Daniel Lungu wrote: >> >> > Feel like

error installing sshd on win2k3

2004-07-08 Thread Philip James
I am wondering if i can get some help. I am installing sshd on win2k3. this is the error i am getting. Please enter a password for new user 'sshd_server'. Please be sure that this password matches the password rules given on your system. Entering no password will exit the configuration. PASSW

Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Igor Pechtchanski
Bill, This seems like a reasonable discussion that can hopefully resolve this issue once and for all, and so, IMO, belongs on the list rather than in private e-mail. More below. On Thu, 8 Jul 2004, William Blunn wrote: > > While you can do nothing about the legal disclaimer (except, maybe, > >

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Eduardo Chappa
On Thu, 8 Jul 2004, Igor Pechtchanski wrote: :) > Any long lines coming into my mail reader are nicely wrapped :) > according to whatever window width I configure. :) :) They are in mine too. But look at the web archive of your message: :) . Igo

cron_diagnose.sh version 1.7

2004-07-08 Thread Harig, Mark
> v1.6: permission fail for /etc/passwd: > for fname in /etc/passwd /etc/group; do >/usr/bin/ls -ld $fname | egrep -q '^-r..r..r.. '; >if [ $? -ne 0 ]; then > echo "The permissions on the file $fname are not correct." > echo "Please run 'chmod +r $fname', and run this script again

Re: error installing sshd on win2k3

2004-07-08 Thread Larry Hall
At 02:45 PM 7/8/2004, you wrote: >I am wondering if i can get some help. I am installing sshd on win2k3. > >this is the error i am getting. > >Please enter a password for new user 'sshd_server'. Please be sure that >this password matches the password rules given on your system. >Entering no pass

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Igor Pechtchanski
On Thu, 8 Jul 2004, Eduardo Chappa wrote: > On Thu, 8 Jul 2004, Igor Pechtchanski wrote: > > :) > Any long lines coming into my mail reader are nicely wrapped > :) > according to whatever window width I configure. > :) > :) They are in mine too. But look at the web archive of your message: > :) <

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Eduardo Chappa
On Thu, 8 Jul 2004, Igor Pechtchanski wrote: :) We're using the same mailer. :-) Aside from that, most mailers can be :) configured to insert newlines automatically, and it's much easier to :) configure the mailer than to get a GUI browser to wrap lines in :) -formatted documents. I agree with y

Re: error installing sshd on win2k3

2004-07-08 Thread philip james
Philip James rephil.com> writes: > > I am wondering if i can get some help. I am installing sshd on win2k3. > > this is the error i am getting. > > Please enter a password for new user 'sshd_server'. Please be sure that > this password matches the password rules given on your system. > Ente

Re: error installing sshd on win2k3

2004-07-08 Thread Igor Pechtchanski
On Thu, 8 Jul 2004, philip james wrote: > Philip James rephil.com> writes: > > > I am wondering if i can get some help. I am installing sshd on win2k3. > > > > this is the error i am getting. > > > > Please enter a password for new user 'sshd_server'. Please be sure that > > this password matche

coredumps with 20040701 snapsnot

2004-07-08 Thread Yitzchak Scott-Thoennes
I tried building a perl using the most recent snapshot and got lots of coredumps during make test, especially in the threads tests. If this is not a known problem with the snapshot, let me know and I'll give more info. 1.5.10-3 doesn't have this problem. -- Unsubscribe info: http://cygwin.

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Christopher Faylor
On Thu, Jul 08, 2004 at 03:56:49PM -0400, Igor Pechtchanski wrote: >I've already explained why I don't think format=flowed is appropriate >for this list (in particular, long command lines will also be wrapped >if it ever were to be accepted). In any case, the definitive opinion >will be that of CG

Re: coredumps with 20040701 snapsnot

2004-07-08 Thread Christopher Faylor
On Thu, Jul 08, 2004 at 03:25:05PM -0700, Yitzchak Scott-Thoennes wrote: >I tried building a perl using the most recent snapshot and got lots of >coredumps during make test, especially in the threads tests. If this >is not a known problem with the snapshot, let me know and I'll give >more info.

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Brian Dessent
Eduardo Chappa wrote: > We may agree or disagree about format=flowed sent to this > list, but we have to agree that what was sent was an e-mail message, > perfectly valid e-mail message to a mailing list and not a web page to a > web site. RFC2822 (which obsoletes the old RFC822) states in sectio

Re: zeroyjj@126.com's Autoreply

2004-07-08 Thread Brian Dessent
Dave Korn wrote: > > Sent: 08 July 2004 18:25 > > To: dk > > Subject: [EMAIL PROTECTED]'s Autoreply > > > > ÎÒÒÑÊÕµ½ÄúµÄÀ´ÐÅ£¬ÎÒ»áÔÚÒ»ÖÜÄÚ¾¡¿ì»Ø¸´µÄ¡£ > > Two in one day? That's an instant self-plonk, I do believe.. I get one for every message posted to the list. And naturally, it's bein

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Eduardo Chappa
On Thu, 8 Jul 2004, Brian Dessent wrote: :) > We may agree or disagree about format=flowed sent to this list, but :) > we have to agree that what was sent was an e-mail message, perfectly :) > valid e-mail message to a mailing list and not a web page to a web :) > site. :) :) RFC2822 (which obsole

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Brian Dessent
Eduardo Chappa wrote: > :) It's just like HTML email - can I read it? Yes. Do I want it in my > :) inbox? Heck no. Just because you can do something doesn't mean you > :) should. > > Yes, you should read the definition of SHOULD in an RFC, did you do it, > no. Next time look for a better arg

Re: zeroyjj@126.com's Autoreply

2004-07-08 Thread Christopher Faylor
On Thu, Jul 08, 2004 at 06:12:35PM -0700, Brian Dessent wrote: >Dave Korn wrote: > >> > Sent: 08 July 2004 18:25 >> > To: dk >> > Subject: [EMAIL PROTECTED]'s Autoreply >> > >> > ?? >> >> Two in one day? That's an instant self-plonk, I do believe.. >

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Eduardo Chappa
*** Brian Dessent ([EMAIL PROTECTED]) wrote in the cygwin list today: :) Nowhere did I claim that SHOULD was equivalent to MUST. And yes I know :) the difference. :) :) My point was simply that if a RFC describes a normative procedure then :) that lends weight to the argument that if at all po

OpenSSH disconnects when Windows user logging out

2004-07-08 Thread Systemtechnik
Hello, when using an secureshell on an Windows-Box, running cygwin and openssh, i receive an disconnect when the Windows user just loggs off (no shutdown nor restart !). The sshd service will never get stopped. I can reconncet without a noticeable delay. Any ideas? Regards, Oliver Geisen --

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-08 Thread Andrew DeFaria
Eduardo Chappa wrote: I happened to look at this message in Lynx and did not see anything bad about it, then it ocurred to me that you were referring to a GUI browser. This is the case when you are complaining about how it looks in your browser (probably most people browser), but it's not a defe