From owner-svn-src-head@FreeBSD.ORG Fri Apr 10 12:36:42 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1E7C264; Fri, 10 Apr 2015 12:36:42 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (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 86389F23; Fri, 10 Apr 2015 12:36:42 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 108C2B913; Fri, 10 Apr 2015 08:36:41 -0400 (EDT) From: John Baldwin To: Gleb Smirnoff Subject: Re: svn commit: r281129 - head/etc Date: Fri, 10 Apr 2015 08:35:43 -0400 Message-ID: <1544429.J8I1RP3MKP@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: <20150410102204.GH99375@FreeBSD.org> References: <20150409220442.GQ8220@zxy.spb.ru> <7D18BE54-E0D3-42D6-A00F-1CF7DE435DD8@freebsd.org> <20150410102204.GH99375@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 10 Apr 2015 08:36:41 -0400 (EDT) Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , Stanislav Sedov , Dmitry Marakasov , Slawa Olhovchenkov , "svn-src-head@freebsd.org" , Garrett Cooper X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 12:36:42 -0000 On Friday, April 10, 2015 01:22:04 PM Gleb Smirnoff wrote: > On Fri, Apr 10, 2015 at 03:02:54AM -0700, Stanislav Sedov wrote: > S> If we add a new, =E2=80=98russian_utf8' login class: > S> * New and existing users created without login class are unaffecte= d; > S> * New users created with the =E2=80=98russian=E2=80=99 class expli= citly > S> set will have KOI-8 encoding enabled; > S> * New users created with the =E2=80=98russian_utf8=E2=80=99 class = explicitly > S> set will have UTF-8 encoding enabled; > S> * Existing russian UTF8 users are unaffected > S> * Existing KOI8-R users are unaffected > S> * Login classes for both UTF8 and KOI8-R are available > S>=20 > S> Am I missing something?=20 >=20 > What if I am 15 year old newbie, who doesn't know all the drama > around 8-bit era. And I read on the Internet, that FreeBSD is > superior to Ubuntu. So I decided to try FreeBSD. What login > class would I choose: russian or russian_utf8? The latter > is something I don't know about, so I will choose the former. >=20 > Also, if we speak about existing installations. Those have > /etc/adduser.conf saved. And new users would be prompted > to be created with 'russian' class, since previous were. > So new users would be created with KOI8-R til end of life > of the box. Eh, that's just a matter of documentation. Just add a comment in /etc/login.conf that "russian_utf8" is the preferred login class, but that "russian" uses something else for legacy reasons. Any user using a non-default login class is already looking at this file anyway. --=20 John Baldwin