Re: How to capture error in Cygwin, $? is not working

2008-03-13 Thread Corinna Vinschen
On Mar 12 23:09, nlian wrote: > > Hi, > > I want to write a simple script to start and stop windows service remotely. > Here is the script: > > #!/usr/bin/bash > sc servername start "MyService" > echo $? > > === > The above script return the following messages: > [SC] StartService: Ope

Re: pthread_mutex_lock/unlock performance?

2008-03-13 Thread Corinna Vinschen
On Mar 13 10:32, Mojmir Svoboda wrote: > hello, > > i'm runing cygwin (1.5.25?) under win xp sp2 and i ran a simple test > which was supposed to measure the speed of pthread_mutex_lock, > increment, pthread_mutex_unlock compared to interlocked increment and > windows critical section. > > the thi

pthread_mutex_lock/unlock performance?

2008-03-13 Thread Mojmir Svoboda
hello, i'm runing cygwin (1.5.25?) under win xp sp2 and i ran a simple test which was supposed to measure the speed of pthread_mutex_lock, increment, pthread_mutex_unlock compared to interlocked increment and windows critical section. the thing is that cygwin's pthread_mutex_lock performs quite l

On Bash options

2008-03-13 Thread Angelo Graziosi
Just a curiosity. I have the following link on Desktop: C:\cygwin\bin\run.exe bash -l -c start_urxvt.sh with which I run 'start_urxvt.sh' located in /usr/local/bin. 'start_urxvt.sh' contains at the end: [...] exec /usr/bin/urxvt which starts an URXVT console. Well, the fact is that its prom

Re: Konsole or similar in cygwin

2008-03-13 Thread Thorsten Kampe
* horacioemilio (Wed, 12 Mar 2008 08:04:52 -0700 (PDT)) > is it some way to have Konsole in cygwin ? Konsole is available from Cygwin Ports (google for that). Thorsten -- "I'm a vet. I'm a pro. Hell, I been here /eight months/." -- Three Dead Trolls in a Baggie, "Welcome to the Internet helpdes

Re: How to capture error in Cygwin, $? is not working

2008-03-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to nlian on 3/13/2008 12:09 AM: | What I don't understand is why $? return 0 and not 1060 or any other | error code. 1060 is impossible - exit status is constrained to be 0 to 255 (8 bits is all you get). And while 1060%256 == 36 would be

Re: On Bash options

2008-03-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Angelo Graziosi on 3/13/2008 4:30 AM: | 'start_urxvt.sh' contains at the end: | | [...] | exec /usr/bin/urxvt Why execute bash, just to exec urxvt, which in turn executes another instance of bash? Why not just put urxvt as the shortcut

Re: On Bash options

2008-03-13 Thread Angelo Graziosi
Eric Blake wrote: > Why execute bash, just to exec urxvt, which in turn executes another > instance of bash? Why not just put urxvt as the shortcut target > instead, using ~/.Xdefaults to control everything rather than needing > bash to set it up? Eric, For the sake of completeness the 'star

Cannot start bash prompts: processes intermittently don't die

2008-03-13 Thread Popper, Samuel (US SSA)
I'm running into a problem with a previously-working installation of cygwin on Windows 2003 server. I had installed a few extra packages, and updated all packages to the latest while attempting to set up Tinderbox. Now, I can no longer reliably open a cygwin bash prompt. The console window opens

Re: Konsole or similar in cygwin

2008-03-13 Thread horacioemilio
Hi, I installed and so it but, how can I change colors and background color and reduce font size ? Thanks Danilo Turina-2 wrote: > > horacioemilio wrote: >> Hi, >> >> is it some way to have Konsole in cygwin ? >> >> I like its features like tabs, etc >> >> Thanks in advance >> > > I use

RE: Cannot start bash prompts: processes intermittently don't die

2008-03-13 Thread Dave Korn
Popper, Samuel (US SSA) wrote on 13 March 2008 15:05: > I'm running into a problem with a previously-working installation of > cygwin on Windows 2003 server. Two things to try: first, cut down your path, from this ... Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin

RE: Cannot start bash prompts: processes intermittently don't die

2008-03-13 Thread Popper, Samuel (US SSA)
Cutting down PATH didn't help: C:\Documents and Settings\Administrator>path PATH=C:\WINDOWS\system32\wbem;C:\WINDOWS;C:\WINDOWS\system32;C:\cygwin\u sr\X11R6 \bin;C:\cygwin\bin;C:\cygwin\usr\local\bin C:\Documents and Settings\Administrator>start C:\cygwin\cygwin.bat ...still produced the hang.

Cygwin doesn't install on Windows Server 2008 (x64).

2008-03-13 Thread Krzysztof Ostrowski
Problem: Cygwin won't install (it hangs in the post-install scripts). Symptoms: Deterministically hangs when running the post-install scripts. Running in compatibility mode with Windows Server 2003 no longer helps, as it used to help in the past with the beta and CTP versions of Windows Server 20

Re: Cygwin doesn't install on Windows Server 2008 (x64).

2008-03-13 Thread Corinna Vinschen
On Mar 13 14:02, Krzysztof Ostrowski wrote: > Problem: > Cygwin won't install (it hangs in the post-install scripts). > > Symptoms: > Deterministically hangs when running the post-install scripts. Running in > compatibility mode with Windows Server 2003 no longer helps, as it used to > help in th

