Date: Thu, 15 Jan 2009 04:48:06 +0000 (UTC) From: Giorgos Keramidas <keramida@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/vmstat vmstat.c Message-ID: <200901150448.n0F4mNFf075135@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
keramida 2009-01-15 04:48:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/vmstat vmstat.c Log: SVN rev 187282 on 2009-01-15 04:48:06Z 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.98.2.3 +69 -9 src/usr.bin/vmstat/vmstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901150448.n0F4mNFf075135>