Re: How does one find "cygdrive path" in a Win ".bat" file (was Re: Bug in "startXwin.bat")

2009-02-10 Thread Thorsten Kampe
* Linda Walsh (Mon, 09 Feb 2009 16:34:21 -0800) > > Larry Hall (Cygwin X) wrote: > > Linda Walsh wrote: > >> The startxwin.sh script works, but startxwin.bat does not work if > >> your Cygwin installation isn't in the default location. > >> > >> You could use "mount -p" (presuming your cygwin\bin

Re: libtool 2.2.6a: LDFLAGS ignored when building a shared lib?

2009-02-10 Thread Corinna Vinschen
On Feb 9 20:09, Charles Wilson wrote: > Corinna Vinschen wrote: > > I have a problem using libtool 2.2.6a. > [snip] > > So there's the `-static-libgcc' twice in the libtool comamnd line when > > called from make. But when libtool calls gcc, nothing's left of it. I > > understand why CFLAGS is mi

[ANNOUNCEMENT] [1.7] Updated: file-5.00-1

2009-02-10 Thread Corinna Vinschen
I've updated the Cygwin 1.7 version of file to 5.00-1. This is an update to the latest official upstream version 5.00. The Cygwin version is build from the vanilla sources with the latest libtool applied and a minor change in an error message. Both changes have been send upstream. To update your

Re: How does one find "cygdrive path" in a Win ".bat" file

2009-02-10 Thread Fergus
This might not be quite what you are after, but possibly will provide a starting point. My Cygwin installation is mounted in the root directory of a portable drive so, depending on where I am, the drive might end up being D: or F: or G: or M: or ... The lines following are the first few lines i

OpenSSH ssh-add ssh-agent sitting around doing nothing forever

2009-02-10 Thread Dobes Vandermeer
Recently I updated some cygwin packages because I needed to install something new. Yesterday and Today I am finding that about 50% of the time running ssh-add, ssh, or rsync will simply freeze - sometimes before and sometimes after I provide my ssh password. The process isn't spinning since my C

Re: How does one find "cygdrive path" in a Win ".bat" file (was Re: Bug in "startXwin.bat")

2009-02-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thorsten Kampe on 2/10/2009 2:01 AM: >> For that matter, how would a windows .bat file find the >> 'mount.exe' binary if the .bat file doesn't know 'cygdrive path'? > > Mount is not a Cygwin application (meaning it doesn't have to kn

xterm losing accent keys

