-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Saturday, October 31 at 04:20 PM, quoth Matthias Apitz: >I'm receiving mails from a bulletin board forum in form of the >encoding 'Content-Transfer-Encoding: quoted-printable' and having URLs >in the body as
Been there, done that. I feel your pain. >Ofc, urlview(1) is unhappy and unable to offer the correct URL to >send it to the browser. Any idea how to solve this, maybe with >putting something in from of urlview(1) to pipe through before it >goes to this....? Urlview is broken in a variety of ways. This is one of them. Another is when long URLs get broken over multiple lines in format=flowed messages. Or just long urls period (urlview won't show you the end of urls that happen to be longer than your terminal, making it hard to choose between multiple nearly-identical-looking URLs). And that's not even to mention the fact that it gives you no actual *context* for the URLs, so unless you can guess what the URL meant from reading the URL or can count how many URLs down into the email you want, it's hard to figure out which link you really wanted. Anyway, the solution to your problem is a perl script that I wrote, called extract_url.pl. You can use it as a filter in front of urlview OR you can use it as a full replacement for urlview (though you'd need a few extra perl modules to support the curses terminal interface). I think you'll find it beats the pants off of urlview in every way. http://www.memoryhole.net/~kyle/extract_url/ ~Kyle - -- Victory goes to the player who makes the next-to-last mistake. -- Chessmaster Savielly Gricorievitch Tartakower -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJK7IFDAAoJECuveozR/AWeEZsP/RbCXljU+zWoeTD7mvHzgFIp md6GwqbtMh0v68pRT2mnKyI2SSKg88292CJypmDV2Ddy2h0CDzP840O2aQJlJW5j bZXKN6SlFZURSswRovlsImFzuggS8OgY/wxS7BgKkF3auNhStV1PaP2MPxI9p9sH ObToA3A4AyBvTEQZaihDZUjWljm5XIF1ulQbLW/QyRGpdrRr8ZLLkoafU20a1gCu na5of96CN64ZEBIw/4GIozQpSlnlE1DfhIkSn7aoW+urf+Z7WmkfTe7pKoH6atsL 4ZG3Ulu9T6KhDiXIcSqgp8Ipw6b/mSHnPTulW95dWdURL3E7Ed5gbSY/tZGUIBSQ TaYPPqNYYZhQlBJFJJtIEI1Di/YprlVId6o7lWGioUQMPnugXMHkNy/zsHd5Tdtu ufAXr+ILHFqnGz388Y01rj7FY0qS9Fhro7VVwey17pRWpCn3cb+zu40nkg2hjVSW h/V2GWlNxa52fQ7/iNnds4J/3sBtDvVvXhLUptQWZl/r4Tmhctupu0AgxC2s9Bls PFy76+TCJxN2cvbqmTBgag+tbsm/bQx1/hvWIsmwHi/yuLzVJojIIy9VKfl86F7X UWsQmZi20v2PgMs4ky2dI2jkVXqiwDlSQGNXsiF/ehbY5GVHTb3DAhk7dT5vVzHU YgNAsokkHX9QfwqXNUlK =SvDy -----END PGP SIGNATURE-----