From owner-freebsd-questions Sun Sep 22 16:16:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B50E37B401 for ; Sun, 22 Sep 2002 16:16:34 -0700 (PDT) Received: from bouba.alxhost.com (bouba.alxhost.com [66.96.220.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04DE743E3B for ; Sun, 22 Sep 2002 16:16:34 -0700 (PDT) (envelope-from jimmy.lantz@lusidor.com) Received: from h40n2fls24o900.telia.com ([217.208.132.40] helo=lusidor2002.lusidor.com) by bouba.alxhost.com with esmtp (Exim 3.36 #1) id 17t5En-00044e-00 for freebsd-questions@FreeBSD.ORG; Sun, 22 Sep 2002 07:49:22 -0400 Message-Id: <5.1.0.14.0.20020922134733.00bcc610@mail.lusidor.com> X-Sender: lusidor@mail.lusidor.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 22 Sep 2002 13:51:26 +0200 To: freebsd-questions@FreeBSD.ORG From: Jimmy Lantz Subject: Re: font problem during rc WAS: tput and clear problem In-Reply-To: <200209221122.g8MBMTYf018385@lurza.secnetix.de> References: <5.1.0.14.0.20020921123345.00bcc128@mail.lusidor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bouba.alxhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - lusidor.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > #!/bin/sh > > LC_ALL=3Dsv_SE.ISO_8859-1; export LC_ALL > > LANG=3Dsv_SE.ISO_8859-1; export LANG > >That's not a good idea, IMO. It is better to set LC_CTYPE >only. Setting LC_ALL and LANG will change the output format >of several important commands, including "date", "ps", "ls" >and others. There are scripts which try to parse their >output, which can break in various ways. OK, Will do. > > MM_CHARSET=3DISO-8859-1; export MM_CHARSET > > export TERM=3D"cons25-iso8859-1" > > export TERMCAP=3D"/etc/termcap" > >Uhm, do not set TERMCAP to a filename (/etc/termcap would >be wrong anyway; it's in /usr/share/misc). The TERMCAP >environment variable is meant to carry a whole termcap >entry, not a filename. You shouldn't set TERMCAP at all. > > > Still I'm unable to use the sv_SE.ISO_8859-1 specific fonts. the=20 > umlauts =E5=E4=F6 > > Anyone got a clue about what in the enviroment that i left out? > >Probably because you don't have the ISO8859-1 font loaded >to your VGA graphics card. To do that, just set the >appropriate variables in your /etc/rc.conf file, and >everything will be set up for you during boot automatically. A part of my previous post was snipped out, it stated that the script I'm=20 writing is run before the rc.conf. Is there a way I can set it in the script directly? Thank you very much for your input Oliver, its much appreciated. Jim. >Regards > Oliver To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message