From owner-freebsd-hackers Wed Feb 4 22:56:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23783 for hackers-outgoing; Wed, 4 Feb 1998 22:56:39 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23746; Wed, 4 Feb 1998 22:56:35 -0800 (PST) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id XAA11454; Wed, 4 Feb 1998 23:56:34 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp04.primenet.com, id smtpd011442; Wed Feb 4 23:56:33 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id XAA08654; Wed, 4 Feb 1998 23:56:29 -0700 (MST) From: Terry Lambert Message-Id: <199802050656.XAA08654@usr08.primenet.com> Subject: Re: character-set information for terminals. To: j_mini@efn.org Date: Thu, 5 Feb 1998 06:56:29 +0000 (GMT) Cc: tlambert@primenet.com, hackers@FreeBSD.ORG, questions@FreeBSD.ORG In-Reply-To: <19980204223655.54686@micron.mini.net> from "Jonathan Mini" at Feb 4, 98 10:36:55 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" > > It's in the user's environment with the "TERM" environment variable; > > it's the variable that start with "LC_" and "LOCALE"... 8-). > > Hmmm... hate to say it, Terry, but I can't find any systems with a LC_* > or LOCALE environment variable on it normally -- I could set one > explicitly, but this doesn't help me any for auto-detection. ``By default, C programs start in the "C" locale.'' >From "man setlocale"... 8-). ``A locale argument of NULL causes setlocale() to return the current locale.'' Also from "man setlocale"... 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.