Date: Fri, 10 Apr 2015 14:18:43 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> 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>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com> Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150410111843.GY8220@zxy.spb.ru> In-Reply-To: <20150410102204.GH99375@FreeBSD.org> References: <20150409232711.GZ21982@hades.panopticon> <20150409234026.GH1394@zxy.spb.ru> <20150410000259.GA21982@hades.panopticon> <20150410070845.GU8220@zxy.spb.ru> <20150410073230.GE99375@FreeBSD.org> <CB87FA26-8C78-4A20-BC2C-6D3A9F0031E7@FreeBSD.org> <C7B81740-9763-491E-9DBC-ECB4D368B82F@freebsd.org> <20150410092942.GF99375@FreeBSD.org> <7D18BE54-E0D3-42D6-A00F-1CF7DE435DD8@freebsd.org> <20150410102204.GH99375@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 10, 2015 at 01:22:04PM +0300, Gleb Smirnoff wrote: > On Fri, Apr 10, 2015 at 03:02:54AM -0700, Stanislav Sedov wrote: > S> If we add a new, 'russian_utf8' login class: > S> * New and existing users created without login class are unaffected; > S> * New users created with the 'russian' class explicitly > S> set will have KOI-8 encoding enabled; > S> * New users created with the 'russian_utf8' 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> > S> Am I missing something? > > 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 === # adduser Username: xxx Full name: xxx Uid (Leave empty for default): Login group [xxx]: Login group is xxx. Invite xxx into other groups? []: Login class [default]: === How do you know about 'russian'? adduser don't give any hint about. > is something I don't know about, so I will choose the former. > 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. Are you think just changed koi8 to utf8 in login.conf is enough? You kidding. If we have saved /etc/adduser.conf -- we very likely have ton of scripts koi8 cacpable (and utf8 incapabile). I am try, I am know.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150410111843.GY8220>