From owner-cvs-src@FreeBSD.ORG Wed May 18 13:48:36 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8F7416A4CE; Wed, 18 May 2005 13:48:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70E6643DA5; Wed, 18 May 2005 13:48:36 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4IDmXIv036352; Wed, 18 May 2005 13:48:33 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4IDmXbf036351; Wed, 18 May 2005 13:48:33 GMT (envelope-from keramida) Message-Id: <200505181348.j4IDmXbf036351@repoman.freebsd.org> From: Giorgos Keramidas Date: Wed, 18 May 2005 13:48:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/top display.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 13:48:36 -0000 keramida 2005-05-18 13:48:33 UTC FreeBSD src repository (doc committer) Modified files: contrib/top display.c Log: Properly trim the header line too, to fix wrap-around problems that have been noticed by running top(1) in terminals that are too narrow (or on systems with usernames that were too long, pushing everything too far to the right). Note that this does *not* solve the wrap-around problem of the system statistics, which is an entirely different matter :-/ Tested on: i386, sparc64 (panther), amd64 (sledge) Approved by: davidxu (in principle) Revision Changes Path 1.8 +41 -1 src/contrib/top/display.c