From 2f6d03e2dc1957c12b9f4772bc7f7c4eb921786c Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 12 Oct 1995 23:54:35 +0000 Subject: Document ENABLE_STARTUP_LOCALE env. variable --- share/man/man7/environ.7 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7 index 1d50eb4..0686ab0 100644 --- a/share/man/man7/environ.7 +++ b/share/man/man7/environ.7 @@ -47,7 +47,7 @@ is made available by when a process begins. By convention these strings have the form .Dq Ar name=value . The following names are used by various commands: -.Bl -tag -width BLOCKSIZE +.Bl -tag -width ENABLE_STARTUP_LOCALE .It Ev BLOCKSIZE The size of the block units used by several commands, most notably .Xr df 1 , @@ -60,6 +60,15 @@ in units of a kilobyte by specifying a number followed by ``K'' or or ``m'' and in units of a gigabyte by specifying a number followed by ``G'' or ``g''. Sizes less than 512 bytes or greater than a gigabyte are ignored. +.It Ev ENABLE_STARTUP_LOCALE +If this variable is set (value ignored), call +.Xr \%setlocale 3 +at program startup automatically (for 8-bits wide locales only), configuring +program by +.Ev LANG +variable or +.Ev LC_* +variables at very beginning. .It Ev EXINIT A startup list of commands read by .Xr ex 1 , @@ -169,6 +178,7 @@ unless you know what you are doing. .Xr sh 1 , .Xr execve 2 , .Xr execle 3 , +.Xr setlocale 3 , .Xr system 3 , .Xr termcap 3 , .Xr termcap 5 -- cgit v1.1