From sean@farley.org  Fri Jun  3 18:32:43 2005
Return-Path: <sean@farley.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F1B5A16A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  3 Jun 2005 18:32:43 +0000 (GMT)
	(envelope-from sean@farley.org)
Received: from mail.farley.org (farley.org [67.64.95.201])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9D57943D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  3 Jun 2005 18:32:43 +0000 (GMT)
	(envelope-from sean@farley.org)
Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5])
	by mail.farley.org (8.13.1/8.13.1) with ESMTP id j53IWg0D095187
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 3 Jun 2005 13:32:42 -0500 (CDT)
	(envelope-from sean@gw.farley.org)
Received: from thor.farley.org (localhost [127.0.0.1])
	by thor.farley.org (8.13.3/8.13.3) with ESMTP id j53IWg9B002937
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 3 Jun 2005 13:32:42 -0500 (CDT)
	(envelope-from sean@thor.farley.org)
Received: (from sean@localhost)
	by thor.farley.org (8.13.3/8.13.3/Submit) id j53IWgHo002936;
	Fri, 3 Jun 2005 13:32:42 -0500 (CDT)
	(envelope-from sean)
Message-Id: <200506031832.j53IWgHo002936@thor.farley.org>
Date: Fri, 3 Jun 2005 13:32:42 -0500 (CDT)
From: Sean Farley <sean-freebsd@farley.org>
Reply-To: Sean Farley <sean-freebsd@farley.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: TCP mode in systat overwrites load average
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         81874
>Category:       bin
>Synopsis:       [patch] TCP mode in systat overwrites load average
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    yar
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 03 18:40:01 GMT 2005
>Closed-Date:    Fri Jan 05 13:35:53 GMT 2007
>Last-Modified:  Fri Jan 05 13:35:53 GMT 2007
>Originator:     Sean Farley
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Fri Jun 3 08:54:24 CDT 2005 root@thor.farley.org:/usr/obj/usr/src/sys/THOR i386

>Description:
systat's TCP mode overwrites the load average displayed near the top of
an 80x25 screen.

>How-To-Repeat:
Run systat
Type :tcp<Enter>

>Fix:
I moved the load average to the top of the screen while moving the TCP
display lower (not too low as to overwrite the ':' prompt.

I made one patch[1] with white space changes and one patch[2] without
(to see the actual code changes).

1. http://www.farley.org/freebsd/tmp/systat/systat+style.diff
2. http://www.farley.org/freebsd/tmp/systat/systat.diff
>Release-Note:
>Audit-Trail:

From: Sean Farley <sean@farley.org>
To: bug-followup@FreeBSD.org, sean-freebsd@farley.org
Cc:  
Subject: Re: bin/81874: [patch] TCP mode in systat overwrites load average
Date: Fri, 24 Feb 2006 20:46:14 -0600 (CST)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 --0-614530080-1140835574=:35325
 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: QUOTED-PRINTABLE
 
 I have updated the patches to systat.  Patch 1[1] fixes the display as
 noted in the PR while patch 2[2] fixes the whitespace after applying
 patch 1.  They are against -CURRENT.
 
 Se=E1n
    1. http://www.farley.org/freebsd/tmp/PR/81874/systat-patch1.diff
    2. http://www.farley.org/freebsd/tmp/PR/81874/systat-patch2.diff
 --=20
 sean@farley.org
 --0-614530080-1140835574=:35325--
State-Changed-From-To: open->patched 
State-Changed-By: bde 
State-Changed-When: Sun Apr 30 04:55:30 UTC 2006 
State-Changed-Why:  
Committed to -current with a tiny change to the patch for systat.h. 

Left unclosed in case someone wants to MFC it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81874 
State-Changed-From-To: patched->closed 
State-Changed-By: yar 
State-Changed-When: Fri Jan 5 13:34:27 UTC 2007 
State-Changed-Why:  
This has just been MFC'd along with other fixes to systat(1).  Thanks! 


Responsible-Changed-From-To: freebsd-bugs->yar 
Responsible-Changed-By: yar 
Responsible-Changed-When: Fri Jan 5 13:34:27 UTC 2007 
Responsible-Changed-Why:  
This has just been MFC'd along with other fixes to systat(1).  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81874 
>Unformatted:
