From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 19:13:24 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0872BEEC; Wed, 2 Apr 2014 19:13:24 +0000 (UTC) Received: from lancer.b1c1l1.com (lancer.b1c1l1.com [72.13.86.100]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBFF5E10; Wed, 2 Apr 2014 19:13:23 +0000 (UTC) Received: by lancer.b1c1l1.com (Postfix) with ESMTPSA id 989BA1745FC; Wed, 2 Apr 2014 12:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=b1c1l1.com; s=default; t=1396465973; bh=IhSxr7uiKRUiiyKguuCF8A51v97s/j50lwH9d6TGlcA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=cPlyLrDJtZMjzt8jNNw2nLA+TG6OuocC8OgtuVocbo1pTK4ouGgkzOIoO/8PI6IqO KZ8KTuw7ZNNUb7F3/xrqDtEECF7lN35+519WHvVCmuujim1bd0STMWq7mx8yTYyU6H 4V+T+8AXcRcEGM4s97qNW3HQ4yPhxhMSFq6lgayA= Date: Wed, 2 Apr 2014 12:12:48 -0700 From: Benjamin Lee To: sbruno@freebsd.org Subject: Re: login.conf --> UTF-8 Message-ID: <20140402121248.5c3d02f0@b1c1l1.com> In-Reply-To: <1396457629.2280.2.camel@powernoodle.corp.yahoo.com> References: <1396457629.2280.2.camel@powernoodle.corp.yahoo.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/mhL+QFBCW1tEKPuDGb1=Bx8"; protocol="application/pgp-signature" Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 19:13:24 -0000 --Sig_/mhL+QFBCW1tEKPuDGb1=Bx8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 02 Apr 2014 09:53:49 -0700, Sean Bruno wro= te: > I'd like to make this change to login.conf for default installs. >=20 > This removes some amount of hackery in the ports system that is working > around our lack of UTF-8 in the base. >=20 > This should be step 0 in a language agnostic installer project that is > beyond the scope of making the system more useable. >=20 >=20 > --- 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=3Dunlimited:\ > :priority=3D0:\ > :ignoretime@:\ > - :umask=3D022: > + :umask=3D022:\ > + :lang=3Den_US.UTF-8:\ > + :charset=3DUTF-8: > =20 > =20 > # Changing the default LC_COLLATE is risky, how about keeping LC_COLLATE=3DC 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=3Dsha512:\ :copyright=3D/etc/COPYRIGHT:\ :welcome=3D/etc/motd:\ - :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK:\ + :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK,LC_COLLATE=3DC:\ :path=3D/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /u= sr/local/bin ~/bin:\ :nologin=3D/var/run/nologin:\ = =20 :cputime=3Dunlimited:\ = =20 @@ -44,7 +44,9 @@ = =20 :pseudoterminals=3Dunlimited:\ = =20 :priority=3D0:\ = =20 :ignoretime@:\ - :umask=3D022: + :umask=3D022:\ + :charset=3DUTF-8:\ + :lang=3Den_US.UTF-8: =20 =20 # --=20 Benjamin Lee http://www.b1c1l1.com/ --Sig_/mhL+QFBCW1tEKPuDGb1=Bx8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTPGE0AAoJEIdV4+NBZRmFMOcP/RStZjoY/YOAPqkbIo2ceOrV wB42MCMLJ2EE1WGMu6+XZ3O2YnI58PxSu+upo273MulhXG+hLxdLD9I3IGDq/b6s Mtu2+B4EK8yumhb/Ogh4mFEXk2s75bU04VqkKKRjRrMoFWfM+g1WZJoD7mPT6Zhp NqgyZUkmX04OSydKVvsncGJO9z7KIMEOQaWfoEqw4TLQ/jCImrBc50/ie6ZNPrAI maR8Axrqpe2vDz9VMI4q+/ih8OdOsOkxjnPVi4kfzUwxs3KwDAxeXi6RzsU137cc YY4d2ro8KMQHEb43GlBPvbGibPOo+R2QXqjIYi52uTjL5b8KMSe06jTYLAy34Dzo BSJMriL96qROV8ta8IWdEWCs6MrQpo9Vn0csCKBywnfToqxKFESdSHNcoB/K3smW B1KcBqUp4+TmDYD6CnZhG4PKn2Zi29YbhQWC9uaZqAol3/BfdIoUx16CFqR6qINf rnUT4ZMXO/BSnwXLdS6j78N1Tus74OVKdppq5JqtDgg0RHf7JCYylE/O1WCK5EeD +YLV+WAAbPuoAoQpwtblo+KGTZhJSvTUlGtHqZoLp0Ae2OQ8FWtKxdNf/CCcCEEi wqF5CIFn0AeCafWPLSzjuVAHWc9e+JlNg64ltlnttIP8rrWa604j15w/uE7TCqeU o69LChYy+FxLQ4gvwOl7 =9vf4 -----END PGP SIGNATURE----- --Sig_/mhL+QFBCW1tEKPuDGb1=Bx8--