2009-02-10 Thread Hans-Georg Scherneck
When I press ` ^ ¨ or ~ and then space keys in xterm, it ignores the accents and puts a simple space. The same with composition of accented characters like é. What worse is: this behaviour can change back to normal and back to improper, and I have no clue as to upon exactly what? Seems that so

Re: Can unison syncronize permission bits

2009-02-10 Thread Manish Sharma
Morten Kjærulff writes: > Hi, > > Before complaining that unison does not syncronize the permission bits > between my C: drive and my USB drive, I would like to ask if it should > be able to do it? > > I have searched a lot, and found various indicators that it should be > able, but also that

Re: Tried mintty but it locks-up on enabling "Copy on select"

2009-02-10 Thread Danilo Turina
I didn't know about the "Copy on select" option (and I already wanted to start whining about that feature missing), so when I read the message of rhubble I run to enable that feature and it worked flawlessly. I run WinXP Pro with latest patches too. The only "strange" behavior I can see is whe

1.7 - Odd behaviour with vim

2009-02-10 Thread Chris Sutcliffe
When edit a file (via :e ) with vim under Cygwin 1.7 the first time I'm opened a cygwin terminal (mintty), there is a message that briefly pops up and seems to be overwritten by the vim display. In the command bar I'm left with: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames What's od

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Corinna Vinschen
On Feb 10 09:55, Chris Sutcliffe wrote: > When edit a file (via :e ) with vim under Cygwin 1.7 the > first time I'm opened a cygwin terminal (mintty), there is a message > that briefly pops up and seems to be overwritten by the vim display. > In the command bar I'm left with: > > http://cygwin.com

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Chris Sutcliffe
>> When edit a file (via :e ) with vim under Cygwin 1.7 the >> first time I'm opened a cygwin terminal (mintty), there is a message >> that briefly pops up and seems to be overwritten by the vim display. >> In the command bar I'm left with: >> >> http://cygwin.com/cygwin-ug-net/using.html#using-pat

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Matt Wozniski
On Tue, Feb 10, 2009 at 10:05 AM, Chris Sutcliffe wrote: >>> When edit a file (via :e ) with vim under Cygwin 1.7 the >>> first time I'm opened a cygwin terminal (mintty), there is a message >>> that briefly pops up and seems to be overwritten by the vim display. >>> In the command bar I'm left wit

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Andy Koppe
What might be happening is that you're seeing previous contents of the "alternate screen", i.e. whatever the last program that used it left there. That's been annoying me on occasion anyway, and I'll have to investigate how other terminals handle that, i.e. whether they clear the alternate screen w

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Corinna Vinschen
On Feb 10 10:05, Chris Sutcliffe wrote: > >> When edit a file (via :e ) with vim under Cygwin 1.7 the > >> first time I'm opened a cygwin terminal (mintty), there is a message > >> that briefly pops up and seems to be overwritten by the vim display. > >> In the command bar I'm left with: > >> > >>

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Chris Sutcliffe
> Uh, that explains it. The full message is > > MS-DOS style path detected: %s > Preferred POSIX equivalent is: %s > CYGWIN environment variable option "nodosfilewarning" turns off this warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/u

make extremely slow on 64bit Windows

2009-02-10 Thread Jasmin Letendre
Hi, Since I installed Windows 64 bits on a new PC, I found out that 'make' now runs about 8 times slower than on Windows 32bits (not the compiler, only the time 'make' takes to spawn the compiler). The speed degradation seems to be related to the spawning of new processes. For example, if I m

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Corinna Vinschen
On Feb 10 10:17, Chris Sutcliffe wrote: > > Uh, that explains it. The full message is > > > > MS-DOS style path detected: %s > > Preferred POSIX equivalent is: %s > > CYGWIN environment variable option "nodosfilewarning" turns off this > > warning. > > Consult the user's guide for more detail

Downloading renamed setup.exe

2009-02-10 Thread Jon Blanchard
Hello: Is it possible to offer a link on cygwin.com to download a renamed setup.exe, such as "setup.ex_" or "setup.eex"? I am jobless and, as a result, have no internet connection in my home and am dependent on my local library for an internet connection; their firewall blocks the download of

Re: xterm losing accent keys

2009-02-10 Thread Larry Hall (Cygwin)
Hans-Georg Scherneck wrote: When I press ` ^ ¨ or ~ and then space keys in xterm, it ignores the accents and puts a simple space. The same with composition of accented characters like é. What worse is: this behaviour can change back to normal and back to improper, and I have no clue as to upon

Re: Tried mintty but it locks-up on enabling "Copy on select"

2009-02-10 Thread rhubbell
On Tue, 10 Feb 2009 07:29:03 + Andy Koppe wrote: > >> That's a new one actually. Can you reproduce it? If it's not too much > >> bother, any details about the bug and your system would be > >> appreciated. The ~/.minttyrc file might be helpful too. > > > > It's winxp with latest patches and I

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Corinna Vinschen
On Feb 10 16:29, Corinna Vinschen wrote: > On Feb 10 10:17, Chris Sutcliffe wrote: > > > Uh, that explains it. The full message is > > > > > > MS-DOS style path detected: %s > > > Preferred POSIX equivalent is: %s > > > CYGWIN environment variable option "nodosfilewarning" turns off this > > >

Re: Downloading renamed setup.exe

2009-02-10 Thread Dave Korn
Jon Blanchard wrote: > Hello: > > Is it possible to offer a link on cygwin.com to download a renamed > setup.exe, such as "setup.ex_" or "setup.eex"? Would a .zip file work? I zipped a copy of setup.exe (and the digital signature file setup.exe.sig), and uploaded it to rapidshare; see if you c

Re: Downloading renamed setup.exe

