top: add the ability to suppress zeros in most columns
With the increased width and precision of memory and % columns, the proliferation of 0's when there's nothing to report seems like a distraction versus useful data. This commit introduces the '0' toggle which can either display or suppress those zeros. And, like the scaling states this new state is also preserved in the rcfile. (now that we know a '.' + 2 spaces is squeezed to one) (everything's perfectly justified, but it's just luck) Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -836,7 +836,7 @@ depending on the context in which they are issued.
|
||||
|
||||
.Bd -literal
|
||||
4a.\fI Global-Commands \fR
|
||||
<Ent/Sp> ?, =,
|
||||
<Ent/Sp> ?, =, 0,
|
||||
A, B, d, E, g, h, H, I, k, q, r, s, W, X, Y, Z
|
||||
4b.\fI Summary-Area-Commands \fR
|
||||
C, l, t, 1, m
|
||||
@@ -900,6 +900,12 @@ vertical and horizontal scrolling.
|
||||
|
||||
When operating in \*(AM this command has a broader meaning.
|
||||
|
||||
.TP 7
|
||||
\ \ \'\fB0\fR\' :\fIZero-Suppress\fR toggle \fR
|
||||
This command determines whether zeros are shown or suppressed for many
|
||||
of the fields in a \*(TW.
|
||||
Fields like UID, GID, NI, PR or P are not affected by this toggle.
|
||||
|
||||
.TP 7
|
||||
\ \ \'\fBA\fR\' :\fIAlternate-Display-Mode\fR toggle \fR
|
||||
This command will switch between \*(FM and \*(AM.
|
||||
|
Reference in New Issue
Block a user