Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Carlo Florendo
Brian Ford wrote: On Mon, 26 Feb 2007, Carlo Florendo wrote: I'm writing an application that requires time precisions up to the microsecond level. Then you shouldn't be using Windows. Millisecond resolution is all the scheduler can do (this varies slightly depending on the platform). Exact

Re: DBD::mysql install problem cygwin

2007-02-26 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael Janis wrote: > Thank you for taking the time to create cygport and these ports which look > like they were created for my use. Actually, they've been around for a while; check the timestamps in CVS. > Unfortunately I received errors at near

Re: /dev/null timing and clock skew problems

2007-02-26 Thread Tim Prince
[EMAIL PROTECTED] wrote: I see this a lot on regular files. I just got this: make: Warning: File `Makefile' has modification time 0.42 s in the future If you are accessing files on another machine, and you aren't using any means for keeping the date clocks synchronized, this is to be expected

[ANNOUNCEMENT] Updated: mutt-1.4.2.2-1

2007-02-26 Thread Christopher Faylor
I've made a new version of 'mutt' available for installation. Mutt is a text mode mail user agent. The primary reason for this release is to link against the latest version of OpenSSL to correct the problem mentioned here: http://cygwin.com/ml/cygwin/2007-02/threads.html#00700 For a listing of

[SOLVED] Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Carlo Florendo
Brian Ford wrote: Put this in its own (separate from all Cygwin code) object file, call it before any timing calls in your application, and link it with -lwinmm: #include "windows.h" void SetSchedulerMaxRes(void) { TIMECAPS tc; /* Set the system scheduler resolution to its maximum.

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Carlo Florendo
Lev Bishop wrote: On 2/26/07, Carlo Florendo wrote: I'm writing an application that requires time precisions up to the microsecond level. However, I put a hard-coded adjustment of 9000 microseconds since usleep() seems to sleep on the average of 9000 microseconds more than it's supposed to, at

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Carlo Florendo
Corinna Vinschen wrote: On Feb 26 15:57, Carlo Florendo wrote: I'm writing an application that requires time precisions up to the microsecond level. Though I love the idea to use Cygwin for everything, including stuff like simulating the universe bit-accurate in realtime, it might be a teeny

Re: Strange message from updatedb

2007-02-26 Thread Phil Edwards
Eric Blake: /usr/bin/find: /c/System Volume Information: Permission denied Not a problem - you can't find details about certain in-use system files. I don't think that was the question. If you note at the end of his message, he gives the command invocation, which included that string in --pr

Re: How to modify a windows file

2007-02-26 Thread Christopher Faylor
On Mon, Feb 26, 2007 at 01:38:04PM -0800, linux1974 wrote: >what the syntax to modify a file in a windows directory? I want to run >a cronjob that modify a file in a windows directory ( eg. c:\test ) I >will use the sed command.How can I pass the windows file ( ascii ) to >sed and rewrite the fil

Re: How to modify a windows file

2007-02-26 Thread Igor Peshansky
On Mon, 26 Feb 2007, linux1974 wrote: > what the syntax to modify a file in a windows directory? > I want to run a cronjob that modify a file in a windows directory ( eg. > c:\test ) > I will use the sed command.How can I pass the windows file ( ascii ) to sed > and rewrite the file in the windows

Re: cronjob + sed

2007-02-26 Thread David le Comte
linux1974 wrote: Hi How do you set up cronjobs with cygwin? If I want to run a script that uses sed ( does thet standard sed that comes with cygwin supports /s /g etc commands to manipulate a string or do I need to upgrade sed? ) and gets an input file from a windows directory and output a new

How to modify a windows file

2007-02-26 Thread linux1974
Hi, what the syntax to modify a file in a windows directory? I want to run a cronjob that modify a file in a windows directory ( eg. c:\test ) I will use the sed command.How can I pass the windows file ( ascii ) to sed and rewrite the file in the windows directory? tks -- View this message in co

Re: sshd timestamp logging

2007-02-26 Thread Andrew Louie
On 2/26/07, Andrew Louie wrote: On 2/26/07, DePriest, Jason R. wrote: > Read the book! > First lines of /usr/share/doc/Cygwin/syslog-ng.README > > If you want to use syslog-ng, just run the /usr/bin/syslog-ng-config > script. This script will create a default configuration file > /etc/syslog-n

Re: sshd timestamp logging

2007-02-26 Thread Andrew Louie
On 2/26/07, DePriest, Jason R. <[EMAIL PROTECTED]> wrote: Read the book! First lines of /usr/share/doc/Cygwin/syslog-ng.README If you want to use syslog-ng, just run the /usr/bin/syslog-ng-config script. This script will create a default configuration file /etc/syslog-ng.conf and it will instal

Re: cronjob + sed

2007-02-26 Thread Igor Peshansky
Ugh, top-posting... Reformatted. Also, please don't prepend "[ANNOUNCEMENT]" to subjects of random messages. This string is prepended automatically for messages forwarded from the cygwin-announce mailing list, and is usually used for real announcements. More below. On Mon, 26 Feb 2007, linux197

Re: [ANNOUNCEMENT] cronjob + sed

2007-02-26 Thread linux1974
Hi I am not familiar with cygwin, where I can find the packages crontab and VI? tks Brian Dessent wrote: > > linux1974 wrote: > >> How do you set up cronjobs with cygwin? If I want to run a script that >> uses >> sed ( does thet standard sed that comes with cygwin supports /s /g etc >> comm

Re: /dev/null timing and clock skew problems

2007-02-26 Thread Pedro Alves
Corinna Vinschen escreveu: On Feb 25 23:04, Aaron Gray wrote: I am doing make based builds on Cygwin and am getting following warning messages multiple times in stdout :- make[2]: Warning: File `/dev/null' has modification time 0.0096 s in the future make[2]: warning: Clock s

