# On Friday, September 10, 2021, 06:45:24 AM CDT, Jean Louis <bugs@gnu.support>
wrote:
* Jean Louis <bugs@gnu.support> [2021-09-10 09:56]:
> > I can open the html in an external browser and there I find the
> > link, but I would like an in-mutt solution (I don't really like
> > going to the browser to read my email if I can help it). This is
> > becoming quite a big concern for me.
# My solution is not really what you want like to open links in mutt directly
but solution with `elinks' does stay in the console mode until you wish to open
the link in external graphical browser.
#Another solution inside of virtual terminal is from:
https://lukas.zapletalovi.com/2013/07/hidden-gems-of-xterm.html
#Open URL
#Best feature ever. I waited for years for this one. There is a new
#event called exec-formatted which allows you to execute arbitrary
#commands. If you make a PRIMARY selection before that, you can open
#URLs in browser easily. Do this:
#XTerm*translations: #override Shift <Btn1Up>: exec-formatted("xdg-open '%t'",
PRIMARY) select-start() select-end()
#in ~/.Xdefaults
# and the XTerm solution may not be so functional.
Thank you for this, I like xterm but for the fact that it does not have tabs,
however, I was not able to get the above to work. I don't quite understand what
it means to have a PRIMARY selection in the context of the links. All I would
like is to see the existence and the URL of the link, and to forward it when
needed.
#Also to mention is `urlscan':
#Description : Mutt and terminal url selector
#URL : https://github.com/firecat53/urlscan
I see, thank you for this. I note that it is available for my distribution, but
this also requires an active press of \cb on my part. I want to notice when
there is a link, hidden or otherwise (this last is not a problem). Any
suggestions on that?
#And then there are other terminal emulators that will recognize URL and
underline it for you.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/