2009-02-10 Thread Dave Korn
Dave Korn wrote: > Would a .zip file work? I zipped a copy of setup.exe (and the digital > signature file setup.exe.sig), and uploaded it to rapidshare; see if you can > get at it from: > > http://rapidshare.com/files/196431248/setup.zip *smacks self on back of wrist* And then, in order

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Tim Prince
Corinna Vinschen wrote: This message is only generated once per session and can be switched off entirely using the CYGWIN=nodosfilewarning setting. > an environment > variable containing a DOS path I have seen the message when executing cygwin.bat where environment variables for other a

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Christopher Faylor
On Tue, Feb 10, 2009 at 09:47:44AM -0800, Tim Prince wrote: >Corinna Vinschen wrote: > > This message is only generated once per session and can be switched > off entirely using the CYGWIN=nodosfilewarning setting. >> an environment >> variable containing a DOS path > >I have seen the messa

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Christopher Faylor
Sorry. Fat-fingered the response. On Tue, Feb 10, 2009 at 12:52:44PM -0500, Christopher Faylor wrote: >On Tue, Feb 10, 2009 at 09:47:44AM -0800, Tim Prince wrote: >>Corinna Vinschen wrote: >> >> This message is only generated once per session and can be switched >> off entirely using the

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Tim Prince
Christopher Faylor wrote: > Sorry. Fat-fingered the response. > > On Tue, Feb 10, 2009 at 12:52:44PM -0500, Christopher Faylor wrote: >> On Tue, Feb 10, 2009 at 09:47:44AM -0800, Tim Prince wrote: >>> Corinna Vinschen wrote: >>> >>> This message is only generated once per session and can be s

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Chris Sutcliffe
> On second thought, is it possible that you're using a native vim as well > and so maybe have a vim rc file with DOS paths in it? Or an environment > variable containing a DOS path which is referred by both vims, as, say, > $VIM or $VIMRUNTIME? Yep, that was it, in one of my functions in .vimrc

RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Linda Walsh
Larry Hall (Cygwin) wrote: What do you think? Actually, this has been discussed already and has been resolved by having 1.7's 'setup.exe' putting the Cygwin root installation directory in... the registry! See HKLM/Software/Cygwin/setup, the "rootdir" value. I know, it's not in the environ

Re: Can unison syncronize permission bits

