home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Copernicus 1996 #3
/
Image.iso
/
cserv
/
scripts.lib
/
CSIRNET.SCR
< prev
next >
Wrap
Text File
|
1996-01-29
|
2KB
|
87 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.
!
! CSIR-Net:
! Connect to CSIR-Net
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.8.2"
!-V
CSIRnet_ID = "901040oz3u";
CIS_Address = "C10634679";
NUI_Tries = 5;
Tries = 2;
on cancel goto Return_Cancel;
show "Verbindungsaufbau mit CSIR-Net";
wait until 50;
Wait_NUI:
if NUI_Tries = 0 goto CSIRnet_Failure;
NUI_Tries = NUI_Tries - 1;
send "X.28" & %CR;
wait
"NUI?" goto send_CSIRnet_password,
%mdm_Failure goto CSIRnet_Logon_Failure
until 100;
goto Wait_NUI;
send_CSIRnet_password:
send CSIRnet_ID;
show "Warte auf TRIPLE-X...";
Wait_CSIRnet:
if Tries = 0 goto CSIRnet_Logon_Failure;
Tries = Tries - 1;
wait
"NUI?" goto send_CSIRnet_password,
"SELECT ?" goto send_A,
"FOR MAIN INDEX" goto send_CIS_Address,
"NO CIRCUIT" goto send_CIS_Address,
%mdm_Failure goto CSIRnet_Logon_Failure
until 350;
send %CR;
goto Wait_CSIRnet;
send_A:
send "A";
goto Wait_CSIRnet;
send_CIS_Address:
show "CompuServe-Adresse wird ⁿbertragen...";
wait until 15;
send CIS_Address & %CR;
wait
%mdm_Failure goto CSIRnet_Logon_Failure,
"User ID:" goto Return_Success,
"Host Name:" goto Return_Success
until 50;
goto Return_Success;
CSIRnet_Failure:
define %FailureMsg = "CSIR-Net: Keine Antwort von X.28";
exit %Failure;
CSIRnet_Logon_Failure:
define %FailureMsg = "CSIR-Net: Logon-Fehler";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;