home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 September
/
VPR9809A.ISO
/
OLS
/
Windows
/
TTERMP23
/
LOGIN.TT_
/
LOGIN.TT
Wrap
Text File
|
1998-04-21
|
446b
|
22 lines
; Sample macro for Tera Term
; Telnet login
; open Tera Term
; command line = 'TERATERM myhost.mydomain' (telnet)
connect 'myhost.mydomain'
; set username
UsernamePrompt = 'Username:'
Username = 'MYNAME'
PasswordPrompt = 'Password:'
; get password from file
getpassword 'password.dat' 'mypassword' Password
; login
wait UsernamePrompt
sendln Username
wait PasswordPrompt
sendln Password
; OK, auto login complete.