Matthew Ozor on 7 Jun 2004 13:42:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Bash script and telnet


So there isn't a "signal" I could trap when Telnet is
waiting for input?


--- Jeff McAdams <jeffm@iglou.com> wrote:
> Matthew Ozor wrote:
> > Im writting a script to log into a MUSH through
> > telnet. My question is that in the MUSH there is a
> > long welcome screen before the login prompt. Is
> there
> > a way in BASH to to have it wait for the telnet
> server
> > to ask for an input? I want to send my login
> > information with the script.
> 
> Check out the expect language...this is exactly the
> type of thing it was
> designed for.
> 
> You might be able to do it in bash directly, but it
> wouldn't be a
> project that I'd be thrilled to undertake.
> -- 
> Jeff McAdams
> "He who laughs last, thinks slowest." -- anonymous
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug