NetBSD Problem Report #7388
Received: (qmail 22991 invoked from network); 14 Apr 1999 22:07:19 -0000
Message-Id: <199904142140.QAA27155@gedd.metonymy.com>
Date: Wed, 14 Apr 1999 16:40:39 -0500 (CDT)
From: Dave Huang <khym@bga.com>
Reply-To: khym@bga.com
To: gnats-bugs@gnats.netbsd.org
Subject: ping turns on nokerninfo and sometimes leaves it set
X-Send-Pr-Version: 3.95
>Number: 7388
>Category: bin
>Synopsis: ping turns on nokerninfo and sometimes leaves it set
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 14 15:20:01 +0000 1999
>Closed-Date: Sat Apr 17 01:19:01 +0000 1999
>Last-Modified: Sat Apr 17 01:20:15 +0000 1999
>Originator: Dave Huang
>Release: NetBSD 1.4_ALPHA as of April 12, 1999
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
System: NetBSD gedd.metonymy.com 1.4_ALPHA NetBSD 1.4_ALPHA (GEDD) #572: Sat Apr 10 20:47:32 CDT 1999 khym@dahan.metonymy.com:/usr/src.local/sys/arch/mac68k/compile/GEDD mac68k
>Description:
ping sets the tty's nokerninfo bit very early on, but only restores
the original setting if the ping actually started.
>How-To-Repeat:
% stty
speed 9600 baud;
lflags: echoe echok echoke echoctl pendin
iflags: istrip
oflags: onocr onlret
cflags: cs8 -parenb
status
^T
% ping
Usage:
ping [-dDfLnoPqQrRv] [-c count] [-g gateway] [-h host] [-i interval] [-I addr]
[-l preload] [-p pattern] [-s size] [-t tos] [-T ttl] [-w maxwait] host
% stty
speed 9600 baud;
lflags: echoe echok echoke echoctl pendin nokerninfo
iflags: istrip
oflags: onocr onlret
cflags: cs8 -parenb
status
^T
% stty -nokerninfo
% ping nonexistent
ping: Cannot resolve "nonexistent" (Unknown host)
% stty
speed 9600 baud;
lflags: echoe echok echoke echoctl pendin nokerninfo
iflags: istrip
oflags: onocr onlret
cflags: cs8 -parenb
status
^T
>Fix:
Sorry, none supplied :)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mjl
State-Changed-When: Fri Apr 16 18:19:01 PDT 1999
State-Changed-Why:
Fixed by moving the turning off of the kerninfo flag to where it
will be turned off again.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.