*BSD News Article 16823


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!lobster.sid.mcet.edu!lobster.sid.mcet.edu!johnj
From: johnj@lobster.sid.mcet.edu (John Jackson)
Newsgroups: comp.os.386bsd.questions
Subject: Strange problem with telnetd [386BSD]
Date: 4 Jun 1993 17:46:03 GMT
Organization: MCET - Massachusetts Corporation for Educational Telecommunications
Lines: 25
Message-ID: <1uo1or$51c@lobster.sid.mcet.edu>
NNTP-Posting-Host: lobster.sid.mcet.edu
X-Newsreader: TIN [version 1.1 PL8]

Hi All:

	I have a problem with telnetd in 386bsd.  I'm at patch level 0.2.1.
When a user logged on to my host via a terminal server on out net is using
emacs and for whatever reason disconnects from the terminal server without
gracefully quitting emacs the pseudoterm that they were using gets kinda
freaked out.  The next person who connects to the host who is allocated that
pseudoterm by 386BSD has a problem whenever they use the more program.  When
screen output from MH mail's show command or from a ps -aux or whatever is
piped to more, the output to the screen doesn't linewrap properly.  It looks
as if everything just gets all scrambled because as each successive line on
the screen gets printed its apparent righthand margin moves further and further
to the right.
	This only happens on the particular pseudoterm that had a previous user
disconnect from the system while emacs was still running.  The only way so far
that I have found to cure the condition is to reboot the host.  Does anyone
have any other suggestions for rectifying this condition other than rebooting?
Perhaps there is a daemon that I can restart or at least send a signal to?
I would think though that it must be kernel related too because telnetd only
comes to life when a user connects to a given pseudoterm and goes away when
they log out.  Somehow the kernel is passing something on to the next user's
session on that pseudoterm that messes it up.

-John