Re: sshd timestamp logging

2007-02-26 Thread DePriest, Jason R.
On 2/26/07, Andrew Louie wrote: > On 2/26/07, DePriest, Jason R. wrote: > I installed syslog-ng as a service with cygrunsrv and I have sshd log to that. > It keeps time stamps. > Liek this: > Feb 26 12:13:31 srvc sshd: PID 1552: Connection from 172.21.128.39 port 5248 > Feb 26 12:13:38 srvc ssh

Re: cronjob + sed

2007-02-26 Thread Brian Dessent
linux1974 wrote: > How do you set up cronjobs with cygwin? If I want to run a script that uses > sed ( does thet standard sed that comes with cygwin supports /s /g etc > commands to manipulate a string or do I need to upgrade sed? ) > and gets an input file from a windows directory and output a n

cronjob + sed

2007-02-26 Thread linux1974
Hi How do you set up cronjobs with cygwin? If I want to run a script that uses sed ( does thet standard sed that comes with cygwin supports /s /g etc commands to manipulate a string or do I need to upgrade sed? ) and gets an input file from a windows directory and output a new file on that direc

Re: sshd timestamp logging

2007-02-26 Thread Andrew Louie
On 2/26/07, DePriest, Jason R. wrote: I installed syslog-ng as a service with cygrunsrv and I have sshd log to that. It keeps time stamps. Liek this: Feb 26 12:13:31 srvc sshd: PID 1552: Connection from 172.21.128.39 port 5248 Feb 26 12:13:38 srvc sshd: PID 1552: Failed none for USER from 172.21.

Re: sshd timestamp logging

2007-02-26 Thread Andrew Louie
thanks, I successfully installed syslog-ng, but the installtion neglected to install a syslog-ng.conf file. any idea how i can get/generate that file? also can you point me in the right direction of some kind of tutorial on how to use this syslog-ng? the man pages are alittle esoteric. or can you

Re: sshd timestamp logging

2007-02-26 Thread DePriest, Jason R.
On 2/26/07, Andrew Louie wrote: I am able to to get sshd to output logs to /var/logs/sshd.log but all the entires do not have time stamps. A search of google yields no useful information on how to enable timestamps, i guess timestamps are just supposed to be attached by default, but that does no

sshd timestamp logging

2007-02-26 Thread Andrew Louie
I am able to to get sshd to output logs to /var/logs/sshd.log but all the entires do not have time stamps. A search of google yields no useful information on how to enable timestamps, i guess timestamps are just supposed to be attached by default, but that does not seem to be the case here. Anyon

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Christopher Layne
On Mon, Feb 26, 2007 at 03:57:10PM +0800, Carlo Florendo wrote: > Good Day, > > I'm writing an application that requires time precisions up to the > microsecond level. However, I put a hard-coded adjustment of > 9000 microseconds since usleep() seems to sleep on the average of > 9000 microseconds

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Brian Ford
On Mon, 26 Feb 2007, Carlo Florendo wrote: > I'm writing an application that requires time precisions up to the > microsecond level. Then you shouldn't be using Windows. Millisecond resolution is all the scheduler can do (this varies slightly depending on the platform). > However, I put a hard-

