Date: Sun, 22 Sep 2002 13:51:26 +0200 From: Jimmy Lantz <jimmy.lantz@lusidor.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: font problem during rc WAS: tput and clear problem Message-ID: <5.1.0.14.0.20020922134733.00bcc610@mail.lusidor.com> In-Reply-To: <200209221122.g8MBMTYf018385@lurza.secnetix.de> References: <5.1.0.14.0.20020921123345.00bcc128@mail.lusidor.com>
next in thread | previous in thread | raw e-mail | index | archive | help
><snip> > > #!/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 <snip> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020922134733.00bcc610>