Does RS6000 Telnet pass LF or CR?

Does RS6000 Telnet pass LF or CR?

Post by Terry Ingolds » Sat, 26 Dec 1992 05:51:25

Has anyone else run into this weird bug?  We have some modems hooked up to
a terminal server.  You can (from any machine on the network except the
RS6000's) telnet to the terminal server and instruct it to connect you to the
modem.  THen you can do AT command strings to your hearts content.

On the RS6000, however, after the connection is made to the modem AT commands
are ignored because (and the proof was obtained from an RS232 datascope) when
the Return key is pressed on the RS6000 keyboard, the LineFeed character is
actually transmitted.  Unless we change the modem's EOL character (using another
non-AIX system) we can't make the modem recognize the commands.

At first I assumed that a little playing with stty would fix the problem.  We
told stty to disable CR to LF translation (which seemed to work since
everything, even telnet command mode echo'd ^M when the return key was pressed).
Unfortunately, the datascope continued to show that LineFeed was transmitted
when the Carriage Return key was pressed.

It appears that the reason this bug only shows up on the modem is that when
telnet'ing to other UNIX systems, they accept LF as an EOL terminator.

Has anyone run into this?  Is there a fix?

Terry Ingoldsby
The City of Calgary  DPSD/LIS

All opinions are my own!


1. CR <-> CR/LF <-> LF ?

        does anyone have a script that strips or adds CR or LFs to the
end of each line? I.e. translate from Mac text to Dos text/unix text and
vice versa. Thanks.

                               Jauder Ho        
                       Chaos Theory Group, Physics    

2. question about mail (SunOS 4.1)

3. FreeBSD telnet client sending LF instead of CR LF

4. Hyperterminal vs command line telnet

5. remove LF but keep CR/LF

6. Solaris 2.4 reinstall vs upgrade (trashed my OS)

7. enabling 'LF->CR/LF'

8. no ppp in kernal??

9. lf vs cr/lf problem with "lp" command

10. utility to convert between cr/lf and lf end of line

11. How to convert LF to CR LF for transmission to PC

12. How to convert LF to CR/LF ?

13. How to convert LF to CR LF for transmission to PC