RE: UPDATED: mutt-1.4.1-1

2003-10-14 Thread Gary R. Van Sickle
On Mon, Oct 13, 2003 at 02:17:44PM -0500, Gary R. Van Sickle wrote: Maybe a sample postinstall script too. A sample postinstall script for something like this? #!/bin/sh if [ ! -f /etc/Muttrc ] then cp /etc/defaults/etc/Muttrc /etc fi if [ ! -f /etc/mime.types ]

RE: UPDATED: mutt-1.4.1-1

2003-10-14 Thread Gary R. Van Sickle
[snip] One thing I did note was how much larger mutt-1.4.1-1-src.tar.bz2 is than mutt-1.4-1-src.tar.bz2 (jump from 1.6MB to 2.5MB). The 1.4-1-src package included the individual source files while 1.4.1-1-src includes a .tar.gz of the source files inside the .tar.bz2. I guess there is

RE: Updated: xerces-c 2.3.0-4

2003-10-14 Thread Daniel Reed
On 2003-10-13T20:52-0700, Abe Backus wrote: ) The only differences in the 2.3.0-x version is the cygwin dll they were ) built against. Picking the prev version feels kind of tricky because the ) cygxerces-c dll exports c++ classes, which I think is important if they are ) build against different

RE: Updated: xerces-c 2.3.0-4

2003-10-14 Thread Abe Backus
Sounds good :) Thanks a lot- Abe -Original Message- libxerces-c21/libxerces-c21-2.1.0-1.tar.bz2 libxerces-c22/libxerces-c22-2.2.0-1.tar.bz2 libxerces-c23/setup.hint libxerces-c23/libxerces-c23-2.3.0-4.tar.bz2 setup.hint xerces-c-2.2.0-1-src.tar.bz2 xerces-c-2.2.0-1.tar.bz2

Prefix, etc. for X apps (was Re: Pending Packages List, 2003-10-14)

2003-10-14 Thread Daniel Reed
On 2003-10-14T19:32+0200, Daniel Boesswetter wrote: ) There seem to be to few X-apps on cygwin to tell which place is the ) right one, but at least Ghostview resides under /usr/X11R6. Which BTW is ) the place for X-apps on most Linux distros It seems there is an expected layout from

X -multiwindow: Bug in Maximize Window?

2003-10-14 Thread Hans Kreil
I am running X -multiwindow on NT 4.0 and display Mozilla from a remote linux machine. When I try to maximize the Window, Mozilla and X become very confused. It doesnt happen for me if I resize Mozilla before I maximize it. It also doesnt happen for me if Mozilla starts with a small window. Steps

Re: right-click problem

2003-10-14 Thread J S
Hi, I'm still stuck on this despite going through the archives - I can't find a similar problem. On Exceed 6.2, the submenus work if I right-click the mouse. However in XFree86 and Exceed 7.1, they don't. (These are all with fresh installs). I have even tried running the app on Linux but

Re: right-click problem

2003-10-14 Thread J S
Hi, I'm still stuck on this despite going through the archives - I can't find a similar problem. On Exceed 6.2, the submenus work if I right-click the mouse. However in XFree86 and Exceed 7.1, they don't. (These are all with fresh installs). I have even tried running the app on Linux but

Re: [PATCH] Copy/Paste non-ascii characters

2003-10-14 Thread Jay Smith
Harold, a) Before I attempt this fix, will this work with my old version of everything else? I know that Cygwin has moved ahead since April. Or does installing this start me down a slippery slope... b) Before I had the sense to ask the question above, I got as far as starting the download

Multiple downloads from multiple mirrors confusion

2003-10-14 Thread Jay Smith
Hi, It sure is frustrating that each mirror creates it's own package download directory. Thus (unless I am doing it wrong), each time I get more files from a different mirror (because the previous mirror(s) won't respond (i.e. purdue), a new directory is created and thus I have to run

Re: [PATCH] Copy/Paste non-ascii characters

2003-10-14 Thread Harold L Hunt II
Jay, Jay Smith wrote: Harold, a) Before I attempt this fix, will this work with my old version of everything else? I know that Cygwin has moved ahead since April. Or does installing this start me down a slippery slope... I hate when I forget to ask this if people are running the latest

