Re: setup - duplicating cygwin

2006-06-20 Thread Jim Easton
Hi Igor, > > Tell me; In case things go wrong, to recover my present configuration > > is it sufficient to simply restore /cygdrive/c/cygwin and > > /cygdrive/c/cygwin.disk or is there something more subtle going on. > > If you didn't change the mounts, it should be sufficient to restore > c:\cyg

Re: setup - duplicating cygwin

2006-06-20 Thread Corinna Vinschen
On Jun 20 02:58, Jim Easton wrote: > Question: is /proc implemented and I just haven't figured out how to > install it? Did you try $ cd /proc $ ls -l before asking? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cy

Re: cygwin emacs characters

2006-06-20 Thread bh77
many thanks for the quick and accurate replies the changes to the .bashrc file run fine, but only if I type bash into the emacs shell. Is there a flag I can add to the .emacs file to make this the default for any emacs session ? thanks for all the help -- View this message in context: http://www

RE: Suggestion: add "setup.exe" version number to Cygwin home page

2006-06-20 Thread Dave Korn
On 19 June 2006 21:18, Buchbinder, Barry (NIH/NIAID) wrote: > Daniel Friedman wrote: >> It would be nice to learn the latest version of the Cygwin setup >> program "setup.exe" without having to download and install it. >> >> Hence I respectfully suggest adding a statement of form "Latest >> Cygwi

snapshots: first resort, or last resort?

2006-06-20 Thread Science Guy
In http://cygwin.com/ml/cygwin/2006-06/msg00434.html, Brian said "using the latest snapshot should always be the first thing you try when encountering a problem before reporting it to the list." However, the instructions for installing snapshots at http://cygwin.com/faq/faq-nochunks.html#faq.setup

Thread-related segfault with cygwin 1.5.19-4

2006-06-20 Thread Jon S. Berndt
I've compiled and rebuilt the FlightGear application under a fresh installation of cygwin (I've been doing this for years, now) and when running flightgear I get a segfault at startup - something I've not seen before. When running under gdb, this is the message I get: Program received signal SI

Re: snapshots: first resort, or last resort?

2006-06-20 Thread Brian Dessent
Science Guy wrote: > For a non-expert, such as me, this dichotomy of views is perplexing. This > is made all the more perplexing because there does not seem to be (I could > not find) a user-readable list of bugs that each snapshot fixes vis-a-vis > the latest release. So how would a user know w

RE: bash and CSRSS consuming 100% of CPU

2006-06-20 Thread Dave Korn
On 20 June 2006 02:11, Science Guy wrote: > I got cygwin working once again on my problem machine. (Hooray!) > > The problem was that the snapshot tar file, cygwin-inst-20060614.tar.bz2, > had cygwin1.dll in /usr/bin but failed to replace the old cygwin1.dll in > /bin. I copied over the new cyg

Re: Thread-related segfault with cygwin 1.5.19-4

2006-06-20 Thread Brian Dessent
"Jon S. Berndt" wrote: > When running under gdb, this is the message I get: > > Program received signal SIGSEGV, Segmentation fault. > 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll > > Typing "where" in gdb gives this trace: > > (gdb) where > #0 0x610ae938 in pthread_key_create

RE: Thread-related segfault with cygwin 1.5.19-4

2006-06-20 Thread Jon S. Berndt
> What you are seeing: > > - does not represent an actual problem in the pthread library > - is not an actual segfault > - is a bug/misfeature in gdb that has been fixed in CVS > - can be worked around just by typing "c" or "continue" > - has been discussed in depth, at length, ad infinitum, over a

Re: Thread-related segfault with cygwin 1.5.19-4

2006-06-20 Thread Brian Dessent
"Jon S. Berndt" wrote: > via various google searches, and asking other developers for help. I > searched the cygwin mailing list archives, and checked the cygwin FAQ > ("Known problems ..."). Even though this is not a real cygwin problem, if > this question gets asked so often, it might be worth a

RE: Running dselect

2006-06-20 Thread Dave Korn
On 20 June 2006 05:44, Wynfield Henman wrote: > I downloaded, > > ftp://sources.redhat.com/pub/gdb/snapshots/branch/gdb-6.4.91.20060615.tar.bz2 > > and built it successfully in the cygwin environment and with cygwin tools. And so you made a post called "Running deselect" because why

Re: variable

