Date: Thu, 15 Jan 2009 03:12:45 +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: <200901150312.n0F3Ctjl056545@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
keramida 2009-01-15 03:12:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/iostat iostat.c Log: SVN rev 187265 on 2009-01-15 03:12:45Z by keramida MFC 175562 from /head 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.36.2.3 +71 -3 src/usr.sbin/iostat/iostat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901150312.n0F3Ctjl056545>