Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Steve Holden
Jim Kleckner wrote: Jim Kleckner wrote: I get an exception running a Python example that uses threads that I downloaded from the net (ASPN): http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965 Would some kind soul try the example and let me know that it does/doesn't work for you?

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Steve Holden wrote: Jim Kleckner wrote: Jim Kleckner wrote: I get an exception running a Python example that uses threads that I downloaded from the net (ASPN): http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965 Would some kind soul try the example and let me know that it

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Steve Holden
Jim Kleckner wrote: Steve Holden wrote: Jim Kleckner wrote: Jim Kleckner wrote: I get an exception running a Python example that uses threads that I downloaded from the net (ASPN): http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965 Would some kind soul try the example and let

OpenSSH source in winsup?

2007-09-06 Thread Siva
I would like to know if the source code for Cygwin's version of OpenSSH is stored in the winsup CVS repository. If not, please tell me where I can get this code. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: OpenSSH source in winsup?

2007-09-06 Thread Carlo Florendo
Siva wrote: I would like to know if the source code for Cygwin's version of OpenSSH is stored in the winsup CVS repository. No, it is not. What made you think that? If not, please tell me where I can get this code. Thanks. Run setup.exe and when you get to the part that shows the

Re: OpenSSH source in winsup?

2007-09-06 Thread Brian Dessent
Siva wrote: I would like to know if the source code for Cygwin's version of OpenSSH is stored in the winsup CVS repository. No. Why would you think that? The last thing we would want to do is fork our own version of OpenSSH and have to worry about maintaining it separate from the OpenSSH

[ANNOUNCEMENT] Updated: zsh-4.3.4-1

