Date: Thu, 15 Jan 2009 04:49:40 +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: <200901150449.n0F4nsGc075243@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901150449.n0F4nsGc075243>
