Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 12:41:59 +0200
From:      Jimmy Lantz <jimmy.lantz@lusidor.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   font problem during rc WAS: tput and clear problem 
Message-ID:  <5.1.0.14.0.20020921123345.00bcc128@mail.lusidor.com>
In-Reply-To: <200209211027.g8LAR7Gn079964@lurza.secnetix.de>
References:  <5.1.0.14.0.20020920124912.00be0c58@mail.lusidor.com>

next in thread | previous in thread | raw e-mail | index | archive | help

><snip>
>  > I'm trying to run a shellscript during the rc (output to monitor=20
> connected
>  > directly to server)
><snip>
>
>You should set the TERM environment variable to the terminal
>that you're using as console.  If you're using the syscons
>internal console, do this at the beginning of your script:
>
>export TERM=3Dcons25
Did that and the following and  it works better:-)

#!/bin/sh
LC_ALL=3Dsv_SE.ISO_8859-1; export LC_ALL
LANG=3Dsv_SE.ISO_8859-1; export LANG
MM_CHARSET=3DISO-8859-1; export MM_CHARSET
export TERM=3D"cons25-iso8859-1"
export TERMCAP=3D"/etc/termcap"

Still I'm unable to use the sv_SE.ISO_8859-1 specific fonts. the umlauts =E5=
=E4=F6
Anyone got a clue about what in the enviroment that i left out?
/ Jim

>Otherwise (serial console or whatever) set it to the appro-
>priate terminal name, typically "vt100" or similar.
<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.20020921123345.00bcc128>