*BSD News Article 32825


Return to BSD News archive

Xref: sserve comp.os.linux.help:42823 comp.os.386bsd.questions:11613
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!not-for-mail
From: jhawk@panix.com (John Hawkinson)
Newsgroups: panix.internet.slip,comp.os.linux.help,comp.os.386bsd.questions,com.unix.shell
Subject: Re: script
Followup-To: comp.unix.shell
Date: 16 Jul 1994 08:17:09 -0400
Organization: PANIX Public Access Internet and Unix, NYC
Lines: 20
Message-ID: <308j45$3ko@panix.com>
References: <307gpg$5jh@panix2.panix.com>
NNTP-Posting-Host: panix.com

In <307gpg$5jh@panix2.panix.com> rpritz@panix.com (richard) writes:

>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:"

>chat -v ease? slip  < /dev/cua01 > /dev/cua01
         ^^^^^

You need to quote the question mark, otherwise the shell takes it
and tries to do things. Use:

	chat -v 'ease?' slip ...

Followups to comp.unix.shell.

--
John Hawkinson
jhawk@panix.com