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

2009-03-08 Thread Brian Mathis
On Fri, Mar 6, 2009 at 3:59 PM, Spiro Trikaliotis wrote: > 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 Win

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.

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 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 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 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: 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 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 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 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 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: > 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
>> -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? &

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

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 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

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

2009-03-05 Thread Dave Korn
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 C:\cygwin\bin\bash.exe, add --login -i -c "" and you can the