Subject: Re: telnet problem
To: None <tsarna@endicor.com>
From: Ken Nakata <kenn@synap.ne.jp>
List: current-users
Date: 06/30/1998 10:33:46
Ty Sarna wrote:
> In article <199806292048.QAA27547@ginger.cmf.nrl.navy.mil>,
> Ken Hornstein  <kenh@cmf.nrl.navy.mil> wrote:
> > Alternatively, you could always get a new Mac telnet client :-/
> 
> I see the same thing with the NetBSD telnet client. But here's something
> interesting:
[...]
> 000a vs 0a00, on different endian systems. Hmmmmmmm....

Here's some more that might interest you:

[~]$ uname -mr
1.3E mac68k
[~]$ telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
[...]
[~]$ hexdump
[here I type enter and ^D]
0000000 0a00
0000001
[~]$ hexdump 
[here I type enter twice and ^D]
0000000 0a0a                                   
0000002

Oh, and the important point: I get the same result with or without
telnetting to localhost, at least when I'm in an xterm window...
Maybe this has something to do with the pty device, rather than
telnetd?

Ken