Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2003 07:09:13 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        hackers@freebsd.org
Subject:   locale setup, automagically  ? 
Message-ID:  <5.2.0.9.2.20030315065251.011c66c8@194.184.65.4>

next in thread | raw e-mail | index | archive | help
Hi,
this is more a whish ...
Sometime ago I was discussing with some friends about localization and we 
arrive to ask why not having all the locale settings configured in one 
place only.

I'll try to explain better...
I am italian. If I want to take advantage of everything the italian locale 
have to offer in FreeBSD I have to config a lot of files.

using a right terminal i.e:
cons25l1

/etc/rc.conf:
keymap="it.iso"
font8x8="iso15-8x8"
font8x14="iso15-8x14"
font8x16="iso15-8x16"

~/.login_conf
me:\
     :charset=iso-8859-15:\
     :lang=it_IT.ISO8859-15:

/etc/ttys
put cons25i (or 30i) in the ttys line


while I can have a db (like pccard.conf i.e) that can be set to exec all 
this tasks in one shot:

vidcontrol -f 8x16 iso15-8x16.fnt
kbdcontrol -l it.iso.kbd
setenv LANG it_IT.ISO8859-15
setenv MM_CHARSET iso-8859-15
setenv TERM cons25l1

so in my /etc/rc.conf I can have i.e:
locale=italy

and the during boot everything automagically is setup.

Thanks for attention.




Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.gufi.org/~gmarco



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.2.20030315065251.011c66c8>