* on Friday, 2022-05-13 19:49 +0200, Vincent Lefevre <vinc...@vinc17.org> wrote:
> On 2022-05-13 18:49:04 +0200, Gero Treuner wrote: > > Good point. There is the good old urlview program, also mentioned in the > > Mutt manual: > > https://github.com/sigpipe/urlview > > > > It can start a browser, but doesn't present URLs ready for copy. So this > > could be a new feature or a new tool. > > And it doesn't give the context of the URLs, which is annoying > for some kinds of mail with meaningless URLs (not generated by > a human). > > A better tool could be to convert the text to HTML with just > URL recognition to generate <a href="URL">URL</a> links (and > perhaps a bit more), and run a web browser on it. There is the 'urlscan' tool that does exactly this. It does the job, without using the terminal's url detection functionality. But it feels unsatisfactory to have to fall back to an external tool for such basic and frequently used functionality.
signature.asc
Description: PGP signature