talking with chat(1) like tool to a socket

Matthias Apitz guru at
Mon Apr 25 10:10:06 UTC 2016


In the GOD of modems and PPP I was used to use chat to talk and
initialize modems based on some send/expect scripts...

I would like to use the same logic of such script to talk to a remote
server (IP+port) which understands commands in text and does respond
with text.

Any idea before hacking the C-code of chat(1)?


Matthias Apitz, ✉ guru at, ⌂  ☎ +49-176-38902045

More information about the freebsd-questions mailing list