equal
deleted
inserted
replaced
1 #!/usr/bin/expect -f |
1 #!/usr/bin/expect -f |
2 #====================================================================== |
2 #====================================================================== |
3 # D I R 2 |
3 # D I R 2 |
4 # doc: Mon Mar 8 02:57:35 2004 |
4 # doc: Mon Mar 8 02:57:35 2004 |
5 # dlm: Wed Nov 19 15:12:58 2008 |
5 # dlm: Thu Aug 26 00:28:27 2010 |
6 # (c) 2004 A.M. Thurnherr |
6 # (c) 2004 A.M. Thurnherr |
7 # uE-Info: 20 14 NIL 0 0 72 2 2 4 NIL ofnI |
7 # uE-Info: 14 1 NIL 0 0 72 2 2 8 NIL ofnI |
8 #====================================================================== |
8 #====================================================================== |
9 |
9 |
10 # HISTORY: |
10 # HISTORY: |
11 # Mar 8, 2004: - created |
11 # Mar 8, 2004: - created |
12 # Nov 19, 2008: - added version |
12 # Nov 19, 2008: - added version |
|
13 # Aug 25, 2010: - DEFAULTS.expect -> CRUISE_SETUP.expect |
|
14 # - libBB.expect -> libRDI.expect |
13 |
15 |
14 log_user 0; |
16 log_user 0; |
15 |
17 |
16 regsub {dir1} [exec which dir1] {libBB.expect} path; |
18 regsub {dir1} [exec which dir1] {libRDI.expect} path; |
17 source $path; |
19 source $path; |
18 source DEFAULTS.expect; |
20 source CRUISE_SETUP.expect; |
19 |
21 |
20 print_version; |
22 print_version; |
21 |
23 |
22 set_color; |
24 set_color; |
23 send_user "Connecting to instruments..." |
25 send_user "Connecting to instruments..." |