Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 1996 15:37:23 -0700 (PDT)
From:      Faried Nawaz <fn@LISP-READER.csrv.uidaho.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1425: systat -netstat fix.
Message-ID:  <199607242237.PAA00723@LISP-READER.csrv.uidaho.edu>
Resent-Message-ID: <199607242240.PAA21968@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1425
>Category:       bin
>Synopsis:       doing :numbers on systat -netstat doesn't repaint cleanly.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 24 15:40:01 PDT 1996
>Last-Modified:
>Originator:     faried nawaz
>Organization:
Hungry Programmers, Inc.
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

2.2-current & what was -stable.

>Description:

the switch from resolved addresses/services to numbers is not done in a clean
manner.

>How-To-Repeat:

(helps to view this on a busy machine)

do

systat -netstat

let it run for a few secs, then type

:numbers

and notice how the display still has letters on it where it should have
blank spaces.

>Fix:
	

*** usr.bin/systat/netstat.c~	Wed Jul 24 15:12:35 1996
--- usr.bin/systat/netstat.c	Wed Jul 24 15:24:27 1996
***************
*** 450,455 ****
--- 450,457 ----
  			p->ni_flags |= NIF_LACHG|NIF_FACHG;
  		}
  		nflag = new;
+ 		wclear(wnd);
+ 		labelnetstat();
  		goto redisplay;
  	}
  	if (!netcmd(cmd, args))



faried.
--
faried nawaz               WAR IS PEACE FREEDOM IS SLAVERY BACKSPACE IS DELETE
box 3582, moscow, id 83843-1914, usa         linux, the ms-dos of the nineties
PIGLET loves you       if at first you don't succeed, skydiving is not for you
just a system janitor.                              People's Front Against WWW
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607242237.PAA00723>