Re: Recognizing URL's in Mutt

2003-12-04 Thread Paul E Condon
On Thu, Dec 04, 2003 at 11:47:18AM -0500, Derrick 'dman' Hudson wrote:
> On Tue, Nov 25, 2003 at 07:00:34AM -0500, Michael W. Cole wrote:
> | I am using mutt with vim as the editor.  I have seen in the past where
> | the url's on a line in xterm will be underlined when the mouse moves
> | over it.  You could then double click the mouse and the web browser
> | would open that url.  How, what, where can I look, do, read to
> | understand how to implement this behavior in mutt, vim, xterm etc.
> 
> xterm?  No, I don't think xterm ever did that.  You were probably
> using gnome-terminal before.  All graphical (re)actions are part of
> the graphical program -- the terminal emulator, not the non-graphical
> programs -- mutt, vim.
> 
I've made a post on this issue, also asking for help. I've done some
research on my Sarge machine. Previously, the feature was working
under Woody, and Potato, but those installations no longer exist. 

1) xterm does not have this feature.

2) Both Gnome terminal and Multi-Gnome terminal had the feature in
Woody.

3) Multi-Gnome terminal seems to have a modified version of the
feature, but there appears to be a bad interaction with some new
featurs in Sarge, and it doesn't work. Or, maybe there is a bug that
kills all these features. And, I can't find/install Gnome docs to
study problem.

4) Gnome terminal has the feature in Sarge, but it invokes lynx as the
browser. And, again, I can't access the Gnome User Docs to make it 
work with a more GUI browser.

All Sarge results are with the same install of mutt. The functionality
is definitely in the GUI, not in mutt. Now is not a good time to be
debugging such issues. I hope times are better soon.


-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Recognizing URL's in Mutt

2003-12-04 Thread Vineet Kumar
* Derrick 'dman' Hudson ([EMAIL PROTECTED]) [031204 08:57]:
> On Tue, Nov 25, 2003 at 07:00:34AM -0500, Michael W. Cole wrote:
> | I am using mutt with vim as the editor.  I have seen in the past where
> | the url's on a line in xterm will be underlined when the mouse moves
> | over it.  You could then double click the mouse and the web browser
> | would open that url.  How, what, where can I look, do, read to
> | understand how to implement this behavior in mutt, vim, xterm etc.
> 
> xterm?  No, I don't think xterm ever did that.  You were probably
> using gnome-terminal before.  All graphical (re)actions are part of
> the graphical program -- the terminal emulator, not the non-graphical
> programs -- mutt, vim.

Strictly speaking, that's not necessarily so.  Certain console
applications, for example w3m and aptitude, respond to mouse clicks when
run in an xterm, and can launch other X apps if they wish.

It might be more precise to say "Certain ncurses applications" in favor
of "Certain console applications", but I'm not sure if that qualifier is
necessary.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."  --Benjamin Franklin


signature.asc
Description: Digital signature


Re: Recognizing URL's in Mutt

2003-12-04 Thread Derrick 'dman' Hudson
On Tue, Nov 25, 2003 at 07:00:34AM -0500, Michael W. Cole wrote:
| I am using mutt with vim as the editor.  I have seen in the past where
| the url's on a line in xterm will be underlined when the mouse moves
| over it.  You could then double click the mouse and the web browser
| would open that url.  How, what, where can I look, do, read to
| understand how to implement this behavior in mutt, vim, xterm etc.

xterm?  No, I don't think xterm ever did that.  You were probably
using gnome-terminal before.  All graphical (re)actions are part of
the graphical program -- the terminal emulator, not the non-graphical
programs -- mutt, vim.

-D

-- 
"Open Source Software - Sometimes you get more than you paid for..."
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Recognizing URL's in Mutt

2003-11-26 Thread ben_foley
On Tue, Nov 25, 2003 at 07:00:34AM -0500, Michael W. Cole wrote:
> I am using mutt with vim as the editor.  I have seen in the past where
> the url's on a line in xterm will be underlined when the mouse moves
> over it.  You could then double click the mouse and the web browser
> would open that url.  How, what, where can I look, do, read to
> understand how to implement this behavior in mutt, vim, xterm etc.
> BTW, my xterm is not performing this behavior now.  
> Michael
>

no idea how you deal with url's in vim or xterm, but in mutt you can use
urlview (you'll need to apt-get install it) to extract url's and fire up
a browser. there's some config involved; the best way to get the details
is press f1 while in mutt, and then /urlview. once you've done the
config, you hit ^b, while in mutt's pager,  to activate urlview.

ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]