top: 'other filters' saved with config file, documents

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2018-06-17 00:00:00 -05:00 committed by Craig Small
parent a6f86732f2
commit 06d4d985a6
2 changed files with 7 additions and 4 deletions

1
NEWS
View File

@ -2,6 +2,7 @@ procps-ng-NEXT
---------------- ----------------
* docs: Use correct symbols for -h option in free.1 Debian #898774 * docs: Use correct symbols for -h option in free.1 Debian #898774
* top: can now exploit 256-color terminals issue #96 * top: can now exploit 256-color terminals issue #96
* top: preserves 'other filters' in configuration file issue #99
procps-ng-3.3.15 procps-ng-3.3.15
---------------- ----------------

View File

@ -1973,8 +1973,10 @@ Such highlighting will be restored when a window's search string is empty.
.\" ...................................................................... .\" ......................................................................
.SS 5e. FILTERING in a Window .SS 5e. FILTERING in a Window
.\" ---------------------------------------------------------------------- .\" ----------------------------------------------------------------------
You can use this Other Filter feature to establish selection criteria which You can use this `Other Filter' feature to establish selection criteria which
will then determine which tasks are shown in the \*(CW. will then determine which tasks are shown in the \*(CW.
Such filters can be made presistent if preserved in the rcfile via
the 'W' \*(CI.
Establishing a filter requires: 1) a field name; 2) an operator; and Establishing a filter requires: 1) a field name; 2) an operator; and
3) a selection value, as a minimum. 3) a selection value, as a minimum.
@ -2172,9 +2174,9 @@ While not intended to be edited manually, here is the general layout:
window # line b: winflags,sortindx,maxtasks,graph modes window # line b: winflags,sortindx,maxtasks,graph modes
" # line c: summclr,msgsclr,headclr,taskclr " # line c: summclr,msgsclr,headclr,taskclr
global # line 15: additional miscellaneous settings global # line 15: additional miscellaneous settings
" # any remaining lines are devoted to the " # any remaining lines are devoted to optional
" # generalized inspect provisions " # active 'other filters' discussed in section 5e above
" # discussed below " # plus 'inspect' entries discussed in section 6b below
.fi .fi
If a valid absolute path to the rcfile cannot be established, customizations If a valid absolute path to the rcfile cannot be established, customizations