From owner-freebsd-current@FreeBSD.ORG Mon May 12 18:57:36 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB38B10656B7 for ; Mon, 12 May 2008 18:57:36 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id A55AE8FC0A for ; Mon, 12 May 2008 18:57:36 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.2) with ESMTP id m4CIkY9q066516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 12 May 2008 13:46:34 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.2/Submit) id m4CIkY5s066514; Mon, 12 May 2008 13:46:34 -0500 (CDT) (envelope-from dan) Date: Mon, 12 May 2008 13:46:34 -0500 From: Dan Nelson To: Steve Kargl Message-ID: <20080512184633.GD67415@dan.emsphone.com> References: <20080512182113.GA82050@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080512182113.GA82050@troutmask.apl.washington.edu> X-OS: FreeBSD 7.0-STABLE User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: Ncurses or top(1) is broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 18:57:37 -0000 In the last episode (May 12), Steve Kargl said: > Script started on Mon May 12 12:00:30 2008 > mobile:kargl[201] setenv | grep TERM > TERM=xterm > mobile:kargl[202] stty -a | grep row > speed 38400 baud; 43 rows; 90 columns; > mobile:kargl[203] top 40 > top: warning: this terminal can only display 36 processes. > .... > last pid: 893; load averages: 0.02, 0.05, 0.06 up 0+00:28:41 12:00:59 > 24 processes: 3 running, 21 sleeping > CPU: % user, % nice, % system, % interrupt, % idle > Mem: 9880K Active, 7148K Inact, 22M Wired, 56K Cache, 29M Buf, 455M Free > Swap: 712M Total, 712M Free What's broken? The header in top is 7 lines (your paste omitted a blank line and the column headings for the process list), which means that a 43-line window can only display 36 processes. -- Dan Nelson dnelson@allantgroup.com