Re: Files missing from setup.exe source tarball

2006-03-09 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eugene Kotlyarov wrote: Hello tree-plus.bmp and tree-minus.bmp files are missing from setup-2.523.tar.bz2 snapshot, though they exist in CVS. It gives an error when building setup.exe. Thanks for the report. Fixed. Max. -BEGIN PGP

Re: [Patch] Setup: Tell where we're downloading from. (again)

2006-03-09 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bas van Gompel wrote: Here this is again, but with the modifications to threebar.cc/res.rc split off into a separate patch (See n2m-g.dr1l0a.3vva69r.1atbuzzy-box.bavag). ChangeLog-entry: (Please fix the at.) 2006-01-23 Bas van Gompel

Re: [Patch] Setup: A wider threebar.

2006-03-09 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bas van Gompel wrote: In order to be able to see the names of the ini-file being parsed, and the location being dowloaded from (if/when that patch ([EMAIL PROTECTED]) gets applied), I suggest making better use of the available window-width.

Re: RFC: [PATCH] Retry replacing in-use files in setup

2006-03-09 Thread Igor Peshansky
The recent messages about in-use files and hosed postinstall reminded me of this pending patch. Ping. Lapo liked it. Any comments from anyone else? Should we scrap the idea? What's left to do, besides the obvious cleanup? Igor On Tue, 14 Feb 2006, Igor Peshansky wrote: Hi, Here's

Re: RFC: [PATCH] Simplify installed.db format (take 3)

2006-03-09 Thread Igor Peshansky
On Mon, 23 Jan 2006, Igor Peshansky wrote: : The attached patch fixes the parsing of installed.db package lines. : Comments welcome. : : 2006-01-23 Igor Peshansky [EMAIL PROTECTED] : :* cygpackage.h (filesize): Remove unused field. :(cygpackage::createInstance): Ditto. :

Re: [PATCH] setup: fix abnormal exit test for postinstall scripts

2006-03-09 Thread Igor Peshansky
On Thu, 9 Mar 2006, Igor Peshansky wrote: P.S. A note for the archives: now that setup has a proper mechanism to detect failed postinstall scripts... [snip] Whoops, I guess I misremembered that the patch has not yet been applied. So... On Mon, 23 Jan 2006, Igor Peshansky wrote: Just noticed

Re: [PATCH] setup: Handle the package validation exception

2006-03-09 Thread Igor Peshansky
On Mon, 23 Jan 2006, Igor Peshansky wrote: On Mon, 23 Jan 2006, Brian Dessent wrote: Igor Peshansky wrote: I've looked at this a bit. Here's the weird part: the error says Uncaught Exception, but all the throws of that exception appear to be properly wrapped in try/catch

Re: [PATCH] setup: initially expand categories starting with .

2006-03-09 Thread Igor Peshansky
On Tue, 31 Jan 2006, Igor Peshansky wrote: On Sun, 22 Jan 2006, Igor Peshansky wrote: On Thu, 17 Nov 2005, Igor Pechtchanski wrote: (see http://cygwin.com/ml/cygwin-apps/2005-11/msg00141.html) 2005-11-16 Igor Peshansky [EMAIL PROTECTED] * PickView.cc (PickView::setViewMode):

Re: [PATCH] setup: fix abnormal exit test for postinstall scripts

2006-03-09 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor Peshansky wrote: 2006-01-23 Igor Peshansky [EMAIL PROTECTED] * script.cc (Script::run): Fix inverted test for abnormal exit. Ping (attached as setup-script-exit-code-fix.patch-1). Clearly correct, please commit. 2006-01-31 Igor

RE: [PATCH] setup: fix abnormal exit test for postinstall scripts

2006-03-09 Thread Dave Korn
On 09 March 2006 23:14, Max Bowsher wrote: * script.cc (Script::run): Fix inverted test for abnormal exit. Do not rename to .done unless completed successfully. And ping (attached as setup-script-exit-code-fix.patch). Do we necessarily want to try to re-run failed scripts the

Re: [maybe-ITP] gamin

2006-03-09 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lapo Luchini wrote: I and Alex tried that against our application and seems to work ok, so I guess the package is ready for the public ;-) OK, thanks. Sorry for the delay; I was just about to ping you when I saw your response, which I obviously

