RE: Re: Problem when using variable assignment, backticks in shell script

2006-09-01 Thread CARTER Alan
> Whether you typed it yourself or not, those type of disclaimers are actually not allowed in mail to mailing lists at this site: > http://sourceware.org/lists.html OK. I can't post. My mistake was attempting to make a suggestion to a person asking for help - which is more than you did. What a wa

Problem running cron service

2006-09-01 Thread A Hemaraj
Hi, I am running Cygwin in my Windows 2k3 machine. I am not able to run the cron service. When i checked with the following command. $cygrunsrv -Q cron I get the following result. Output of "cygrunsrv -Q cron" command : Service : cron Current State : Stopped Command

Re: Color Schemes

2006-09-01 Thread George
On Thu, Aug 31, 2006 at 12:59:09PM -0500, mwoehlke wrote: >> George wrote: >> On Thu, Aug 31, 2006 at 09:44:51AM -0500, mwoehlke wrote: >>> Dave Korn wrote: >>> [...] and I am not aware of any way to examine the terminal's >>> "palette", nor should you need to. If a user wants to fiddle with >>>

RE: [Mingw-msys] POSIX names for drive letters

2006-09-01 Thread Schwarz, Konrad
> >> By the way, any idea why //localhost/C$ doesn't work? > > do you have > > 127.0.0.1 localhost > > in your hosts file ? Yes, localhost is in %SystemRoot%\System32\etc\drivers\hosts. > No, I don't think that's it. This is netbios name > resolution and DNS doesn't come into it; it's resol

mp3 player from cygwin

2006-09-01 Thread umen
Hello all , is there any thing like that ? mp3 player from cygwin? not graphic or graphic command line that working ? thanks -- View this message in context: http://www.nabble.com/mp3-player-from-cygwin-tf2201356.html#a6094977 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info

RE: [Mingw-msys] POSIX names for drive letters

2006-09-01 Thread Dave Korn
On 01 September 2006 08:37, Schwarz, Konrad wrote: > $ nslookup localhost > Server: mail2.siemens.de > Address: 139.25.208.11 > > Non-authoritative answer: > Name:localhost.ww002.siemens.net > Address: 127.0.0.1 > > $ > > which is weird, I shouldn't have thought that nslookup return a po

cygwin fork()

2006-09-01 Thread clayne
Is it just me or is cygwin fork(), or a support syscall underneath, terribly slow for some reason? While building projects using libtool (which using heavy sh, hence fork() calls) I regularly have to fire off 'make -j16's just to get around waiting ages when using a single make job. -cl -- Unsubs

RE: cygwin fork()

2006-09-01 Thread Dave Korn
On 01 September 2006 11:02, [EMAIL PROTECTED] wrote: > Is it just me or is cygwin fork(), or a support syscall underneath, > terribly slow for some reason? Some reason == "lack of O/S support". cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info:

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 11:12:59AM +0100, Dave Korn wrote: > > Is it just me or is cygwin fork(), or a support syscall underneath, > > terribly slow for some reason? > > Some reason == "lack of O/S support". Yes I can understand that. I'm assuming there is some CreateProcess() magic happening

cron job don't work correct

2006-09-01 Thread Todde
Hi All, With cygwin i want run a daily script that should build my source every day. I want do that with a cron job. On my system the cron service is running.In win xp i am log in as a domain-user with administrator rights (member in the administrator group). In cygwin i am log in as a domain-use

RE: cygwin fork()

2006-09-01 Thread Dave Korn
On 01 September 2006 11:22, [EMAIL PROTECTED] wrote: > On Fri, Sep 01, 2006 at 11:12:59AM +0100, Dave Korn wrote: >>> Is it just me or is cygwin fork(), or a support syscall underneath, >>> terribly slow for some reason? >> >> Some reason == "lack of O/S support". > > Yes I can understand that

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 11:12:59AM +0100, Dave Korn wrote: > On 01 September 2006 11:02, [EMAIL PROTECTED] wrote: > > > Is it just me or is cygwin fork(), or a support syscall underneath, > > terribly slow for some reason? > > Some reason == "lack of O/S support". Basically, this is what I'm

