home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
265.TELENET.SCR
< prev
next >
Wrap
Text File
|
1987-09-28
|
2KB
|
49 lines
!
! DISCatalog
!
! Copyright (C) 1987 Westinghouse Electric Corp. -- All rights reserved.
!
! This is a script for the TELENET(TM) or WESPAC(TM) networks.
!
!
! this is the connect script
!
clearbuff ! clear old communications
Message "Sending CR's to network (Takes approx. 10 seconds)."
WAIT 1 ! give network a chance
send <Cr> ! send a couple of returns
WAIT 1 ! in case it is autobaud
SEND <CR>
Clearbuff ! get rid of garbage
WAIT 1 ! give network a chance
Send <cr> ! send return
RECeive @ 5 ! look for network response
MESSage "Calling mainframe computer (Takes approx. 15 seconds)."
SEND "c 422448<CR>" ! call westinghouse mainframe
Receive "Username: " 15 ! look for VMS response
message "Sending username to mainframe computer (Takes approx. 10 seconds)."
SEND CUSTOMER<CR> ! send username
Receive "Password: " 10 ! look for VMS response
MESSAGE "Sending password to mainframe computer (Takes approx. 10 seconds)."
send CBTCUS<CR> ! send password
Hangup
!
! this is the hangup script
!
Clearbuff ! clear old communications
Message "Getting network's attention (Takes approx. 10 seconds)."
WAIT 1 ! give network a chance
SEND <cr> ! send return
WAIT 1 ! give network a chance
SEND @ ! send attention char
WAIT 1 ! give network a chance
SEND <cr> ! send return
RECEIVE @ 5 ! look for network
MESSage "Disconnecting from network (Takes approx. 5 seconds)."
WAIT 1 ! give network a chance
SEND D<cr> ! send disconnect command
receive @ 5 ! look for networks response