Re: svn commit: r47079 - head/en_US.ISO8859-1/books/handbook/l10n

Hiroki Sato <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Dru Lavigne <[email protected]> wrote
  in <[email protected]>:

dr> Author: dru
dr> Date: Sat Jul 25 14:15:54 2015
dr> New Revision: 47079
dr> URL: https://svnweb.freebsd.org/changeset/doc/47079
dr>
dr> Log:
dr>   setenv syntax is comma-delimited. While here, fix another section's setenv example.
dr>
dr>   PR: 199178
dr>   Sponsored by: Essen DevSummit Hackathon
dr>
dr> Modified:
dr>   head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
dr>
dr> Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
dr> ==============================================================================
dr> --- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml	Sat Jul 25 13:55:28 2015	(r47078)
dr> +++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml	Sat Jul 25 14:15:54 2015	(r47079)
dr> @@ -258,13 +258,7 @@
dr>  #of Taiwan can manually change each variable
dr>  me:\
dr>  	:lang=zh_TW.Big5:\
dr> -	:setenv=LC_ALL=zh_TW.Big5:\
dr> -	:setenv=LC_COLLATE=zh_TW.Big5:\
dr> -	:setenv=LC_CTYPE=zh_TW.Big5:\
dr> -	:setenv=LC_MESSAGES=zh_TW.Big5:\
dr> -	:setenv=LC_MONETARY=zh_TW.Big5:\
dr> -	:setenv=LC_NUMERIC=zh_TW.Big5:\
dr> -	:setenv=LC_TIME=zh_TW.Big5:\
dr> +	:setenv=LC_ALL=zh_TW.Big5,LC_COLLATE=zh_TW.Big5,LC_CTYPE=zh_TW.Big5,LC_MESSAGES=zh_TW.Big5,LC_MONETARY=zh_TW.Big5,LC_NUMERIC=zh_TW.Big5,LC_TIME=zh_TW.Big5:\
dr>  	:charset=big5:\
dr>  	:xmodifiers="@im=gcin": #Set gcin as the XIM Input Server</programlisting>

 I am wondering why LC_ALL and the others are set at the same time.
 If lang= is specified, all of LC_* variables should be dropped.

dr> @@ -372,8 +366,7 @@ me:\
dr>  	    <filename>/etc/csh.login</filename>, or
dr>  	    <filename>/usr/share/skel/dot.login</filename>:</para>
dr>
dr> -	  <programlisting><envar>setenv LANG de_DE.ISO8859-1</envar>
dr> -<envar>setenv MM_CHARSET ISO-8859-1</envar></programlisting>
dr> +	  <programlisting><envar>setenv LANG de_DE.ISO8859-1,MM_CHARSET ISO-8859-1</envar></programlisting>
dr>

 The second part is wrong.  It is in a command line of csh(1) and does
 not use a comma-separation syntax.  Also, <envar> should be used
 around a variable, not whole of the command line.

-- Hiroki
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlWzptAACgkQTyzT2CeTzy0oIACg1Hs2JQGiMx139Brn6kPmoBRd
zs0AoMVANqCjL5kx2FmonqqLVSGXlpNv
=n4NJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.