home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dcom / modems / 11379 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.7 KB

  1. Xref: sparky comp.dcom.modems:11379 comp.unix.misc:3041 comp.unix.shell:3179
  2. Path: sparky!uunet!dtix!darwin.sura.net!convex!news.utdallas.edu!corpgate!brtph560!bnr.ca!trice
  3. From: trice@bnr.ca (Tony Rice P885)
  4. Newsgroups: comp.dcom.modems,comp.unix.misc,comp.unix.shell
  5. Subject: passing stuff to an open telnet session
  6. Keywords: telnet, unix, question, problem, modem
  7. Message-ID: <1992Jul29.141726.28698@brtph560.bnr.ca>
  8. Date: 29 Jul 92 14:17:26 GMT
  9. Sender: news@brtph560.bnr.ca (Usenet News)
  10. Distribution: usa
  11. Organization: Bell-Northern Research, BNR-RTP
  12. Lines: 23
  13.  
  14.  
  15. I am trying to automate something using telnet and am having troubles.
  16.  
  17. I would like to telnet to a modem hanging off of our LAN, dial a number
  18. and hang up.  The problem is once I connect, using TELNET, to this modem
  19. telnet goes into an interactive mode which makes things like:
  20.  
  21. cat "atdt 9,555121" | telnet <modem address>
  22. or
  23. telnet <modem address> < echo "atdt 9,5551212"
  24.  
  25. not work at all.  Even putting the connection command (open <modem address>)
  26. a file with the atdt command and redirecting or piping that does not work.
  27.  
  28. Any ideas on how to pass stuff to an open telnet session?
  29.  
  30. /--------------------------------------------------------------------------\
  31. |Tony Rice                              | Disclaimer: Opinions are my own  | 
  32. |System Development Environment Support |             not that of BNR or   |
  33. |BNR, Research Triangle Park            |             Northern Telecom     |
  34. |                                 ______|______                            |
  35. |internet: trice@bnr.ca           |"Go Hokies"|                            |
  36. \--------------------------------------------------------------------------/
  37.