Re: Multiple downloads from multiple mirrors confusion

2003-10-14 Thread Harold L Hunt II
Jay, This is a general Cygwin setup.exe question that is not specific to XFree86. Please send it to [EMAIL PROTECTED] The people you want to contact are not on this mailing list. Be forewarned, the people that you are about to contact now come with 150% meanness for free! Harold Jay Smith

Setup.exe interface and process issues

2003-10-14 Thread Jay Smith
Hi, As long as I was ranting about mirrors, I should also mention: (I am on Windows95. I don't know how to find out the version of the setup.exe file, but I got it on 2002-05-12 [that's pretty old, but I am not sure how to get a newer one].) a) If there are multiple mirror download

Re: Setup.exe interface and process issues

2003-10-14 Thread Harold L Hunt II
Again, wrong list. You probably sent this before seeing my other reply. Harold Jay Smith wrote: Hi, As long as I was ranting about mirrors, I should also mention: (I am on Windows95. I don't know how to find out the version of the setup.exe file, but I got it on 2002-05-12 [that's

Re: [PATCH] Copy/Paste non-ascii characters

2003-10-14 Thread Jay Smith
Harold, Before I embark on upgrading all of Cygwin to deal with this, is there any risk that stuff will break? Since Cygwin underwent a major overhaul recently, it seems to me that there is a chance that some small parts of XFree86 stuff (I use little else) might be broken until all is

Re: [PATCH] Copy/Paste non-ascii characters

2003-10-14 Thread Harold L Hunt II
Jay, The status is that XFree86 has been recompiled and rereleased for Cygwin 1.5.x. Everything should be safe. However, I would always recommend doing a demo installation on one machine and trying out your apps before you upgrade all machines. That should give you a better idea of if it

src/winsup/cygwin ChangeLog exceptions.cc wind ...

2003-10-14 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-10-14 09:21:55 Modified files: winsup/cygwin : ChangeLog exceptions.cc window.cc winsup.h Log message: * exceptions.cc (ctrl_c_handler): Don't send SIGHUP on CTRL_LOGOFF_EVENT to

Re: [Patch]: Ncurses frame drawing

2003-10-14 Thread Micha Nelissen
Corinna Vinschen wrote: On Mon, Oct 13, 2003 at 06:38:42PM +0200, Micha Nelissen wrote: Hi, Attached is a patch to enable correct ncurses frame drawing. It does so by implementing the escape sequence for 'start/end alternate charset'. This is code \E[11m and \E[10m respectively in the linux

Re: [Patch]: Ncurses frame drawing

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 10:24:47AM -0400, Christopher Faylor wrote: On Tue, Oct 14, 2003 at 01:29:37PM +0200, Micha Nelissen wrote: Corinna Vinschen wrote: This patch is a nice idea but it's not quite correct. You can't rely on current_codepage being ansi_cp. Since the user can set it to

Re: [Patch]: Ncurses frame drawing

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 04:55:07PM +0200, Corinna Vinschen wrote: On Tue, Oct 14, 2003 at 10:24:47AM -0400, Christopher Faylor wrote: On Tue, Oct 14, 2003 at 01:29:37PM +0200, Micha Nelissen wrote: Corinna Vinschen wrote: This patch is a nice idea but it's not quite correct. You can't rely on

Re: [Patch]: Ncurses frame drawing

2003-10-14 Thread Micha Nelissen
Corinna Vinschen wrote: Erm... I was still mulling over this code since I thought there's something wrong. It took some time until it occured to me that this implementation overrides the original value of current_codepage, if the application accidentally happens to send \E[11m twice. That

Re: [Patch]: Ncurses frame drawing

2003-10-14 Thread Pierre A. Humblet
At 10:26 PM 10/14/2003 +0200, Micha Nelissen wrote: @@ -1110,6 +1117,12 @@ break; case 9:/* dim */ dev_state-intensity = INTENSITY_DIM; + break; + case 10: /* end alternate charset */ + alternate_charset_active =

Re: tcflush hang problem

2003-10-14 Thread Martin Farnik
Thank for answer. I replace tcflush(fd,TCIFLUSH) by do { err = read(fd,iobuffer,1000) } while(err0) and it work OK on Win98. I still have problem on Windows2000Sp2. It seem that it hangs in functions: tcsetattr(fd,TCSANOW,newtio); read(fd,iobuffer,1000); write(fd,iobuffer,10); Strange thing

windows to linux cross compiler under cygwin

2003-10-14 Thread mohanlal jangir
I am looking for windows to linux cross compiler under cygwin. I want to know if any binary distribution available, before I go for building the tool-chian. Regards Mohanlal -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

rwho in cygwin?

2003-10-14 Thread Christian Joensson
Would it be possible/desirable to have the rwho package under cygwin? Cheers, /ChJ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: merging mingw and cygwin

2003-10-14 Thread Lapo Luchini
Edward Peschko wrote: discourtesy expressed in your attitude pissed me off and it is not at all professional. CGF is not harsh, he's just trying to apply CygWin's motto WJM, in his own personal way IDD, as he is the CygWin RCM, after all... OK, apart from trying to break the ice (or the

Re: Problems with cygwin, expect and ssh

2003-10-14 Thread Corinna Vinschen
On Mon, Oct 13, 2003 at 06:47:12PM -0500, Greenup, Greenup wrote: Enter expect, which ships with a little script for changing your password (even on multiple systems en-mass). Nice. Except... it doesn't seem to work with ssh... Near as I can tell from my googling, a problem of openssh

Re: rwho in cygwin?

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 10:02:30AM +0200, Christian Joensson wrote: Would it be possible/desirable to have the rwho package under cygwin? Did you try to build it? Does it work? Are you volunteering as a package maintainer? If so, then the answer is yes. Corinna -- Corinna Vinschen

Re: rwho in cygwin?

2003-10-14 Thread Carlo Florendo
From: Christian Joensson Would it be possible/desirable to have the rwho package under cygwin? Yes. If someone would volunteer to contribute and maintain it. Thanks! Best Regards, Carlo -- Carlo Florendo Astra Philippines Inc. http://www.hq.astra.ph -- Unsubscribe info:

RE: windows to linux cross compiler under cygwin

2003-10-14 Thread Hannu E K Nevalainen
From: mohanlal jangir Sent: Tuesday, October 14, 2003 8:52 AM I am looking for windows to linux cross compiler under cygwin. I want to know if any binary distribution available, before I go for building the tool-chian. I'd use Google, possibly 'concentrating' on sourceforge a bit too...

Gtk+-2.0

2003-10-14 Thread Bhasker C V
Hi the gtk+-2.0 package is available at many places but there is no consolidated effort where things work. I downloaded some packages and corrected them so that they work in my system the tar.bz2 is available - how to upload it so that people can make use of this ? -- bye Bhasker C V To

Re: Gtk+-2.0

2003-10-14 Thread Lapo Luchini
Bhasker C V wrote: Hi the gtk+-2.0 package is available at many places but there is no consolidated effort where things work. I downloaded some packages and corrected them so that they work in my system the tar.bz2 is available - how to upload it so that people can make use of this ? I guess

Re: rwho in cygwin?

2003-10-14 Thread Christian Joensson
On Tue, Oct 14, 2003 at 10:51:38AM +0200, Corinna Vinschen wrote: On Tue, Oct 14, 2003 at 10:02:30AM +0200, Christian Joensson wrote: Would it be possible/desirable to have the rwho package under cygwin? Did you try to build it? Does it work? Are you volunteering as a package maintainer?

Re: Here is code for dirname basename and getline

2003-10-14 Thread Gerrit P. Haase
Hello Vikram, you wrote: Anyways I have added code for thse three functions incase somebody needs them This code is not mine but i thought, incase soembody needs it, he will have to spent less time on this issue May I ask you were you found the code? I'm searching a tarball of libgen, but

Re: [ANNOUNCEMENT] Updated: uw-imap and c-client 2002e-2

2003-10-14 Thread Patrick Eisenacher
This fixes the problems reported here: http://cygwin.com/ml/cygwin/2003-10/msg00093.html Thank you, Patrick Backus, Abe schrieb: An updated version of the uw-imap-util, uw-imap-imapd, and c-client = packages has been uploaded to the mirror sites. Changes in 2002e-2 since 2002e-1: Updated the

cygpath hangings

2003-10-14 Thread chris
I decided to try to put some investigation into the cygpath crashings that have been reported so much. Here are my findings.. I hope this helps! I'd be happy to try further debuggings, except I couldn't figure out how to attach a debugger to the program (because as previously noted the hang

Re: cygpath hangings

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 12:44:57PM +0100, chris wrote: Also, This program seems to be both valid c++ and c code. If it is compiled in gcc, all is fine. In g++, it hangs. [...] If there is anything else anyone would like me to try (like taking a -E and picking out all the useless bits of

Re: cygpath hangings

2003-10-14 Thread chris
Corinna Vinschen wrote: On Tue, Oct 14, 2003 at 12:44:57PM +0100, chris wrote: Also, This program seems to be both valid c++ and c code. If it is compiled in gcc, all is fine. In g++, it hangs. [...] If there is anything else anyone would like me to try (like taking a -E and picking out all

Some questions about the time and times utilities

2003-10-14 Thread Alex Vinokur
= Windows 2000 Professional CYGWIN_NT-5.0 1.5.4(0.94/3/2) = -- $ time ls List of files real0m0.038s user0m0.020s sys 0m0.040s $ time -v ls bash: -v: command not found real0m0.039s user

Re: merging mingw and cygwin

2003-10-14 Thread Igor Pechtchanski
On Mon, 13 Oct 2003, Edward Peschko wrote: On Mon, Oct 13, 2003 at 10:19:08PM -0400, Christopher Faylor wrote: [snip] Do not send me personal email about cygwin again. [snip] You hold the keys to some sort of power, the power to enter the developer's list, the power to patch cygwin

Re: cygpath hangings

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 01:33:03PM +0100, chris wrote: Corinna Vinschen wrote: Nope, not for me. Are you, by any chance, still using gcc2? Nope, using gcc 3.3.1 (cygming special) Just checking... have you been suffering from the cygpath crashing during setup? If not I imagine that you

RE: cygpath hangings

2003-10-14 Thread Steve Fairbairn
From: chris Sent: 14 October 2003 13:33 Subject: Re: cygpath hangings Corinna Vinschen wrote: Nope, not for me. Are you, by any chance, still using gcc2? Nope, using gcc 3.3.1 (cygming special) Just checking... have you been suffering from the cygpath crashing during

FOREIGN TRUSTEE

2003-10-14 Thread Agrerralle
Dear Sir, I am an Administrative Staff of the Ministry Works and Housing, and I represent a group that is interested in engaging your service as Manager for investment purpose, of a large volume of fund. If this proposal is acceptable to you, please get back to me, so that I can work out a

Re: FOREIGN TRUSTEE

2003-10-14 Thread Pavel Rosenboim
Agrerralle wrote: Dear Sir, I am an Administrative Staff of the Ministry Works and Housing, and I represent a group that is interested in engaging your service as Manager for investment purpose, of a large volume of fund. If this proposal is acceptable to you, please get back to me, so that I can

Re: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, chris wrote: I decided to try to put some investigation into the cygpath crashings that have been reported so much. Here are my findings.. I hope this helps! I'd be happy to try further debuggings, except I couldn't figure out how to attach a debugger to the program

Starting postgres as root

2003-10-14 Thread Mahesh Pawar
Hi, I would like to start postgres while my linux m/c is booting. For testing I checked following commnd as root . /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data and got error You cannot run initdb as root. Please log in (using, e.g., 'su') as the (unprivileged) user that will own the

RE: cygpath hangings

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Steve Fairbairn wrote: [snip] I have suffered from the hanging cygpath issue, I did a clean install (new box) and have since not changed the installation. If you could supply me with an exe for this code (private email) or the flags used when building that code and a

Re: Some questions about the time and times utilities

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Alex Vinokur wrote: $ man times No manual entry for times $ info times dummy info: No menu item `times' in node `(dir)Top'. $ times --help bash: times: --: invalid option times: usage: times $ type -a times times is a shell builtin $ type -a time time is a shell

wrong pthread_mutexattr_init value bug?

2003-10-14 Thread Joost Kraaijeveld
According to the Cygwin sources the function pthread_mutexattr_init (see below) can return EBUSY. As far as I can see in several docs, this is not a valid return value. According to the IEEE Std 1003.1 online docs only ENOMEM or 0 are valid return values. Besides this, why should this function

Re: cygpath hangings

2003-10-14 Thread Cliff Hones
I'm surprised that this problem seems so intractable. While careful debugging and analysis ought to get to the root of the problem eventually, there is clearly some difficulty in getting a suitable debug session without upsetting what is being examined. [Heisenberg at work.] So alternate

RE: cygpath hangings

2003-10-14 Thread Steve Fairbairn
-Original Message- From: Cliff Hones Sent: 14 October 2003 15:03 Subject: Re: cygpath hangings Running cygcheck -vs (and/or some other such utility) from a hanging and non-hanging postinstall shell might come up with something. As in set up a script in /etc/postinstall that

Re: cygpath hangings

2003-10-14 Thread Cliff Hones
Steve Fairbairn wrote: As in set up a script in /etc/postinstall that runs cygcheck -vs to a file, and send that in? I would suggest setting up the script to send to a file, invoking it twice by running setup from explorer and from a command line, and if there is any difference send that in.

Re: cygpath hangings

2003-10-14 Thread chris
Chris, I suspect that this hang might be happening while loading the DLL. Could you try to link your program with something like below and see if it still hangs, and what it outputs? If it doesn't hang, try renaming SHGetPathFromIDList below to something else (e.g., foo) that calls the real

Re: cygpath hangings

2003-10-14 Thread chris
Steve Fairbairn wrote: -Original Message- From: Cliff Hones Sent: 14 October 2003 15:03 Subject: Re: cygpath hangings Running cygcheck -vs (and/or some other such utility) from a hanging and non-hanging postinstall shell might come up with something. As in set up a script in

Re: merging mingw and cygwin

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 09:08:56AM -0400, Igor Pechtchanski wrote: On Mon, 13 Oct 2003, Edward Peschko wrote: On Mon, Oct 13, 2003 at 10:19:08PM -0400, Christopher Faylor wrote: [snip] Do not send me personal email about cygwin again. [snip] You hold the keys to some sort of power, the power to

Re: Gtk+-2.0

2003-10-14 Thread Mark Blackburn
Bhasker C V wrote: Hi the gtk+-2.0 package is available at many places but there is no consolidated effort where things work. I downloaded some packages and corrected them so that they work in my system the tar.bz2 is available - how to upload it so that people can make use of this ? You

Re: Cygwin setup stopped @99%

2003-10-14 Thread Dr.D.J.Picton
From: G. Oto genkiotoko at yahoo dot co dot jp To: cygwin at cygwin dot com, cygwin-developers at cygwin dot com Date: Sun, 12 Oct 2003 16:04:38 +0900 (JST) Subject: Cygwin setup stopped @99% I followed the instructions on www.cygwin.com on how to install the current Cygwin,

Re: Cygwin setup stopped @99%

2003-10-14 Thread Dr.D.J.Picton
Date: Tue, 14 Oct 2003 15:51:24 +0100 (BST) From: Dr.D.J.Picton [EMAIL PROTECTED] Subject: Re: Cygwin setup stopped @99% To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-MD5: DsCNL7oYTQKmOyN7mUCpjA== To complete the installation, start up cygwin and manually run any outstanding .sh

Re: Starting postgres as root

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 07:01:38PM +0530, Mahesh Pawar wrote: Hi, I would like to start postgres while my linux m/c is booting. For testing I checked following commnd as root . /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data and got error You cannot run initdb as root. Please

Print postscript from cygwin

2003-10-14 Thread Robert Mecklenburg
Please forgive this post if I'm blind here, but I can't figure out how to print a postscript (or pdf) file using cygwin. Normally (I believe), I would use gs with: gs -sDEVICE=mswinpr2 -sOutputFile=spool\\MyPrinter foo.ps However neither the native /bin/gs or /usr/X11R6/bin/gs

RE: cygpath hangings

2003-10-14 Thread Hannu E K Nevalainen
From: Igor Pechtchanski Sent: Tuesday, October 14, 2003 3:38 PM FWIW, I've posted instructions on how to run a program from setup recently (but can't find the actual message at the moment). To summarize, simply create a shell script named BLAH.sh that calls that program (you may need to

RE: cygwin window size

2003-10-14 Thread Hannu E K Nevalainen
From: Thorsten Kampe Sent: Tuesday, October 14, 2003 11:24 AM * [EMAIL PROTECTED] (2003-10-13 23:37 +0200) I wish that the max size of my cygwin window will be full screen. currently it is only 3/4 screen. I do'nt want to use the X - xterm for this purpose because it slows the

RE: [PATCH] : make cygpath use multiple filename arguments

2003-10-14 Thread Hannu E K Nevalainen
From: Mark Blackburn Sent: Friday, July 18, 2003 4:03 PM (Reply on original posting containing the patch) I've found this patch to be a nice addition. It seems not have made it into cygpath.cc, was there a cause for that? /Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E -- UTC+01, DST

Indication of FTP activity

2003-10-14 Thread Menon, Girish (MED, WIPRO-GE MED)
Hi, I would like to know when a FTP connection is active from a remote server. Basically, I have two types of icon. One icon showing that the remote connection is idle and another showing that the remote connection is active. When I had only telnet server active it used to be

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Mon, 13 Oct 2003, Christopher Faylor wrote: On Mon, Oct 13, 2003 at 12:22:12PM -0500, Brian Ford wrote: Since setup must be launched from explorer to hang, I set CYGWIN_DEBUG=cygpath in my system environment variables and rebooted. To make sure it worked, I launched a bash under rxvt and

RE: setup hangs during postinstall

2003-10-14 Thread Steve Fairbairn
All, Using the script below, provided by Hannu E K Nevalainen. -- $ cat /etc/postinstall/t3.sh #!/bin/bash -x # CYGWIN_DEBUG=/bin/cygpath # set CYGWIN_SLEEP=2 echo -e CYGWIN_DEBUG=${CYGWIN_DEBUG}\tCYGWIN_SLEEP=${CYGWIN_SLEEP} TOPFOLDER=$(cygpath -A -P)/Cygwin-XFree86 echo $TOPFOLDER --

RE: setup hangs during postinstall

2003-10-14 Thread Steve Fairbairn
All, Just trying to either re-enforce or counter Brian's debug info, I have done the same thing Chris requested of him with my hung cygpath process. (gdb) info threads 3 thread 164.0xd88 0x77f75a59 in ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINDOWS/System32/ntdll.dll 2 thread

libgen (was: Re: Here is code for dirname basename and getline)

2003-10-14 Thread Gerrit P. Haase
Gerrit wrote: What is/was the status of including libgen into Cygwin/newlib? Replying myself. I found basename() and dirname() sources in the Cygwin openssh sources (openbsd-compat directory). Compiles ok. License is probably OpenBSD, in doubt the same as OpenSSH. In case someone is

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 10:27:45AM -0500, Brian Ford wrote: On Mon, 13 Oct 2003, Christopher Faylor wrote: On Mon, Oct 13, 2003 at 12:22:12PM -0500, Brian Ford wrote: Since setup must be launched from explorer to hang, I set CYGWIN_DEBUG=cygpath in my system environment variables and rebooted.

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 05:28:41PM +0100, Steve Fairbairn wrote: Just trying to either re-enforce or counter Brian's debug info, I have done the same thing Chris requested of him with my hung cygpath process. (gdb) info threads 3 thread 164.0xd88 0x77f75a59 in ntdll!DbgUiConnectToDbg ()

Re: 7-Zip

2003-10-14 Thread Lapo Luchini
Lapo Luchini wrote: Biju G C wrote: I wish there is somebody to port this. As per Igor Standalone command line version in folder Project\archiver\bundle\Alone\ will be easy to port I made a try at it, once.. but it has lotsa subdirectories and libraries... without working Makefiles is

HELP: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Jim Perkins
I looked in the FAQ, I searched the archives, and I searched on deja.com with no luck. I have been using cygwin for quite a while and I'm dependent on it. Recently I started working with a new single board computer. The compile environment is an older version of cygwin. More recent versions of

clock_t return -1

2003-10-14 Thread Alex Vinokur
# -- man clock (fragments) -- # NAME #`clock'--cumulative processor time # # # SYNOPSIS # include time.h # clock_t clock(void); # # RETURNS #The amount of processor time used so far by your program, in units #defined by the machine-dependent macro

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: So it must not really be cygpath that is hanging, then. The stack trace that you provided was more likely for an execed bash stub. You could try setting CYGWIN_DEBUG=bash to test that theory. Considering these things (cygpath, strace, etc.)

What does clock() calculate?

2003-10-14 Thread Alex Vinokur
clock : Calculates the best available approximation of the cumulative amount of time used by your program since it started. (From man clock). Does clock() calculate user-used-time + system-used-time? = Alex Vinokur mailto:[EMAIL PROTECTED]

relocatable cygwin installation

2003-10-14 Thread Daniel Edwards
hello, I have an installation of cygwin which for both convenice and consistency reasons should be shared between multiple users on many machines. This is under a source control system so that each user is guaranteed to use the same utilities, on any machine, without having to undergo the

Re: clock_t return -1

2003-10-14 Thread Cliff Hones
Alex Vinokur wrote: ... -- Compilation -- $ gcc -W -Wall t.c t.c: In function `main': t.c:4: warning: comparison between signed and unsigned - So, clock() is unsigned and never returns -1 (?!) You can find the definition of the type clock_t in the

Re: clock_t return -1

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Alex Vinokur wrote: # -- man clock (fragments) -- # RETURNS #The amount of processor time used so far by your program, in units #defined by the machine-dependent macro `CLOCKS_PER_SEC'. #If no measurement is available, the result is `-1'.

Re: relocatable cygwin installation

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Daniel Edwards wrote: hello, I have an installation of cygwin which for both convenice and consistency reasons should be shared between multiple users on many machines. This is under a source control system so that each user is guaranteed to use the same utilities, on

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: 4) exec (stub) waits for execed program to say I'm here. I'm sure this is where it hangs. So, for a brief time there are two processes attached to the same pinfo. The task manager (and maybe ps -W) will tell you the real windows process that is

Re: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Max Bowsher
Jim Perkins wrote: I looked in the FAQ, I searched the archives, and I searched on deja.com with no luck. I have been using cygwin for quite a while and I'm dependent on it. Recently I started working with a new single board computer. The compile environment is an older version of cygwin.

Re: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Igor Pechtchanski
On Tue, 14 Oct 2003, Max Bowsher wrote: Jim Perkins wrote: I looked in the FAQ, I searched the archives, and I searched on deja.com with no luck. I have been using cygwin for quite a while and I'm dependent on it. Recently I started working with a new single board computer. The

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 01:13:33PM -0500, Brian Ford wrote: On Tue, 14 Oct 2003, Christopher Faylor wrote: 4) exec (stub) waits for execed program to say I'm here. I'm sure this is where it hangs. So, for a brief time there are two processes attached to the same pinfo. The task manager (and

Re: Error: procedure entry point _getreent could not be located...

2003-10-14 Thread Brian Ford
Please keep replies on the list. If you had, your question would probably already have been answered. On Mon, 13 Oct 2003, Ravi Malghan wrote: Brian: thanks for the response. How do I update the dll? Is this something which is available on the cygwin website I can replace my file with? The

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: Ok, so it is hanging in process initialization. Since it is single threaded it can't be attached to. I've run into this from time to time. It is really hard to debug. Maybe adding a small_printf in init.cc will show what's going on. Will try

Re: clock_t return -1

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:04:39PM -0400, Igor Pechtchanski wrote: IOW, this is not Cygwin specific. FWIW, you're welcome to submit a patch to the cygwin-doc package. That is always a good suggestion, but this time it's not necessary. It was a newlib thing. I checked in a patch to fix it

various sundry things

2003-10-14 Thread Edward Peschko
hey all, First of all, I'm looking at my email as/of last night, and although given the circumstances I pretty much still think what I said is accurate (although the pedant in me cringes at the misuse of the word 'disabuse'), I shouldn't have let my temper get the better of me. I have to pat

RE: setup hangs during postinstall

2003-10-14 Thread Robb, Sam
I know this is acting a lot but would you be willing to use the SysInternals Process Explorer process to see if you can see anything funny about the DLLs that are loaded in the hung cygpath? http://sysinternals.com/ntw2k/freeware/procexp.shtml Or, actually anyone who's experiencing the

cron and hibernate

2003-10-14 Thread Paul Y. Peng
I have two problems with cron: 1. Where can I get cron.README? I found several places where this file is referred to. But I can't find it in my installation of cygwin. Running setup.exe shows that I have all files in Admin and Doc installed on my PC. I thought this file may be important

RE: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Robb, Sam wrote: Hope this helps some... $ gdb --pid=1224 At least the stack trace part doesn't. You attached to the bash exec stub of cygpath, not cygpath itself. There are already several of these back traces in the archives. The actual cygpath is here: Process:

Re: cron and hibernate

2003-10-14 Thread Corinna Vinschen
On Tue, Oct 14, 2003 at 04:03:56PM -0230, Paul Y. Peng wrote: I have two problems with cron: 1. Where can I get cron.README? I found several places where this file is referred to. But I can't find it in my installation of cygwin. Running setup.exe shows that I have all files in Admin

Re: setup hangs during postinstall

2003-10-14 Thread Lee D. Rothstein
In various posts over the last several days it has been implied that the Cygwin 'setup.exe' post-install hang only occurs when Cygwin 'setup.exe' is invoked from Explorer. I have now shown, on my two systems, running respectively Windows 2000 on an AMD Athlon, 1 GHz, and Windows XP on an Pentium 4

Re: how do I use two versions of cygwin on one machine?

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:23:24PM -0400, Igor Pechtchanski wrote: On Tue, 14 Oct 2003, Max Bowsher wrote: Jim Perkins wrote: I looked in the FAQ, I searched the archives, and I searched on deja.com with no luck. I have been using cygwin for quite a while and I'm dependent on it. Recently I

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: BTW, when viewing cygpath's handles, I see two WinStation ones. Just wondering if that means anything given the recent xemacs issues. I think I have your patch for that in my Cygwin DLL, though. I wouldn't expect you to see two

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Lee D. Rothstein wrote: 'setup.exe' hangs during the posinstall phase, regardless of whether 'setup.exe' is invoked from, any of the following: 1. Double clicking the 'setup.exe' icon/item in Explorer folder containing it 2. Internet Explorer http://Cygwin.com

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: BTW, when viewing cygpath's handles, I see two WinStation ones. Just wondering if that means anything given the recent xemacs issues. I think I have your patch for that in my Cygwin

Re: setup hangs during postinstall

2003-10-14 Thread Christopher Faylor
On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: FOO=`cygpath -S /dev/null` does not hang. I forget have you tried making this: FOO=`strace -owhereever cygpath -S` I seem to recall that this worked ok but I can't find this usage anywhere in this neverending thread. cgf --

Re: setup hangs during postinstall

2003-10-14 Thread Brian Ford
On Tue, 14 Oct 2003, Christopher Faylor wrote: On Tue, Oct 14, 2003 at 02:13:44PM -0500, Brian Ford wrote: FOO=`cygpath -S /dev/null` does not hang. I forget have you tried making this: FOO=`strace -owhereever cygpath -S` I seem to recall that this worked ok but I can't find this usage

Multiple versions of MSVCRT.DLL (RE: setup hangs during postinstall)

2003-10-14 Thread Hannu E K Nevalainen
From: Christopher Faylor Sent: Tuesday, October 14, 2003 8:43 PM Igor's theory about DLLs might also be the culprit here. I wonder if the PATH is different when run via the desktop and a different version of MSVCRT.DLL is being pulled in or something. *SHUDDER* - I wasn't aware of this...

Re: cygpath hangings

2003-10-14 Thread Brian Ford
Igor, On Tue, 14 Oct 2003, Igor Pechtchanski wrote: On Tue, 14 Oct 2003, chris wrote: -- Code begins -- #include shlobj.h void fee (void) { char *buf; LPITEMIDLIST id; SHGetPathFromIDList (id, buf); } int main (int argc, char **argv) { return 0; } Chris,

  1   2   >