home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1996 December
/
DKMMSAMP.iso
/
internet
/
WINCIM
/
SCRIPTS.LIB
/
SEVA.SCR
< prev
next >
Wrap
Text File
|
1996-01-29
|
1KB
|
51 lines
!
! Copyright (c) 1996
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! SEVA:
! Connect to SEVA
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.8.2"
!-V
on cancel goto Return_Cancel;
show "Connecting to SEVA";
Tries = 5;
send %CR;
Wait_SEVA:
Tries = Tries - 1;
if Tries = 0 goto SEVA_Failure;
wait
"SEVA LOGIN:" goto Send_SEVA_Login,
"CONNESSO" goto Return_Success,
%mdm_Failure goto SEVA_Failure,
"Host Name:" goto Return_Success
until 80;
send %CR;
goto Wait_SEVA;
Send_SEVA_Login:
show "Sending SEVA address...";
send "CSERVE-41" & %CR;
goto Wait_SEVA;
SEVA_Failure:
define %FailureMsg = "SEVA not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;