[16888] in Athena Bugs

home help back first fref pref prev next nref lref last post

htmlview can't launch netscape

daemon@ATHENA.MIT.EDU (Martin F. McKinney)
Sat Jun 12 23:59:00 1999

Date: Sat, 12 Jun 1999 23:58:52 -0400 (EDT)
Message-Id: <199906130358.XAA24466@all-night-tool.mit.edu>
From: "Martin F. McKinney" <mount@MIT.EDU>
To: bugs@MIT.EDU
Reply-To: mount@MIT.EDU

Hello,

The 'htmlview' command (infoagents locker) does not launch netscape
when it should.  I looked at the htmlview script and found the following: 

To look for netscape, the script looks in the browser directory for
executables that start with "Mozilla":

 # Start netscape, the more popular browser, if available on this platform.
 case "`echo $browserbin/Mozilla*`" in
   $browserbin/'Mozilla*') ;;
   *)
     # Try to run netscape; exit if successful
     $browserbin/netscape "$url" && exit 0
     echo "$0: Could not run netscape.  Will try Mosaic." >&2
   ;;
 esac

There are no executables that begin with "Mozilla" in the
browser directory, however there are several versions of Netscape.

I found this error because I'm trying to use metamail (mime
locker) with mh-e and rmail in emacs.  After sourcing
/mit/mime/share/setup.csh, the MAILCAP environment variable is set to
/mit/mime/arch/@sys/etc/mailcap.  This file assigns the text/html
mime-type to the htmlview command, which, in turn, coughs when I
encounter that mime-type in the mail.

Please let me know if 'htmlview' is currently supported of if there is
a better way (than metamail) to read MIME encoded documents from the
emacs mail reader.

Thanks.

-Martin

-- 
_____________________________________________________________________________
Martin F. McKinney                                Speech and Hearing Sciences
Internet: mount@mit.edu            Division of Health Sciences and Technology
Voice (H): 617.492.6173                 Massachusetts Institute of Technology
Voice (W): 617.573.3543                http://web.mit.edu/mount/www/home.html


home help back first fref pref prev next nref lref last post