#! /bin/sh
#
# $Header: /tmp_mnt/vol/nwd/tools/media/X11/XP/bin/sxpconfig/RCS/serialSession.ibm,v 1.3 1992/07/10 00:57:08 stank Exp $
#
# .serialSession - session script example for use with Serial Xpress 
#
#  NOTE: This script assumes that the Tektronix supplied fonts and
#  binaries have been installed from the utility tape.  If you have
#  installed the utility tape somewhere other than in the default
#  directory location, you should modify the following line.

XPDIR=/usr/lib/X11/XP

#
#  The following lines set PATH environment variable if it is not
#  already configured for running X clients.  These lines can be
#  removed if they are configured in .cshrc, .login or some other
#  initialization file.
#
PATHSTRING=`echo "$PATH" | grep "/usr/bin/X11"`
if test -z "$PATHSTRING"
then
	PATH="${PATH}:/usr/bin/X11"
	export PATH
fi
#
#  The following lines set the terminal's font paths, start a local
#  window manager on the terminal, and start an xterm client.  The
#  xterm functions as a session control window, when it exits the
#  session ends.
#
#  Setting font paths can take considerable time.
#  Un-comment these lines only if necessary.
#if test -d "${XPDIR}/fonts"
#then
#	xset +fp "${XPDIR}/fonts/100dpi,${XPDIR}/fonts/misc"
#fi
xpsh mwm &
xterm -geometry +1+1 -name "Serial Session" -title "Serial Session"
