Article View: comp.unix.programmer
Article #68Access to modem without UUCP
From: Robert W. Wilson Jr.
Date: Mon, 20 Jul 1992 21:03
Date: Mon, 20 Jul 1992 21:03
11 lines
1278 bytes
1278 bytes
I am working on a program that needs to be able communicate with an async modem vi a tty port, without using UUCP. I have written a send/expect routine that writes strings out the the tty and waits for a return, if I use the default termio settings, I am able to command the modem just fine, but when I get connected to the system on the other side (actually a packet switch pad) the login banner is echoed back as the login. Not too cool! I thought I could turn off echo in the termio settings and my proble m would go away. The problem is, if I mess with the termio settings at all, I can't command the modem any more. I am working on a Sun IPX but this needs to be portable. I would like get some good termio settings to start with for doing I/O directly to the tty. Please help! I would also appreiciate any explainations of the how and why sort. Please email me at rw0080 at strider.sbc.com (my atsign is broken). Thanks Bob Wilson 314-331-1465
Technical Details
Message-ID:
<1378@swuts.sbc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!swbatl!texbell!swuts!rw0080Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!swbatl!texbell!swuts!rw0080 From: rw0080@swuts.sbc.com (Robert W. Wilson Jr.) Newsgroups: comp.unix.programmer Subject: Access to modem without UUCP Message-ID: <1378@swuts.sbc.com> Date: 20 Jul 92 21:03:22 GMT Organization: Southwestern Bell Telephone Company Lines: 9