Dan:
There are many 3rd party HTML viewers for Solaris:
- Netscape Communicator v4.76 (probably the easiest to install with
the best functionality including an html editor)
- HotJava (a Solaris browser doesn't work as good as Netscape)
- Internet Explorer for Solaris (A microsoft port of IE is available
but good luck getting it installed and watch out for the registry)
- StarOffice Suite has a Browser also
- others
You can easily start 3rd party applications from the DM/FV here is an
example:
Build yourself a small script that will start your browser:
ie/ Here is the contents of a script I use to start FoxDoc on a Solaris
Box:
I usually place/call this script: /opt/customer/bin/netscape.sh
----------------------------------------------------------------------------
--------
#!/bin/sh
# Script to start FoxDoc with Netscape
# /opt/customer/bin/netscape.sh
# v03/09/01 P.Bruley
# Set Time To Live in seconds (kill netscape after x seconds)
# ie/ 1 Hour = 60sec*60 = 3600 sec
TTL=3600
# enable this host to accept X-Windows
/usr/openwin/bin/xhost +`uname -n`
# Mount FoxDoc cdrom
mount -r -Fhsfs /dev/sd6a /cdrom
# Tell Solaris where Nescapes home dir is:
MOZILLA_HOME=/opt/netscape
# Stop the Netscape DNS helper from starting:
MOZILLA_NO_ASYNC_DNS=true
export MOZILLA_HOME MOZILLA_NO_ASYNC_DNS
# Start Netscape
/opt/netscape/netscape /cdrom/docs/index.htm &
# Trap netscape's PID
PID_NETSCAPE=`echo $!`
sleep $TTL
echo "Killing Netscape PID=$PID_NETSCAPE"
kill $PID_NETSCAPE
sleep 10
# Make sure that Netscape has exited
x=`ps -e|grep $PID_NETSCAPE`
while [ "$x" != "" ]
do
echo "Killing Netscape PID=$PID_NETSCAPE with -9 option"
kill -9 $PID_NETSCAPE
x=`ps -e|grep $PID_NETSCAPE`
done
# remove the stale lock if present
if test -f /.netscape/lock; then
rm /.netscape/lock
fi
# unmount FoxDoc cdrom
umount /dev/sd6a
exit 0
----------------------------------------------------------------------------
---------------------------
Then you can start the third party program via display manager script from
within DM or FV: ie/
Edit a new file called:
/usr/fox/config/FoxDoc
and put the following contents in it:
dmcmd run /opt/customer/bin/netscape.sh
Now you are ready to check it out.
Place the FoxDoc cdrom in the drive, Change Env to Process_Eng as to force
DM/FV to re-read the contents of /usr/fox/config.
You should have a pick under the Config menu now called "FoxDoc" pick it and
it will mount the FoxDoc cdrom, start Netscape and load the FoxDoc into
Netscape.
You can easily modify the above script to load different files (ie/ your
user manuals ) either from file or from a web-server that you have running
(ie/ pt browser to your web server and set as Home page)
Good Luck
Peter
----------
From: Karppi, Dan
Sent: Friday, March 09, 2001 9:19 AM
To: 'Foxboro DCS Mail List'
Subject: Helpfile Viewer
Hello List Members,
I want to provide our plant operators with Help/Operating manual
pages that
are called up by a button on a display. Standard display manager
text boxes
are too limited. I am looking for a way to display text and graphic
files
from display manager. Do any of you do this or know how to do this
using
built in Solaris applications or third party applications. An HTML
file
viewer would be ideal.
Thanks,
Dan
Dan Karppi CCST
Falconbridge Limited
Smelter Complex
Falconbridge, Ontario
Canada
P0M 1S0
Phone: (705) 693-2761 ext. 3881
Fax: (705) 699-3887
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company.
All
postings from this list are the work of list subscribers and no
warranty
is made or implied as to the accuracy of any information
disseminated
through this medium. By subscribing to this list you agree to hold
the
list sponsor(s) blameless for any and all mishaps which might occur
due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]