35cd340002daea1ffb224940738797fd3c2b5d8a
The recent introduction of a column widths override (the 'X' command) provided for a user input amount to be added to default field size which ranged from 5 to 10 bytes. While that approach could prevent truncated data, the different default sizes would almost certainly mean some precious screen real estate was waisted. This commit introduces the concept of dynamic widths where top will add only enough to a field default to prevent truncation for that specific field. Now users have a choice between their explicit width override or a width chosen by top to exactly match display needs. The former is immediate but likely wastes some horizontal space while the latter is iterative but will be sized precisely. Original 'X' Command: commit384afa494acommit47e1d063acExtensions to 'X' Command: commitbbf8e44fb4commit7557f3f754Signed-off-by: Jim Warner <james.warner@comcast.net>
COMPATIBILITY
This code is intended for use with Linux 2.6.xx, 3.x and
hopefully all future kernels.
INSTALLATION
If you are using git version of the project you need extra step.
./autogen.sh
After that, and everyone using .tar.xz version of procps-ng, can
do normal build. Read './configure --help' to select options for
your needs.
./configure
make
make install
If you have DejaGNU installed you can run optional test suite.
make check
HOW TO CONTRIBUTE
See Documentation/BUGS file.
PACKAGING
If you are a downstream maintainer (packager) for a Linux
distribution, please avoid causing troubles. This section
applies to you.
Avoid maintaining distribution specific patches. Send your
patches to upstream, where they are at least reviewed, if not
included.
Please forward bug reports. If your bug database is public and
busy enough to bother with, please make this known. Follow
Debian's lead in making the bug database easy to comment on via
email without need for an account.
For normal packages, ensure that you do not add debugging flags
to the CFLAGS variable.
UPSTREAM & BUG REPORTS
procps-ng <procps@freelists.org>
Description
Command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by Linux to provide information about the status of entries in its process table.
Languages
C
97.2%
Makefile
1%
Shell
0.9%
M4
0.9%