Date: Fri, 10 Apr 2015 08:35:43 -0400 From: John Baldwin <jhb@freebsd.org> To: Gleb Smirnoff <glebius@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Stanislav Sedov <stas@freebsd.org>, Dmitry Marakasov <amdmi3@amdmi3.ru>, Slawa Olhovchenkov <slw@zxy.spb.ru>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com> Subject: Re: svn commit: r281129 - head/etc Message-ID: <1544429.J8I1RP3MKP@ralph.baldwin.cx> In-Reply-To: <20150410102204.GH99375@FreeBSD.org> References: <20150409220442.GQ8220@zxy.spb.ru> <7D18BE54-E0D3-42D6-A00F-1CF7DE435DD8@freebsd.org> <20150410102204.GH99375@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1544429.J8I1RP3MKP>