[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: chat will not send password



This is exactly right!!!  (I finally figured it out about midnight last night!) I had copied this script directly from the Debian User's Guide (linuxpress.com?) - I will also send them a copy of this; I think it's a bad example.

Thanks to all who helped me with this one!
-Chip Grandits

-----Original Message-----
From:	Lindsay Allen [SMTP:allen@cleo.murdoch.edu.au]
Sent:	Tuesday, June 16, 1998 10:02 PM
To:	Chip Grandits
Cc:	'debian-user@lists.debian.org'
Subject:	Re: chat will not send password


> ogin: chipg\r
> Password: zzzzzzz\r

The <return> in a chat script is automatic.  If you _don't_ want a
<return> you must use "\c" to stop it.

So by having chipg\r you are actually sending "chipg <return><return>" 
which sends a null string to whatever comes after the login - in this case
the password. 

The correct sequence is:

ogin:    chipg
assword: \qzzzzzzz

The "\q toggles logging of the reply dialog.  Turn the logging back on
with another "\q" but _not_ on the same line.  I.e. not \qzzzzz\q.




--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: