From owner-freebsd-hackers Thu Feb 5 14:54:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16587 for hackers-outgoing; Thu, 5 Feb 1998 14:54:06 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from argus.tfs.net (as1-p152.tfs.net [139.146.210.152]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16539 for ; Thu, 5 Feb 1998 14:53:46 -0800 (PST) (envelope-from jbryant@unix.tfs.net) Received: (from jbryant@localhost) by unix.tfs.net (8.8.8/8.8.5) id QAA03396; Thu, 5 Feb 1998 16:08:54 -0600 (CST) From: Jim Bryant Message-Id: <199802052208.QAA03396@unix.tfs.net> Subject: Re: character-set information for terminals. In-Reply-To: <19980204231234.44363@micron.mini.net> from Jonathan Mini at "Feb 4, 98 11:12:34 pm" To: j_mini@efn.org Date: Thu, 5 Feb 1998 16:08:53 -0600 (CST) Cc: freebsd-hackers@FreeBSD.ORG Reply-to: jbryant@unix.tfs.net X-Windows: R00LZ!@# MS-Winbl0wz DR00LZ!@# X-files: The truth is that the X-Files is fiction X-Republican: The best kind!!! X-Operating-System: FreeBSD 3.0-CURRENT #0: Thu Jan 1 19:03:58 CST 1998 X-Mailer: ELM [version 2.4ME+ PL32 (25)] 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" In reply: > Jonathan Mini stands accused of saying: > > > > Also from "man setlocale"... 8-). > > > > BAH! I missed the reference to a man page. Please hand me a tiny pointy > > hat. > > Only problem is that the locale doesn't provide me with the information I > need. :( I've always seen this as implimentation dependant... You can never assume that a terminal is initialized to a known state, and thus you should be able to know everything your program does to initialize it. I can check my VT420 manual at home, but I don't think that you can obtain a terminal-independant way of doing what you want to do. jim -- All opinions expressed are mine, if you | "I will not be pushed, stamped, think otherwise, then go jump into turbid | briefed, debriefed, indexed, or radioactive waters and yell WAHOO !!! | numbered!" - #1, "The Prisoner" ------------------------------------------------------------------------------ Inet: jbryant@tfs.net AX.25: kc5vdj@wv0t.#neks.ks.usa.noam grid: EM28pw voice: KC5VDJ - 6 & 2 Meters AM/FM/SSB, 70cm FM. http://www.tfs.net/~jbryant ------------------------------------------------------------------------------ HF/6M/2M: IC-706-MkII, 2M: HTX-212, 2M: HTX-202, 70cm: HTX-404, Packet: KPC-3+