home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
kermit
/
ker_scp3.arc
/
VAX.SCP
< prev
Wrap
Text File
|
1988-09-10
|
3KB
|
62 lines
Comment UNIX.SCP to log on to a VAX running Unix BSD 4.3
;v1.0, 1987
;
;Fire up PC-Kermit, setting your port, terminal emulation, etc.
;either thru the MSKERMIT.INI file or manually.
;Then, at the Kermit prompt, give Kermit the following command:
; Kermit-MS> take unix.scp
;Kermit will run the following script file.
;
;Tested with braggvax.ARPA, Fort Bragg NC (through a direct dialin modem)
;and should work with similar VAX systems.
;If not, read TOADSCRP.DOC for suggestions on how to build your own
;Kermit script file.
;
;This works fine with PC-Kermit v2.29 and up. It does NOT use the more
;powerful script language available with the latest (v2.31).
;(Haven't figured it all out yet!)
;David Kirschbaum
;Toad Hall
;kirsch@braggvax.ARPA
;
;Substitute the baud rate you want here:
SET BAUD 1200; insure we're at 1200 baud
CLEAR; flush any junk at the port
SET TAKE OFF; don't display Take file commands as we go
SET INPUT TIMEOUT-ACTION QUIT; quit script if proper answers do not appear
OUTPUT \10; Send a CR to the modem to get a new line
OUTPUT AT\13; see if modem is alive
INPUT OK; look for its normal response
;Substitute your host's dial-in number here:
;(I have only pulse dial, therefore the ATDP. You might want ATDT.)
OUTPUT ATDP 999-9999\13; Tell the modem to dial the host's number
INPUT 25 CONNECT; Wait for the modem to say we got a modem answer
PAUSE 1; wait 1 sec for modem to get ready
SET INPUT TIMEOUT PROCEED; ignore timeouts from here on
INPUT 30 login:; Wait for VAX's login sequence
;Substitute your username here:
OUTPUT kirsch\13; Send our username
INPUT 10 Password:; Wait for VAX's password prompt
;Substitute your password here:
OUTPUT password\13; Send our password
;
;My MSKERMIT.INI sets Kermit's terminal emulation to VT102 by default.
;My host has a query as to what kind of terminal I am
;(with a default of vt102 from my Unix .login file).
;Your host may differ, your account may be "hardwired" to a terminal
;type, whatever. Edit accordingly.
INPUT 10 TERM = (vt102); Wait for VAX's terminal type query
OUTPUT \13; respond with CR to accept default VT102
;You could substitute something else for a terminal, like:
;OUTPUT vt52\13; Be a VT52 terminal
;OUTPUT dumb\13; Be a dumb terminal
;Or get REALLY fancy and be a Tektronics 4010 terminal (assuming your
;host has such a termcap!).
;To do that, you must tell Kermit to go into Tektronics emulation as well:
;SET TERM TEK; Tell Kermit to emulate Tek4010
;OUTPUT tek4010\13; And tell the VAX
;
;Kermit will drop you back at its command line.
;Enter "c" to go into "connect" or terminal mode,
;and you can continue with your Unix session.