2006-06-20 Thread Igor Peshansky
On Mon, 19 Jun 2006, prz wrote: > thanks for the update > a simple testcase > tempdba:/cygdrive/c/workdir:echo $OBJECT > > tempdba:/cygdrive/c/workdir:. ./testcase -a dt > print object dt > tempdba:/cygdrive/c/workdir:. ./testcase -a dt > print object dt > tempdba:/cygdrive/c/workdir:. ./testcase

Re: variable

2006-06-20 Thread Igor Peshansky
On Tue, 20 Jun 2006, Igor Peshansky wrote: > On Mon, 19 Jun 2006, prz wrote: > > > thanks for the update > > a simple testcase > > tempdba:/cygdrive/c/workdir:echo $OBJECT > > > > tempdba:/cygdrive/c/workdir:. ./testcase -a dt ^ There it is. > > print object dt > >

RE: I Need your help for Installation & Upgradation of Cygwin.....on Windows 2000

2006-06-20 Thread Charli Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -Original Message- > From: [EMAIL PROTECTED] > Sent: Tuesday, June 20, 2006 1:58 AM > To: cygwin@cygwin.com > Subject: I Need your help for Installation & Upgradation of > Cygwin.on Windows 2000 > > > Hi, > > Thanks for your support. >

RE: Suggestion: add "setup.exe" version number to Cygwin home page

2006-06-20 Thread Igor Peshansky
On Tue, 20 Jun 2006, Dave Korn wrote: > On 19 June 2006 21:18, Buchbinder, Barry (NIH/NIAID) wrote: > > > Daniel Friedman wrote: > >> It would be nice to learn the latest version of the Cygwin setup > >> program "setup.exe" without having to download and install it. > >> > >> Hence I respectfully

RE: Suggestion: add "setup.exe" version number to Cygwin home page

2006-06-20 Thread zzapper
"Dave Korn" <[EMAIL PROTECTED]> wrote in news:00be01c6945d$00463bb0 [EMAIL PROTECTED]: > pushd >/dev/null /tmp && wget 2>/dev/null `cat > /etc/setup/last-mirror`/setup.bz2 && ( bunzip2 -c setup.bz2 | grep > setup-version | cut -f2 -d' ' ) && popd >/dev/null > How this works AFAICT The meat is her

Re: bash and CSRSS consuming 100% of CPU

2006-06-20 Thread Christopher Faylor
On Tue, Jun 20, 2006 at 12:57:54PM +0100, Dave Korn wrote: >On 20 June 2006 02:11, Science Guy wrote: > >> I got cygwin working once again on my problem machine. (Hooray!) >> >> The problem was that the snapshot tar file, cygwin-inst-20060614.tar.bz2, >> had cygwin1.dll in /usr/bin but failed to

Re: cygwin emacs characters

2006-06-20 Thread bh77
see this site which enabled me to solve all of these character issues http://www.khngai.com/emacs/ -- View this message in context: http://www.nabble.com/cygwin-emacs-characters-t1812105.html#a4956128 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml

Re: Latest Cygwin Release 5 month old... (gold star alert)

2006-06-20 Thread Christopher Faylor
On Mon, Jun 19, 2006 at 03:24:04PM -0700, Brian Dessent wrote: >Linda Walsh wrote: > >> Nobody like to hear "oh, it's fixed in the latest build, but >> not in the released product." > >Whether they like it or not doesn't change the situation at all. The >fact remains that very often reported p

RE: random "fork: Resource temporarily unavailable"

2006-06-20 Thread Mark Bartel
Larry Hall wrote: > Linda Walsh wrote: > > I've not seen this message except when I've had to rapidly > > press ^C to break out of a loop shell script. > > > > Today, I've seen it twice when there was virtually no cpu load > > on the system, about 50% virtual memory committed, and 40 processes. >

Re: Thread Injection + Cygwin problems

2006-06-20 Thread Christopher Faylor
On Mon, Jun 19, 2006 at 06:11:57PM -0500, mwoehlke wrote: >Kaveh Goudarzi wrote: >>I've written a program to detect the invocation of processes and then >>inject them with a remote thread in the hope of getting the cmdLine/cwd >>and environment variables of the running process. >[snip] >>I'm not su

Re: Latest Cygwin Release 5 month old... (gold star alert)

