RE: BLODA FAQ entry.

2008-01-08 Thread Dave Korn
On 07 January 2008 13:09, Corinna Vinschen wrote: On Jan 2 19:46, Dave Korn wrote: On 02 January 2008 19:08, Christopher Faylor wrote: On Wed, Jan 02, 2008 at 06:59:03PM -, Dave Korn wrote: Hmm, I thought the website might update itself automagically when the sources are changed, but

typesetting

2008-01-08 Thread wynfield
Are there any typesetting programs out there like (the English/German focused Tex and Latex macros) that enables one to develop typesetting documents in Asian languages, such as Japanese, within the cygwin pacage group or could be made to work in the cyg win environment. I know cygwin once

Re: Observation: setting HOME to / can lead to slow cygwin

2008-01-08 Thread Pete Forman
George Wyner [EMAIL PROTECTED] writes: Running cygwin on my machine was quite slow, especially when starting bash and running man and info (2-5 seconds for each). I also noticed that nano complained it could not find the file //.nanorc You could try setting HOME to /. if you do not want

Re: bash_completion for perl disabled

2008-01-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Reini Urban on 12/27/2007 10:26 AM: | bash_completion failing to complete files for perl annoyed me too much, | so I recommend to disable it completely. files are more important than | options. options do work, but files not. | | apply

Re: Trouble with cygwin git

2008-01-08 Thread Corinna Vinschen
On Jan 2 19:35, MP wrote: I dug into this, and found that the failure happens here: res = fh-link (newpath); in the link() function of file src/winsup/cygwin/syscalls.cc. res is -1, and errno == EEXIST at this point. In the call above, newpath is:

Re: typesetting

2008-01-08 Thread Sylvain RICHARD
[EMAIL PROTECTED] wrote: Are there any typesetting programs out there like (the English/German focused Tex and Latex macros) that enables one to develop typesetting documents in Asian languages, such as Japanese, within the cygwin pacage group or could be made to work in the cyg win

Re: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)

2008-01-08 Thread Corinna Vinschen
On Jan 2 14:01, Dave Korn wrote: On 02 January 2008 10:25, melvins wrote: Mike Boone wrote: In reference to that /dev/urandom bug I encountered last week, I thought I might try to build Ruby from source on Cygwin and see how it works. I downloaded Ruby 1.8.6-p111 off the

how to check email through cygwin

2008-01-08 Thread sun
hi everyone, Can I check email of some acount like [EMAIL PROTECTED] in cygwin ? if that is possible could someone please advise how to config and reply the mail. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Does clock() work?

2008-01-08 Thread Norton Allen
I am trying to write a benchmark application, and figured I'd use clock() for sub-second resolution timing, but I got non-sensical results. I check the cygwin archives, but the only mention I saw was that clock() didn't work on Win98. Here's my test code, chktime.c: #include time.h

RE: Does clock() work?

2008-01-08 Thread Dave Korn
On 08 January 2008 17:57, Norton Allen wrote: Is this a known problem? Do others get this result, or do I have a corrupted library? Reproduces here. I'll take a look into it later tonight if nobody beats me to it. cheers, DaveK -- Can't think of a witty .sigline today --

Re: Does clock() work?

2008-01-08 Thread Norton Allen
Mr Webber wrote: CLOCKS_PER_SEC is a machine dependent macro, but not so machine dependent to recognize that my 32-bit windows box has dual processors. Not useful for benchmarking, is it. It's not quite clear to me why multiple processors would affect the interpretation of CLOCKS_PER_SEC,

Re: Does clock() work?

