I have wanted something like this for a long time. Often I have
resorted to using 'H' to view the html source and attempt to find and
reconstruct the URL.
You got me thinking about this and I found something that works for
me. I added the following to my .pinerc:
url-viewers="/bin/echo 'The URL is: <_URL_>' >> PINE-URL.tmp"
This defines a program to run when a URL is selected. The 'program'
here just writes the URL into a file in my home directory which can be
cat'ed in a separate window.
Even better, after selecting the URL, pine will display it with
confirmation question about editing or viewing the URL. If the URL is
short enough you can just copy it from there.
It might be nice to copy the URL to the X clipboard. 'xclip' appears
to exist and would probably do the job but isn't currently installed
on my server. I started to build this for FreeBSD, but it wants to
bring in too much other stuff which doesn't belong on a server
(ghostscript, teTeX, libwww, parts of cups).
Stuart
--
I've never been lost; I was once bewildered for three days, but never lost!
-- Daniel Boone