home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12841 < prev    next >
Encoding:
Text File  |  1992-12-25  |  1.7 KB  |  43 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!alberta!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cuugnet!ingoldsb
  3. From: ingoldsb@cuug.ab.ca (Terry Ingoldsby)
  4. Subject: Does RS6000 Telnet pass LF or CR?
  5. Message-ID: <1992Dec24.205125.15356@cuug.ab.ca>
  6. Followup-To: comp.unix.aix
  7. Summary: Telnet passes LF when CR is typed
  8. Keywords: Telnet, CR/LF, modem
  9. Organization: Calgary UNIX Users' Group
  10. Date: Thu, 24 Dec 1992 20:51:25 GMT
  11. Lines: 30
  12.  
  13. Has anyone else run into this weird bug?  We have some modems hooked up to
  14. a terminal server.  You can (from any machine on the network except the
  15. RS6000's) telnet to the terminal server and instruct it to connect you to the
  16. modem.  THen you can do AT command strings to your hearts content.
  17.  
  18. On the RS6000, however, after the connection is made to the modem AT commands
  19. are ignored because (and the proof was obtained from an RS232 datascope) when
  20. the Return key is pressed on the RS6000 keyboard, the LineFeed character is
  21. actually transmitted.  Unless we change the modem's EOL character (using another
  22. non-AIX system) we can't make the modem recognize the commands.
  23.  
  24. At first I assumed that a little playing with stty would fix the problem.  We
  25. told stty to disable CR to LF translation (which seemed to work since
  26. everything, even telnet command mode echo'd ^M when the return key was pressed).
  27. Unfortunately, the datascope continued to show that LineFeed was transmitted
  28. when the Carriage Return key was pressed.
  29.  
  30. It appears that the reason this bug only shows up on the modem is that when
  31. telnet'ing to other UNIX systems, they accept LF as an EOL terminator.
  32.  
  33. Has anyone run into this?  Is there a fix?
  34.  
  35. Terry Ingoldsby
  36. The City of Calgary  DPSD/LIS
  37.  
  38. All opinions are my own!
  39.  
  40. ingoldsb@ctycal.cuug.ab.ca
  41.  
  42.  
  43.