2007-09-06 Thread Peter A. Castro
An updated version of zsh (zsh-4.3.4-1) has been released and should be at a mirror near you real soon. NOTICE: === This version has Multi-byte/Unicode support enabled in it. This may or may not present problems for existing scripts which assumed a prior behaviour concerning multi-byte

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Anthony Heading
Brian Dessent wrote: The choice to ship gcc configured for SJLJ is because it is the only way to guarantee correct behavior in all cases. [... elided... ] EH across shared libraries will always be broken in the case of static libgcc et al. (The same is true on other platforms like Linux, so

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Igor Peshansky
On Wed, 5 Sep 2007, Steve Holden wrote: Running the example on the above Python system I just see the command prompt return with no program output whatsoever: [EMAIL PROTECTED] ~/Projects/Python $ /usr/bin/python test03.py So it fails, but doesn't bring up the exception dialog.

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Brian Dessent
Anthony Heading wrote: So it seems to be a pretty high hurdle to have full windows compatibility here, and frustratingly I don't really understand the aim or the purpose. For code that is going to link with Windows/msvcrt, using mingw is an obvious first choice, and the correctness guarantee

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Steve Holden
Igor Peshansky wrote: On Wed, 5 Sep 2007, Steve Holden wrote: Running the example on the above Python system I just see the command prompt return with no program output whatsoever: [EMAIL PROTECTED] ~/Projects/Python $ /usr/bin/python test03.py So it fails, but doesn't bring up the exception

Re: Vista/cygwin tar problem - file changed as we read it

2007-09-06 Thread Aaron Gray
According to Aaron Gray on 9/2/2007 7:48 AM: On doing a 'tar -czf ...' I am getting the following message for each subdirectory - file changed as we read it Anyone know whats going on ? I know in the past this has been a problem with remote shares that don't have stable inode numbers, but

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Larry Hall (Cygwin)
Steve Holden wrote: Igor Peshansky wrote: On Wed, 5 Sep 2007, Steve Holden wrote: Running the example on the above Python system I just see the command prompt return with no program output whatsoever: [EMAIL PROTECTED] ~/Projects/Python $ /usr/bin/python test03.py So it fails, but doesn't

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Larry Hall (Cygwin) wrote: Steve Holden wrote: Igor Peshansky wrote: On Wed, 5 Sep 2007, Steve Holden wrote: Running the example on the above Python system I just see the command prompt return with no program output whatsoever: [EMAIL PROTECTED] ~/Projects/Python $ /usr/bin/python

Re: Help needed with Big List of Dodgy Apps

2007-09-06 Thread Jim Kleckner
Dave Korn wrote: These sorts of problems (cpu usage pegged at 100%, or mysterious hangs or fork failures) are often caused by buggy versions of antivirus, antispyware, personal firewall, or other similar security or system-related software that hooks into every running process and - because

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Charles Wilson
Brian Dessent wrote: The reason we ship with SJLJ is because the Dwarf unwinder (prior to gcc 4.3) can't deal with foreign frames. I don't think Danny every claimed that 4.3 solved the foreign frame problem that Dwarf2 EH suffers from. I know there was *supposed* to be a SoC project to fix

Re: [ANNOUNCEMENT] Updated: zsh-4.3.4-1

2007-09-06 Thread zzapper
An updated version of zsh (zsh-4.3.4-1) has been released and should be at a mirror near you real soon. Peter, (you may have already got this) I'm getting the following errors (this is actually for 4.3.2 which I tried withot success to roll back to) 3 [main] zsh 5904

setup.exe not available?

2007-09-06 Thread Yu Namba
I need to install OpenSSL, but when I click on the link to download/run setup.exe, the file seems unavailable and I get the The page cannot be displayed page. Can you please look into this? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Jim Kleckner wrote: Larry Hall (Cygwin) wrote: Steve Holden wrote: Igor Peshansky wrote: On Wed, 5 Sep 2007, Steve Holden wrote: Running the example on the above Python system I just see the command prompt return with no program output whatsoever: [EMAIL PROTECTED] ~/Projects/Python $

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Brian Dessent
Charles Wilson wrote: I don't think Danny every claimed that 4.3 solved the foreign frame problem that Dwarf2 EH suffers from. I know there was *supposed* to be a SoC project to fix that (and another, related one? to add SEH support) but I've seen no results from it (either one). Can you

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Brian Dessent
Jim Kleckner wrote: Running it with idle does give the exception dialog. I can't seem to grab hold of anything to get a traceback. Suggestions? Thanks for providing a testcase. Should be fixed in CVS: http://www.cygwin.com/ml/cygwin-patches/2007-q3/msg00013.html Brian -- Unsubscribe

Re: cygwin-1.5.24-2 serious shell execution performance degradation on WinXP x64 SP2

2007-09-06 Thread Szymon Lapinski
Szymon Lapinski wrote: I'm not sure if this was caused by SP2 or by some of following Windows updates but it used to work well before SP2, and still works well on Windows 2000. (...) time gawk 'BEGIN{for(i=1;i1000;i++){system(true)}}' time for i in `seq 1 1000`; do bash -c true; done I've

Re: setup.exe not available?

2007-09-06 Thread DePriest, Jason R.
On 9/6/07, Yu Namba wrote: I need to install OpenSSL, but when I click on the link to download/run setup.exe, the file seems unavailable and I get the The page cannot be displayed page. Can you please look into this? -- When I click on the link, it works just fine for me.

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Christopher Faylor
On Thu, Sep 06, 2007 at 12:01:25PM -0700, Brian Dessent wrote: Jim Kleckner wrote: Running it with idle does give the exception dialog. I can't seem to grab hold of anything to get a traceback. Suggestions? Thanks for providing a testcase. Should be fixed in CVS:

Re: Patch for bash to support PATHEXT in Windows

2007-09-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A mailing list is more appropriate for this than me personally - http://cygwin.com/acronyms/#PPIOSPE According to Mike Parker on 9/6/2007 10:11 AM: Eric; Apologies if you are not the Volunteer BASH Maintainer; if not can you point me in the

Re: Patch for bash to support PATHEXT in Windows

2007-09-06 Thread Christopher Faylor
On Thu, Sep 06, 2007 at 01:12:19PM -0600, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A mailing list is more appropriate for this than me personally - http://cygwin.com/acronyms/#PPIOSPE According to Mike Parker on 9/6/2007 10:11 AM: Eric; Apologies if you are not the

setup.exe suggestion + patch

2007-09-06 Thread Lewis Hyatt
Hello- Firstly, thanks to everyone who has worked on setup.exe, it's really a very convenient program! There is just one thing that has always bothered me, which is that you have to click repeatedly on the package or category to cycle through all the available actions to find the one you

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Tatsuro MATSUOKA
Hello This is Tatsuro writing. My threwing the problem on octave on cygwin seems to cause extensive disscussions. It is greatful for me. Thank a lot. Anthony Heading wrote: Not to say that the constraint isn't technically real, but it it worth killing the Cygwin platform for Octave et

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Christopher Faylor wrote: On Thu, Sep 06, 2007 at 12:01:25PM -0700, Brian Dessent wrote: Jim Kleckner wrote: Running it with idle does give the exception dialog. I can't seem to grab hold of anything to get a traceback. Suggestions? Thanks for providing a testcase. Should be

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Brian Dessent wrote: Jim Kleckner wrote: Running it with idle does give the exception dialog. I can't seem to grab hold of anything to get a traceback. Suggestions? Thanks for providing a testcase. Should be fixed in CVS:

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Jim Kleckner wrote: Brian Dessent wrote: Jim Kleckner wrote: Running it with idle does give the exception dialog. I can't seem to grab hold of anything to get a traceback. Suggestions? Thanks for providing a testcase. Should be fixed in CVS:

xemacs marking a buffer as read-only

2007-09-06 Thread Joseph Koenig
I am changing the subject here because this problem is cygwin/xemacs-specific only, so it has nothing to do with smb permissions because I can touch and edit the same file with nano and save properly. Same with vi. It's entirely xemacs. I've attached my config, per request.   -Original

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Jim Kleckner
Jim Kleckner wrote: I tried running /lib/python2.5/test/test_thread.py and it hangs at the line below: *** Changing thread stack size *** caught expected ValueError setting stack_size(4096) successfully set stack_size(262144) successfully set stack_size(1048576) successfully set stack_size(0)

Re: How to install cygwin new if there was an old installation or something like that

2007-09-06 Thread Daniela Duerbeck
A bad mirror is always a potential problem. From the nearest servers, I choose by sympathy. Erlangen is the city where my parents studied and met each other, so this was my preferred server. Now I couldn't find a server very near my location so I chose Vienna, because I like the music from

Re: OpenSSH source in winsup?

2007-09-06 Thread Brian Dessent
Siva wrote: are there any special flags/config options that I need to reproduce cygwin's binary version of OpenSSH? Basically, I'm planning to make some small tweaks to the OpenSSH code to integrate into an application, but I want to use the configuration used in the cygwin's binary version.

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Anthony Heading
Brian Dessent wrote: I think you're confusing the two separate issues, or maybe I didn't transition from one to the other very clearly. The reason we ship with SJLJ is because the Dwarf unwinder (prior to gcc 4.3) can't deal with foreign frames. You can run into this simply by writing a

RE: Patch for bash to support PATHEXT in Windows

2007-09-06 Thread Buchbinder, Barry (NIH/NIAID) [E]
Christopher Faylor wrote on Thursday, September 06, 2007 3:15 PM: On Thu, Sep 06, 2007 at 01:12:19PM -0600, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A mailing list is more appropriate for this than me personally - http://cygwin.com/acronyms/#PPIOSPE According to

Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-06 Thread Christopher Faylor
On Thu, Sep 06, 2007 at 02:51:52PM -0700, Jim Kleckner wrote: Brian Dessent wrote: Jim Kleckner wrote: Running it with idle does give the exception dialog. I can't seem to grab hold of anything to get a traceback. Suggestions? Thanks for providing a testcase. Should be fixed in

Re: OpenSSH source in winsup?

2007-09-06 Thread Siva
Ok, thanks, I was able to get the src code that way. One more question. When building OpenSSH for cygwin, I'm planning to do cd %opensshdir% ./configure Make are there any special flags/config options that I need to reproduce cygwin's binary version of OpenSSH? Basically, I'm planning to

Re: Slowness problem due to sjlj-exceptions for Octave

2007-09-06 Thread Morgan Gangwere
On 9/6/07, Tatsuro MATSUOKA [EMAIL PROTECTED] wrote: Hello This is Tatsuro writing. My threwing the problem on octave on cygwin seems to cause extensive disscussions. It is greatful for me. Thank a lot. Anthony Heading wrote: Not to say that the constraint isn't technically real,

Re: Test and upload: ctags 5.7

2007-09-06 Thread Warren Young
Jari Aalto wrote: Web server problem? No, just a brain fart. I uploaded them to my testing server, and then didn't push them to the production server. Sorry about that.

Re: font and screen size

2007-09-06 Thread Angelo Graziosi
On Wed, 5 Sep 2007, Cole Radcliffe wrote: That is weird. I do not have a .Xdefaults in my home directory. YOU should create $HOME/'.Xdefaults' if YOU like! That file is for YOUR preferences! Try it! If you do not like, you can delete that file! Cheers, Angelo. I do have a

Re: font and screen size

2007-09-06 Thread Holger Krull
Cole Radcliffe schrieb: That is weird. I do not have a .Xdefaults in my home directory. I do have a .Xauthority-c file, which is empty. I downloaded it pretty recently, maybe we are working with different versions. That is no suprise. If you have no .Xdefaults, then just create it. --

Re: scroll bars

2007-09-06 Thread Reid Thompson
On Thu, 2007-09-06 at 00:22 -0500, Cole Radcliffe wrote: %RUN% xterm -fn 10x20 -scrollbar -e /usr/bin/bash -l does not work for me I also tried it with -scrollBar That's because -scrollbar is not a valid command line parameter tor xterm. %RUN% xterm -fn 10x20 -sb -sl 2500 -e /usr/bin/bash

Windows GUI apps from xterm

2007-09-06 Thread Mahdi A Sbeih
Hello all, I am on windows terminal server win_ts: When executing a windows GUI application such as calc from a cygwin shell, it works just fine, without setting any DISPLAY env variable. Now if I connect to terminal server win_ts from a unix xterm - I am still on the same terminal server -

Re: Windows GUI apps from xterm

2007-09-06 Thread Holger Krull
Mahdi A Sbeih schrieb: I am on windows terminal server win_ts: When executing a windows GUI application such as calc from a cygwin shell, it works just fine, without setting any DISPLAY env variable. No surprise here. Windows applications don't use X11, so they don't look for DISPLAY. Now

Re: Xdmcp too slow with SOME Linux accounts.

2007-09-06 Thread Michael Giroux
Thanks -swcursor has eliminated the console messages, and it manages to highlight the extremely slow response. It is taking several seconds for the mouse pointer to move when I move the physical mouse. In fact, I now realize that keyboard is non responsive as well. I'm not seeing any cpu

Re: font and screen size

2007-09-06 Thread Holger Krull
Cole Radcliffe schrieb: So that xterm will automatically know to look in .Xdefaults if I make that file? Yes. How does it know that? Because it has been build that way. Almost any program that uses X11 will honor the settings in .Xdefaults. -- Unsubscribe info:

Re: font and screen size

2007-09-06 Thread Angelo Graziosi
On Thu, 6 Sep 2007, Cole Radcliffe wrote: So that xterm will automatically know to look in .Xdefaults if I make that file? Not only xterm but also other applications look in .Xdefaults! If you google for .Xdefaults, I am sure you will find other examples! How does it know that? Don't

programs (e.g. xterms) not refreshing properly running on different virtual desktops

2007-09-06 Thread Stanislav Borodai
Hi, I noticed when I run X and use multiple virtual desktops (using Nvidia nview), xterms and other X applications are not refreshing properly if they are located on different virtual desktops. For example, if I start 2 xterms on desktop 1 and if these xterms overlap, then if I send one of them

re: scroll

2007-09-06 Thread Cole Radcliffe
What are the XWin server options you are using with that Reid? Mine which are %RUN% XWin -clipboard -silent-dup-error -multiwindow give some weird object that looks like a scrollbar on the side but it does not allow you to scroll On Thu, 2007-09-06 at 00:22 -0500, Cole Radcliffe wrote: %RUN%

Re: scroll

2007-09-06 Thread Reid Thompson
Reid Thompson wrote: Cole Radcliffe wrote: What are the XWin server options you are using with that Reid? Mine which are %RUN% XWin -clipboard -silent-dup-error -multiwindow give some weird object that looks like a scrollbar on the side but it does not allow you to scroll my options are the

Re: scroll

2007-09-06 Thread Reid Thompson
Cole Radcliffe wrote: What are the XWin server options you are using with that Reid? Mine which are %RUN% XWin -clipboard -silent-dup-error -multiwindow give some weird object that looks like a scrollbar on the side but it does not allow you to scroll my options are the same - XWin

src/winsup/cygwin ChangeLog include/sys/stdio.h

2007-09-06 Thread briand
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-09-06 18:47:44 Modified files: winsup/cygwin : ChangeLog winsup/cygwin/include/sys: stdio.h Log message: * include/sys/stdio.h (_flockfile): Don't try to lock a FILE that

src/winsup/cygwin ChangeLog include/cygwin/con ...

2007-09-06 Thread briand
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-09-07 00:44:27 Modified files: winsup/cygwin : ChangeLog winsup/cygwin/include/cygwin: config.h Log message: * include/cygwin/config.h (__getreent): Define inline version.

[patch] Fix multithreaded snprintf

2007-09-06 Thread Brian Dessent
I tracked down the problem reported in http://www.cygwin.com/ml/cygwin/2007-09/msg00120.html. The crash was occuring in pthread_mutex_lock, but that's a bit of a red herring. The real problem is that both newlib and Cygwin provide a include/sys/stdio.h file, however they were out of sync with

Re: [patch] Fix multithreaded snprintf

2007-09-06 Thread Brian Dessent
Christopher Faylor wrote: Go ahead and check this in but could you add a comment indicating that this part of include/sys/stdio.h has to be kept in sync with newlib? Done. Nice catch! I wish I could say I caught this by inspection but it was only by single stepping through python guts that

Re: [patch] Fix multithreaded snprintf

2007-09-06 Thread Christopher Faylor
On Thu, Sep 06, 2007 at 11:30:17AM -0700, Brian Dessent wrote: I tracked down the problem reported in http://www.cygwin.com/ml/cygwin/2007-09/msg00120.html. The crash was occuring in pthread_mutex_lock, but that's a bit of a red herring. The real problem is that both newlib and Cygwin provide a

Re: [patch] Fix multithreaded snprintf

2007-09-06 Thread Christopher Faylor
On Thu, Sep 06, 2007 at 11:53:02AM -0700, Brian Dessent wrote: Christopher Faylor wrote: Nice catch! I wish I could say I caught this by inspection but it was only by single stepping through python guts that it became apparent what was going on. Better you than me. :-) cgf

