On Tue, Jun 22, 1999 at 06:36:45PM -0500, Jeremy Blosser wrote:
> Some time ago there was a discussion re: using mutt to catch netscape URLs.
> Various bits were posted, and finally this URL came up with supposedly a
> working solution:
>
> http://www.ugcs.caltech.edu/~brianw/email/
>
> I'd like to add this to the web site, however, this link has been dead for
> a while. Is the author still out there? If so, please let me know the
> state of this.
You mean sending URL's to a running netscape vith urlview ?
I do it that way:
# My urlview file. - 27.2.98
# regular expression to use to match URLs
REGEXP ([a-z]*://|mailto:)[^\" \n\t]*[^]\"., \n\t>)]
# a bit more forgiving would be this:
#REGEXP ((((ht|f)tp)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">]
# command to invoke for selected URL
COMMAND ~/bin/view '%s'
with ~/bin/view is:
#!/bin/sh
# $Id: view,v 1.1 1997/05/20 13:12:28 sec Exp sec $
#
all="$1"
set -- `echo $1| sed 's/:/ /'`
case $1 in
ftp)
ncftp "$all" ;;
mailto)
mutt "$2" ;;
saft|irc|psyc)
echo "Sorry, $1 is currently not supported %)";;
http|gopher)
if test x$DISPLAY = x; then
lynx "$all"
else
netscape-remote -remote "openURL($all)" || netscape "$all" &
fi;;
*)
echo "Whoops, $1 is currently unknown to me :(";;
esac
CU & HTH,
Sec
--
In 1968 it took the computing-Power of 2 C-64 to fly a rocket to the moon.
Now, 1997 it takes the Power of a Pentium 133 to run Microsoft Windows 95.
Something must have gone wrong.
PGP signature