Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!panix!not-for-mail From: rpritz@panix.com (richard) Newsgroups: comp.os.386bsd.questions Subject: dial script Date: 25 Jul 1994 10:17:52 -0400 Organization: usenet central Lines: 15 Message-ID: <310hig$gij@panix2.panix.com> NNTP-Posting-Host: panix2.panix.com X-Newsreader: TIN [version 1.2 PL2] What's the best way to script the dialing of a number and sending and receiving a few strings? I'm having trouble making chat work (basicallly it drops carrier on CONNECT, see below), and would rather not use kermit, since it hangs-up on exit, so it must remain in memory. I just want to dial my slip provider and log on. Any suggestions? (freebsd 1.1.5, btw) chat -v "" at$INITSTRING OK < /dev/cua01 > /dev/cua01 chat -v "" atdt$PHONE CONNECT < /dev/cua01 > /dev/cua01 #dies here sleep 3 chat -v slip name: $USER word: $WORD