From owner-freebsd-hackers Mon Jun 15 12:14:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08665 for freebsd-hackers-outgoing; Mon, 15 Jun 1998 12:14:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ntu-kpi.kiev.ua (vovik@ntu-kpi.kiev.ua [195.178.136.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08538 for ; Mon, 15 Jun 1998 12:13:12 -0700 (PDT) (envelope-from vovik@ntu-kpi.kiev.ua) Received: (from vovik@localhost) by ntu-kpi.kiev.ua (8.8.8/8.7.3) id WAA15052; Mon, 15 Jun 1998 22:11:37 +0300 (EEST) Message-ID: <19980615221137.03151@NTU-KPI.Kiev.UA> Date: Mon, 15 Jun 1998 22:11:37 +0300 From: "Vladimir A. Jakovenko" To: Terry Lambert Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: getty issue file References: <19980612230931.49179@NTU-KPI.Kiev.UA> <199806122157.OAA20184@usr01.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199806122157.OAA20184@usr01.primenet.com>; from Terry Lambert on Fri, Jun 12, 1998 at 09:57:36PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 12, 1998 at 09:57:36PM +0000, Terry Lambert wrote: > > Generally, I need to load russian fonts into DEC VT420/DEC VT240 > > terminals. After looking at gettytab(5) I found the easiest way > > -- use the "if" (issue file) tag, because getty cat it to terminal > > when terminal comming up. > > We used to download and select sixel fonts on vt220, vt320, and vt420 > hardware. > > We used the "rf" (reset file) or "if" (initialization file) attributes > to specify a file with a sixel font image, complete with escape > sequences, to send to the terminal. > > Then we used the standard "reset" variant of "tset" to get the font > out there: > > eval `reset -s vt320-russian` > > (for example). > > If you insist on using getty to do the work (a bad idea, since it makes > the terminal russian instead of the login account), as long as you didn't > run more than 512 characters between newlines, it's not an problem. Damn ... In my situation making a terminal to speak russian in getty is a good idea because I need russian motd banner message for librarians :-) > > This means you needs to ensure the terminal is in the base state before > doing the newline. This is relatively easy to do, and won't damage the > ability to download the sixel based character sets. > > You *will* have to deal with a number-of-characters-in-the-sixel-set > lines of CRLF, however... Hmm ... according to getty sources, it uses 512 bytes buffer not for each line, but for all issue file. > > I prefer the tset method (for the obvious reasons). Terry, do you know any VT 240/420 terminals feature likes 'keymap' in the freebsd console code? With loadable fonts I can display russian, but sometimes I also need typing in russian, and at present I have only one solution -- run screen from ports and use the screen's feature 'bindkey'. > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. -- Regards, Vladimir. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message