File:  [TIS-4000 Rel T60] / scripts / .openwin-init
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Mon Nov 29 15:10:45 1999 UTC (18 years ago) by tis4000
Branches: MAIN, HIA
CVS tags: baseline, LMC_baseline, HEAD, Duluth_baseline
Setup initial baseline

#!/bin/sh
# .openwin-init - OpenWindows initialization script.
# WARNING: This file is automatically generated.
#          Any changes you make here will be lost!
export DISPLAY

# Test for pathological case -- no $DISPLAY set
if [ "${DISPLAY}" = "" ]; then
	DISPLAY=:0
fi

# Figure out the proper host/server number
BASE=`echo $DISPLAY | sed -e 's/:.*//'`
DISPLAYNO=`echo $DISPLAY | sed -e 's/.*://' -e 's/\..*//'`
BASEDISPLAY=${BASE}:${DISPLAYNO}

SETDISPLAYSCREEN() {
	DISPLAY=${BASEDISPLAY}.$1
	if winsysck x11 ; then
		:
	else
		echo No display available for screen $1
		exit 1
	fi
}
# Note: toolwait is a utility to control client startup.
#       For more information, see the toolwait(1) man page.
#
#
#       set xhost + to enable tis pop-up messages
#
xhost +
#
#
# Start clients on screen 0
#
SETDISPLAYSCREEN 0
#
#
#toolwait cmdtool -Wp 0 0 -Ws 700 100  -C
toolwait cmdtool -Wp 0 0 -Ws 700 100 -WP 3 955 -Wi -C
toolwait cmdtool -Wp 30 30 -Ws 700 700 -WP 81 955 -Wi
toolwait /usr/openwin/bin/clock -Wp 1138 950 -Ws 132 64 -WP 159 833 +Wi -Wn -digital +date +seconds
#
#(cd /tis4000/graphics; dm test >/dev/null) &
#(cd /tis4000/graphics; /tis4000/alvucheck >/dev/null) &
#
#
# Start clients on screen 1
#
#zack##SETDISPLAYSCREEN 1
#
# 
#toolwait cmdtool -Wp 30 30 -Ws 700 700 -WP 81 833 -Wi
#toolwait /usr/openwin/bin/clock -Wp 1010 825 -Ws 132 64 -WP 159 833 +Wi -Wn -digital +date +seconds                                               #zack##toolwait cmdtool -Wp 30 30 -Ws 700 700 -WP 81 955 -Wi
#zack##toolwait /usr/openwin/bin/clock -Wp 1138 950 -Ws 132 64 -WP 159 833 +Wi -Wn -digital +date +seconds
#
(cd /tis4000/graphics; dm Overview >/dev/null) &
#(cd /tis4000/tasks; trendvu >/dev/null) &
#


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>