reset2
changeset 4 fda11de1826e
parent 0 648bde652211
child 12 5e67754f6457
equal deleted inserted replaced
3:99a41e0476b1 4:fda11de1826e
     1 #!/usr/bin/expect -f
     1 #!/usr/bin/expect -f
     2 #======================================================================
     2 #======================================================================
     3 #                    R E S E T 2 
     3 #                    R E S E T 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:17:48 2008
     5 #                    dlm: Thu Aug 26 00:29:29 2010
     6 #                    (c) 2004 A.M. Thurnherr
     6 #                    (c) 2004 A.M. Thurnherr
     7 #                    uE-Info: 11 26 NIL 0 0 72 2 2 4 NIL ofnI
     7 #                    uE-Info: 18 39 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 
    13 #  Aug 25, 2010: - DEFAULTS.expect -> CRUISE_SETUP.expect
       
    14 #		 - libBB.expect -> libRDI.expect
    14 
    15 
    15 log_user 0;
    16 log_user 0;
    16 
    17 
    17 regsub {dir1} [exec which dir1] {libBB.expect} path;
    18 regsub {dir1} [exec which dir1] {libRDI.expect} path;
    18 source $path;
    19 source $path;
    19 source DEFAULTS.expect;
    20 source CRUISE_SETUP.expect;
    20 
    21 
    21 set_color;
    22 set_color;
    22 send_user "Connecting to instruments..."
    23 send_user "Connecting to instruments..."
    23 spawn bbabble -ms $tty0 $tty1
    24 spawn bbabble -ms $tty0 $tty1
    24 wait_for_startup;
    25 wait_for_startup;