[309] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Expect, Send, and dropped characters

daemon@ATHENA.MIT.EDU (M.S. Petrovic)
Fri May 12 08:46:15 1995

From: msp@carpediem.org (M.S. Petrovic)
To: linux-net@vger.rutgers.edu (Linux Net Channel)
Date: Fri, 12 May 1995 05:34:06 -0500 (CDT)
Reply-to: msp@tyrell.net (M.S. Petrovic)


I'm using chat as a front end to establishing a connection to a remote
server host.  Unfortunately, characters dropped from the *middle* of the
"expect" strings often prevent the negotiation from going to successful
completion.  I have seen many references to using only the trailing
portion of the expect string, should a leading portion be lost, but have
never seen reference to characters within the string being dropped.
These observations above are based on a reading of /usr/adm/messages
during the chat script converstation.

a) What in general can be done about characters interior to an expect
string being dropped?  (Nothing?)

b) Most puzzling is:  Why do I never see dropped characters, leading,
trailing, or otherwise, dropped from the same host when I simply dialup
using kermit or minicom???

Thank you.

-- 
Mark S. Petrovic
Lake Tapawingo, MO  USA
msp@interstate.net

home help back first fref pref prev next nref lref last post