home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
263.SMODEM.SCR
< prev
next >
Wrap
Text File
|
1987-09-28
|
3KB
|
88 lines
!
! DISCatalog
!
! Copyright (C) 1987 Westinghouse Electric Corp. -- All rights reserved.
!
! This is a sample script for modems. For a Hayes(TM) compatible modem,
! DISCatalog will execute HAYES.SCR. For another modem that has the autodial
! modem - copy this file (SMODEM.SCR) to MODEM.SCR and edit it to control
! your modem. To edit the script, change the parameters (in lower case) and
! remove the ! (comment character) from the beginning of the line. For
! unused lines, leave the ! (comment character) at the beginning of the line.
!
! In addition to being used for a modem, this script may be used to control
! any device that can connect to the TELENET(TM) or WESPAC(TM) networks, such
! as a LAN or a Gandalf.
!
! If you need assistance, please call us at (412) 374-7900.
!
!
! This is the connect script. It is needed for all modems, but not all of
! the blocks may be needed.
!
CLEARBUFF ! clear old communications
!
! This block is to get the modem's attention. It is not needed for some
! modems.
!
! MESSAGE "Getting modem's attention."
! WAIT 1 ! give modem a chance
! BREAK ! send a break and/or
! SEND "wakeup_string<CR>" ! send wakeup string to modem
! RECEIVE "response_string" time_in_sec ! look for response
!
! This block is to initialize the modem. It is not needed for some modems.
!
! MESSAGE "Initializing modem."
! WAIT 1 ! give modem a chance
! SEND "initialize_string<CR>" ! initialize modem
! RECEIVE "response_string" time_in_sec ! look for response
!
! This block is to dial the modem to connect to TELENET or WESPAC. It is
! needed for all modems.
!
! MESSAGE "Sending dial sequence for <PR><PH> to modem."
! WAIT 1 ! give modem a chance
! SEND "dial_string<PRwait_char><PH><CR>" ! dial the modem
! RECEIVE "connect_string" time_in_sec ! look for connection
! WAIT 5 ! give network a chance
HANGUP
!
! This is the hangup script. It may not be needed by some modems. If your
! modem doesn't hangup for some reason, turn your modem off and then on to
! hang it up. If a hangup script is needed for your modem, not all of the
! blocks may be needed.
!
CLEARBUFF ! clear old communications
!
! This block is to get the modem's attention.
!
! MESSAGE "Getting modem's attention."
! WAIT 1 ! give modem a chance
! SEND "attention_string<CR>" ! send attention chars
! RECEIVE "response_string" time_in_sec ! look for modem
!
! This block is to hangup the modem.
!
! MESSAGE "Hanging up modem."
! WAIT 1 ! give modem a chance
! SEND "hangup_string<CR>" ! hang up modem
! RECEIVE "response_string" time_in_sec ! look for response
!
! This block it to reset the modem.
!
! MESSAGE "Resetting modem."
! WAIT 1 ! give modem a chance
! SEND "reset_string<CR>" ! reset modem
! RECEIVE "response_string" time_in_sec ! look for response