/[TIS-4000 Rel T60]/scripts/.openwin-init
ViewVC logotype

Contents of /scripts/.openwin-init

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (vendor branch)
Mon Nov 29 15:10:45 1999 UTC (23 years, 9 months ago) by tis4000
Branch: HIA, MAIN
CVS Tags: LMC_baseline, Duluth_baseline, baseline, HEAD
Changes since 1.1: +0 -0 lines
Setup initial baseline

1 #!/bin/sh
2 # .openwin-init - OpenWindows initialization script.
3 # WARNING: This file is automatically generated.
4 # Any changes you make here will be lost!
5 export DISPLAY
6
7 # Test for pathological case -- no $DISPLAY set
8 if [ "${DISPLAY}" = "" ]; then
9 DISPLAY=:0
10 fi
11
12 # Figure out the proper host/server number
13 BASE=`echo $DISPLAY | sed -e 's/:.*//'`
14 DISPLAYNO=`echo $DISPLAY | sed -e 's/.*://' -e 's/\..*//'`
15 BASEDISPLAY=${BASE}:${DISPLAYNO}
16
17 SETDISPLAYSCREEN() {
18 DISPLAY=${BASEDISPLAY}.$1
19 if winsysck x11 ; then
20 :
21 else
22 echo No display available for screen $1
23 exit 1
24 fi
25 }
26 # Note: toolwait is a utility to control client startup.
27 # For more information, see the toolwait(1) man page.
28 #
29 #
30 # set xhost + to enable tis pop-up messages
31 #
32 xhost +
33 #
34 #
35 # Start clients on screen 0
36 #
37 SETDISPLAYSCREEN 0
38 #
39 #
40 #toolwait cmdtool -Wp 0 0 -Ws 700 100 -C
41 toolwait cmdtool -Wp 0 0 -Ws 700 100 -WP 3 955 -Wi -C
42 toolwait cmdtool -Wp 30 30 -Ws 700 700 -WP 81 955 -Wi
43 toolwait /usr/openwin/bin/clock -Wp 1138 950 -Ws 132 64 -WP 159 833 +Wi -Wn -digital +date +seconds
44 #
45 #(cd /tis4000/graphics; dm test >/dev/null) &
46 #(cd /tis4000/graphics; /tis4000/alvucheck >/dev/null) &
47 #
48 #
49 # Start clients on screen 1
50 #
51 #zack##SETDISPLAYSCREEN 1
52 #
53 #
54 #toolwait cmdtool -Wp 30 30 -Ws 700 700 -WP 81 833 -Wi
55 #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
56 #zack##toolwait /usr/openwin/bin/clock -Wp 1138 950 -Ws 132 64 -WP 159 833 +Wi -Wn -digital +date +seconds
57 #
58 (cd /tis4000/graphics; dm Overview >/dev/null) &
59 #(cd /tis4000/tasks; trendvu >/dev/null) &
60 #
61

  ViewVC Help
Powered by ViewVC 1.1.30