aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/portsnap
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2008-01-22 11:18:51 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2008-01-22 11:18:51 +0000
commit53fbcd3a781af43699dca615455a5ccc83c8f078 (patch)
tree3310323b710a5c961c1cc1fc3ed01debdaa1eca3 /usr.sbin/portsnap
parentd52a94aaf835e52144b4bff7b246fd1b7628758f (diff)
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. PR: bin/119705 Submitted by: keramida Approved by: maxim MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=175562
Diffstat (limited to 'usr.sbin/portsnap')
0 files changed, 0 insertions, 0 deletions