Return to BSD News archive
Xref: sserve comp.os.linux.help:42486 comp.os.386bsd.questions:11562 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!gatech!udel!MathWorks.Com!zombie.ncsc.mil!news.duke.edu!godot.cc.duq.edu!ddsw1!panix!not-for-mail From: rpritz@panix.com (richard) Newsgroups: panix.internet.slip,comp.os.linux.help,comp.os.386bsd.questions Subject: script Date: 15 Jul 1994 22:31:12 -0400 Organization: usenet central Lines: 20 Message-ID: <307gpg$5jh@panix2.panix.com> NNTP-Posting-Host: panix2.panix.com X-Newsreader: TIN [version 1.2 PL2] will someone please tell me why the following chat script dies after it echoes 'dialed' to the screen (and it really has dialed an established a connection). on connection, i am asked "what service please?", i respond "slip", then it asks "username:" then "password:" #!/bin/sh PHONE=5551212 USER=rpritz WORD=mypassword chat -v "" at\&fm0\&c1\&d2\&k3s7=60s11=55s36=7s95=44w1 OK < /dev/cua01 > /dev/cua01 echo init chat -v "" atdt$PHONE CONNECT < /dev/cua01 > /dev/cua01 echo dialed chat -v ease? slip < /dev/cua01 > /dev/cua01 echo slipped chat -v name: $USER word: $WORD < /dev/cua01 > /dev/cua01 echo done