Date: Sun, 26 Jul 2015 00:10:08 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: dru@FreeBSD.org Cc: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: Re: svn commit: r47079 - head/en_US.ISO8859-1/books/handbook/l10n Message-ID: <20150726.001008.2297669767578435466.hrs@allbsd.org> In-Reply-To: <201507251415.t6PEFtXw061820@repo.freebsd.org> References: <201507251415.t6PEFtXw061820@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sun_Jul_26_00_10_08_2015_471)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dru Lavigne <dru@FreeBSD.org> wrote in <201507251415.t6PEFtXw061820@repo.freebsd.org>: 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 ----Security_Multipart(Sun_Jul_26_00_10_08_2015_471)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlWzptAACgkQTyzT2CeTzy0oIACg1Hs2JQGiMx139Brn6kPmoBRd zs0AoMVANqCjL5kx2FmonqqLVSGXlpNv =n4NJ -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jul_26_00_10_08_2015_471)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150726.001008.2297669767578435466.hrs>