procps/ps
Jim Warner 9ea0021070 ps: don't use '+' truncation indicator with multi-byte
The ps program generally supports multi-byte sequences
in strings representing user and group names. However,
should a multi-byte sequence span the maximum width of
a column, the '+' inserted by ps to signify truncation
will corrupt that sequence, misaligning the text line.

Unfortunately, there's insufficient info returned from
the escape_str function (who calls escape_str_utf8) to
provide a robust response. So, this commit will revert
to the old standby of displaying a number when the '+'
character would've corrupted that multi-byte sequence.

Signed-off-by: Jim Warner <james.warner@comcast.net>
2017-10-02 22:23:13 +11:00
..
common.h
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c related: fix inconsistencies in result type references 2016-08-07 21:40:48 +10:00
global.c ps: have now added the NUMA node field display support 2017-05-22 21:38:10 +10:00
HACKING
help.c
output.c ps: don't use '+' truncation indicator with multi-byte 2017-10-02 22:23:13 +11:00
parser.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:38:10 +10:00
ps.1
regression
select.c ps: exploit those new <pids> task/threads capabilities 2015-10-05 21:52:08 +11:00
sortformat.c related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
stacktrace.c