Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!news.mid.net!crcnis1.unl.edu!wupost!spool.mu.edu!howland.reston.ans.net!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!bigbang.astro.indiana.edu!ahabig From: ahabig@bigbang.astro.indiana.edu (Alec Habig) Subject: Re: dial script Message-ID: <CtIJsC.8xy@usenet.ucs.indiana.edu> Sender: news@usenet.ucs.indiana.edu (USENET News System) Nntp-Posting-Host: bigbang.astro.indiana.edu Organization: Indiana University Astrophysics, Bloomington, IN References: <310hig$gij@panix2.panix.com> Date: Mon, 25 Jul 1994 20:33:47 GMT Lines: 27 In article <310hig$gij@panix2.panix.com> rpritz@panix.com (richard) writes: > >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 On this topic, does anybody have a man page for chat? Doesn't seem to be one in the FreeBSD 1.5 distribution. Thanks, Alec -- Alec Habig, Indiana University High Energy Astrophysics ahabig@bigbang.astro.indiana.edu http://astrowww.astro.indiana.edu/personnel/ahabig/ Ted Kennedy's car has killed more people than my guns.