From owner-freebsd-questions Wed Feb 4 22:37:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA17213 for questions-outgoing; Wed, 4 Feb 1998 22:37:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from d198-232.uoregon.edu (d198-232.uoregon.edu [128.223.198.232]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA17094; Wed, 4 Feb 1998 22:37:30 -0800 (PST) (envelope-from mini@d198-232.uoregon.edu) Received: (from mini@localhost) by d198-232.uoregon.edu (8.8.5/8.8.5) id WAA12919; Wed, 4 Feb 1998 22:36:56 -0800 (PST) Message-ID: <19980204223655.54686@micron.mini.net> Date: Wed, 4 Feb 1998 22:36:55 -0800 From: Jonathan Mini To: Terry Lambert Cc: j_mini@efn.org, hackers@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: character-set information for terminals. Reply-To: Jonathan Mini References: <19980204123632.41455@micron.mini.net> <199802050625.XAA07124@usr08.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199802050625.XAA07124@usr08.primenet.com>; from Terry Lambert on Thu, Feb 05, 1998 at 06:25:01AM +0000 X-files: The Truth is Out There Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" Terry Lambert stands accused of saying: > > Does anybody know how you determine what font/character-set a given TTY is > > using? AFAICT, it is contained in the termcap database, but on examination, > > I can't find any immediatly obvious way to determining this. > > 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. -- Jonathan Mini (j_mini@efn.org) "A child of five could understand this! Quick -- Fetch me a child of five."