2008-01-08 Thread Greg Chicares
On 2008-01-08 17:57Z, Norton Allen wrote: [snip code that times this inner loop:] for ( i = 0; i 8; i++ ) { sleep(1); cur_time = clock(); printf( clock() = %ld\n, cur_time ); I would expect the clock() values to increase by approximately 1000 on each

RE: Does clock() work?

2008-01-08 Thread Mr Webber
CLOCKS_PER_SEC is a machine dependent macro, but not so machine dependent to recognize that my 32-bit windows box has dual processors. Not useful for benchmarking, is it. clock is not the way to go. It is a crude estimation of processor time. On regular UNIX times(2) is the function to use --

Re: Does clock() work?

2008-01-08 Thread Norton Allen
Greg Chicares wrote: I get similar results with the same program. According to C99 7.23.2.1/2, The clock function determines the processor time used. so I'd guess that sleep() is consuming only wall-clock time. Ah, good catch. Thank you. Now, I am definitely interested in wall clock

Re: Installation problem with Windows Server 2008

2008-01-08 Thread Nimish Pachapurkar
On Dec 22, 2007 1:59 AM, Corinna Vinschen wrote: On Dec 20 15:07, Nimish Pachapurkar wrote: I did some more testing. It seems that the hang problem is specific to python only. It's defintely not Python only on RC1. Windows Server 2008 with Hyper V RC1 version which is a later build

Re: Does clock() work?

2008-01-08 Thread Greg Chicares
On 2008-01-08 19:15Z, Norton Allen wrote: Now, I am definitely interested in wall clock elapsed time. Is there anything available that will give me real time at resolution greater than one second? /tmp[0]$cat clock_test.c #include time.h #include unistd.h #include stdio.h

Re: Does clock() work?

2008-01-08 Thread Norton Allen
Norton Allen wrote: Greg Chicares wrote: I get similar results with the same program. According to C99 7.23.2.1/2, The clock function determines the processor time used. so I'd guess that sleep() is consuming only wall-clock time. Ah, good catch. Thank you. Now, I am definitely interested

RE: Does clock() work?

2008-01-08 Thread Mr Webber
Took another look and found that times(2), though not documented, is available in Cygwin (as a macro in sys/times.h). Try it. You should be able to get real granular time with it, since it also returns a clock_t, without massaging the data returned with any magic CONSTANTS that vary from mach

RE: SFTP error 128

2008-01-08 Thread Neil Aggarwal
Igor: See if http://www.derkeiler.com/Newsgroups/comp.security.ssh/2003-06 /0117.html is of any help. I logged in as the Administrator, ran the cygwin shell, and executed these commands: chmod 755 / chmod -R 755 /usr But, I still get error 128 from a domain user account. Is there a specific

RE: Does clock() work?

2008-01-08 Thread Dave Korn
On 08 January 2008 19:35, Greg Chicares wrote: [ TEST CASE ] /tmp[0]$./clock_test CLOCKS_PER_SEC = 1000 clock() = 30 gettimeofday() = 210033718 clock() = 30 gettimeofday() = 211033718 clock() = 30 gettimeofday() = 212033718 clock() = 30 gettimeofday() = 213033718 clock() = 30

Re: typesetting

2008-01-08 Thread Gregg Reynolds
On 1/8/08, Sylvain RICHARD [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Are there any typesetting programs out there like (the English/German focused Tex and Latex macros) that enables one to develop typesetting documents in Asian languages, such as Japanese, within the cygwin pacage

Re: Cygwin install not setting paths

2008-01-08 Thread Daniel So
Hi Larry As suggested, I tried re-running the setup.exe but the results were still the same. So I tried going to and /etc/postinstall. All files there ended in .done. The files there were:

RE: SFTP error 128

2008-01-08 Thread Neil Aggarwal
Igor: Well, that posting was referring to permissions on *Windows* directories. Cygwin isn't standalone -- to work, it needs the standard Windows DLLs like kernel32.dll, winsock stuff, etc. I'm guessing your C:\Windows directory is accessible to local users but not domain users. I set

RE: SFTP error 128

2008-01-08 Thread Igor Peshansky
On Tue, 8 Jan 2008, Neil Aggarwal wrote: Igor: See if http://www.derkeiler.com/Newsgroups/comp.security.ssh/2003-06 /0117.html is of any help. I logged in as the Administrator, ran the cygwin shell, and executed these commands: chmod 755 / chmod -R 755 /usr But, I still get error

Re: [ANNOUNCEMENT] Updated: perl-5.10.0-1 [EXPERIMENTAL]

2008-01-08 Thread Reini Urban
According to Reini Urban on 12/27/2007 10:31 AM: | A diff of the modules from 5.8 to 5.10 is below. | Module::Build is definitely now in CORE. So I should be prepared to mark perl-module-build as an obsolete package once perl is no longer experimental? Obsolete it only when the perl 5.8

need help with bash -c command with cygpath

2008-01-08 Thread Jay
When i run cygpath -a '\\uncpath\mydrive$' //uncpath/mydrive$ Which is the expected behaivor. When i run bash -i -c cygpath -a '\\uncpath\mydrive$' /C/uncpath/mydrive$ Which is not what i want. I'm trying to pass in the unc path from windows, so it needs converted. Why do i get different

Re: need help with bash -c command with cygpath

2008-01-08 Thread Christopher Faylor
On Wed, Jan 09, 2008 at 01:52:31AM +, Jay wrote: When i run cygpath -a '\\uncpath\mydrive$' //uncpath/mydrive$ Which is the expected behaivor. When i run bash -i -c cygpath -a '\\uncpath\mydrive$' /C/uncpath/mydrive$ Which is not what i want. I'm trying to pass in the unc path from

Re: need help with bash -c command with cygpath

2008-01-08 Thread Jay
It's because of the way the backslash is handled within double quotes. info bash may be of some help. cgf Thanks for the help. I read the info. Looks like i will have to pass the UNC path into a script and do the work there. Thanks again. -- Unsubscribe info:

Re: how to check email through cygwin

2008-01-08 Thread Reid Thompson
sun wrote: hi everyone, Can I check email of some acount like [EMAIL PROTECTED] in cygwin ? if that is possible could someone please advise how to config and reply the mail. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: how to check email through cygwin

2008-01-08 Thread Reid Thompson
sun wrote: hi everyone, Can I check email of some acount like [EMAIL PROTECTED] in cygwin ? if that is possible could someone please advise how to config and reply the mail. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

cygwin, g++ and boost? Do I need dll.a?

2008-01-08 Thread adam99
I downloaded boost packages under cygwin (both boost and boost-devel). My first problem is unit test framework was not installed through this installation. I have tried to create it through bjam and created a library file at

Re: need help with bash -c command with cygpath

2008-01-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jay on 1/8/2008 6:52 PM: | When i run | bash -i -c cygpath -a '\\uncpath\mydrive$' Whoa - it seldom makes sense to use -i and -c simultaneously - what good is an interactive shell, if all it is going to do is execute a single command