*BSD News Article 52161


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!cs.uoregon.edu!reuter.cse.ogi.edu!hp-cv!hp-pcd!hplabs!sdd.hp.com!swrinde!howland.reston.ans.net!ix.netcom.com!netcom.com!cove
From: cove@netcom.com (Cove Schneider)
Subject: Problem: Telnet & ETS (Lantronix terminal server)
Message-ID: <coveDFI5qv.DIv@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
Date: Tue, 26 Sep 1995 07:49:43 GMT
Lines: 104
Sender: cove@netcom10.netcom.com

Hello..

I've been having a terriable time with telneing into my FBSD machine
from a Lantronix EST16 -- a terminal server.

Here is the info:

o	I can telnet to my machine fine, but I get '^@' after
	each CR (CRLF?) -- actually only in the login. So I 
	disabled the telnet padding and that went away. But..

o	When I telnet in I don't get a LF after my CR. So
	when I send a CR my cursor just returns to the 
	beginning of the line with out a LF. I've tried
	sending a CRLF, but the latter still happens.
	(BTW, *with* telnet padding this still happens.)

o	I contacted tech support for the Lantronx ETS:
	They telneted in and checked it out and agreed
	it wasn't working right <Hrummm>, but said that
	as far as they could tell everything was setup
	correctly at both ends. Only thing they could
	come up with is that there was a bug in telnetd
	and/or getty.

o	Funny thing though is that telneting out to other
	machines (mainly SunOS machines) works great --
	with telnet padding and all. When I send a CR
	I also get a LF -- that is if I'm at a prompt
	and I hit the enter key I get another prompt
	opposed to getting the last prompt written
	over by the new one.

o	So I read the telnted man page. I believe it
	has something to do with the telnet emmulator
	on the ETS not supporting LINEMODE -- or
	something like that. I recompiled telnetd
	with the kludge option, restarted inetd
	with the -k in /etc/inetd.conf.. No go.. I get
	the same thing.

o	I have ran telnetd with the -D netdata option
	to verify what was being recieved by the daemon.
	Everything was correct, as compared to telneting
	from my machine	to 127.0.0.1 and comparing the data
	sent with what the ETS was sending. Only major
	diffrence was that after each key press on the ETS
	telnetd would display the char sent, while telneting
	from the FBSD machine would display the data after
	each newline. Which leads me to belive it has some-
	thing to do with LINEMODE. But..

o	When I telnet into the ETS from the FBSD machine
	then telnet back out to the same machine: I do
	get the '^@' problem (if telnet padding is on)
	but I don't get the newline problem -- the prompt
	writing over it's self from a lack of a newline.

	BTW, a prompt that writes over it's self is
	extreamly irritaing: Do an ls, and the first
	line of it will have part of your prompt
	in it. It can be very confusing.

Here's my setup:
[hope this diagram make this post a little more intersting.]

+---------+
| 2.0.5R  |
| FreeBSD |
+---------+
    |
    | (ISA)
    |
+---------+ (swaped TP)   +-----------+
| 3Com TP |---------------| Tranciver |
+---------+               +-----------+
                                |
                                | (AUI)
                                |
 +---------------+        +-----------+
 | DEC VT220     |        | Lantronix |
 | in VT100 mode |--------| ETS-16    |
 | w/ Xon/Xoff   |        +-----------+
 +---------------+ 


Note: 
The VT220 works perfictly when not connected via the ETS16.


Well, I hope I'm explaining my situation clearly. I've
never seen this before (except on my machine for the
past 4 months!), so I'm not compleatly sure how
to expalin it. At this point I'm going to start pouring
though the telnetd code and see if I can find anything.

In the mean time if _anyone_ has any idea, thoughts,
soloutions(!) to this headache, I would be *very* *very*
appreciative...

Thanks..

-- 
Cove Schneider                                                cove@netcom.com