RE: [PATCH] setup: fix abnormal exit test for postinstall scripts

2006-03-09 Thread Igor Peshansky
On Thu, 9 Mar 2006, Dave Korn wrote: On 09 March 2006 23:14, Max Bowsher wrote: * script.cc (Script::run): Fix inverted test for abnormal exit. Do not rename to .done unless completed successfully. And ping (attached as setup-script-exit-code-fix.patch). Do we necessarily want

Re: [PATCH] setup: fix abnormal exit test for postinstall scripts

2006-03-09 Thread Igor Peshansky
On Thu, 9 Mar 2006, Max Bowsher wrote: Igor Peshansky wrote: 2006-01-23 Igor Peshansky [EMAIL PROTECTED] * script.cc (Script::run): Fix inverted test for abnormal exit. Ping (attached as setup-script-exit-code-fix.patch-1). Clearly correct, please commit. Thanks, done.

Re: setup.exe: feature request with patch

2006-03-09 Thread rl201
Hi All, This is a reposting of a mail I sent to cygwin@cygwin.com - more appropriate to cygwin-apps. On Mon, 6 Mar 2006, Dr. F. Lee wrote: I deploy cygwin using unattended (http://unattended.sf.net/) and wpkg (http://www.wpkg.org/). It's useful for me to be able to specify additional

Problem opening another window.

2006-03-09 Thread Ming Hai Lim
Hi all, I'm running into some problems opening a window. I startx and telnet into a Unix machine, then I issue a command which would generate another window. But this fails. Can someone please advise? Below are the steps I take. 1) /usr/X11R6/bin/startxwin.bat - Starting on Windows

Re: Problem opening another window.

2006-03-09 Thread Igor Peshansky
On Thu, 9 Mar 2006, Ming Hai Lim wrote: Hi all, I'm running into some problems opening a window. I startx and telnet into a Unix machine, then I issue a command which would generate another window. But this fails. Can someone please advise? Below are the steps I take. 1)

src/winsup/w32api ChangeLog include/winspool.h

2006-03-09 Thread papadopo
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2006-03-09 08:26:25 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winspool.h Log message: * include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define. Thanks

src/winsup/cygwin ChangeLog

2006-03-09 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2006-03-09 09:00:10 Modified files: winsup/cygwin : ChangeLog Log message: Remove accidentally checked in ChangeLog entry. Patches:

src/winsup/w32api ChangeLog include/winspool.h

2006-03-09 Thread papadopo
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2006-03-09 13:23:24 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winspool.h Log message: * include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).

src/winsup/cygwin ChangeLog syscalls.cc

2006-03-09 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2006-03-09 15:31:08 Modified files: winsup/cygwin : ChangeLog syscalls.cc Log message: * syscalls.cc (rename): Move existance check for oldpath further up to the start of the function.

Re: Patch for silent crash with Cygwin1.dll v 1.5.19-4

2006-03-09 Thread Christopher Faylor
On Thu, Mar 09, 2006 at 07:04:23AM -0800, Gary Zablackis wrote: --- Brian Dessent [EMAIL PROTECTED] wrote: If you are trying to track down why you get a SIGSEGV in pthread_key_create while running your app in gdb you are wasting your time. This is not a fault, it is expected and normal. Search

Re: Patch for silent crash with Cygwin1.dll v 1.5.19-4

2006-03-09 Thread Gary Zablackis
--- Christopher Faylor [EMAIL PROTECTED] wrote: We've moved out of the realm of a patch here. Please use the main cygwin list to report and diagnose problems. cgf OK Thanks, Gary __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

Re: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk

2006-03-09 Thread Corinna Vinschen
On Mar 8 16:48, Chris January wrote: On 08/03/06, Loh, Joe wrote: Then we proceed to removing the first USB disk, i.e. /dev/sdb, using the the Safe Removal method from Windows. Once that operation completes we cat the /proc/partitions again. This time, the only disk shown is /dev/sda,

