From owner-freebsd-current Sun Dec 22 22:24:45 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA20575 for current-outgoing; Sun, 22 Dec 1996 22:24:45 -0800 (PST) Received: from sdev.usn.blaze.net.au (sdev.usn.blaze.net.au [203.17.53.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id WAA20562 for ; Sun, 22 Dec 1996 22:24:24 -0800 (PST) Received: from localhost (davidn@localhost) by sdev.usn.blaze.net.au (8.8.4/8.6.9) with SMTP id RAA24574; Mon, 23 Dec 1996 17:19:40 +1100 (EST) Date: Mon, 23 Dec 1996 17:19:39 +1100 (EST) From: David Nugent Reply-To: davidn@blaze.net.au To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7=2C_Andrey_Chernov?= cc: freebsd-current@freebsd.org Subject: Re: Confused about locale In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by freefall.freebsd.org id WAA20569 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 23 Dec 1996, [KOI8-R] Андрей Чернов, Andrey Chernov wrote: >> > I dislike idea of "system default" locale, I like idea of "user >> > default" locale instead! >> >> Ok. There will be a way of achieving this shortly via login.conf. > >Not so quick, it will be nice if user can change his preferences >easily. The user can, by overriding the standard environment variables in his or her .login or .profile, just as they do now. The only thing the lang= and charset= entries in the login class affects are the defaults set by login in the user's environment. Editing startup files is no more difficult than running, say, chpass et al. >> The last part is more difficult. But the field is already there >> in "class". > >What is difficult here? As man says "class" is pointer to termcap-style >attributes. Do you mean that they must be unchangeable by user? Not at all. Only that "class" is a pointer to /many/ parameters that (1) set administrative restrictions and (2) sets up the *default* login environment for a set of users. For a shell account, most of the environment setup remains changeable, just as it is now. Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freefall.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/