login.conf --> UTF-8
Benjamin Lee
ben at b1c1l1.com
Wed Apr 2 19:13:24 UTC 2014
On Wed, 02 Apr 2014 09:53:49 -0700, Sean Bruno <sbruno at ignoranthack.me> wrote:
> I'd like to make this change to login.conf for default installs.
>
> This removes some amount of hackery in the ports system that is working
> around our lack of UTF-8 in the base.
>
> This should be step 0 in a language agnostic installer project that is
> beyond the scope of making the system more useable.
>
>
> --- login.conf 2013-10-21 15:51:14.553992170 -0700
> +++ /etc/login.conf 2014-03-31 09:26:17.588503798 -0700
> @@ -45,7 +45,9 @@
> :kqueues=unlimited:\
> :priority=0:\
> :ignoretime@:\
> - :umask=022:
> + :umask=022:\
> + :lang=en_US.UTF-8:\
> + :charset=UTF-8:
>
>
> #
Changing the default LC_COLLATE is risky, how about keeping LC_COLLATE=C
by default?
--- /usr/src/etc/login.conf 2013-09-30 19:04:24.000000000 +0000
+++ /etc/login.conf 2013-09-30 19:02:22.000000000 +0000
@@ -26,7 +26,7 @@
:passwd_format=sha512:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
- :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
+ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,LC_COLLATE=C:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\
:nologin=/var/run/nologin:\
:cputime=unlimited:\
@@ -44,7 +44,9 @@
:pseudoterminals=unlimited:\
:priority=0:\
:ignoretime@:\
- :umask=022:
+ :umask=022:\
+ :charset=UTF-8:\
+ :lang=en_US.UTF-8:
#
--
Benjamin Lee
http://www.b1c1l1.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140402/78facc07/attachment.sig>
More information about the freebsd-current
mailing list