top: enable user filtering via inclusion and exclusion
With this commit top can now display users which match a user id/name or just those users which do not match. The distinction is based on the presence or absence of a leading exclamation point '!' (C negation operator). (everything is perfectly justified plus right margins) (are completely filled, but of course it must be luck) Reference(s): Wishlist, http://bugs.debian.org/682086 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -371,6 +371,7 @@ typedef struct WIN_t {
|
||||
varcolsz, // max length of variable width column(s)
|
||||
usrseluid, // validated uid for 'u/U' user selection
|
||||
usrseltyp, // the basis for matching above uid
|
||||
usrselflg, // flag denoting include/exclude matches
|
||||
hdrcaplen; // column header xtra caps len, if any
|
||||
char capclr_sum [CLRBUFSIZ], // terminfo strings built from
|
||||
capclr_msg [CLRBUFSIZ], // RCW_t colors (& rebuilt too),
|
||||
|
Reference in New Issue
Block a user