home *** CD-ROM | disk | FTP | other *** search
- ***************************************************************************
- * L U I S . S C R --- Script for connecting to Luis system *
- ***************************************************************************
- * *
- * Script: Luis.Scr *
- * *
- * Purpose: Connects to Luis system. Designed for use as *
- * attached script in dialing directory. *
- * *
- * Invocation: *
- * *
- * Execute "Luis" *
- * *
- ***************************************************************************
- *
- * Wake up protocol converter.
- Repeat
- *
- SText "|"
- * Wait for "Username" prompt.
- WaitString "TYPE:" 2
- *
- UNTIL ( WaitFound OR ( NOT Connected ) )
- *
- * Quit if carrier dropped.
- IF ( NOT Connected ) THEN
- Exit
- ENDIF
- * Send terminal type of VT100.
- SText "vt100|"
- * Wait until an intro stuff clears.
- WaitQuiet 20
- * Send CR to get Luis screen.
- SText "|"
- *
- * Set VT100 emulation
- SetParam 'VC' '0'
- SetParam 'AK' '0'
- * Load CMS function keys
- SetParam 'BS' '^[[OD'
- SetParam 'DE' '^[[OD'
- *
- IF ( EnhKeybd = 1 ) THEN
- Key 'ibmcmse.fnc'
- ELSE
- Key 'ibmcms.fnc'
- ENDIF
- *