home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d730
/
term.lha
/
Term
/
term2_3int2.lha
/
ARexx
/
AutoLogin.rexx
next >
Wrap
OS/2 REXX Batch file
|
1992-05-08
|
633b
|
38 lines
/* An example auto-login ARexx script file to be used with `term'. */
/* Start to talk to the `term' main program. */
address term
/* We only wish to wait 20 seconds for a sequence to appear. */
set timeout 20 sec
/* Wait for the user name prompt to appear... */
waitstring "Username:"
/* Wait a bit, don't confuse the mailbox. */
delay 2 sec
/* Transmit the user name. */
command "\u^M"
/* Wait for the password prompt to appear. */
waitstring "Password:";
/* Wait a bit, don't confuse the mailbox. */
delay 2 sec
/* Transmit the password. */
command "\p^M"
/* Quietly return back to `term'. */
quietexit