home *** CD-ROM | disk | FTP | other *** search
- take \kermit\default.scr
- set key \270 \127 ; Make backarrow delete
- ;
- ; EMACS Key Definitions (Some close to WP, E88, XEDIT, and APL)
- ;
- set key \327 \1 ; Home - ^A Move to Beginning of line
- set key \1399 \27A ; ^Home - ESC A Move to begin. of sent.
- set key \839 \12 ; Sh-Home - ^L Refresh/Clear Screen
- set key \331 \2 ; Left Arr - ^B Back one space
- set key \1395 \27B ; ^Left Arr - ESC B Back one word
- set key \335 \5 ; End - ^E Move to End of line
- set key \1397 \27E ; ^End - ESC E Move to end of sentence
- set key \333 \6 ; Right Arr - ^F Fwd one space
- set key \1396 \27F ; ^Right Arr - ESC F Fwd one word
- set key \336 \14 ; Dn Arr - ^N Next Line
- set key \2410 \15 ; Alt-F3 - ^O Insert Line/SplitJoin
- set key \2411 \11 ; Alt-F4 - ^K Delete line
- set key \328 \16 ; Up Arr - ^P Up line
- set key \849 \22 ; Sh-PgDn - EMACS PgDn (Don't chg PgDn)
- set key \841 \27V ; Sh-PgUp - EMACS PgUp
- set key \1422 \27< ; ^PgUp - Go to TOF
- set key \1398 \27> ; ^PgDn - Go to BOF
- set key \319 \24\22 ; F5 - ^X^V Get File
- set key \315 \24\19 ; F1 - ^X^S Save File
- ; ^C (Abort), ^X^Z (QQuit) not implemented on single key due to error
- ; potential
- ;
- ;
- clear ; Clear the input buffer.
- set local-echo off
- set input echo off
- set speed 1200 ; Dial at high speed.
- take \kermit\initmodm.scr ; Yes.
- pause 1 ; Pause for a second first.
- set count 30 ; Set the redial limit.
- define \%d \27\91\50J\13Dialing ; Set initial message
- define \%e .
- :REDIAL
- echo \27\91\49\;\49H\%d DDN\%e\13\10 ; Tell them we're dialing.
- output ATDT0000000\13 ; Dial the phone number.
- clear ; Clear away the command echo.
- input 20 CONNECT ; Wait for CONNECT message.
- if success goto speed ; Got it, go check speed.
- define \%m No dialtone or no answer. ; Make this the error message.
- reinput BUSY ; Didn't connect. Was it busy?
- if failure errstop {\%m\10\13Try again later.} ; No
- Echo \13Busy... ; It's busy, let them know.
- hangup ; Drop DTR momentarily.
- pause 2 ; Wait one minute.
- define \%d \13Redialing ; Change message to "Redialing".
- assign \%f \%e
- assign \%e .\%f
- if count goto redial ; Then go redial.
- define \%m \13Line busy. ; After 5 tries set this message.
- :SPEED ; Connected!
- echo Logging on...\13\10
- set input echo on
- pause 1 ; Wait for text after CONNECT.
- output \17 ; Output ^Q to start TAC
- input 5 :
- output \64O 0.0.0.0\13\10 ; @O 0.0.0.0 Open Host
- input 5 :
- output TAC-LOGIN\13\10 ; TAC Login
- input 5 :
- output PASSWORD1\13\10 ; TAC Password
- input 20 \64 ; Wait for TOPS 20 prompt
- output LOG USER PASSWORD2\13\10 ; Login to host
- connect ; And start terminal emulation.
-
-