<<< Date Index >>>     <<< Thread Index >>>

Re: pager: avoid line breaks in URLs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday, November 15 at 11:27 AM, quoth martin f krafft:
> I know of smart_wrap, but it doesn't work for text (e.g. URLs) which 
> is longer than the width of each line ($wrap). On such encounter, 
> mutt still breaks the line (and uses $markers), which prevents the 
> terminal emulator from making the full URL clickable.

That's why I created extract_url.pl 
(http://www.memoryhole.net/~kyle/extract_url/). Many times, long URLs 
aren't even unbroken in the original email! Personally, though, I 
prefer to be able to load up a URL without needing to use the mouse. 
:)

> Is there a way to prevent the wrapping for long lines without any 
> space (which $smart_wrap suggests) and let the terminal emulator 
> flow the rest of the line into the next screen line?

Well... you could use an external pager; that might do it. Otherwise, 
no, there's no built-in way of telling mutt not to wrap things for the 
terminal.

~Kyle
- -- 
I hope our wisdom will grow with our power, and teach us, that the 
less we use our power the greater it will be.
                                                    -- Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkkfF9UACgkQBkIOoMqOI16oLwCgqDuShR6FOGi9XVLys4hYtJsw
2EMAoJv7b/CAPf/xLYnLRtkJI7y45ZQg
=zidA
-----END PGP SIGNATURE-----