Cygwin on x64

2008-03-13 Thread NightStrike
Is cygwin for Win64 native 64-bit, or does it run in the WoW compatibility layer? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/fa

RE: Cygwin on x64

2008-03-13 Thread Dave Korn
NightStrike wrote on 13 March 2008 19:20: > Is cygwin for Win64 native 64-bit, or does it run in the WoW > compatibility layer? The latter. There's no such thing as "cygwin for Win64"; the dll itself, and all the packages, exist only in bog standard 32-bit ix86 versions. cheers, Dav

diff utility...

2008-03-13 Thread Joe Saunders
I downloaded cygwin to my XP desktop and assumed there would be a diff utility in th shell or utilities.. Did not see it... Then i went online at cygwin to get the diff utility. could not find a pakcage... There has to be one, what am i missing here... Thx -Joe -- Unsubscribe info: htt

Re: diff utility...

2008-03-13 Thread Larry Hall (Cygwin)
Joe Saunders wrote: I downloaded cygwin to my XP desktop and assumed there would be a diff utility in th shell or utilities.. Did not see it... Then i went online at cygwin to get the diff utility. could not find a pakcage... There has to be one, what am i missing here...

RE: diff utility...

2008-03-13 Thread Dave Korn
Joe Saunders wrote on 13 March 2008 19:29: > I downloaded cygwin to my XP desktop and assumed there > would be a diff utility in th shell or utilities.. > Did not see it... > > Then i went online at cygwin to get the diff utility. could not find a > pakcage... It's there, it's just not one of

Suggest upgrading to emacs 22.1.92?

2008-03-13 Thread Jonathan Kamens
After a long hiatus from the Cygwin mailing list, here I am, back again. I'm sure I'll regret it soon enough. :-) I installed the Cygwin emacs 22.1-3 package, along with emacs-el and emacs-X11, because I wanted to use some elisp files that were incompatible with emacs 21, and I didn't feel like go

announcing allmydata.org "Tahoe" v0.9

2008-03-13 Thread zooko
ANNOUNCING: Allmydata.org "Tahoe" version 0.9 We are pleased to announce the release of version 0.9 of allmydata.org "Tahoe". Allmydata.org "Tahoe" is a secure, decentralized, fault-tolerant filesystem. All of the source code is available under a Free Software, Open Source licence (or two). Th

RE: Easy question - Colors

2008-03-13 Thread Stepp, Charles
Colors is a bit of a hobby. Some of these are hideous, but variety is the spice, and all that... Foreground Background rgb:5c/61/0a rgb:a0/9f/f2 rgb:eb/d3/91 rgb:0e/29/6f rgb:34/1b/c6 rgb:ca/df/3b rgb:ce/f5/c8 rgb:33/09/33 rgb:52/04/32 rgb:ad/f7/c7 rgb:00/00/00 rgb:23/b1/75 rgb:37/2e/82 rgb:c5/d

Re: Suggest upgrading to emacs 22.1.92?

2008-03-13 Thread Christopher Faylor
On Thu, Mar 13, 2008 at 04:03:11PM -0400, Jonathan Kamens wrote: >After a long hiatus from the Cygwin mailing list, here I am, back again. >I'm sure I'll regret it soon enough. :-) > >I installed the Cygwin emacs 22.1-3 package, along with emacs-el and >emacs-X11, because I wanted to use some elisp

RE: Cygwin doesn't install on Windows Server 2008 (x64).

2008-03-13 Thread Krzysztof Ostrowski
Hi, I'm positive about that, I just retried that on a clean machine. I'd be happy to send you logs or other debug info if you just tell me what you would need. I've looked at the log in C:\cygwin\var, but the file size is 0, the setup is probably not flushing the stuff it writes to the file. The

Using gdb on cygwin

2008-03-13 Thread Mathieu Malaterre
Hi there, I am trying to track down a seg fault in an app, but running it through gdb does not seems to help. Is there anything I need to know when using gdb on cygwin. For instance here is what I get (notice that I cannot get any backtrace): $ gdb /home/mmalaterre/Projects/CMake-cyg/bin/cpac

Will gnuplot 4.2.3 on cygwin be comming soon?

2008-03-13 Thread Tatsuro MATSUOKA
Hello cygwin-gnuplot maintainer I found that gnuplot 4.2.3 has been officially updatex on sourceforge However unfortunately, there was no gp423win32x11.zip. Of course you will know that build of the gnuplot from source on cygwin is not a difficult work. So I think it is you will go ahead to to u

Re: Flakiness; libdups? and MS-POSIX privileges?

2008-03-13 Thread Linda Walsh
Dave Korn wrote: Ah. So the error only arises when the binary is located in windows system dir. Right alongside all those thousands of DLLs. All those DLLs which are now all of a sudden higher up in the DLL search path than they were when the binary was located somewhere else. Just a WAG,

Re: Using gdb on cygwin

2008-03-13 Thread Larry Hall (Cygwin)
Mathieu Malaterre wrote: Hi there, I am trying to track down a seg fault in an app, but running it through gdb does not seems to help. Is there anything I need to know when using gdb on cygwin. For instance here is what I get (notice that I cannot get any backtrace): There is no special in