Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 02:20:05 -0700 (PDT)
From:      Aragon Gouveia <aragon@phat.za.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/41674: iostat column formatting overlaps
Message-ID:  <200208150920.g7F9K5iT080396@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/41674; it has been noted by GNATS.

From: Aragon Gouveia <aragon@phat.za.net>
To: Bruce Evans <bde@zeta.org.au>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/41674: iostat column formatting overlaps
Date: Thu, 15 Aug 2002 11:17:06 +0200

 | By Bruce Evans <bde@zeta.org.au>
 |                                          [ 2002-08-15 10:37 +0200 ]
 > This makes it a nightmare to read on 80-column terminals.  The number of
 > devices shown by default would have to be reduced from 3 to only 2 to
 > reduce the line length to less than 80 columns again.
 > 
 > Printing more precision might confuse parsers that expect plain integers,
 > especially if they know that the integers are formatted in 3 characters,
 > as they probably have to do to parse the run together digits.
 
 Ok understandable. I think the column spacing should atleast be increased a
 notch to accomodate "100" without overlapping with a value next to it.
 
 I didn't intend to include the precision change in my diff - that kinda
 slipped in by accident because I use it. I don't think it's necessary
 either, but would be a nice option to enable on the command line.
 
 Will %4.0f still be too big for 80 column terms?
 
 
 Thanks,
 Aragon

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208150920.g7F9K5iT080396>