-----BEGIN PGP SIGNED MESSAGE----- On Tue, 7 Apr 1998, Adam Shand wrote:
> > text/html; /usr/X11R6/bin/netscape -remote 'openFile(%s)'; needsterminal; > description=HTML Text; nametemplate=%s.html An even better way to do it is with the following: text/HTML; /usr/bin/X11/netscape -remote 'openFile(%s)' || /usr/bin/X11/netscape %s This will make the viewer command work even if netscape isn't already running. Basically, you're saying "run netscape -remote OR run netscape". If the remote command fails (netscape's not already running), then you'll fire up a new one! If netscape is already running, then you'll open the html file in the running copy, and never try running a new netscape process! You could extend this even further with another OR statement, which would run lynx if neither netscape command works. That's really useful if you're on a non-graphical session (i.e. logged in remotely). noah PGP public key available at http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html or by 'finger -l [EMAIL PROTECTED]' -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNSqvMIdCcpBjGWoFAQEuVwP/VyE+1n6ilJ6DvleUgJGQLEGM/wzXc3Sr sBSruGrOeJ1XSOnH8DOhWTNkSUjKJjDsM+z7qv/GA83WjGDzLCVxhs9DHCO/KnmD l0nRj3CXsq8HIfvoX13ZfWbWi6OHKY1JbbGpCK8SqC2dhHTcaU1AHqD1Nj46YK1F d/s8o1t0I+Y= =bWxn -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]