home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
pibterm
/
pibt41e3.arc
/
NOS.SCR
< prev
next >
Wrap
Text File
|
1988-02-26
|
3KB
|
66 lines
***************************************************************************
* N O S . S C R --- Script for connecting to Cyber NOS system *
***************************************************************************
* *
* Script: Nos.Scr *
* *
* Purpose: Connects to Cyber NOS system. Designed for use as *
* attached script in dialing directory. *
* *
* Invocation: *
* *
* Execute "Nos" *
* *
* Remarks: *
* *
* Change the values of "username" and "password" to those of *
* your own NOS account. *
* *
***************************************************************************
*
* Send CRs to wake up autobaud
Repeat
*
SText "|"
* Wait on parity message, indicating
* baud rate/parity detected
WaitString "arity" 4
*
Until ( WaitFound OR ( NOT Connected ) )
*
* If carrier dropped, quit script.
If ( NOT Connected ) Then
Exit
Endif
* Now wait for "operating system" prompt
WaitString "ting system"
* If carrier dropped, quit script.
If ( NOT Connected ) Then
Exit
Endif
* Indicate to CDCNET that we want
* a NOS session. For NOS/VE, we
* would send "CREC VE" instead.
WaitQuiet 20
SText "crec nos|"
* Wait for username prompt
WaitString "USER NAME:"
* Send user name -- ENTER YOURS HERE.
SText "username|"
* Wait for password prompt
WaitString "PASSWORD:"
* Send password -- ENTER YOURS HERE.
SText "password|"
* Wait for bulletins, etc. to pass.
WaitQuiet 30
* Set VT100 emulation in PibTerm.
SetParam 'VC' '0'
SetParam 'AK' '0'
* Load NOS function keys.
Key 'cdcnos.fnc'
* Set backspace if not already set.
SetParam 'BS' '^H'
SetParam 'DE' ''
* Set VT100 emulation on NOS.
SText "SETTERM,VT100|"