home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fonts Pro 2002
/
kf_2002.bin
/
compsrv
/
scripts.lib
/
SEVA.SCR
< prev
next >
Wrap
Text File
|
1995-12-05
|
1KB
|
51 lines
!
! Copyright (c) 1995
! 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.1"
!-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;