mailbox125
Technical User
This what I'm useing to set the modem port and it works the first time through the script however on subsequent passes. And the request to set the terminal type to vt100 is not issued. Any ideas???
;****************************************************************************
;* *
;* SetModem *
;* The procedure to set the modem to 7,e,1 *
;* *
;* Calls: None *
;* Called by: MAIN *
;* Modifies: Modem Settings *
;* *
;*****************************************************************************
proc SetModem
set port baudrate 2400 ; 2400
set port databits 7 ; 7
set port parity EVEN ; e
set port stopbits 1 ; 1
SET port softflow OFF ;
SET port hardflow OFF ;
SET TERMINAL KEYBOARDFILE "VT100-CUSTOM.KBD" ;OPTIONAL
set duplex full
pause 1
endproc
;****************************************************************************
;* *
;* SetModem *
;* The procedure to set the modem to 7,e,1 *
;* *
;* Calls: None *
;* Called by: MAIN *
;* Modifies: Modem Settings *
;* *
;*****************************************************************************
proc SetModem
set port baudrate 2400 ; 2400
set port databits 7 ; 7
set port parity EVEN ; e
set port stopbits 1 ; 1
SET port softflow OFF ;
SET port hardflow OFF ;
SET TERMINAL KEYBOARDFILE "VT100-CUSTOM.KBD" ;OPTIONAL
set duplex full
pause 1
endproc