Date: Thu, 15 Jan 2009 03:46:14 +0000 (UTC) From: Giorgos Keramidas <keramida@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/iostat iostat.c Message-ID: <200901150346.n0F3kUiD059599@repoman.freebsd.org>
index | next in thread | raw e-mail
keramida 2009-01-15 03:46:14 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
usr.sbin/iostat iostat.c
Log:
SVN rev 187271 on 2009-01-15 03:46:14Z by keramida
MFC 175562
Repeat iostat header after rows-3 instead of a hardcoded 20.
Use ioctl() to get the window size in iostat(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 `rows - 3' when the terminal is resized, so that the
full terminal length can be used for output lines.
Revision Changes Path
1.28.12.6 +71 -3 src/usr.sbin/iostat/iostat.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901150346.n0F3kUiD059599>
