From owner-freebsd-hackers Thu Feb 5 16:33:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08230 for hackers-outgoing; Thu, 5 Feb 1998 16:33:37 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08221 for ; Thu, 5 Feb 1998 16:33:35 -0800 (PST) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id RAA06500; Thu, 5 Feb 1998 17:27:40 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp01.primenet.com, id smtpd006472; Thu Feb 5 17:27:33 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id RAA28890; Thu, 5 Feb 1998 17:27:30 -0700 (MST) From: Terry Lambert Message-Id: <199802060027.RAA28890@usr09.primenet.com> Subject: Re: character-set information for terminals. To: jbryant@unix.tfs.net Date: Fri, 6 Feb 1998 00:27:29 +0000 (GMT) Cc: j_mini@efn.org, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199802052208.QAA03396@unix.tfs.net> from "Jim Bryant" at Feb 5, 98 04:08:53 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" > 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. Use "ti=" and "te=", and force tset in the global login. Alternately, initialize the device by overloading the "im" banner when the login is displayed by getty. If you are going to define an environment that depends on hardware settings, then you should force the hardware settings as well. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.