Using tclsh & expect with binary data.
Here is a test program xxx.tcl from my real "tkcid" to capture Caller ID (CID) information from a modem. It was written in July 2001.
#!/usr/bin/tclsh
package require Expect
exp_internal 1
set VOICEMSG "/usr/local/lib/tkcid.au"
set VOICEMSG...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.