From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 19:46:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C496094F for ; Fri, 14 Jun 2013 19:46:14 +0000 (UTC) (envelope-from me@staticsafe.ca) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBE315E0 for ; Fri, 14 Jun 2013 19:46:14 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by uriel.asininetech.com (Postfix) with ESMTP id D4165E0AAB; Fri, 14 Jun 2013 15:46:06 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com D4165E0AAB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1371239166; bh=MbeQNPWqSpvdoiVBZ5hJ097FAe+riVg27CH3W6hVigA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=S7Yo6khr/YLyWwvfBH4CtY7WngpLSqj6nij7T9PFEWF6RN75+eoLblXL6US01LbGK bPKtzo7PZ3Tw6sQMOFTlonxYatY5KtEgtPbLQeWdaVMyzsW63WfvGaO8/6ygsAk1yK 1adHjLgmolel9DSf6H743j6Z+W6jwhgf7vW6YyW4= Received: from uriel.asininetech.com ([127.0.0.1]) by localhost (uriel.asininetech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id josODWIya7ny; Fri, 14 Jun 2013 15:46:06 -0400 (EDT) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uriel.asininetech.com (Postfix) with ESMTPSA id 4F7CCE0869; Fri, 14 Jun 2013 15:46:06 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 4F7CCE0869 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1371239166; bh=MbeQNPWqSpvdoiVBZ5hJ097FAe+riVg27CH3W6hVigA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=S7Yo6khr/YLyWwvfBH4CtY7WngpLSqj6nij7T9PFEWF6RN75+eoLblXL6US01LbGK bPKtzo7PZ3Tw6sQMOFTlonxYatY5KtEgtPbLQeWdaVMyzsW63WfvGaO8/6ygsAk1yK 1adHjLgmolel9DSf6H743j6Z+W6jwhgf7vW6YyW4= Date: Fri, 14 Jun 2013 15:46:04 -0400 From: staticsafe To: "Mike." Subject: Re: Setting a lcoale globally Message-ID: <20130614194604.GA27434@uriel.asininetech.com> References: <201306141213340281.009F8EE9@smtp.24cl.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201306141213340281.009F8EE9@smtp.24cl.home> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 19:46:14 -0000 On Fri, Jun 14, 2013 at 12:13:34PM -0400, Mike. wrote: > > > I would like to set the locale of my 9.1 server to > > LANG="en_US.ISO8859-1" > > > globally, i.e., put the locale entry in one file, and then have the > locale propagate as I go into other shells and run various scripts. > > > I have spent some quality time with google, and the best I have been > about to ascertain is that I need to sprinkle the LANG setting > throughout the various ENV variables and .profile, .cshrc, .bashrc, and > whatever files spread across my directory tree. > > > That really seems counter-intuitive to me. > > > Is it at all possible for me to specify in once place *somewhere" that > the entire server is to use the locale setting LANG="en_US.ISO8859-1" ? > > I need a clue... > > > thanks. > > 24.3.3.1.1. Login Classes Method "This method allows environment variables needed for locale name and MIME character sets to be assigned once for every possible shell instead of adding specific shell assignments to each shell's startup file. User Level Setup can be performed by each user while Administrator Level Setup requires superuser privileges." Source: http://www.freebsd.org/doc/en/books/handbook/using-localization.html#login-class -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post. Please don't CC! I'm subscribed to whatever list I just posted on.