Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Per Andersson <avtobiff@gmail.com>
To: Ruthard Baudach <ruthard.baudach@web.de>
Cc: supmua <supmua@googlegroups.com>
Subject: Re: [sup] clicking links
Date: Mon, 15 Sep 2014 23:41:12 +0200	[thread overview]
Message-ID: <CABYrXSRg4fvnHtcfi9g-tgy4hdPmxwCodZHgKqxMk4kU1xg87A@mail.gmail.com> (raw)
In-Reply-To: <1410807592-sup-8437@ruthard-lappi>

On Mon, Sep 15, 2014 at 9:10 PM, Ruthard Baudach <ruthard.baudach@web.de> wrote:
>>== Auszüge aus der Nachricht von  scott vom 2014-09-15 19:52:
>> Is there a recommended way to click on links within an email in Sup, and
>> have them launch in the default browser, e.g. Firefox?
>
> This feature was discussed a long time ago, and decided to be to
> difficult to implement from within sup, especially as most terminals
> implement such a feature, so there should be no need to double implement
> it.

Opening from the terminal with a keybinding would be nice. I definitely think
this is in scope for Sup.


> So the answer as to the recommended way to click on a link would be:
>
>   "use the right terminal"
>
> Would be an idea to address this topic in the wiki, as I do not know
> which terminals implement clicking on links, and how they have to
> be configured to activate links.
>
> I am using stumpwm and xterm, and copy–and–paste it into the browser.
> Well, ehm, it does work, actually...

I am using rxvt-unicode-256color and have configured it with

URxvt.perl-xt-common: default,matcher
URxvt.urlLauncher: iceweasel
URxvt.matcher.button: 3
URxvt.matcher.pattern: \\bwww\\.[\\w-]\\.[\\w./?&@#-][\\w/-]

the above configuration, in $HOME/.Xdefaults or $HOME/.Xresources,
makes links (the matched pattern) in the terminal underlined and open
in iceweasel on right click with the mouse.

I'll add this to the wiki.


--
Per

PS. I use XMonad.


  parent reply	other threads:[~2014-09-15 21:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15 17:52 scott
2014-09-15 17:56 ` [sup] " C. R. Oldham
2014-09-15 18:45   ` Gaute Hope
2014-09-15 19:10 ` Ruthard Baudach
2014-09-15 19:34   ` Scott Bonds
2014-09-15 21:38     ` Gaute Hope
2014-09-15 21:41   ` Per Andersson [this message]
2014-09-16 21:17 ` Tero Tilus
2014-09-17  7:26   ` Gaute Hope
2014-09-17 11:04     ` Tero Tilus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABYrXSRg4fvnHtcfi9g-tgy4hdPmxwCodZHgKqxMk4kU1xg87A@mail.gmail.com \
    --to=avtobiff@gmail.com \
    --cc=ruthard.baudach@web.de \
    --cc=supmua@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox