somian / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

User-defined options on pull-down menu #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be very useful to have some user-defined options on the
right-click pull-down menu.  For example, one option I would add is similar
to an option I use in an Ubuntu window, sending a highlighted strip as a
link to be opened in my browser.  I might add another option like sending a
highlighted strip to whois in my Cygwin window, etc.

Thanks.

Lester

Original issue reported on code.google.com by LesterIn...@gmail.com on 2 May 2009 at 2:47

GoogleCodeExporter commented 9 years ago
An idea worthy of issue number 100! :)

How would you expect this to work? I'm thinking "Menu" options dialog panel 
with a
listbox for custom menu items consisting of name and command to execute, whereby
something like %s would stand in for the selected text. Could have %t too, for 
the
window title, as that's usually the current working directory.

Original comment by andy.koppe on 2 May 2009 at 6:17

GoogleCodeExporter commented 9 years ago
Andy:

Yes, I was thinking along the lines you suggest, as in a .minttycap file 
similar to a
.mailcap file which I use under mutt, etc.

Thanks for considering this.

Lester

Original comment by LesterIn...@gmail.com on 2 May 2009 at 8:33

GoogleCodeExporter commented 9 years ago
Is this still needed given the Ctrl+click feature and the 'Open' command?

Original comment by andy.koppe on 22 Aug 2010 at 6:48

GoogleCodeExporter commented 9 years ago
Hi.  I'm not sure how this is applied to words without "http://"?  For example, 
in vi in a mintty window, if I click or ctrl-click on
hp.com/support 
I get an Error pop-up
The system cannot find the file specified.

Of course ctrl-click on
http://hp.com
still works fine.

I'm running version 0.8.1 under Cygwin/Win7/32-bit.

Lester

Original comment by drlester...@gmail.com on 22 Aug 2010 at 9:29

GoogleCodeExporter commented 9 years ago
Opening something with Ctrl+click or via the context menu is done by simply 
passing it to Windows' ShellExecute() function, in much the same way as 
cygstart or cmd.exe's start command. 'hp.com/suppport' would be interpreted as 
a filename.

Original comment by andy.koppe on 25 Aug 2010 at 6:13