using nlink value

2006-03-09 Thread cyg_win_user
i am usign a perl script in which i try to find whether the direcory is leaf directory or not by seeing nlink value. i do it by $info = stat(.); $nlink = $info-nlink; this will give me the value of nlink for that directory. now i test if that directory is leaf

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Eric Blake
Last night, I grabbed an additional package using setup.exe. It also downloaded and installed the latest cygwin1.dll (1.5.19-4) and core utilities. I had not updated since early January. While it was running the post-install script, I received serveral errors along the lines of ...

Re: using nlink value

2006-03-09 Thread Eric Blake
here ROOT is a directory which can be or can not be present in all test directories. so i test if nlink is three (3) and if that ROOT directory is present to see if the directory is leaf directory. if the ROOT is not present then i test if nlink is 2 ( for . and ..). this works fine with

Problem of pthread_suspend

2006-03-09 Thread dadacncn
i use eclipse + cdt + cygwin with windows xp in my program pthread_suspend can not work stably. sometimes it works, sometimes the system is frozen at pthread_suspend. could somebody here give me an example and tell me how to use pthread_suspend? thank you in advance -- View this message in

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Igor Peshansky
On Wed, 8 Mar 2006, Timothy King wrote: On 3/8/06, Larrie Carr [EMAIL PROTECTED] wrote: From: Timothy King Last night, I grabbed an additional package using setup.exe. It also downloaded and installed the latest cygwin1.dll (1.5.19-4) and core utilities. I had not updated since

Starting gvim from Windows

2006-03-09 Thread Neil Watson
I have X running. How can I start Cygwin's build of Gvim from Windows, without doing from an xterm? I tried issuing gvim from a cmd window but I receive an error cygice-6.dll was not found. -- Neil Watson | Gentoo Linux Network Administrator | Uptime 5 days

RE: Apache failure with 2006-03-01/2 snapshots

2006-03-09 Thread Jerry D. Hedden
Jerry D. Hedden wrote: Combination: cygwin-inst-20060302.tar.bz2 (2006-03-02 17:00 GMT) snapshot apache-1.3.33-2.tar.bz2 Apache won't start, and outputs the following in its log: Cannot load /usr/lib/apache/mod_env.dll into server: Bad address Christopher Faylor replied: This

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Christopher Faylor
On Thu, Mar 09, 2006 at 09:06:28AM -0500, Igor Peshansky wrote: P.S. A note for the archives: now that setup has a proper mechanism to detect failed postinstall scripts, along with scheduling replace-on-reboot for the files in-use, we could (should) also create a batch file in RunOnce after reboot

RE: Starting gvim from Windows

2006-03-09 Thread Jerry D. Hedden
Neil Watson asked: I have X running. How can I start Cygwin's build of Gvim from Windows, without doing from an xterm? I tried issuing gvim from a cmd window but I receive an error cygice-6.dll was not found. I don't use X. I just use RXVT windows on top of the Windows Desktop. I don't use

RE: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Dave Korn
On 09 March 2006 05:45, Larrie Carr wrote: I had this problem a couple of months ago. My problem was caused by the setup.exe being very helpful and (at least for me) defaulting to always installing the latest version of anything you already had installed. And if you don't look at the

Re: Starting gvim from Windows

2006-03-09 Thread Neil Watson
On Thu, Mar 09, 2006 at 07:20:49AM -0700, Jerry D. Hedden wrote: Neil Watson asked: I have X running. How can I start Cygwin's build of Gvim from Windows, without doing from an xterm? I tried issuing gvim from a cmd window but I receive an error cygice-6.dll was not found. I don't use X. I

Re: Starting gvim from Windows

2006-03-09 Thread Eric Blake
I have X running. How can I start Cygwin's build of Gvim from Windows, without doing from an xterm? I tried issuing gvim from a cmd window but I receive an error cygice-6.dll was not found. Make sure c:\cygwin\usr\X11R6\bin is in your Windows %PATH% (or wherever cygICE-6.dll is installed).

Re: Starting gvim from Windows

