top: preserved those new '4' and '!' toggles in rcfile
authorJim Warner <james.warner@comcast.net>
Fri, 29 May 2020 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sun, 31 May 2020 11:59:57 +0000 (21:59 +1000)
commitf858e563b7e5013352a8c8316a90c702afd0e1a0
tree8be6276a32b088d1d7ecd4bd3d38ee1596f0f29c
parentad6917e3cf422dcc5bd5e5337da95037b4963a21
top: preserved those new '4' and '!' toggles in rcfile

This patch will address Craig's feedback regarding the
original implementation of top's two new toggles. It's
likely other users would have questioned why they were
not saved also, once they discover these new features.

And, since the minimum terminal width was just lowered
to 80 columns, the default for window #1 is also being
changed to show the individual cpu graphs two abreast.

[ assuming no '--disable-modern-top' for ./configure ]

Reference(s):
https://gitlab.com/procps-ng/procps/-/issues/172
https://www.freelists.org/post/procps/two-major-changes-to-top,1

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.1
top/top.c
top/top.h