Version 6 of the Sun WorkShop package is installed in the directory /opt/forte6. This installation directory will be referred to as $FORTE throughout this document and others. It is important to note that Sun WorkShop with all language compilers are only available on Strauss and Mahler, and not on Copland. The configuration changes to your UNIX account suggested in this document will only affect your computing environment when you are on Strauss and Mahler.
Here are the environment variables which must be set to use the
Forte WorkShop IDE.
You should define a series of environment variables to use Forte WorkShop IDE.
Rather than repeatedly issuing these and other commands to enable you to program
using Forte, this document suggests a series of changes to your configuration
files that accomplish the same objective.
PATH ${FORTE}/SUNWspro/bin:$PATH LD_LIBRARY_PATH ${FORTE}/SUNWspro/lib MANPATH ${FORTE}/SUNWspro/man:/opt/man:/usr/man
This documentation assumes that your UNIX account's
configuration ("dot") files
match, or are based upon, the User Services recommended
configuration files: .cshrc, .login, .localalias, and .localenv. These
files are found in the /opt/proto directory. Typing the UNIX command
~consult/proto/setup
will cause your current configuration files to be renamed (for backup
purposes) and replaced with the standard configuration files. The
system will display the names of the renamed and replacement files.
# FORTE Sun WorkShop IDE setenv FORTE /opt/forte6 if ! -d $FORTE unsetenv FORTEThese commands cause the FORTE environment variable to be set properly each time you start a session on Strauss or Mahler. Whenever a new version of Forte is installed, you will need to update the directory set to FORTE.
if $?FORTE then alias forteshell "(setenv NEED_FORTE; ttsession -c newgrp \!*)" else alias forteshell echo "Forte not available on `uname -n`" endif if $?NEED_FORTE then unsetenv NEED_FORTE setenv PATH ${FORTE}/SUNWspro/bin:$PATH setenv LD_LIBRARY_PATH ${FORTE}/SUNWspro/lib setenv MANPATH ${FORTE}/SUNWspro/man:/opt/man:/usr/man echo "type fortedoc for documentation"; alias fortedoc "netscape ${FORTE}/SUNWspro/docs/index.html" endifThe next time you log onto Strauss or Mahler, you will be able to start an IDE-configured shell with the command
forteshellTo associate the new shell with a different group project id (e.g., a UNIX group assigned to a class), type the following command instead:
forteshell projectwhere project is your 4-digit group project number.
Effective use of any of these X Windows servers requires you to further modify your UNIX configuration files. These changes are described in the document X Windows configuration setup for using Forte WorkShop IDE.
Last modified: March 4, 2001
This page maintained by Dean Nairn
Copyright © University of Delaware, 2001.