2006-06-20 Thread Igor Peshansky
On Tue, 20 Jun 2006, Christopher Faylor wrote: > On Mon, Jun 19, 2006 at 03:24:04PM -0700, Brian Dessent wrote: > >Linda Walsh wrote: > > > >> Nobody like to hear "oh, it's fixed in the latest build, but > >> not in the released product." > > > >Whether they like it or not doesn't change the s

CVSNT and cvs

2006-06-20 Thread Marko Bozikovic
Hi all, I have a problem with logging in to remote CVSNT server using cygwin cvs. I'm using CVSNT 2.5.03.2260 on Windows and Cygwin cvs 1.11.17. CVS repository is in C:\cvsrepo, with name /cvsrepo. I'm trying to connect with: cvs -d:pserver:[EMAIL PROTECTED]:/cvsrepo login When I enter a valid

Re: Unable to delete directory in Cygwin

2006-06-20 Thread Lev Bishop
On 6/19/06, mwoehlke wrote: Larry Hall (Cygwin) wrote: > mwoehlke wrote: >> Eric Blake wrote: >>> That said, cygwin does try to emulate linux, and if someone were to >>> contribute a patch that would allow cygwin to emulate directory deletion >>> if it knows that all open handles have also been

Broken install

2006-06-20 Thread Jeff Sadowski
Running setup.exe I first did a "Download without installing" I used my local Desktop as my local package directory I used Direct connect for my connection type I used mirrors.kernel.org as the Download sight In the select packages list I clicked on the Default for All and changed it to Install (th

Dir not mounted when logging in through ssh

2006-06-20 Thread Alexander.Farber
Hello, I have a problem that a directory ( /cygdrive/h mounted to the H:\ which is in turn mounted to \\bonfs01\afarber ) is visible in the normal Cygwin console, but disappears when I login into the same PC via OpenSSH: [EMAIL PROTECTED] ~ $ mount C:\apps\Cygwin\bin on /usr/bin type system (bin

Re: CVSNT and cvs

2006-06-20 Thread René Berber
Marko Bozikovic wrote: > I have a problem with logging in to remote CVSNT server using cygwin cvs. > > I'm using CVSNT 2.5.03.2260 on Windows and Cygwin cvs 1.11.17. CVS repository > is in C:\cvsrepo, with name /cvsrepo. > > I'm trying to connect with: > > cvs -d:pserver:[EMAIL PROTECTED]:/cvsr

checkdir: cannot create extraction directory

2006-06-20 Thread bh77
I am trying to unzip a file using the following command from a bash script under cygwin and receive the following error - which looks as though it may be permissions related. Does anyone have any idea what may be causing it ? code : # if the target directory does not exist, create it. if [ ! -d $

RE: Problems with NFS server

2006-06-20 Thread Sam Robb
On Mon, 2006-06-19 at 12:21 +0200, Nicolas Boudin wrote: > > Could you please try adding a map_static directive to your exports? > > It should then look something like this: > > > > /usr/src/buildroot-20060308/build_arm/root > > 172.16.7.65(rw,map_static=/etc/nfs/server.map,no_root_squash) > >

Re: checkdir: cannot create extraction directory

2006-06-20 Thread bh77
sorry that should read # if the target directory does not exist, create it. if [ ! -d ${TARGET_DIR} ] then echo making target dir mkdir ${TARGET_DIR} fi unzip -u ${SRC_ZIP} "**/*.jar" -d ${TARGET_DIR} -- View this message in context: http://www.nabble.com/checkdir%3A--cannot-create-extracti

Re: Thread Injection + Cygwin problems

2006-06-20 Thread mwoehlke
Christopher Faylor wrote: On Mon, Jun 19, 2006 at 06:11:57PM -0500, mwoehlke wrote: Kaveh Goudarzi wrote: I've written a program to detect the invocation of processes and then inject them with a remote thread in the hope of getting the cmdLine/cwd and environment variables of the running proces

Re: CVSNT and cvs

2006-06-20 Thread Marko Bozikovic
René Berber wrote: > Marko Bozikovic wrote: > >> I have a problem with logging in to remote CVSNT server using cygwin cvs. >> >> I'm using CVSNT 2.5.03.2260 on Windows and Cygwin cvs 1.11.17. CVS repository >> is in C:\cvsrepo, with name /cvsrepo. >> >> I'm trying to connect with: >> >> cvs -d:pse

Re: Dir not mounted when logging in through ssh

2006-06-20 Thread Igor Peshansky
On Tue, 20 Jun 2006, Alexander.Farber wrote: > Hello, > > I have a problem that a directory ( /cygdrive/h mounted > to the H:\ which is in turn mounted to \\bonfs01\afarber ) > is visible in the normal Cygwin console, but disappears > when I login into the same PC via OpenSSH: > > [EMAIL PROTECTED

strtod (and atof) on hex numbers

2006-06-20 Thread Paul Biggar
Hi, atof (and hence strtod) on hexadecimal numbers results in 0.0 (errno of 0). This may be related to an old issue where NaN isnt correctly parsed. I believe it isnt correct behaviour: http://www.opengroup.org/onlinepubs/95399/functions/atof.html I've tested it for integers in the range

Re: checkdir: cannot create extraction directory

2006-06-20 Thread Igor Peshansky
On Tue, 20 Jun 2006, bh77 wrote: > I am trying to unzip a file using the following command from a bash script > under cygwin and receive the following error - which looks as though it may > be permissions related. Does anyone have any idea what may be causing it ? > > code : > # if the target dire

Re: checkdir: cannot create extraction directory

2006-06-20 Thread bh77
e.g unzip -u "${SRC_ZIP}" "**/*.jar" -d "${TARGET_DIR}" there are no spaces in the directory structure - there are however the following characters: -._ (dash, fullstop and underscore) would any of these have the same effect ? -- View this message in context: http://www.nabble.com/checkdir%3A-

Re: strtod (and atof) on hex numbers

2006-06-20 Thread Corinna Vinschen
This is a newlib issue. I redirected this to the appropriate mailing list newlib AT sourceware DOT org. On Jun 20 13:00, Paul Biggar wrote: > Hi, > > atof (and hence strtod) on hexadecimal numbers results in 0.0 (errno > of 0). This may be related to an old issue where NaN isnt correctly > pars

Re: strtod (and atof) on hex numbers

2006-06-20 Thread Jeff Johnston
This is a C99 extension to strtod over original ANSI C90 which is what newlib started with. I'll start working on it, but don't expect anything too quick. -- Jeff J. Corinna Vinschen wrote: This is a newlib issue. I redirected this to the appropriate mailing list newlib AT sourceware DOT or

Re: random "fork: Resource temporarily unavailable"

2006-06-20 Thread Larry Hall (Cygwin)
Mark Bartel wrote: Larry Hall wrote: Linda Walsh wrote: I've not seen this message except when I've had to rapidly press ^C to break out of a loop shell script. Today, I've seen it twice when there was virtually no cpu load on the system, about 50% virtual memory committed, and 40 processes.

Re: CVSNT and cvs

2006-06-20 Thread Larry Hall (Cygwin)
Marko Bozikovic wrote: René Berber wrote: Marko Bozikovic wrote: I have a problem with logging in to remote CVSNT server using cygwin cvs. I'm using CVSNT 2.5.03.2260 on Windows and Cygwin cvs 1.11.17. CVS repository is in C:\cvsrepo, with name /cvsrepo. I'm trying to connect with: cvs -d:p

Re: checkdir: cannot create extraction directory

2006-06-20 Thread Larry Hall (Cygwin)
bh77 wrote: I am trying to unzip a file using the following command from a bash script under cygwin and receive the following error - which looks as though it may be permissions related. Does anyone have any idea what may be causing it ? code : # if the target directory does not exist, create it

g++ 4.1?

2006-06-20 Thread Shawn Samuel
I would like to upgrade to g++ 4.1 under cygwin. I only see 3.3.x and 3.4.4 as options for the gcc-g++ package in cygwin setup, and haven't found any doc online or in the newsgroup for this issue. Is there an easy way to go about this, or is this just a bad idea? thanks, shawn -- Unsubscribe in

find dir -o does not work

2006-06-20 Thread cristi petrisor
Hi, I am trying to make a tar with files that are in a directory and checks some condition The problem i encountered is next : find common -type f give the following output. (which is good) common/VERSION common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap/RcMapCreateOptionsStep.java

Re: find dir -o does not work

2006-06-20 Thread Eric Hanchrow
find common -type f -o -type l (get nothing here ) Your problem is with "find", not with Cygwin. Try find common -type f -o -type l -print -- As economics is known as "The Miserable Science", software engineering should be known as "The Doomed Discipline" -- Edsger Dijkstr

Re: g++ 4.1?

2006-06-20 Thread Brian Dessent
Shawn Samuel wrote: > I would like to upgrade to g++ 4.1 under cygwin. I only see 3.3.x and 3.4.4 as > options for the gcc-g++ package in cygwin setup, and haven't found any doc > online or in the newsgroup for this issue. Is there an easy way to go about > this, or is this just a bad idea? You c

Re: Running as root

2006-06-20 Thread Stephen Grant Brown
Hi All - Original Message - From: "Igor Peshansky" <[EMAIL PROTECTED]> To: "Stephen Grant Brown" <[EMAIL PROTECTED]> Cc: Sent: Sunday, June 18, 2006 3:56 AM Subject: Re: Running as root On Sat, 17 Jun 2006, Stephen Grant Brown wrote: Hi There I would like to run programs as root, w

Security Vulnerabilities

2006-06-20 Thread Brian Hansen
Hi, I'm trying to use cygwin at work, but the network administrator can't approve it unless I can verify that the source code contains no obvious signs of malicious code, back doors, Trojans, etc. I am fully confident that these kinds of things would not be found in an open-source project (b

1.5.19: Can't export two drives with nfs server

2006-06-20 Thread Charles Nadeau
The problem I have is I want to share 2 drives from my Windows machine to my Linux machines. On my Linux machine (kernel 2.6.13, nfs 1.0.6), when I mount the two drives I am exporting, the two mount points show the same content. I am using Cygwin 1.5.19. I followed the instructions here http://

Re: Running as root

2006-06-20 Thread Igor Peshansky
On Wed, 21 Jun 2006, Stephen Grant Brown wrote: > Hi All > - Original Message - > From: "Igor Peshansky" <[EMAIL PROTECTED]> > To: "Stephen Grant Brown" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> (yes, even your own). Let's not feed the spam

Re: Security Vulnerabilities

2006-06-20 Thread Larry Hall (Cygwin)
Brian Hansen wrote: Hi, I'm trying to use cygwin at work, but the network administrator can't approve it unless I can verify that the source code contains no obvious signs of malicious code, back doors, Trojans, etc. I am fully confident that these kinds of things would not be found in an op

Re: 1.5.19: Can't export two drives with nfs server

2006-06-20 Thread Larry Hall (Cygwin)
Charles Nadeau wrote: The problem I have is I want to share 2 drives from my Windows machine to my Linux machines. On my Linux machine (kernel 2.6.13, nfs 1.0.6), when I mount the two drives I am exporting, the two mount points show the same content. I am using Cygwin 1.5.19. I followed the ins

Re: snapshots: first resort, or last resort?

2006-06-20 Thread mwoehlke
Science Guy wrote: In http://cygwin.com/ml/cygwin/2006-06/msg00434.html, Brian said "using the latest snapshot should always be the first thing you try when encountering a problem before reporting it to the list." However, the instructions for installing snapshots at http://cygwin.com/faq/faq-no

Re: bash and CSRSS consuming 100% of CPU

2006-06-20 Thread Science Guy
>From message http://cygwin.com/ml/cygwin/2006-06/msg00534.html: > Dave, I think you missed this: > >>sciguy wrote: >>>I am networked to a Linux machine, so I moved the tar file >>>cygwin-inst-20060614.tar.bz2 over to the Linux machine, created a dummy >>>cygwin directory to hold the file, and un-

Re: bash and CSRSS consuming 100% of CPU

2006-06-20 Thread Igor Peshansky
On Tue, 20 Jun 2006, Science Guy wrote: > From message http://cygwin.com/ml/cygwin/2006-06/msg00534.html: > > > Dave, I think you missed this: > > > >>sciguy wrote: > >>>I am networked to a Linux machine, so I moved the tar file > >>>cygwin-inst-20060614.tar.bz2 over to the Linux machine, created

Re: setup - duplicating cygwin

2006-06-20 Thread Jim Easton
Hi Corinna, > On Jun 20 02:58, Jim Easton wrote: > > Question: is /proc implemented and I just haven't figured out how to > > install it? > > Did you try > > $ cd /proc > $ ls -l > > before asking? Oh Dear! I tried: cd /cygdrive/c/cygwin cd proc For which I received the message: "bash:

Re: Thread Injection + Cygwin problems

2006-06-20 Thread Kaveh Goudarzi
Hi, The problem may be due to the fact that the injected thread doesn't have a cygtls area. If the thread is injected prior to the completion of cygwin's initialization or if it somehow bypasses the DLL_THREAD_ATTACH phase of the initialization (which was one problem that I had to deal with in