Re: [patch] inline __getreent in newlib

2007-09-06 Thread Christopher Faylor
On Thu, Sep 06, 2007 at 04:38:04PM -0700, Brian Dessent wrote: I noticed today that all instances of _REENT in newlib go through a function call to __getreent(). All this function does is get the value of %fs:4 and subtract a fixed offset from it, so this seems rather wasteful. And we already

Re: [patch] inline __getreent in newlib

2007-09-06 Thread Brian Dessent
CC'd to newlib: I've checked in the attached change to libc/reent/getreent.c as obvious, please let me know if it breaks anything. Christopher Faylor wrote: So, I guess I'll come down on the side of speed over clarity. I'm sure that Jeff won't mind your checking in the undef in newlib. So,

[patch] inline __getreent in newlib

2007-09-06 Thread Brian Dessent
I noticed today that all instances of _REENT in newlib go through a function call to __getreent(). All this function does is get the value of %fs:4 and subtract a fixed offset from it, so this seems rather wasteful. And we already have the required value of this offset computed for us in

Updated: zsh-4.3.4-1

2007-09-06 Thread Peter A. Castro
An updated version of zsh (zsh-4.3.4-1) has been released and should be at a mirror near you real soon. NOTICE: === This version has Multi-byte/Unicode support enabled in it. This may or may not present problems for existing scripts which assumed a prior behaviour concerning multi-byte