From owner-cvs-src-old@FreeBSD.ORG Thu Jan 15 04:49:54 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA977106573E for ; Thu, 15 Jan 2009 04:49:54 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6859E8FC0A for ; Thu, 15 Jan 2009 04:49:54 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0F4nsHD075244 for ; Thu, 15 Jan 2009 04:49:54 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0F4nsGc075243 for cvs-src-old@freebsd.org; Thu, 15 Jan 2009 04:49:54 GMT (envelope-from keramida@repoman.freebsd.org) Message-Id: <200901150449.n0F4nsGc075243@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to keramida@repoman.freebsd.org using -f From: Giorgos Keramidas Date: Thu, 15 Jan 2009 04:49:40 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_6 Subject: cvs commit: src/usr.bin/vmstat vmstat.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 04:49:55 -0000 keramida 2009-01-15 04:49:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/vmstat vmstat.c Log: SVN rev 187283 on 2009-01-15 04:49:40Z by keramida MFC 184645 from /head Repeat vmstat header after window.rows instead of a hardcoded 20. Use ioctl() to get the window size in vmstat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to the current lines of the terminal when the terminal is resized, so that the full terminal length can be used for output lines. Revision Changes Path 1.86.2.8 +69 -9 src/usr.bin/vmstat/vmstat.c