2006-03-09 Thread Neil Watson
On Thu, Mar 09, 2006 at 02:44:38PM +, Eric Blake wrote: Make sure c:\cygwin\usr\X11R6\bin is in your Windows %PATH% (or wherever cygICE-6.dll is installed). That helped. The orginal error no longer appears. Now I get the error 'cannot open display'. X is running. -- Neil Watson

Re: Starting gvim from Windows

2006-03-09 Thread Christopher Faylor
On Thu, Mar 09, 2006 at 09:52:01AM -0500, Neil Watson wrote: On Thu, Mar 09, 2006 at 02:44:38PM +, Eric Blake wrote: Make sure c:\cygwin\usr\X11R6\bin is in your Windows %PATH% (or wherever cygICE-6.dll is installed). That helped. The orginal error no longer appears. Now I get the error

Re: Starting gvim from Windows

2006-03-09 Thread Neil Watson
On Thu, Mar 09, 2006 at 09:52:51AM -0500, Christopher Faylor wrote: That helped. The orginal error no longer appears. Now I get the error 'cannot open display'. X is running. And your DISPLAY environment variable is set to...? Ah ha! I set my DISPLAY Windows variable to 127.0.0.1:0.0.

Re: [BUG] rename(symlink, regular_file) has weird results

2006-03-09 Thread Corinna Vinschen
On Mar 8 22:36, Max Bowsher wrote: Suppose foo.tmp is a symlink, and foo is a regular file. Calling rename(foo.tmp, foo) results in the very bizarre situation where, as far as Cygwin is concerned, there are TWO files called foo within the same directory. Should be fixed now in CVS.

Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4

2006-03-09 Thread Gary Zablackis
Hi, With the release of Cygwin-1.5.19-4, we have had silent crashes of the Computer Algebra System SAGE at startup. I have traced these to an invalid memory access in pthread_key_create() which SHOULD be caught and processed by the fault handler in verifyable_object_isvalid(). However, the

[1.3.22] bash: /dev/null: No such file or directory: Cygwin error on Windowx Xp Embedded

2006-03-09 Thread Alessandro Balvis
I installed the TinyOS package, that include the Cygwin 1.3.22, on a machine: Matrox 4Sight M Unit Intel Pentium M 1.6GHz with 248MB di RAM Microsoft Windows XP Embedded Version 2002 SP2 and when I open the Cygwin shell I receive this message: bash: /dev/null: No such file or directory

Cygwin and locale

2006-03-09 Thread Ulrich Herrmann
Hello all, I recently switched to my favourite shell the tcsh. I encountered the problem that it didn't display non ascii characters correctly. After diving a little bit deeper into it I figured that Cygwin supports only the minimal C locale and not any other locales like for the german

Re: Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4

2006-03-09 Thread vita
I have got to a similar problem with Cygwin having same symptoms. I have found that there was a reported problem with a strings in libstdc++.la, if your application is using dlls. It is really awfull bug to identify... See this links for details:

RE: Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4

2006-03-09 Thread Dave Korn
On 09 March 2006 15:57, Gary Zablackis wrote: Here is a simplified test to show what is going on: A few comments. First off, attachments are good for testcases. Line-wrapping is bad for them! Secondly, you omitted Crash2.h, and thirdly, you had an inconsistency - you listed a file as OK.c

RE: Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4

2006-03-09 Thread Dave Korn
On 09 March 2006 16:18, [EMAIL PROTECTED] wrote: I have got to a similar problem with Cygwin having same symptoms. I have found that there was a reported problem with a strings in libstdc++.la, if your application is using dlls. It is really awfull bug to identify... See this links for

Re: [1.3.22] bash: /dev/null: No such file or directory: Cygwin error on Windowx Xp Embedded

2006-03-09 Thread Christopher Faylor
On Thu, Mar 09, 2006 at 05:20:01PM +0100, Alessandro Balvis wrote: I installed the TinyOS package, that include the Cygwin 1.3.22, on a machine: Please go back to whomever provided you with TinyOS and report the problem there. We don't support ancient versions of cygwin here and this is not a

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Larrie Carr
From: Dave Korn wrote On 09 March 2006 05:45, Larrie Carr wrote: I had this problem a couple of months ago. My problem was caused by the setup.exe being very helpful and (at least for me) defaulting to always installing the latest version of anything you already had installed. And if you

