*BSD News Article 82487


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!garlic.com!news.scruz.net!noos.hooked.net!www.nntp.primenet.com!nntp.primenet.com!enews.sgi.com!news.mathworks.com!newsfeed.internetmci.com!southwind.net!symbios.com!csn!nntp-xfer-2.csn.net!yuma!purdue!mozo.cc.purdue.edu!schwinger.physics.purdue.edu!ajk
From: ajk@schwinger.physics.purdue.edu (Andrew J. Korty)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Fixing telnet annoy-o-matic
Date: 8 Nov 1996 00:38:55 GMT
Organization: Physics Department, Purdue University
Lines: 19
Message-ID: <55tvev$kdm@mozo.cc.purdue.edu>
References: <32811ABF.33B8ED73@mauswerks.com>
NNTP-Posting-Host: schwinger.physics.purdue.edu

In article <32811ABF.33B8ED73@mauswerks.com>,
Brian Topping  <topping@mauswerks.com> wrote:

>I am wondering if anyone has seen a problem with telnetd that
>connections get hung up after the second control-C sent in a session.  I
>think I am going to die if it happens again.  For instance, I can start
>a ping, see that it works, hit control-C.  If that was the first time
>that I ever did that this session, it stops fine, no big deal.  If
>however I had previously typed control-C at any previous time during the
>session, this time will abruptly close the connection.

I'm not sure what it was exactly that I did to fix this (because I
tried so many things unsuccessfully), but try this:

    stty noflush

If that doesn't work reliably, try some other tty settings.

ajk