]> granicus.if.org Git - procps-ng/commit
top: by default, show cmd line vs. cmd name at startup
authorJim Warner <james.warner@comcast.net>
Sat, 11 Mar 2017 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 16 Mar 2017 10:59:53 +0000 (21:59 +1100)
commitfc5f5a93ba386af1e5ae2d28f4638e4e2830a474
tree2749aaac740417619ce33fed87365f8745df001b
parent89db82d143d005dcc0b8af1bc1f3b1204c88730a
top: by default, show cmd line vs. cmd name at startup

All of top's display was designed to fit into an 80x24
terminal. This includes the help screens plus both the
Summary and Task Areas, assuming no saved config file.

With release 3.3.10, the startup defaults were changed
assuming ./configure --disable-modern-top wasn't used.
This was done in the hope of introducing some users to
unknown capabilities such as colors, forest view, etc.

The purpose of this commit is to coax a few more users
into possibly exploring another capability: scrolling.
We do so by tweaking the default startup display so as
to show full command lines. Now, when things no longer
fit in 80x24, horizontal scrolling might be exploited.

[ of course, this can be reversed with the -c switch ]

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