RE: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Dave Korn
On 09 March 2006 17:51, Larrie Carr wrote: From: Dave Korn wrote On 09 March 2006 05:45, Larrie Carr wrote: I had this problem a couple of months ago. My problem was caused by the setup.exe being very helpful and (at least for me) defaulting to always installing the latest version of

RE: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Dave Korn
On 09 March 2006 18:22, Dave Korn wrote: ... one paragraph that needs a little clarification: On 09 March 2006 17:51, Larrie Carr wrote: But the latest is not always the best. For instance, octave could only be compiled with gcc 3.3.3 - but the latest in setup is 3.4.4. I'm fine with

Re: Cygwin and locale

2006-03-09 Thread Eric Blake
Ulrich Herrmann uherr at gmx.de writes: I recently switched to my favourite shell the tcsh. I encountered the problem that it didn't display non ascii characters correctly. There are more aspects to displaying non-ascii characters than the (lack of) locale support. For example, bash is

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Larrie Carr
From: Dave Korn On 09 March 2006 18:22, Dave Korn wrote: ... one paragraph that needs a little clarification: On 09 March 2006 17:51, Larrie Carr wrote: But the latest is not always the best. For instance, octave could only be compiled with gcc 3.3.3 - but the latest in setup is 3.4.4.

RE: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Dave Korn
On 09 March 2006 19:37, Larrie Carr wrote: Sure I RTFM'ed and yes it says that. But I would argue that Keep does not exactly work the way that you say it does. So not using Keep does not indicate RTFM status. Well, since keep ABSOLUTELY DOES work EXACTLY how I described it, you really

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Larrie Carr
From: Dave Korn On 09 March 2006 19:37, Larrie Carr wrote: Sure I RTFM'ed and yes it says that. But I would argue that Keep does not exactly work the way that you say it does. So not using Keep does not indicate RTFM status. Well, since keep ABSOLUTELY DOES work EXACTLY how I described

Re: [1.3.22] bash: /dev/null: No such file or directory: Cygwin error on Windowx Xp Embedded

2006-03-09 Thread Brian Dessent
Alessandro Balvis wrote: I installed the TinyOS package, that include the Cygwin 1.3.22, on a machine: Whatever problem you are seeing, I don't think anyone here is interested in troubleshooting a version that is three years and two dozen releases out of date. Numerous things have changed in

VIm 6.4-4 and clipboard

2006-03-09 Thread Igor Peshansky
Hi, The current version of VIm seems to have been compiled with -xterm_clipboard disabled. Is there a particular reason for this (e.g., introducing a hard dependence on the X libraries)? If not, would it be possible to enable it? It would be really nice to be able to cut/paste without using

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Timothy King
On 3/9/06, Igor Peshansky [EMAIL PROTECTED] wrote: Setup actually does a bit more than leave .new files around -- it also schedules the original files to be replaced by .new files on reboot. If you have since rebooted, Windows would have done the job of renaming the .new files for you.

listen/accept/fork behavior problem between cygwin1 1.5.18 and cygwin1.dll 1.5.19

2006-03-09 Thread BRC
Hi, I have a perl based server that creates a TCP listen socket in a parent process, then forks off an N-child process pool that normally accepts connections round-robin style alla apache 1.3. Everything worked great when I was based on cygwin1.dll version 1.5.18. I would see many requests

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Timothy King
Eric Blake wrote: Timothy King tim at timothyking.com writes: The re-install fixed the path problem, but I still have strange things going on with the directory colors. Attached is a screen print. Notice some directores are the correct blue on white while others are black on green.

Re: Problems after upgrading to 1.5.19-4

2006-03-09 Thread Eric Blake
Okay, now I'm trying to figure out how dircolors works. I've modified /etc/LS_COLORS, then have done things like dircolors -b /etc/LS_COLORS MyColors . ./MyColors That's one way. Another is the method used by /etc/profile: eval `dircolors -b /path/to/database` but it doesn't affect