keramida    2008-01-22 11:18:51 UTC

  FreeBSD src repository (doc committer)

  Modified files:
    usr.sbin/iostat      iostat.c 
  Log:
  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
  
  Revision  Changes    Path
  1.40      +71 -3     src/usr.sbin/iostat/iostat.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to