EGSnrc & cygwin

2006-09-01 Thread Kayla Kielar
Hi, I am trying to install and run EGSnrc and Cygwin on my Windows XP machine following a document by Brian Wilfley back in April 2003 and am not having any luck. Is there an updated installation document to install and run? Thanks! Kayla -- Kayla N. Kielar Univer

RE: EGSnrc & cygwin

2006-09-01 Thread Dave Korn
On 01 September 2006 14:49, Kayla Kielar wrote: > Hi, > > > > I am trying to install and run EGSnrc and Cygwin on my Windows XP machine > following a document by Brian Wilfley back in April 2003 and am not having > any luck. Is there an updated installation document to install and run? You'

Re: cron job don't work correct

2006-09-01 Thread Igor Peshansky
On Fri, 1 Sep 2006, Todde wrote: > With cygwin i want run a daily script that should build my source every day. > I want do that with a cron job. > [snip] > > Here is the problem: > But i.e. if i call another script from the cronscript.sh it don't work > as a cronjob but it work when i enter it on

Re: cygwin fork()

2006-09-01 Thread Igor Peshansky
On Fri, 1 Sep 2006, clayne wrote: > Is it just me or is cygwin fork(), or a support syscall underneath, > terribly slow for some reason? While building projects using libtool > (which using heavy sh, hence fork() calls) I regularly have to fire off > 'make -j16's just to get around waiting ages wh

Re: Color Schemes

2006-09-01 Thread mwoehlke
George wrote: On Thu, Aug 31, 2006 at 12:59:09PM -0500, mwoehlke wrote: George wrote: On Thu, Aug 31, 2006 at 09:44:51AM -0500, mwoehlke wrote: Dave Korn wrote: [...] and I am not aware of any way to examine the terminal's "palette", nor should you need to. If a user wants to fiddle with thes

Re: nfs in client mode (winxp => linux)

2006-09-01 Thread mwoehlke
[EMAIL PROTECTED] wrote: I see lots of past messages here about setting up NFS in server mode, but very little in the other direction. Going far enough back there was quite a long thread about SFU (Services for unix) but I haven't been able to get that NFS client to work. In fact I can't even r

Re: cygwin fork()

2006-09-01 Thread Igor Peshansky
On Fri, 1 Sep 2006, clayne wrote: > On Fri, Sep 01, 2006 at 11:12:59AM +0100, Dave Korn wrote: > > On 01 September 2006 11:02, [EMAIL PROTECTED] wrote: > > > > > Is it just me or is cygwin fork(), or a support syscall underneath, > > > terribly slow for some reason? > > > > Some reason == "lack

Re: Re: Problem when using variable assignment, backticks in shell script

2006-09-01 Thread Christopher Faylor
On Fri, Sep 01, 2006 at 09:22:53AM +0200, CARTER Alan wrote: >>Whether you typed it yourself or not, those type of disclaimers are >>actually not allowed in mail to mailing lists at this site: > >>http://sourceware.org/lists.html > >OK. I can't post. My mistake was attempting to make a suggestion

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 10:33:47AM -0400, Igor Peshansky wrote: > While Cygwin is an *emulation* layer, and emulation is inherently slower > than straight execution, there are other potential reasons for the > slowness. Check your anti-virus and firewall software settings. If > possible, exclude

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 08:37:09AM -0700, [EMAIL PROTECTED] wrote: > > 1157123322 + echo blah1 > 1157123322 blah1 > <3 seconds of doing absolutely nothing here> > 1157123325 + test -z '' > 1157123325 + echo blah2 > 1157123325 blah2 I just also copied the same libtool to 3 different hard drives, o

Re: mp3 player from cygwin

2006-09-01 Thread Larry Hall (Cygwin)
umen wrote: Hello all , is there any thing like that ? mp3 player from cygwin? not graphic or graphic command line that working ? thanks No, not as a package in the distribution. I remember some talk about, I believe, mplayer a while back on the list but I may be mistaken. -- Larry Hall

