forked from bmoffit/coda_scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstartXterms
executable file
·56 lines (40 loc) · 1.25 KB
/
startXterms
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
#
# Bash script to start up Xterm Windows for ROCs and EBs
#
TEST=0
ARGS=$@
if [ ${#@} -gt 0 ]; then
# Get the CODA_COMPONENT_TABLE
CODA_COMPONENT_TABLE=$1
fi
#echo "Using CODA_COMPONENT_TABLE=${CODA_COMPONENT_TABLE}"
XTERM_EXE="xterm"
XTDIM=80x19
DEF_XINCR=510
DEF_YINCR=280
DEF_YSIZE=4
# These are the first displayed
FIRST_XPOS=0
FIRST_YPOS=30
. ${CODA_SCRIPTS}/coda_conf_functions
. ${CODA_SCRIPTS}/coda_xterms_functions
starting_xterms_message
# Kill all previous Xterms remnants
if [ "$TEST" == "0" ]; then
kXterms
fi
# Launch the FPGAs
launch_xterm_group FPGA $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}
# Launch the ROCs
launch_xterm_group ROC $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}
# Launch the PEBs
launch_xterm_group PEB $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}
# Launch the SEBs
launch_xterm_group SEB $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}
# Launch the ERs
launch_xterm_group ER $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}
# Launch the DCs
launch_xterm_group DC $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}
# Launch the TSs
launch_xterm_group TS $last_xpos ${DEF_XINCR} $last_ypos ${DEF_YINCR} ${DEF_YSIZE}