*BSD News Article 82498


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!server1.nw.ixe.net!server1.adam.ixe.net!wirehub!news.euro.net!helpdesk.euronet.nl!sake
From: sake@helpdesk.euronet.nl (Sake Blok)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Fixing telnet annoy-o-matic
Date: 8 Nov 1996 10:28:19 GMT
Organization: EuroNet Internet
Lines: 36
Message-ID: <55v203$iah@news.euro.net>
References: <32811ABF.33B8ED73@mauswerks.com> <55tvev$kdm@mozo.cc.purdue.edu>
Reply-To: sake@euro.net
NNTP-Posting-Host: helpdesk.euronet.nl
X-Newsreader: TIN [version 1.2 PL2]

Andrew J. Korty (ajk@schwinger.physics.purdue.edu) wrote:
: 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

Make that:  stty noflsh

From the stty-manpage:

     noflsh (-noflsh)
        Disable (enable) flush after INTR, QUIT, SUSP.

Greets,


Sake
--
     +------------------- There is a purpose to time: --------------------+
     | Sake Blok                                         EuroNet Internet |
     | e-mail: sake@euro.net                          Herengracht 208-214 |
     | http://www.euronet.nl/~sake                     1016 BS  Amsterdam |
     | telephone: +31 (0)20 625 6161                      The Netherlands |
     +---------- It prevents everything from happening at once.-----------+