Re: cygwin fork()

2006-09-01 Thread Christopher Faylor
On Fri, Sep 01, 2006 at 08:37:09AM -0700, [EMAIL PROTECTED] wrote: >On Fri, Sep 01, 2006 at 10:33:47AM -0400, Igor Peshansky wrote: >> While Cygwin is an *emulation* layer, and emulation is inherently slower >> than straight execution, there are other potential reasons for the >> slowness. Check y

Re: Problem running cron service

2006-09-01 Thread Larry Hall (Cygwin)
On 09/01/2006, A Hemaraj wrote: I have attached the file "cygcheck.txt" which has the output of "cygcheck -srv" and "cron.txt" which is the job assigned for crontab. Actually no, you apparently forgot to do that. -- Larry Hall http://www.rfk.com RFK Partners, Inc.

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 11:54:03AM -0400, Christopher Faylor wrote: > >It's definitely none of those as I don't run any firewall or antivirus > >software whatsoever on this box. Windows 2003 Server, minimal set of > >services. The machine literally sits at 0% CPU unless I'm using it. > > Try using

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 09:09:11AM -0700, [EMAIL PROTECTED] wrote: > On Fri, Sep 01, 2006 at 11:54:03AM -0400, Christopher Faylor wrote: > > >It's definitely none of those as I don't run any firewall or antivirus > > >software whatsoever on this box. Windows 2003 Server, minimal set of > > >service

Re: cygwin fork()

2006-09-01 Thread Igor Peshansky
On Fri, 1 Sep 2006, Christopher Faylor wrote: > On Fri, Sep 01, 2006 at 08:37:09AM -0700, [EMAIL PROTECTED] wrote: > >On Fri, Sep 01, 2006 at 10:33:47AM -0400, Igor Peshansky wrote: > >> While Cygwin is an *emulation* layer, and emulation is inherently > >> slower than straight execution, there ar

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 09:34:15AM -0700, [EMAIL PROTECTED] wrote: > BTW: > I started up filemon to watch what was going on from it's standpoint, and it > shows a huge number of READs on libtool, all SUCCESS, but the offset is always > 1 higher than previous, with a length of 1. Like it's literally

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 10:04:51AM -0700, [EMAIL PROTECTED] wrote: > I've since removed the setmode() calls within a bash build and am testing now. > > UPDATE: > SOLVED. > > Filemon now shows bash reading in 8k chunks. There is now no 3 second delay on > reading the rest of the bash script (which

Re: cygwin fork()

2006-09-01 Thread Christopher Faylor
On Fri, Sep 01, 2006 at 10:04:51AM -0700, [EMAIL PROTECTED] wrote: >On Fri, Sep 01, 2006 at 09:34:15AM -0700, [EMAIL PROTECTED] wrote: >> BTW: >> I started up filemon to watch what was going on from it's standpoint, and it >> shows a huge number of READs on libtool, all SUCCESS, but the offset is

Re: cygwin fork()

2006-09-01 Thread clayne
On Fri, Sep 01, 2006 at 01:24:57PM -0400, Christopher Faylor wrote: > >In regards to setting the fd to textmode as a way of stripping CRs. > >Only problem is that it's making 213,110 syscalls for a 213k libtool > >script. That cannot be an efficient way to remove CRs from input. > > Opening a fil

bash problems ? (was Re: cygwin fork())

2006-09-01 Thread Christopher Faylor
I'm just changing the subject so that Eric will, with luck, notice and comment on what's going on here. cgf On Fri, Sep 01, 2006 at 10:47:13AM -0700, [EMAIL PROTECTED] wrote: >On Fri, Sep 01, 2006 at 01:24:57PM -0400, Christopher Faylor wrote: >> >In regards to setting the fd to textmode as a way

RE: cygwin fork()

2006-09-01 Thread Dave Korn
On 01 September 2006 18:47, [EMAIL PROTECTED] wrote: > I found the real culprit, which I had also ifdef'd out because it looked > bogus and crufty: > > /* Return 1 if a seek on FD will succeed. */ > #ifndef __CYGWIN__ > # define fd_is_seekable(fd) (lseek ((fd), 0L, SEEK_CUR) >= 0) > #else > #

