Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-17 Thread Christopher Faylor
On Sat, Oct 18, 2003 at 01:58:36AM -0400, Christopher Faylor wrote: >On Wed, Oct 15, 2003 at 04:30:12PM -0400, Christopher Faylor wrote: >>I just managed to duplicate the problem on my system at work. >> >>Stay tuned. > >I managed to duplicate it at home by booting into W2K, too. That meant >I did

Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

2003-10-17 Thread Christopher Faylor
On Wed, Oct 15, 2003 at 04:30:12PM -0400, Christopher Faylor wrote: >I just managed to duplicate the problem on my system at work. > >Stay tuned. I managed to duplicate it at home by booting into W2K, too. That meant I didn't have to feel guilty about working on this at work. :-) This should fi

Re: Install problem

2003-10-17 Thread Peter Aarestad
Hannu E K Nevalainen wrote: Hmmm... I've seen reports (can't remember where right now) about ZoneAlarm *not* obeying shut down requests... I wouldn't be too surprised if this *is* your problem. Huh - never heard of that... Judging from your description it could well be so. Why don't you try www

Re: Perl - trying to install libwin32

2003-10-17 Thread Igor Pechtchanski
Charles, Linkers like forward references, and don't understand back references. The libraries should go to the very end of the line, after the object files (and I believe the *FLAGS vars usually get put right after the executable). You might need to use some other variable for this. If the libra

Re: Perl - trying to install libwin32

2003-10-17 Thread Charles Owens
Okay... (just now getting back to this). Thanks for the pointer... but it must be something else. Since the build is failing in APIFile I've added this to APIFile/Makefile LDDLFLAGS = -L/usr/lib/w32api -lkernel32 -I/usr/include/w32api When I run 'make' I do see that the gcc line in question n

Program too big to fit in memory - Follow up

2003-10-17 Thread E G
A program I compiled using cygwin 1.5.5.1 and gcc 3.3.1 throw this error message. The exe file is 1 MB big My pc has 256 MB RAM and 9 GB of free space in the HD, athlon processor I have tried increasing the memory with regtool + memory_chunk _in_kb to 2048, space conservation flags for compila

Program too big to fit in memory - Follow up

2003-10-17 Thread E G
A program I compiled using cygwin 1.5.5.1 and gcc 3.3.1 throw this error message. The exe file is 1 MB big My pc has 256 MB RAM and 9 GB of free space in the HD, athlon processor I have tried increasing the memory with regtool + memory_chunk _in_kb to 2048, space conservation flags for compila

Program too big to fit in memory - Follow up

2003-10-17 Thread E G
A program I compiled using cygwin 1.5.5.1 and gcc 3.3.1 throw this error message. The exe file is 1 MB big My pc has 256 MB RAM and 9 GB of free space in the HD, athlon processor I have tried increasing the memory with regtool + memory_chunk _in_kb to 2048, space conservation flags for compila

Re: error setting pipe to non-blocking IO

2003-10-17 Thread Andy Howell
Brian Ford wrote: ioctl(pipefd[0], FIOBIO, &n); use: fcntl(pipefd[0], F_SETFL, O_NONBLOCK); instead. PTC for FIOBIO, although I can't even find what header that's in? fcntl did the trick. Thanks. FIONBIO come from sys/termios.h. I mis-spelled it in my message. Thanks again, Andy

Re: tcsetattr ()

2003-10-17 Thread Christopher Faylor
On Fri, Oct 17, 2003 at 02:55:26PM -0500, Brian Ford wrote: >Incidentally, I am working on a trivial cleanup patch to fix: > >http://www.cygwin.com/ml/cygwin/2003-10/msg00708.html > >I just haven't had time to test it thoroughly yet. I have no idea about >this person's second "random hang" problem

RE: ash does not understand '~'

2003-10-17 Thread Hannu E K Nevalainen
> From: Andrew DeFaria > Sent: Saturday, October 18, 2003 12:04 AM > Hannu E K Nevalainen wrote: > > >>I'm not that concerned about Amiga OS. > > I'm not surprised. > > > >Did you even read what I've left unsnipped above, > > > I glanced at it. Even went on line and googled around for Amiga OS a

