home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3822 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.2 KB

  1. Path: sparky!uunet!wupost!swbatl!texbell!swuts!rw0080
  2. From: rw0080@swuts.sbc.com (Robert W. Wilson Jr.)
  3. Newsgroups: comp.unix.programmer
  4. Subject: Access to modem without UUCP
  5. Message-ID: <1378@swuts.sbc.com>
  6. Date: 20 Jul 92 21:03:22 GMT
  7. Organization: Southwestern Bell Telephone Company
  8. Lines: 9
  9.  
  10. 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
  11.  
  12. m would go away.  The problem is, if I mess with the termio settings at all, I can't command the modem any more.
  13.  
  14. 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.
  15.  
  16. Please email me at rw0080 at strider.sbc.com (my atsign is broken).
  17.  
  18. Thanks
  19. Bob Wilson
  20. 314-331-1465
  21.