From owner-freebsd-rc@FreeBSD.ORG Mon Mar 5 22:44:08 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A89216A400 for ; Mon, 5 Mar 2007 22:44:08 +0000 (UTC) (envelope-from fbsdmail@dnswatch.com) Received: from fast.dnswatch.com (fast.dnswatch.com [216.177.243.43]) by mx1.freebsd.org (Postfix) with ESMTP id CB59113C4A3 for ; Mon, 5 Mar 2007 22:44:07 +0000 (UTC) (envelope-from fbsdmail@dnswatch.com) Received: from fast.dnswatch.com (localhost.dnswatch.com [127.0.0.1]) by fast.dnswatch.com (8.13.6/8.13.6) with ESMTP id l25M8UQR014352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Mar 2007 14:08:39 -0800 (PST) (envelope-from fbsdmail@dnswatch.com) Received: (from somebody@localhost) by fast.dnswatch.com (8.13.6/8.13.6/Submit) id l25M8T6E014351 for freebsd-rc@freebsd.org; Mon, 5 Mar 2007 14:08:29 -0800 (PST) (envelope-from fbsdmail@dnswatch.com) Received: from secure.1command.com (secure.1command.com [216.177.243.34]) by webmail.dnswatch.com (Horde MIME library) with HTTP; Mon, 05 Mar 2007 14:08:27 -0800 Message-ID: <20070305140827.i63kbnlq0w4s0cgk@webmail.dnswatch.com> X-Priority: 3 (Normal) Date: Mon, 05 Mar 2007 14:08:27 -0800 From: Chris To: freebsd-rc@freebsd.org References: <45B36737.6080208@FreeBSD.org> <45B3A899.2060207@FreeBSD.org> <45CBBE8A.4030901@FreeBSD.org> In-Reply-To: <45CBBE8A.4030901@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_1lx4feiw6h8g" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-5.5 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Service-specific default locales X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:44:08 -0000 This message is in MIME format. --=_1lx4feiw6h8g Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Florent Thoumie : > Florent Thoumie wrote: >> Florent Thoumie wrote: >>> Andrew Pantyukhin wrote: >>>> I need to run different services in different locales >>>> (basically LANG/LC_ALL changed). Before I look at how >>>> to implement it, is there any objection to >>>> _locale presetting the two variables to its >>>> value (and possibly some error-checking via locale(1)? >>>> >>>> As for a site-wide default, I currently have "export >>>> LANG=3Den_US.UTF-8" in my rc.conf. Should we introduce >>>> a general "locale" variable for this? >>> Makes sense to me. Have a look at *_nice variable for example. >> >> Thinking about it, maybe something like _env would be better >> (cause more generic). Of course you wouldn't be able to do error >> checking but I'm not sure it's so useful anyway. > > Any update on that, do you need help or something? Greetings, While I cannot speak for the original poster, I have a related problem; When I run a web based MAN query, MAN vomits the following to my web log: ctype locale: Invalid argument I've spent hours searching the mail archives, read the MAN pages, and searched Google/ Yahoo!. Yet no joy. I found a short bit in the mail archives. But the suggestions didn't seem to help. I don't recieve this error at the console while typing MAN , but that does not mean that MAN is not unhappy. Any and all suggestions /greatly/ appreciated. Thank you for all your time and consideration. --Chris > > -- > Florent Thoumie > flz@FreeBSD.org > FreeBSD Committer > > ---------------------------------------------------------------- H.R. Communications Internet messaging service. Please report any abuse of this system to postmaster, or better, abuse at the domain of the offending sender. --=_1lx4feiw6h8g--