Re: cygwin fork()

2006-09-01 Thread Christopher Faylor
On Fri, Sep 01, 2006 at 06:57:10PM +0100, Dave Korn wrote: >On 01 September 2006 18:47, [EMAIL PROTECTED] wrote: >>I found the real culprit, which I had also ifdef'd out because it looked >>bogus and crufty: >> >>/* Return 1 if a seek on FD will succeed. */ >>#ifndef __CYGWIN__ >># define fd_is_se

tar 1.5.error: lone zero block

2006-09-01 Thread Lott, Jeremiah
I'm unpacking a tar that contains a linux root filesystem on my cygwin machine. I get a complaint about a "lone zero block" and the tar is not completely extracted. This is with tar 1.15.91-1, if I roll back to 1.15.1-4, then the problem goes away. Appears to be a bug. The same thing happened f

non-gui version of the cygwin setup?

2006-09-01 Thread Mike
When cygwin is installed in a bunch of boxes already, is there a way to ssh into the box (ssh is already setup, etc) and execute Cygwin's setup.exe to have setup pull updated packages from an internal, local mirror? Mike -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

RE: cygwin fork()

2006-09-01 Thread Gary R. Van Sickle
> From: Christopher Faylor > Sent: Friday, September 01, 2006 1:01 PM > Subject: Re: cygwin fork() > > On Fri, Sep 01, 2006 at 06:57:10PM +0100, Dave Korn wrote: > >On 01 September 2006 18:47, clayne wrote: > >>I found the real culprit, which I had also ifdef'd out because it > >>looked bogus and

Re: cygwin fork()

2006-09-01 Thread Brian Dessent
"Gary R. Van Sickle" wrote: > > AFAIK, Cygwin's lseek should handle seeking on text streams. > > DJ implemented that years ago. > > Last I looked, which was admittedly also years ago, it was "#if 0"'ed out, > with a comment to the effect of "Nobody has any business seeking around in > text files.

Re: cygwin fork()

2006-09-01 Thread mwoehlke
Brian Dessent wrote: "Gary R. Van Sickle" wrote: AFAIK, Cygwin's lseek should handle seeking on text streams. DJ implemented that years ago. Last I looked, which was admittedly also years ago, it was "#if 0"'ed out, with a comment to the effect of "Nobody has any business seeking around in text

Re: cygwin fork()

2006-09-01 Thread Christopher Faylor
On Fri, Sep 01, 2006 at 05:07:49PM -0500, Gary R. Van Sickle wrote: >> From: Christopher Faylor >> Sent: Friday, September 01, 2006 1:01 PM >> Subject: Re: cygwin fork() >> >> On Fri, Sep 01, 2006 at 06:57:10PM +0100, Dave Korn wrote: >> >On 01 September 2006 18:47, clayne wrote: >> >>I found the

Re: non-gui version of the cygwin setup?

2006-09-01 Thread Igor Peshansky
On Fri, 1 Sep 2006, Mike wrote: > When cygwin is installed in a bunch of boxes already, > is there a way to ssh into the box (ssh is already setup, > etc) and execute Cygwin's setup.exe to have setup pull > updated packages from an internal, local mirror? If you allow the sshd service to interact

Re: non-gui version of the cygwin setup?

2006-09-01 Thread Mike
On Fri, 01 Sep 2006, Igor Peshansky might have said: > On Fri, 1 Sep 2006, Mike wrote: > > > When cygwin is installed in a bunch of boxes already, > > is there a way to ssh into the box (ssh is already setup, > > etc) and execute Cygwin's setup.exe to have setup pull > > updated packages from an

Re: cygwin fork()

2006-09-01 Thread Eric Blake
> But Cygwin's should work fine, and if it means saving a bazillion 1-byte > syscalls then I think bash should be patched to remove this sillyness > ASAP. I get the hint! Look for a new release of bash in the near future; and once I get the cygport build going, I will also try to get the bash-3.2