[plug] DUN script

Leon Brooks leon at brooks.smileys.net
Thu Apr 1 10:20:52 WST 1999


Jon L. Miller wrote:
> 
> Try this for starters:
> ; Script for DUN for Wantree Development
> ; Created 22/10/97
> ;
> 
> Proc Main
>    $USERID="username"
>    $PASSWORD="password"
> 
>         waitfor "vector.wantree.com.au Login:"

Uh, what happens when you rename vector, or want to rename Wantrees'
domain because you've been bought or sued, or happen to use a terminal
server that prompts with "login:" instead of "Login:" ?

>         transmit $USERID
>         transmit "^M"
>         delay 2
>         waitfor "Password:"

Ditto "password:" instead of "Password:"?

>         transmit $PASSWORD
>         transmit "^M"
> 
> EndProc

I use ogin: and ssword: and they work fine. "assword:" would too, but
causes comment. BTW, tip for you, Smileys includes "username:" in the
login prompt and "annex:" in the welcome message so that the el-bizarro
pppmenu.scp works out of the box.

-- 
Last week's _Chronicle_ erroneously reported that Eric Mitchell [member
of 
the Austin City Council] had shouted "Up yours" to residents of the
Swede 
Hill neighborhood at a Housing Subcommittee meeting last year.  In fact, 
Mitchell leveled a "Screw You!" to the residents.  The _Chronicle_
regrets 
the error.    -- From the January 19, 1996 issue of the Austin
_Chronicle_


More information about the plug mailing list