Re: SIGINT not passed to java process

2012-05-22 Thread Olivier Lefevre
Since apparently nobody wants to take ownership of this regression I'll point out the workaround, for the benefit of those googling and landing on this thread: start Java with -Xrs and use Ctrl-Break instead of Ctrl-C. This will disable thread dump and break any application that relies on normal s

Re: SIGINT not passed to java process

2012-05-18 Thread Olivier Lefevre
python has the same problem. If you send it a Ctrl-C under cmd.com it will print "KeyboardInterrupt" whereas under Cygwin it prints nothing. Is python more to your taste? On 5/17/2012 7:23 PM, Christopher Faylor wrote: On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote

Re: SIGINT not passed to java process

2012-05-17 Thread Olivier Lefevre
On 5/11/2012 7:29 PM, Franz Kettwig wrote: After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. [...] I can attest that Franz is not the only one with this problem. I just upgraded to Cygwin 1.7.15-1 but in vain. Is a fix in the works? Regards, -- O.L.

Re: mtr compilation problem

2011-03-16 Thread Olivier Lefevre
OK, I'll try. Thanks a lot. Re. raw sockets and the need for elevated privilege, can't you use the RunAs trick to get around it? -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Un

mtr compilation problem

2011-03-15 Thread Olivier Lefevre
I am trying to compile mtr-0.80. configure completed without errors but make puts: net.h:25:25: error: netinet/ip6.h: No such file or directory net.h:26:27: error: netinet/icmp6.h: No such file or directory I couldn't find what additional packages I should download to get IPv6 headers (which I a

Re: Doubtful about unison

2011-03-04 Thread Olivier Lefevre
On 3/4/2011 10:47 AM, Corinna Vinschen wrote: [...] Thanks. Now that's clear. -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscr

Re: Doubtful about unison

2011-03-03 Thread Olivier Lefevre
I think the english message should have been "The procedure entry point __ctype_ptr__ could not be located in the dynamic link library cygwin1.dll"; I mistranslated "procedure" as "program". So this just means that the procedure __ctype_ptr__ cannot be found in the DLL, correct? And is it a recen

Re: Doubtful about unison

2011-03-03 Thread Olivier Lefevre
On 3/3/2011 5:45 PM, Christopher Faylor wrote: I can't make much sense of the above. Than explain me what was meant by "The program entry point __ctype_ptr__ was not found in cygwin1.dll" Or is it a function entry point? -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Doubtful about unison

2011-03-03 Thread Olivier Lefevre
On 3/3/2011 8:06 AM, Andy Koppe wrote: In a slightly different line of thought, isn't it rather brittle of Cygwin that a minor upgrade (I was already at some 1.7 version) breaks applications? Think, a contrario, of how you can still run ancient Windows apps on XP. The problem you had was a case

Re: setup.exe considerations

2011-03-01 Thread Olivier Lefevre
On 3/1/2011 1:46 PM, Andy Koppe wrote: Good idea, although that would entail unnecessary (and unwanted) updates, for example, the Cygwin DLL would get updated whatever package you installed, even if the package was built years ago. Indeed and upgrading Cygwin itself is the very thing I was tryi

Re: Doubtful about unison

2011-03-01 Thread Olivier Lefevre
On 3/1/2011 8:20 AM, Andy Koppe wrote: To be fair, setup.exe ought to be able to resolve or warn about such version dependencies. That's what I was tempted to say. For the record this is what I did: 1) select Keep 2) manually pick unison 3) accept the dialog about dependencies Yet AFAICT only U

Re: Doubtful about unison

2011-02-28 Thread Olivier Lefevre
Hm. Okay, what if you run `strace /usr/bin/unison-2.32 -version`? I had forgotten about that. I used truss a lot in the past but I didn't know Cygwin had an equivalent. > Please be careful when posting strace clips to the list - the overall > strace can be quite huge Yes but no danger here: i

Re: Doubtful about unison

2011-02-28 Thread Olivier Lefevre
Try `cygcheck /usr/bin/unison-2.32`. Now I get: C:\cygwin/bin\unison-2.32.exe C:\cygwin/bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\Secur32.dll

Re: Doubtful about unison

2011-02-28 Thread Olivier Lefevre
On 2/28/2011 7:06 AM, René Berber wrote: Use cygcheck `which unison` to see what's missing. Thanks, I didn't know that command. cygcheck says: "C:\cygwin/bin\unison - Cannot open" Still in the dark... -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: ht

Doubtful about unison

2011-02-27 Thread Olivier Lefevre
I just installed unison 2.32 and I am a bit doubtful because 'unison', 'unison -version' and 'unison -help' don't print anything at all (they do on my Linux box). Is it expected? -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docu

Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Olivier Lefevre
From your normal bash prompt, type echo $CYGWIN If 'tty' is there [...] Actually CYGWIN is undefined. Is this as it should be? -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Olivier Lefevre
Have you tried holding down the shift keys when using the arrow key to recall previous commands? I tried that suggestion, to no avail. -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.

Re: Readline not working anymore in interactive interpreters

2009-07-23 Thread Olivier Lefevre
But your question is how readline is not working, and yet your cygcheck shows that q is not even using readline (unless it is loading it dynamically after the fact, as if by dlsym). So you're probably asking the wrong question. OK, fair enough. I should have said "readline-like behaviour". Ha

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
I was hoping we would not be playing ye olde finger-pointing game. It used to work and it no longer does yet the interpreter has not changed. How could it not be an issue within Cygwin? I am not asking to take responsibility for non-Cygwin executables but to offer a hint as to what could possibly

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
By the way, this still works fine from cmd.com, so it really is a Cygwin issue. -- O.L. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
But I would be interested in seeing the output of 'cygcheck Q.exe' c:\Programme/Kx/q/w32/q.exe C:\WINDOWS\system32\WS2_32.dll C:\WINDOWS\system32\ADVAPI32.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOW

