Jim Warner 35cd340002 top: 'X' command offers auto option
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:
commit 384afa494a56d0460bc81576c18ae44978530de3
commit 47e1d063ac4256fd9c1b4efed5168d2c1670e065

Extensions to 'X' Command:
commit bbf8e44fb48e4aa4756cfa3b4405b27a791b8386
commit 7557f3f75463a720b1bd176e19afe3f9c590d5f6

Signed-off-by: Jim Warner <james.warner@comcast.net>
2012-10-11 21:13:13 +11:00
2012-08-29 16:47:51 +10:00
2012-10-11 21:13:13 +11:00
2012-05-29 22:20:36 +10:00
2012-04-16 12:55:53 +02:00
2012-04-16 12:55:53 +02:00
2012-08-29 16:47:51 +10:00
2012-08-29 16:47:51 +10:00
2012-09-27 22:08:04 +10:00
2012-09-27 22:08:04 +10:00
2012-04-16 12:55:53 +02:00
2012-06-14 22:33:49 +10:00
2012-04-16 12:55:53 +02:00
2012-10-02 21:56:38 +10:00
2012-04-16 12:55:53 +02:00
2012-05-07 09:01:10 +02:00
2012-04-16 12:55:53 +02:00
2012-04-16 12:55:53 +02:00
2012-04-16 12:55:53 +02:00
w.1
2012-05-29 22:20:36 +10:00
w.c
2012-06-20 22:19:14 +10:00
2012-04-16 12:55:53 +02:00

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.
Readme 15 MiB
Languages
C 97.2%
Makefile 1%
Shell 0.9%
M4 0.9%