]> granicus.if.org Git - procps-ng/commit
top: kill/nice provide for a default pid
authorJim Warner <james.warner@comcast.net>
Sun, 25 Nov 2012 05:00:03 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Tue, 27 Nov 2012 11:08:01 +0000 (22:08 +1100)
commit39f4067c66141921a9ca2a5170df1fa2151f3182
treef28b376b5c978dd985383af671532534f57b9f2d
parent4dfb01aa370c7a545dbdd86aa80eff8c1fe218b3
top: kill/nice provide for a default pid

As an aid to the above 2 commands, and as a prelude to
an upcoming 'inspect other output' capability, the act
of selecting a process for either has been simplified.

Positioning a task as the first one displayed, via the
up/down arrow keys, will now establish it as a default
selection for the appropriate command.  Thus, that pid
will then be incorporated in a subsequent input prompt.

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