Отв: talking with chat(1) like tool to a socket

Mikhail Zakharov zmey20000 at yahoo.com
Mon Apr 25 12:22:01 UTC 2016


Hi Matthias,
Why don't you think about tcl-expect or empty.sourceforge.net tool to do this interaction?

--
Mikhail Zakharov 

    понедельник, 25 апреля 2016 12:10 Matthias Apitz <guru at unixarea.de> писал(а):
 

 


Hello,

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)?

Thanks

    matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
_______________________________________________
freebsd-questions at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

  


More information about the freebsd-questions mailing list