From owner-svn-src-all@FreeBSD.ORG Fri Apr 10 11:18:47 2015 Return-Path: Delivered-To: svn-src-all@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 E04017AC; Fri, 10 Apr 2015 11:18:47 +0000 (UTC) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E4EB3D6; Fri, 10 Apr 2015 11:18:47 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YgWxP-0003Bc-P1; Fri, 10 Apr 2015 14:18:43 +0300 Date: Fri, 10 Apr 2015 14:18:43 +0300 From: Slawa Olhovchenkov To: Gleb Smirnoff Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150410111843.GY8220@zxy.spb.ru> References: <20150409232711.GZ21982@hades.panopticon> <20150409234026.GH1394@zxy.spb.ru> <20150410000259.GA21982@hades.panopticon> <20150410070845.GU8220@zxy.spb.ru> <20150410073230.GE99375@FreeBSD.org> <20150410092942.GF99375@FreeBSD.org> <7D18BE54-E0D3-42D6-A00F-1CF7DE435DD8@freebsd.org> <20150410102204.GH99375@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20150410102204.GH99375@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , Stanislav Sedov , Dmitry Marakasov , "svn-src-head@freebsd.org" , Garrett Cooper X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 11:18:48 -0000 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.