Re: error setting pipe to non-blocking IO

2003-10-17 Thread Brian Ford
Actually, it looks like this might work. YMMV On Fri, 17 Oct 2003, Brian Ford wrote: > On Fri, 17 Oct 2003, Andy Howell wrote: > > > I am trying to setup a pipe to do non-blocking IO: > > > > int main() > > { > > int pipefd[2]; > > int n; > > n = 1; > > > > pipe(pipefd); > > p

Re: ash does not understand '~'

2003-10-17 Thread Andrew DeFaria
Hannu E K Nevalainen wrote: I'm not that concerned about Amiga OS. I'm not surprised. Did you even read what I've left unsnipped above, I glanced at it. Even went on line and googled around for Amiga OS a little. Too much info too little time. As I said I'm not that concerned about Amiga

Re: error setting pipe to non-blocking IO

2003-10-17 Thread Brian Ford
On Fri, 17 Oct 2003, Andy Howell wrote: > I am trying to setup a pipe to do non-blocking IO: > > int main() > { > int pipefd[2]; > int n; > n = 1; > > pipe(pipefd); > perror("Pipe: "); > ioctl(pipefd[0], FIOBIO, &n); > perror("Ioctl: "); > } > > When I run

error setting pipe to non-blocking IO

2003-10-17 Thread Andy Howell
I am trying to setup a pipe to do non-blocking IO: int main() { int pipefd[2]; int n; n = 1; pipe(pipefd); perror("Pipe: "); ioctl(pipefd[0], FIOBIO, &n); perror("Ioctl: "); } When I run this, I get: Pipe: No Error Ioctl: Invalid ar

Re: linux/*.h include files

2003-10-17 Thread Brian Dessent
Flavio Rabello de Souza wrote: > > I´m trying to compile a C program under cygwin but it uses some linux > include files. (#include and #include ) I did something similar when compiling tcpflow, but I just used a couple of missing header files from FreeBSD. See

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Christopher Faylor
On Fri, Oct 17, 2003 at 04:46:13PM +0200, Frank Slootweg wrote: >>Erm... are you reading the cygwin announcements? > >No, I don't. Can you give a pointer where/how I can read "the cygwin >announcements"? Thanks. http://cygwin.com/lists.html -- Please use the resources at cygwin.com rather than sen

Re: linux/*.h include files

2003-10-17 Thread Steve Coleman
Flavio Rabello de Souza wrote: But i still getting an error :( Looks like its not completelly implements the linux/if_ether.h and linux/in.h :) the error message i got: $ gcc -o sniffer sniffer.c sniffer.c: In function `main': sniffer.c:14: error: `PF_PACKET' undeclared (first use in this func

Re: Is multithreaded profiling on cygwin possible?

2003-10-17 Thread Brian Ford
On Fri, 17 Oct 2003, peter garrone wrote: > Hi Brian > Hi Peter. Seems like a private conversation, doesn't it? :) > Thanks very much for your comments. > You're welcome. > I think I have changed my approach so that it is broadly similar to > your suggestions, but may differ in some details.

RE: ash does not understand '~'

2003-10-17 Thread Hannu E K Nevalainen
> From: Andrew DeFaria > Sent: Friday, October 17, 2003 9:20 PM > Hannu E K Nevalainen wrote: > > >>From: Andrew DeFaria > >>Sent: Friday, October 17, 2003 5:36 PM > >> > >OS wars begin(?) - Please, do not! > > > >>Non-protable to such "OSes" that don't have a more modern shell > then Bourne/Ash I

Re: Perl and C

2003-10-17 Thread Andrew DeFaria
Martin Gainty wrote: Paul- Convert your Perl Script to a binary http://www.indigostar.com/perl2exe.htm#Download and then fork or exec the binary This looks interesting. Tell me, which version am I supposed to download for Cygwin? It would be wonderful to have a perl2exe that can convert my Perl

Re: tcsetattr ()

2003-10-17 Thread Brian Ford
On Fri, 17 Oct 2003, Christopher Faylor wrote: > On Fri, Oct 17, 2003 at 08:29:26AM -0600, Craig Gullixson wrote: > >As far as I can tell, the Cygwin 1.5+ releases has broken tcsetattr (). > >It appears that tcgetattr () works OK, but tcsetattr () seems to have > >no affect on the tty's settings.

Re: tcsetattr ()

2003-10-17 Thread Christopher Faylor
On Fri, Oct 17, 2003 at 08:29:26AM -0600, Craig Gullixson wrote: >As far as I can tell, the Cygwin 1.5+ releases has broken tcsetattr (). >It appears that tcgetattr () works OK, but tcsetattr () seems to have >no affect on the tty's settings. You aren't providing any details. What is a tty? A w

Re: ash does not understand '~'

2003-10-17 Thread Andrew DeFaria
Hannu E K Nevalainen wrote: From: Andrew DeFaria Sent: Friday, October 17, 2003 5:36 PM OS wars begin(?) - Please, do not! Non-protable to such "OSes" that don't have a more modern shell then Bourne/Ash I guess. Are there any "OSes" that don't support shells like csh, tcsh, ksh, bash?

Re: linux/*.h include files

2003-10-17 Thread Flavio Rabello de Souza
thanks steve! But i still getting an error :( Looks like its not completelly implements the linux/if_ether.h and linux/in.h :) the error message i got: $ gcc -o sniffer sniffer.c sniffer.c: In function `main': sniffer.c:14: error: `PF_PACKET' undeclared (first use in this function) sniffer.c:1

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Brian Ford
On Fri, 17 Oct 2003, Frank Slootweg wrote: > Corinna Vinschen" <[EMAIL PROTECTED]> wrote: > > Erm... are you reading the cygwin announcements? > > > No, I don't. Can you give a pointer where/how I can read "the cygwin > announcements"? Thanks. > http://www.cygwin.com/ml/cygwin-announce/ But, bet

Re: trouble to install apache as a service on Win2K with cygrunsrv command

2003-10-17 Thread Igor Pechtchanski
On Fri, 17 Oct 2003, tilt wrote: > I install cygwin fron clean environnement. > Now, all the entries in /etc/passwd are populate from current MYDOM (Windows > local domain). > > This is the current entry for my user : > sample_user:unused_by_nt/2000/xp:11293:10513:Sample > test,U-MYDOM\sample_user

Re: ash does not understand '~'

2003-10-17 Thread Igor Pechtchanski
On Fri, 17 Oct 2003, Corinna Vinschen wrote: > On Fri, Oct 17, 2003 at 12:19:36PM +0200, Ralf Habacker wrote: > > Hi, > > > > the following shell script does not work at least with ash-20031007-1 > > although I don't see any reason why this should not be a valid syntax. If > > you use > > The reas

Re: linux/*.h include files

2003-10-17 Thread Steve Coleman
Flavio Rabello de Souza wrote: I´m trying to compile a C program under cygwin but it uses some linux include files. (#include and #include ) On my cygwin system I have both and . These are the 'standard' includes that they probably should have used if they wanted their code to be portable. T

Re: Perl and C

2003-10-17 Thread Martin Gainty
Paul- Convert your Perl Script to a binary http://www.indigostar.com/perl2exe.htm#Download and then fork or exec the binary hth, Martin Gainty - Original Message - From: "Paul Bezzam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 12:27 PM Subject: Perl and C

RE: ash does not understand '~'

2003-10-17 Thread Hannu E K Nevalainen
> From: Andrew DeFaria > Sent: Friday, October 17, 2003 5:36 PM OS wars begin(?) - Please, do not! > Non-protable to such "OSes" that don't have a more modern shell then > Bourne/Ash I guess. Are there any "OSes" that don't support shells like > csh, tcsh, ksh, bash? Old info; AmigaOS had(has)

Building Courier-IMAP

2003-10-17 Thread Ian Sealy
Hi, I'm trying to build Courier-IMAP < http://www.inter7.com/courierimap.html > using Cygwin on Windows XP. The Cygwin DLL version is 1.5.5 and I'm using gcc 3.3.1-2. Apparently Courier-IMAP has been built under Cygwin in the past: http://sourceforge.net/mailarchive/message.php?msg_id=1732486 (Th

Re: Widechar file functions

2003-10-17 Thread Christopher Faylor
On Fri, Oct 17, 2003 at 03:56:28PM +0200, Ilya Konstantinov wrote: >I assume the correct way is to load the relevant Widechar functions via >GetProcAddress and use them if they exist AND a "Cygwin expects UTF-8 >char* in file functions" flag was turned on. >This flag should be runtime rather than c

Perl and C

2003-10-17 Thread Paul Bezzam
Hello, I am having a hard time calling a Perl subroutine from C on Cygwin. I tested out the Perl program seperately and it works fine. But, when I try to call it from C, I get this error: Can't load module Socket, dynamic loading not available in this perl. (You may need to build a new perl e

Re: ash does not understand '~'

2003-10-17 Thread Andrew DeFaria
Corinna Vinschen wrote: On Fri, Oct 17, 2003 at 12:19:36PM +0200, Ralf Habacker wrote: Hi, the following shell script does not work at least with ash-20031007-1 although I don't see any reason why this should not be a valid syntax. If you use The reason is, '~' is an extension to the bourne sh

Re: long timeouts on shutdown/log off

2003-10-17 Thread Christopher Faylor
On Fri, Oct 17, 2003 at 07:50:34PM +0900, Dylan Cuthbert wrote: >Ok, here are the ps results... I can see three cron tasks with the I field >set (Interactive?) which is very odd as my backup script doesn't have any >input (I've attached the script and the output) 'I'nput. That would indicate that

Re: ash does not understand '~'

2003-10-17 Thread Christopher Faylor
On Fri, Oct 17, 2003 at 02:36:54PM +0200, J?rg Schaible wrote: >Corinna Vinschen wrote on Friday, October 17, 2003 1:04 PM: >> On Fri, Oct 17, 2003 at 12:37:10PM +0200, J?rg Schaible wrote: >>> BTW: It does also not know the "[ ]" syntax for a built-in test, you >>> always have to use "test": >>>

linux/*.h include files

2003-10-17 Thread Flavio Rabello de Souza
I´m trying to compile a C program under cygwin but it uses some linux include files. (#include and #include ) Is there a downloadable package with these files? Could i copy the original linux .h files to the include directory? or the program will not run under cygwin? :) Atenciosamente, (Sin

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Frank Slootweg
Corinna Vinschen" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2003 at 03:30:39PM +0200, Frank Slootweg wrote: [deleted] > > So my problem is solved, but what about the generic problem? IMO > > ssmtp in a Cygwin environment should be able to handle DOS format > > data. AFAIK, there are (POSIX? XP

tcsetattr ()

2003-10-17 Thread Craig Gullixson
As far as I can tell, the Cygwin 1.5+ releases has broken tcsetattr (). It appears that tcgetattr () works OK, but tcsetattr () seems to have no affect on the tty's settings. In addition, once I have manually configured a port using either stty or the DOS mode command, my routines see a lot of ga

RE: decent fonts for rxvt in cygwin

2003-10-17 Thread Reid Thompson
try xfontsel reid > -Original Message- > From: Edward Peschko [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 9:25 PM > To: [EMAIL PROTECTED] > Subject: decent fonts for rxvt in cygwin > > > hey, > > I've been searching for decent fonts in cygwin, and haven't > found a

Re: cygwin1.dll missing getreent and fopen

2003-10-17 Thread Misha Gale
On Sun, 12 Oct 2003 18:53:57 -0400 (EDT), "Igor Pechtchanski" <[EMAIL PROTECTED]> said: > On Sun, 12 Oct 2003, synthespian wrote: > > > > -- Início da mensagem original --- > > > From: Corinna Vinschen > > > Date: Fri, 10 Oct 2003 17:04:18 +0200 > > > Subject: Re: cygwin1.dll missi

Re: Is there a 'ping' in Cygwin?

2003-10-17 Thread Sam Edge
Corinna Vinschen <[EMAIL PROTECTED]> wrote in <[EMAIL PROTECTED]> in gmane.os.cygwin on Fri, 17 Oct 2003 14:03:42 +0200: > Ping isn't part of inetutils. The right answer is, you have ping if > you're running the Windows subsystem on your Cygwin machine. Hehe. I think that deserves a gold star. :

Widechar file functions

2003-10-17 Thread Ilya Konstantinov
Hello, It would be nice to have Cygwin use Widechar file functions such as CreateFileW where possible. Current Cygwin code uses ANSI functions exclusively, which prevents Cygwin programs from getting unmodified Unicode filenames from the underlying NTFS/VFAT filesystem. I assume the correct way i

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Sam Edge
Corinna Vinschen <[EMAIL PROTECTED]> wrote in <[EMAIL PROTECTED]> in gmane.os.cygwin on Fri, 17 Oct 2003 12:26:54 +0200: > > > The RFCs for SMTP e-mail (RFC2821 and its predecesors) /require/ CR-LF > > > ("\r\n" i.e. "DOS") line endings. (Probably because debugging using > > > dumb terminals or pr

Re: ash does not understand '~'

2003-10-17 Thread Brian Dessent
Ronald Landheer-Cieslak wrote: > > I thought this was resolved by making '/bin/[' a symlink to /bin/test. > > This gives the appearance of the shell supporting [ ] even though it's > > really just running a program just as if you had used 'test'. > How does that take care of the closing `]' ? Pre

Re: setreuid

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 04:52:34PM +0300, Baurjan Ismagulov wrote: > > Btw., if you're planning to use that account as logon account, don't > > give these rights to that account. That's very dangerous. > > Because of possible privilege escalation, or are there any other > implications? Yes, no.

Anyone know what this would be?

2003-10-17 Thread Billy Huddleston
The description for Event ID ( 0 ) in Source ( procmail ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: procmail: PID 9556 : Descriptor 3057 was no

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Frank Slootweg
Olaf Foellinger <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2003 at 10:57:27AM +0200, Frank Slootweg wrote: > > > > Does anybody have some other suggestions? Another tool which can > > do the same job (i.e. read From:, To:, Subject: (and possibly Cc: > > and Bcc:) only from the header part of th

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 03:30:39PM +0200, Frank Slootweg wrote: > Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > So ssmtp assumes that the input file is using only \n. Of course, > > ssmtp has never been written with textmode mounts in mind... > > Thanks! That is it! I converted the input file

RE: Is there a 'ping' in Cygwin?

2003-10-17 Thread Jörg Schaible
Hughes, Bill wrote on Friday, October 17, 2003 3:32 PM: >> I shall now fix my path and create symlinks so 'ping' works. > > I corrected the case of the directory names in the windows > environment variable and Cygwin now finds PING.EXE, just a > note for the record. I know PTC etc, but would chan

Re: setreuid

2003-10-17 Thread Baurjan Ismagulov
Hello, Corinna. On Thu, Oct 16, 2003 at 15:50:59, Corinna Vinschen wrote: > > This works if I grant "Erstellen eines Tokenobjekts" to ZAISAN\ibr. What > > is going on? > That's correct. Did you read http://cygwin.com/cygwin-ug-net/ntsec.html? The problem is not to read, the problem is to underst

Re: ash does not understand '~'

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 03:46:16PM +0200, Ronald Landheer-Cieslak wrote: > On Fri, Oct 17, 2003 at 05:48:12AM -0700, Brian Dessent wrote: > > I thought this was resolved by making '/bin/[' a symlink to /bin/test. > > This gives the appearance of the shell supporting [ ] even though it's > > really

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Frank Slootweg
Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2003 at 12:08:40PM +0200, Corinna Vinschen wrote: > > On Fri, Oct 17, 2003 at 11:04:19AM +0100, Sam Edge wrote: > > > Corinna Vinschen <[EMAIL PROTECTED]> wrote in > > > <[EMAIL PROTECTED]> > > > in gmane.os.cygwin on Fri, 17 Oct 2003 11

RE: Is there a 'ping' in Cygwin?

2003-10-17 Thread Hughes, Bill
> I shall now fix my path and create symlinks so 'ping' works. I corrected the case of the directory names in the windows environment variable and Cygwin now finds PING.EXE, just a note for the record. I know PTC etc, but would changing the (presumably cygpath) translation of the windows path to a

RE: Errors when trying to access /dev/null

2003-10-17 Thread Sandy Pyke
Problem solved! I do have null.sys on my system but it was not listed in the Windows device manager. It somehow got uninstalled. I looked for a while for some manual way to re-install it to no avail, so I re-installed Windows XP. Now cygwin works fine, but just about everything else is broken... I

Re: ash does not understand '~'

2003-10-17 Thread Ronald Landheer-Cieslak
On Fri, Oct 17, 2003 at 05:48:12AM -0700, Brian Dessent wrote: > Jörg Schaible wrote: > > > > Corinna Vinschen wrote on Friday, October 17, 2003 1:04 PM: > > > On Fri, Oct 17, 2003 at 12:37:10PM +0200, J?rg Schaible wrote: > > >> BTW: It does also not know the "[ ]" syntax for a built-in test, you

RE: Is there a 'ping' in Cygwin?

2003-10-17 Thread Hughes, Bill
Sent: 17 October 2003 12:59 From: Thorsten Kampe > > * Hughes, Bill (2003-10-17 13:31 +0200) > > Apologies if this is as dumb as it seems to me, but is 'ping' available in > > Cygwin from the prompt? > > > I have almost everything installed, and short of using the perl or ruby > > modules I don't s

You have dbmail running?

2003-10-17 Thread Gerrit P. Haase
Hallo, I try to get dbmail from www.dbmail.org up and running, but it doesn't work:-( The pop3d and the imapd are exiting immediately and the injection of mail into the postgresql database doesn't work. Have you dbmail up and running? And if so, how did you compile it? Gerrit -- =^..^= --

Re: ash does not understand '~'

2003-10-17 Thread Brian Dessent
Jörg Schaible wrote: > > Corinna Vinschen wrote on Friday, October 17, 2003 1:04 PM: > > On Fri, Oct 17, 2003 at 12:37:10PM +0200, J?rg Schaible wrote: > >> BTW: It does also not know the "[ ]" syntax for a built-in test, you > >> always have to use "test": > >> > >> if test -f /etc/hosts; then >

RE: ash does not understand '~'

2003-10-17 Thread Jörg Schaible
Corinna Vinschen wrote on Friday, October 17, 2003 1:04 PM: > On Fri, Oct 17, 2003 at 12:37:10PM +0200, J?rg Schaible wrote: >> BTW: It does also not know the "[ ]" syntax for a built-in test, you >> always have to use "test": >> >> if test -f /etc/hosts; then >> echo "/etc/hosts exist!" >>

RE: Is there a 'ping' in Cygwin?

2003-10-17 Thread Peter J. Acklam
Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > Peter J. Acklam wrote: > > > > "Hughes, Bill" <[EMAIL PROTECTED]> wrote: > > > > > Apologies if this is as dumb as it seems to me, > > > but is 'ping' available in Cygwin from the prompt? > > > > If you have installed "inetutils", yes. > > Ping isn't

Re: Is there a 'ping' in Cygwin?

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 01:41:38PM +0200, Peter J. Acklam wrote: > "Hughes, Bill" <[EMAIL PROTECTED]> wrote: > > > Apologies if this is as dumb as it seems to me, > > but is 'ping' available in Cygwin from the prompt? > > If you have installed "inetutils", yes. Ping isn't part of inetutils. The

Re: Is there a 'ping' in Cygwin?

2003-10-17 Thread Thorsten Kampe
* Hughes, Bill (2003-10-17 13:31 +0200) > Apologies if this is as dumb as it seems to me, but is 'ping' available in > Cygwin from the prompt? > I have almost everything installed, and short of using the perl or ruby > modules I don't seem to have any ping available in Cygwin. > e.g. > $ ping cyg

Re: Is there a 'ping' in Cygwin?

2003-10-17 Thread Victor Stepanov
On Fri, 17 Oct 2003, Hughes, Bill wrote: > $ ping cygwin.com > bash: ping: command not found My suggestion is ln -s /cygdrive/c/WINDOWS/system32/ping/exe ping.exe ./ping.exe cygwin.com V. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.c

confused by libxml2 installation

2003-10-17 Thread david.liberce
Hi! This is a couple of questions concerning the libxml that comes along with cygwin. I'm trying to compile the example files from the libxml tutorial and I'm having trouble with undefined reference to `_xmlStrcmp'. I link it against the libxml though, and it seems to contain the missing symbol :

RE: Is there a 'ping' in Cygwin?

2003-10-17 Thread Peter J. Acklam
"Hughes, Bill" <[EMAIL PROTECTED]> wrote: > Apologies if this is as dumb as it seems to me, > but is 'ping' available in Cygwin from the prompt? If you have installed "inetutils", yes. Peter -- Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam -- Unsubscribe info: ht

Is there a 'ping' in Cygwin?

2003-10-17 Thread Hughes, Bill
Apologies if this is as dumb as it seems to me, but is 'ping' available in Cygwin from the prompt? I checked http://cygwin.com/cgi-bin2/package-grep.cgi?grep=ping and didn't see any likely candidates. I have almost everything installed, and short of using the perl or ruby modules I don't seem to ha

AW: ash does not understand '~'

2003-10-17 Thread Ralf Habacker
Hi > > the following shell script does not work at least with ash-20031007-1 > > although I don't see any reason why this should not be a valid > syntax. If > > you use > > The reason is, '~' is an extension to the bourne shell syntax, first > defined in csh or tcsh, AFAIK. ash is a pure bourne

Re: ash does not understand '~'

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 12:37:10PM +0200, J?rg Schaible wrote: > BTW: It does also not know the "[ ]" syntax for a built-in test, you always have to > use "test": > > if test -f /etc/hosts; then > echo "/etc/hosts exist!" > fi Beep. Wrong. It knows [ ] Corinna > and you cannot combine

Re: long timeouts on shutdown/log off

2003-10-17 Thread Dylan Cuthbert
Ok, here are the ps results... I can see three cron tasks with the I field set (Interactive?) which is very odd as my backup script doesn't have any input (I've attached the script and the output) maybe cron isn't able to close the shells it creates to run the jobs properly? Any ideas? -

RE: ash does not understand '~'

2003-10-17 Thread Jörg Schaible
Hi Ralf, Ralf Habacker wrote on Friday, October 17, 2003 12:20 PM: > the following shell script does not work at least with > ash-20031007-1 although I don't see any reason why this > should not be a valid syntax. If you use > > export PATH=${HOME}:/usr/bin > > then the scripts runs. bash

Re: ash does not understand '~'

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 12:19:36PM +0200, Ralf Habacker wrote: > Hi, > > the following shell script does not work at least with ash-20031007-1 > although I don't see any reason why this should not be a valid syntax. If > you use The reason is, '~' is an extension to the bourne shell syntax, first

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 12:08:40PM +0200, Corinna Vinschen wrote: > On Fri, Oct 17, 2003 at 11:04:19AM +0100, Sam Edge wrote: > > Corinna Vinschen <[EMAIL PROTECTED]> wrote in > > <[EMAIL PROTECTED]> > > in gmane.os.cygwin on Fri, 17 Oct 2003 11:33:07 +0200: > > > > > I'm not familar with the mail

ash does not understand '~'

2003-10-17 Thread Ralf Habacker
Hi, the following shell script does not work at least with ash-20031007-1 although I don't see any reason why this should not be a valid syntax. If you use export PATH=${HOME}:/usr/bin then the scripts runs. bash has no problems with this. --- ~/test --- #!/bin/sh export PATH=~:/us

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Corinna Vinschen
On Fri, Oct 17, 2003 at 11:04:19AM +0100, Sam Edge wrote: > Corinna Vinschen <[EMAIL PROTECTED]> wrote in > <[EMAIL PROTECTED]> > in gmane.os.cygwin on Fri, 17 Oct 2003 11:33:07 +0200: > > > I'm not familar with the mail-related RFCs. Is > > it allowed to send lines with DOS lineendings? > > The

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Sam Edge
Corinna Vinschen <[EMAIL PROTECTED]> wrote in <[EMAIL PROTECTED]> in gmane.os.cygwin on Fri, 17 Oct 2003 11:33:07 +0200: > I'm not familar with the mail-related RFCs. Is > it allowed to send lines with DOS lineendings? The RFCs for SMTP e-mail (RFC2821 and its predecesors) /require/ CR-LF ("\r\n

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Corinna Vinschen
On Thu, Oct 16, 2003 at 07:33:32PM +0200, Frank Slootweg wrote: > [I hope this reply is threaded correctly. The digest version of this > list does not preserve References: etc.. I got a copy of your message > from the archive and used ssmtp :-) to send it to myself (in OE).] > > Corinna Vinschen [

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Olaf Foellinger
On Fri, Oct 17, 2003 at 10:57:27AM +0200, Frank Slootweg wrote: > > Does anybody have some other suggestions? Another tool which can do > the same job (i.e. read From:, To:, Subject: (and possibly Cc: and Bcc:) > only from the header part of the input file)? exim ? Gruss Olaf Föllinger -- O

Re: ssmtp 2.38.7-4 reads headers from message body.

2003-10-17 Thread Frank Slootweg
Yesterday, I wrote: > Of course ssmtp should only use the From: line from the header, not > from the body. Suppose the body contained for example "From: > [EMAIL PROTECTED]". We would not want the message to be sent > with that From: line, do we? :-) > > I did some more testing and found that

trouble to install apache as a service on Win2K with cygrunsrv command

2003-10-17 Thread tilt
I install cygwin fron clean environnement. Now, all the entries in /etc/passwd are populate from current MYDOM (Windows local domain). This is the current entry for my user : sample_user:unused_by_nt/2000/xp:11293:10513:Sample test,U-MYDOM\sample_user,S-1-5-21-x xxx--xx-1293:/hom

Re: What does clock() calculate?

2003-10-17 Thread Alex Vinokur
"Alex Vinokur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > clock : "Calculates the best available approximation of the cumulative amount of > time used by your program since it started." (From man clock). > > Does clock() calculate user-used-time + system-used-time? > Yes, it i

Re: decent fonts for rxvt in cygwin

2003-10-17 Thread Andrew DeFaria
Edward Peschko wrote: I must have mis-installed cygwin-xfree.. don't see xwin in any of my cygwin directories I installed, and I'm pretty sure I installed Xfree86. I use exceed as my xwindow server, so it never really phased me. You might wish to try reinstalling XFree86. Personally I'd use it o

Re: Percent of CPU this job got > 100%

2003-10-17 Thread Alex Vinokur
"Shankar Unni" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Christopher Faylor wrote: > > > On Thu, Oct 16, 2003 at 08:38:33AM +0200, Alex Vinokur wrote: > > >>$ /bin/time -v a 1000 > >>[...] > >> Percent of CPU this job got: 133% > > > Automatic, built-in meanness at no extra cha

Re: Install problem

2003-10-17 Thread Fergus Daly
>> Can't get list of download sites. >> Make sure your network settings are correct and try again.   After years of successful Cygwin installs/updates both at home and work I moved yesterday to a new workplace and got just this message on attempting a new installation on the office-supplied LAN zer

hangs with recent cygwin versions

2003-10-17 Thread Ben Wing
i am using the latest 1.5.5-1, with everything updated via setup within the last couple of days. Windows 2000, all the latest sp's and patches. ever since upgrading from 1.3.something to 1.5.5-1, i've gotten periodic hangs of various sorts. in all cases, the console is completely wedged and can