[ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-42

2009-03-06 Thread Corinna Vinschen
Hi folks, I just uploaded a new Cygwin 1.7 test release, 1.7.0-42. Cygwin 1.7 is a major jump from Cygwin 1.5.x. The list with all changes related to Cygwin 1.5.25 is attached below. Just download http://cygwin.com/setup-1.7.exe and use that setup tool to install Cygwin 1.7. As usual, please

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Buchbinder, Barry (NIH/NIAID) [E]
Dave Korn wrote on Thursday, March 05, 2009 10:48 PM: > Hongyi Zhao wrote: >> Hi all, >> >> I've written a cygwin/bash script and want to run it by a customized >> hotkey laterly, it this possible? >> > > Sure. Create a windows shortcut to bash.exe, open the properties. > In "Target", after

problem under cygwin with sh, bash, ksh

2009-03-06 Thread Hubert Samm
Hi All... I've searched and found nothing this script runs just fine on AIX, Solaris, and Linux, but under cygwin, the array VALUE prints only blanks.. has anyone else run into this... I've tried a bunch of different things around typecast, etc, but it looks like VALUE is local in the tabl

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Dave Korn
Buchbinder, Barry (NIH/NIAID) [E] wrote: > Dave Korn wrote on Thursday, March 05, 2009 10:48 PM: >> Hongyi Zhao wrote: >>> Hi all, >>> >>> I've written a cygwin/bash script and want to run it by a customized >>> hotkey laterly, it this possible? >>> >> Sure. Create a windows shortcut to bash.ex

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Dave Korn
Dave Korn wrote: >> Although I normally defer to Dave, who is far more knowledgeable in >> these things than I am, I am surprised that he suggests the -i option >> that makes bash interactive. BTW, the fact we're talking about launching scripts from a hot key is what made me think that -i mig

Problem with cygwin-xfree mailimg list ?

2009-03-06 Thread André Bleau
Something fishy seems to have happen to the cygwin-xfree mailimg list. It usually receives 5 to 15 messages per day, with very few spam. For the last 5 days (March 01 - March 05), not a _single_ real message and 4 spams have got through. It looks like as if the spam filter had been turned aroun

RE: 1.5.25-Cygstart not showing visible window

2009-03-06 Thread Thrall, Bryan
Jay Cross wrote on Friday, March 06, 2009 1:09 AM: > I'm having an problem with cygstart. When I run a program with it in > a bash shell on my cygwin machine everything is fine. When I'm > accessing cygwin through another machine (using SSH through Putty) the > program window never appears regardl

1.5.25: Regtool can not find registry?

2009-03-06 Thread Josef Wolf
Hello, I had a working cygwin installation for several years on this machine. But then I decided to remove and reinstall it. (I reinstalled cygwin only, not the whole machine). Since the reinstall, regtool refuses to work. It always complains that it can not find the specified file. Strange en

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Arun Biyani
>> -Original Message- >> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf >> Of Dave Korn >> Sent: Thursday, March 05, 2009 9:48 PM >> To: cygwin@cygwin.com >> Subject: Re: How can I assign a hotkey to run a cygwin/bash script? >> >> Hongyi Zhao wrote: >> > Hi all,

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Dave Korn
Arun Biyani wrote: > It appears that Windows XP shortcuts have a limitation. The shortcut must > be to a target on the desktop (or to a target in a folder on desktop). Surely you can't mean what you've written there exactly how you've worded it: I thought shortcuts can point *to* anywhere, on a

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Arun Biyani
>> >> Arun Biyani wrote: >> >> > It appears that Windows XP shortcuts have a limitation. The shortcut >> must >> > be to a target on the desktop (or to a target in a folder on desktop). >> >> Surely you can't mean what you've written there exactly how you've >> worded >> it: I thought shortcu

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Dave Korn
Arun Biyani wrote: > Yes. Meant exactly that. I created a shortcut on desktop for mintty. > Assigned it the key "ctrl+alt+M". I like my desktop to be uncluttered. > So after assigning the key, I moved the shortcut icon into my work > folder > "/c/home/wrk". The hotkey stopped working. I then moved

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Buchbinder, Barry (NIH/NIAID) [E]
Dave Korn wrote on Friday, March 06, 2009 11:21 AM: > Arun Biyani wrote: > >> Yes. Meant exactly that. I created a shortcut on desktop for mintty. >> Assigned it the key "ctrl+alt+M". I like my desktop to be >> uncluttered. So after assigning the key, I moved the shortcut icon >> into my work fold

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Brian Mathis
On Fri, Mar 6, 2009 at 10:59 AM, Arun Biyani wrote: > >>> >>> Arun Biyani wrote: >>> >>> > It appears that Windows XP shortcuts have a limitation. The > shortcut >>> must >>> > be to a target on the desktop (or to a target in a folder on > desktop). >>> >>>   Surely you can't mean what you've writ

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Spiro Trikaliotis
Hello, * On Fri, Mar 06, 2009 at 12:07:37PM -0500 Buchbinder, Barry (NIH/NIAID) [E] wrote: > I looked at the properties of shortcuts on my Desktop, in the Start Menu, > and in a directory outside of "C:\Documents and Settings" (the equivalent > of "c:\home\wrk"). In none was the option to set

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Brian Mathis
On Fri, Mar 6, 2009 at 12:58 PM, Spiro Trikaliotis wrote: > Hello, > > * On Fri, Mar 06, 2009 at 12:07:37PM -0500 Buchbinder, Barry (NIH/NIAID) [E] > wrote: > >> I looked at the properties of shortcuts on my Desktop, in the Start Menu, >> and in a directory outside of "C:\Documents and Settings"

Re: [PATCH] New --pe-dll-characteristcs switch for PE ld.

2009-03-06 Thread Charles Wilson
Christopher Faylor wrote: > I would like to see an objcopy option at some point. I don't agree with > the prevailing cygwin opinion that you need a separate binary to deal > with this. It seems silly to have objcopy able to do only some things > to a PE and, if objcopy can do this, then I don't s

Re: [PATCH] New --pe-dll-characteristcs switch for PE ld.

2009-03-06 Thread Charles Wilson
[oops. I replied to a non-existent list, so binutils never saw this and cygwin will see it twice. Sorry about that] Christopher Faylor wrote: > I would like to see an objcopy option at some point. I don't agree with > the prevailing cygwin opinion that you need a separate binary to deal > with th

Re: 1.5.25: Regtool can not find registry?

2009-03-06 Thread Larry Hall (Cygwin)
Josef Wolf wrote: Hello, I had a working cygwin installation for several years on this machine. But then I decided to remove and reinstall it. (I reinstalled cygwin only, not the whole machine). Since the reinstall, regtool refuses to work. It always complains that it can not find the specif

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Spiro Trikaliotis
Hello Brian, * On Fri, Mar 06, 2009 at 01:29:02PM -0500 Brian Mathis wrote: > On Fri, Mar 6, 2009 at 12:58 PM, Spiro Trikaliotis > wrote: > > Well, we can think about many things: However, this is not the way it > > works on Windows, obviously. > > Windows keeps a systemwide table of hotkeys, a

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Arun Biyani
>> http://directedge.us/content/winhotkey >> When I execute "minty" using winhotkey, I get bash: [: too many arguments This is BASH 3.2 - DISPLAY on tty1 Mar 5 07:27:0.0 Fri Mar 6 12:51:45 PST 2009 [Home$:500] This does not happen when I execute mintty directly (or

Re: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Dave Korn
Arun Biyani wrote: >>> http://directedge.us/content/winhotkey >>> > > When I execute "minty" using winhotkey, I get > > bash: [: too many arguments This is BASH 3.2 - DISPLAY on > tty1 Mar 5 07:27:0.0 > > Fri Mar 6 12:51:45 PST 2009 [Home$:500] > > > > This does not

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Buchbinder, Barry (NIH/NIAID) [E]
Spiro Trikaliotis wrote on Friday, March 06, 2009 2:59 PM: > * On Fri, Mar 06, 2009 at 01:29:02PM -0500 Brian Mathis wrote: >> On Fri, Mar 6, 2009 at 12:58 PM, Spiro Trikaliotis >> wrote: > >>> Well, we can think about many things: However, this is not the way >>> it works on Windows, obviously.

ld library problems

2009-03-06 Thread Aaron Gray
I have some Linux code that uses ld and ld finds '.a' archive files when given a -L path. Cygwin's ld is not seeing these files and I have to specifically list them with -l. Anyone shine some light on this ? Do I have to use '.la' ? Or what ? Aaron -- Unsubscribe info: http://cygwin.co

Re: ld library problems

2009-03-06 Thread Christopher Faylor
On Fri, Mar 06, 2009 at 10:09:51PM -, Aaron Gray wrote: >I have some Linux code that uses ld and ld finds '.a' archive files >when given a -L path. Cygwin's ld is not seeing these files and I have >to specifically list them with -l. > >Anyone shine some light on this ? Do I have to use '.la'

Re: ld library problems

2009-03-06 Thread Aaron Gray
On Fri, Mar 06, 2009 at 10:09:51PM -, Aaron Gray wrote: I have some Linux code that uses ld and ld finds '.a' archive files when given a -L path. Cygwin's ld is not seeing these files and I have to specifically list them with -l. Anyone shine some light on this ? Do I have to use '.la' ?

Re: ld library problems

2009-03-06 Thread Christopher Faylor
On Fri, Mar 06, 2009 at 10:41:53PM -, Aaron Gray wrote: >> On Fri, Mar 06, 2009 at 10:09:51PM -, Aaron Gray wrote: >>> I have some Linux code that uses ld and ld finds '.a' archive files >>> when given a -L path. Cygwin's ld is not seeing these files and I have >>> to specifically list the

Re: ld library problems

2009-03-06 Thread Aaron Gray
On Fri, Mar 06, 2009 at 10:41:53PM -, Aaron Gray wrote: On Fri, Mar 06, 2009 at 10:09:51PM -, Aaron Gray wrote: I have some Linux code that uses ld and ld finds '.a' archive files when given a -L path. Cygwin's ld is not seeing these files and I have to specifically list them with -l.

Turning off execute permission

2009-03-06 Thread Paul McFerrin
I've been reading: http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-files on the execute permissions. Did I read that it was impossible to deny execute permissions?? In my tests, the follow is always "true" if a file has no execute permissions: (mode 666 or 000) [ -x apachectl ] test -