2009-02-10 Thread Andrew Schulman
> > Before complaining that unison does not syncronize the permission bits > > between my C: drive and my USB drive, I would like to ask if it should > > be able to do it? > > > > I have searched a lot, and found various indicators that it should be > > able, but also that it will not do it on "w

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
On 02/10/2009, Linda Walsh wrote: Plblblblb! (*raz*) Um...so..um... I know it could spoil your day and all...but it really would be more *linux* like if it was added to the environment variables. OK, I need to be clear. I have nothing against the enviroment variable idea. I w

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread rhubbell
Are you and Linda married by any chance? On Tue, 10 Feb 2009 15:36:49 -0500 "Larry Hall (Cygwin)" wrote: > On 02/10/2009, Linda Walsh wrote: > > Plblblblb! (*raz*) > > > > Um...so..um... > > I know it could spoil your day and all...but it really would > > be more *linux* like if

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
rhubbell wrote: Are you and Linda married by any chance? Now that's funny! :-) In case I need to be crystal clear on this subject, no we have no common relationship beyond that of both being participants on this list. -- Larry Hall http://www.rfk.com RFK Partners,

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Tim McDaniel
On Tue, 10 Feb 2009, Linda Walsh wrote: Then anything else in "Cygwin" that uses paths -- including setup's "cygwin.bat" could use %CygWinDir% Not that there's being a vote taken or anything, but I would like to support that notion. I have several "trampoline" scripts, a bat file doing nothin

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
Tim McDaniel wrote: On Tue, 10 Feb 2009, Linda Walsh tlinx org> wrote: . Thanks. Then anything else in "Cygwin" that uses paths -- including setup's "cygwin.bat" could use %CygWinDir% Not that

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Ralph Hempel
Larry Hall (Cygwin) wrote: This can be done now, if you look back through the thread to all the different options I outlined and even a few scripts others have thrown in. What Linda is proposing here is simply having the mechanism for communicating this be an environment variable. While this c

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Tim McDaniel
On Tue, 10 Feb 2009, Larry Hall (Cygwin) wrote: Tim McDaniel wrote: I have several "trampoline" scripts, a bat file doing nothing but invoking a corresponding bash shell script or Perl program. I have to hard-code a location for the bash / perl interpreter, but those locations change from user

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
Tim McDaniel wrote: On Tue, 10 Feb 2009, Larry Hall (Cygwin) wrote: Tim McDaniel wrote: I have several "trampoline" scripts, a bat file doing nothing but invoking a corresponding bash shell script or Perl program. I have to hard-code a location for the bash / perl interpreter, but those locati

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Tim McDaniel
On Tue, 10 Feb 2009, Larry Hall wrote: Tim McDaniel wrote: I have several "trampoline" scripts, a bat file doing nothing but invoking a corresponding bash shell script or Perl program. I have to hard-code a location for the bash / perl interpreter, but those locations change from user to user (

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
Tim McDaniel wrote: On Tue, 10 Feb 2009, Larry Hall wrote: Sounds similar to Cygwin's 'regtool'. Definitely would be helpful if you're trying to batch script something like this. Well, not in *this* special case, because "like this" is trying to find the Cygwin installation in the first p

Re: RFD: cygwin + *native* MinGW compiler

2009-02-10 Thread Greg Chicares
On 2009-01-29 05:08Z, Charles Wilson wrote: > Greg Chicares wrote: >> On 2009-01-28 05:28Z, Charles Wilson wrote: Forgive my delay in thanking you for taking so much time to point out the many issues with what I'm doing. Perhaps the worst problem was this: >> An incidental oddity is that the tech

Re: 1.7 - Odd behaviour with vim

2009-02-10 Thread Matt Wozniski
On Tue, Feb 10, 2009 at 1:11 PM, Chris Sutcliffe wrote: >> On second thought, is it possible that you're using a native vim as well >> and so maybe have a vim rc file with DOS paths in it? Or an environment >> variable containing a DOS path which is referred by both vims, as, say, >> $VIM or $VIMR

GCC 4.3.2 OpenMP Support in Cygwin

2009-02-10 Thread Michael Craft
I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2 installed from the repositories. This program compiles in linux with the exact same compiler fine. $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c matrix-vector-bench.c:11:18: error: omp.h: No such file or directory

Re: xdvi problem: second attempt to get help

2009-02-10 Thread Larry Hall (Cygwin)
Dan Tsafrir wrote: Hi, a few days ago I reported a problem regarding xdvi and did not get any response, so I'm trying again: When opening xdvi, I get the following error message: Warning: locale not supported by C library, locale unchanged Warning: locale not supported by Xlib, locale set

Re: GCC 4.3.2 OpenMP Support in Cygwin

2009-02-10 Thread Larry Hall (Cygwin)
Michael Craft wrote: I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2 installed from the repositories. This program compiles in linux with the exact same compiler fine. $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c matrix-vector-bench.c:11:18: error: omp.h: No

File name too long issues while using snv (subversion)

2009-02-10 Thread Jason Pyeron
Is there a workaround? $ (pwd && echo /hibernate-distribution-3.3.1.GA/project/testsuite/src/test/java/org/hibernate/t est/event/collection/association/bidirectional/on etomany/.svn/text-base/BidirectionalOneToManyBagSubclassCollectionEventTest.java .svn-base) | wc 2 2 262 -jason

RE: File name too long issues while using snv (subversion)

2009-02-10 Thread Jason Pyeron
> -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of Jason Pyeron > Sent: Tuesday, February 10, 2009 23:34 > To: cygwin@cygwin.com > Subject: File name too long issues while using snv (subversion) > > Is there a workaround? This is what I

RE: File name too long issues while using snv (subversion)

2009-02-10 Thread Jason Pyeron
> -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of Jason Pyeron > Sent: Wednesday, February 11, 2009 0:30 > To: cygwin@cygwin.com > Subject: RE: File name too long issues while using snv (subversion) > > > > -Original Message- >

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Christopher Faylor
On Tue, Feb 10, 2009 at 06:22:21PM -0600, Tim McDaniel wrote: >Well, not in *this* special case, because "like this" is trying to find >the Cygwin installation in the first place; if it knew where regtool >was, it would already know where Cygwin was installed ... You sort of have to know where "re

Re: File name too long issues while using snv (subversion)

2009-02-10 Thread Christopher Faylor
On Wed, Feb 11, 2009 at 12:49:10AM -0500, Jason Pyeron wrote: >How can I make use of >http://www.cygwin.com/ml/cygwin-developers/2008-03/msg0.html? You obviously haven't been paying attention to Corinna's Cygwin 1.7 announcements. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscri

Re: GCC 4.3.2 OpenMP Support in Cygwin

2009-02-10 Thread Dave Korn
Larry Hall (Cygwin) wrote: > Michael Craft wrote: >> I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2 >> installed from the repositories. This program compiles in linux with >> the exact same compiler fine. >> >> $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c >> m

Re: RFE?: CygWinDir in ENV?

2009-02-10 Thread tmcd
On Wed, 11 Feb 2009, Christopher Faylor wrote: > On Tue, Feb 10, 2009 at 06:22:21PM -0600, Tim McDaniel wrote: > >Well, not in *this* special case, because "like this" is trying to > >find the Cygwin installation in the first place; if it knew where > >regtool was, it would already know where Cygwi