Re: a2x: I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl

2007-02-26 Thread Morten Kjarulff
Sorry. I deleted the rest of the mail because both your and my e-mail was visible. My firewall does not say anything. I am using Lotus Notes, I don't know why it didn't attach the file as a text document. I have made a new one, and named it .txt, lets see if that work, so I will know the next tim

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Lev Bishop
On 2/26/07, Carlo Florendo wrote: I'm writing an application that requires time precisions up to the microsecond level. However, I put a hard-coded adjustment of 9000 microseconds since usleep() seems to sleep on the average of 9000 microseconds more than it's supposed to, at least on my system

Need Help Plz, Warnings Configure openoffice build under cygwin

2007-02-26 Thread Zaki
Hi all, I'm new to openoffice, i lanched ./Configure under cygwin, i have warnings : Internal freetype2 does not support emboldening Use of uninitialized value in substitution (s///) at ./oowintool line 66 can you help me Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si

--enable-auto-image-base for ruby

2007-02-26 Thread Alexander Stigsen
Hi, This is mostly a question for the ruby maintainer (Corinna?). Would it be possible to update the ruby package to compile with the --enable-auto-image-base flag, so we can avoid rebase problems? I can supply a patch if needed. Best Regards, Alexander Stigsen -- Unsubscribe info: h

Re: a2x: I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl

2007-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Morten Kjarulff on 2/26/2007 4:25 AM: > Hi, > > Here you are. Some context of your original problem would have been nice. So I dug up your original mail: > I/O error : Attempt to load network entity > http://docbook.sourceforge.net/rel

Re: help me resolving this problem

2007-02-26 Thread Larry Hall (Cygwin)
nordine wrote: nordine wrote: hello I want to compil my Gulp program under cygwin, and I got this error message: /bin///ld: cannot find -lf95 make[1]: *** [gulp_] Error 1 make[1]: Leaving directory `/cygdrive/c/gulpsource/src/{os}' mv: cannot stat `gulp': No such file or directory make: *** [g

Re: compilation problem

2007-02-26 Thread Larry Hall (Cygwin)
nordine wrote: nordine wrote: hello I want to compil my Gulp program under cygwin, and I got this error message: /bin///ld: cannot find -lf95 make[1]: *** [gulp_] Error 1 make[1]: Leaving directory `/cygdrive/c/gulpsource/src/{os}' mv: cannot stat `gulp': No such file or directory make: *** [gulp

Interesting issue concerning the building of VNC for Cygwin

2007-02-26 Thread Gregg Levine
Hello! Here's one for all of us to consider: rm -f libtx.a ar cq libtx.a TXWindow.o TXScrollbar.o TXViewport.o TXImage.o TXMenu.o ranlib libtx.a make[1]: Leaving directory `/usr/src/vnc-4_1_2-unixsrc/unix/tx' make[1]: Entering directory `/usr/src/vnc-4_1_2-unixsrc/unix/vncviewer' c++ -I../../co

Re: a2x: I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl

2007-02-26 Thread Morten Kjarulff
Hi, Here you are. /Morten (See attached file: cygcheck.out) cygcheck.out Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: ht

help me resolving this problem

2007-02-26 Thread nordine
nordine wrote: hello I want to compil my Gulp program under cygwin, and I got this error message: /bin///ld: cannot find -lf95 make[1]: *** [gulp_] Error 1 make[1]: Leaving directory `/cygdrive/c/gulpsource/src/{os}' mv: cannot stat `gulp': No such file or directory make: *** [gulp] Error 1 som

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Corinna Vinschen
On Feb 26 15:57, Carlo Florendo wrote: > I'm writing an application that requires time precisions up to the > microsecond level. Though I love the idea to use Cygwin for everything, including stuff like simulating the universe bit-accurate in realtime, it might be a teeny bit daring to expect micr

Re: /dev/null timing and clock skew problems

2007-02-26 Thread Corinna Vinschen
On Feb 25 23:04, Aaron Gray wrote: > I am doing make based builds on Cygwin and am getting following warning > messages multiple times in stdout :- > >make[2]: Warning: File `/dev/null' has modification time 0.0096 s in > the future > >make[2]: warning: Clock skew detected. Yo

Re: does usleep() sleep more than it's supposed to?

2007-02-26 Thread Jason Thurston
I believe it is only guaranteed to sleep for "at least" the number of microseconds specified. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://