*BSD News Article 59208


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!newsjunkie.ans.net!news-m01.ny.us.ibm.net!ausnews.austin.ibm.com!bocanews.bocaraton.ibm.com!watnews.watson.ibm.com!mdnews.btv.ibm.com!news
From: "Todd C. Huss" <husst@btv.ibm.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: userland PPP scripting
Date: Tue, 16 Jan 1996 12:29:04 -0500
Organization: IBM
Lines: 26
Message-ID: <30FBE060.446B@btv.ibm.com>
References: <4dekgb$9em@mark.ucdavis.edu>
NNTP-Posting-Host: huss.btv.ibm.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b5 (X11; I; AIX 2)
To: "David E. O'Brien" <obrien@cs.ucdavis.edu>

David E. O'Brien wrote:
> 
> I want to use iijppp (user land PPP) to connect to the school term sever.
> Problems is it takes quite a bit of ^M's to wake the fool up.  I can easily
> do this in a kermit or minicom script, but I can figure out how to "lay on
> the <enter> key" with some delays in iijppp.
> 
> Can anybody provide any examples for this?
> 
> -- David   (obrien@cs.ucdavis.edu)

Since User PPP simply uses chat scripting you can do something like this.
For example my terminal server takes between two and three returns to
wake it up so in my login I have the following:
TIMEOUT 5 ...-\\r-...-\\r-...-\\r-...
Which tells it to expect a ... which is my terminal servers prompt and if 
it doesn't get it to send a return and to send a total of 3 returns before
giving up.
-- 
							-Todd

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Todd Huss
                         e-mail: husst@btv.ibm.com
                       www: http://www.emba.uvm.edu/~huss
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~