redirecting i/o question

Gene Collins collins at gene3.ait.iastate.edu
Thu Sep 9 12:57:58 EDT 2004


Hey Greg, you ever think of reading the man page to learn about chat?

Gene

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Already tried that. If just sending a single command like atdt for
>example, chat comes back right away, and the modem doesn't go off
>hook. If using a script that is a send/expect sequence, chat just
>hangs there until I kill it. The modem works perfectly fine in minicom
>though. So, I suspect I'll need to use a c/c++ program to initialize
>and setup the serial port, and pass it to chat to talk to the modem
>that way. I'll need to think some more on what the best approach for
>the whole program would be.
>
>Greg
>
>
>On Tue, Sep 07, 2004 at 12:15:52AM -0600, Joseph C. Lininger wrote:
>> Don't know much about chat, but try something like this:
>> 
>> programname < /dev/modem > /dev/modem 2>&1
>> --
>> Joseph C. Lininger
>> jbahm at pcdesk.net
>> Verification: 
>
>- -- 
>Free domains: http://www.eu.org/ or mail dns-manager at EU.org
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.3 (GNU/Linux)
>
>iD8DBQFBPdkE7s9z/XlyUyARAlDjAJ4vvnOsbC7Ktafupa/jozgwr5xYrQCcDztg
>Bzuq1sRNpf+vnJrmxKsjrIA=
>=h9Dk
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list