top: plug a rather big hole in the display fields dike
Whoa, guess what field got overlooked in that march to the newlib conversion? It was the TTY guy. However, it wasn't completely top's fault - that newlib must share at least some responsibility, for only offering a num. [ and while we're at it, let's touch up the man page ] [ to agree with ol' newlib's current implementation. ] Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -1527,7 +1527,7 @@ static struct {
|
||||
{ 5, -1, A_right, 0, 0, PROCPS_PIDS_ID_EGID }, // u_int EU_GID
|
||||
{ 8, -1, A_left, 0, 0, PROCPS_PIDS_ID_EGROUP }, // str EU_GRP
|
||||
{ 0, -1, A_right, 0, 0, PROCPS_PIDS_ID_PGRP }, // s_int EU_PGD
|
||||
{ 8, -1, A_left, 0, 0, PROCPS_PIDS_TTY }, // s_int EU_TTY
|
||||
{ 8, -1, A_left, 0, 0, PROCPS_PIDS_TTY_NAME }, // str EU_TTY
|
||||
{ 0, -1, A_right, 0, 0, PROCPS_PIDS_ID_TPGID }, // s_int EU_TPG
|
||||
{ 0, -1, A_right, 0, 0, PROCPS_PIDS_ID_SESSION }, // s_int EU_SID
|
||||
{ 3, -1, A_right, 0, 0, PROCPS_PIDS_PRIORITY }, // s_int EU_PRI
|
||||
@@ -5081,9 +5081,10 @@ static const char *task_show (const WIN_t *q, struct pids_stack *p) {
|
||||
cp = scale_tics(t, W, Jn);
|
||||
}
|
||||
break;
|
||||
/* str, make_str */
|
||||
/* str, make_str (all AUTOX yes) */
|
||||
case EU_GRP:
|
||||
case EU_LXC:
|
||||
case EU_TTY:
|
||||
case EU_UEN:
|
||||
case EU_URN:
|
||||
case EU_USN:
|
||||
|
||||
Reference in New Issue
Block a user