diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-10-26 01:20:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-10-26 01:20:40 +0000 |
commit | 95c52781e55a228cd3807fa190c2d1441534753f (patch) | |
tree | 1e5dd9cf0d6555b83766a505e114c60dfa96fb2a /bin/ps | |
parent | 1773c53a96e0e2dcd6340961dec349f64ca7eb8e (diff) |
Document LC_CTYPE.
The lack of this entry was reported by Jan Stary <hans at stare dot cz>.
OK czarkoff@ jmc@
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/ps.1 | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 7be363ed889..cae817e4592 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ps.1,v 1.110 2016/10/19 18:34:05 schwarze Exp $ +.\" $OpenBSD: ps.1,v 1.111 2016/10/26 01:20:39 schwarze Exp $ .\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: October 19 2016 $ +.Dd $Mdocdate: October 26 2016 $ .Dt PS 1 .Os .Sh NAME @@ -537,7 +537,7 @@ Exit or stop status (valid only for stopped or zombie process). .Sh ENVIRONMENT The following environment variables affect the execution of .Nm : -.Bl -tag -width "COLUMNS" +.Bl -tag -width LC_CTYPE .It Ev COLUMNS If set to a positive integer, output is formatted to the given width in columns. @@ -551,6 +551,22 @@ and .Dv stdin are a terminal, 79 columns are used. +.It Ev LC_CTYPE +The character encoding +.Xr locale 1 . +It decides which byte sequences form characters, +which characters are printable, and what their display width is. +If unset or set to +.Qq C , +.Qq POSIX , +or an unsupported value, only printable ASCII characters are printed. +Tabs, newlines, non-printable ASCII characters, and non-ASCII bytes +are encoded with +.Xr vis 3 . +If UTF-8 output is enabled, valid characters that are not printable +are replaced with the Unicode replacement character U+FFFD. +These rules for example apply to command names, arguments, and +environments and to directory, user, and group names. .It Ev TZ The time zone to use when displaying dates. See |