Re: Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
That's your bash version. What are your cygwin, libreadline6 and libreadline7 versions? I have attached the output of 'cygcheck -svr' And an example of a failing interpreter would be...? You most likely haven't heard of it: Q (available from www.kx.com) Free download but need to register.

Readline not working anymore in interactive interpreters

2009-07-22 Thread Olivier Lefevre
Since the last Cygwin update (I am now at 3.2.49(22)-release) readline is no longer working in some interpreters started from the bash shell, i.e., the languages offer an interactive prompt and I used to be able to recall earlier commands with the arrow keys but no more. This still works from the

Re: ls returning file list as one big string

2007-07-21 Thread Olivier Lefevre
Duh! You are right: in a fresh shell this works correctly. I must inadvertently have mucked with IFS in another script earlier. Thanks! -- O.L. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:

Re: ls returning file list as one big string

2007-07-21 Thread Olivier Lefevre
for i in *.java; do sed -e "$i"; done Thanks, I hadn't thought of getting rid of the ls; this works. I am unable to reproduce this. Perhaps you can paste the entire contents of a directory in question? $ cd /c/Java/j2sdk1.5.0/src/java/util/jar $ for i in `\ls *.java`; do echo \"$i\"; done

ls returning file list as one big string

2007-07-21 Thread Olivier Lefevre
As the subject says, ls returns the file list as one big string for some directories but not others. One sign of that is that, e.g., for i in `\ls *.java`; do sed -e $i; done fails with "File too long". Once can prove it with for i in `\ls *.java`; do echo \"$i\"; done which will retur

Re: source command horribly broken after Cygwin update

2007-07-14 Thread Olivier Lefevre
> swap over to using text mounts That doesn't seem to make any difference. > use the cygwin-specific igncr bash option Thanks, that does work. -- O.L. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: source command horribly broken after Cygwin update

2007-07-14 Thread Olivier Lefevre
> googling first before posting would save some embarrassment on > your part. Thanks for the answer but I am not the least bit embarrassed: I _had_ looked for posting with "source" in the subject using my news reader to no avail. As for googling, that returned too many irrelevant links. > Did

Re: source command horribly broken after Cygwin update

2007-07-14 Thread Olivier Lefevre
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Olivier Lefevre on 7/14/2007 8:49 PM: Current bash version is 3.2.17(15)-release. When I read an alias file with source weird results ensue. E.g., if the alias file is alias rm='rm -i' alias mv=&#x

source command horribly broken after Cygwin update

2007-07-14 Thread Olivier Lefevre
Current bash version is 3.2.17(15)-release. When I read an alias file with source weird results ensue. E.g., if the alias file is alias rm='rm -i' alias mv='mv -i' then 'source /etc/alias' followed by 'alias' shows 'lias mv='mv -i 'lias rm='rm -i A related problam exists with env file.

Re: Dreadful cygwin errors

2006-02-27 Thread Olivier Lefevre
Which was kinda the whole point, wasn't it? My mix of applications is pretty constant, so I don't see what might cause the desktop heap usage to suddenly jump from 22% max to near 100%. It would have been more credible if I was already close to the limit under "normal-looking" conditions. But

Re: Dreadful cygwin errors

2006-02-27 Thread Olivier Lefevre
dheapmon was a bit challenging to install but here is the report: Desktop Heap Information Monitor Tool (Version 8.0.2823.0) Copyright (c) 2003-2005 Microsoft Corporation. All rights reserved. - Session ID:0 Total Desktop: ( 5312

Re: Dreadful cygwin errors

2006-02-26 Thread Olivier Lefevre
Does the solution pointed to here help? That seems spot on because I do have a lot of processes running and I do get "Application Error : The application failed to initialize properly" every so often. However I am not running NT and

Re: Where is ftime?

2006-02-25 Thread Olivier Lefevre
How does your subject say it all? Are you looking for the function about which SuSE says: Honestly I didn't know what ftime is, only that the configure of some program I was trying to compile was looking for it. But I see now it also looks for gettimeofday, so maybe it uses the latter. Than

Dreadful cygwin errors

2006-02-25 Thread Olivier Lefevre
Trying to start some script (FWIW this is the build.sh from pdftex; the "ignore warnings etc" line comes from build.sh) this is what I get (I am showing 4 successive invocations): $ ./build.sh ignore warnings and errors about the main texmf tree 33619 [main] sh 57196 fork: child -1 - CreatePr

Where is ftime?

2006-02-25 Thread Olivier Lefevre
Subject says it all. I can't find and the Search Package List function on the Cygwin web site didn't return anything either. Thanks, -- O.L. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://

Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Olivier Lefevre
OK, so I upgraded everything and now with python 2.3.2 it works. Weird. I didn't change anything else. However, following up on my own suggestion re. truss, I found about strace and wanted to try it but: bash-2.05b$ strace python strace.exe: error creating process python, (error 2) Is th

Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Olivier Lefevre
> Why is the above "/c/cygwin/startup.py" and not "/startup.py" > as you previously indicated? That's the same directory. I just made a typo the 1st time. > BTW, I just noticed that you are using Cygwin Python 2.3-1. Does 2.3-2 > work any better? The two packages are identical except for 32- v

Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Olivier Lefevre
bash-2.05b$ ls -ls `echo $PYTHONSTARTUP` 1.0k -rw-rw-rw-1 Administ None 22 Sep 11 16:34 /c/cygwin/startup.py I know it isn't read because it contains the line 'from sets import Set' but bash-2.05b$ python Python 2.3 (#1, Aug 1 2003, 15:01:23) [GCC 3.2 20020927 (prerelease)] on cygw