From owner-freebsd-hackers Fri Mar 14 22: 8: 4 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0360837B404 for ; Fri, 14 Mar 2003 22:08:03 -0800 (PST) Received: from freebsd.giovannelli.com (freebsd.giovannelli.com [194.184.65.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C02943F75 for ; Fri, 14 Mar 2003 22:08:01 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from usul.giovannelli.it (usul.giovannelli.com [10.254.254.4]) by freebsd.giovannelli.com (8.12.7/8.12.7) with ESMTP id h2G6A6kB002840 for ; Sun, 16 Mar 2003 07:10:08 +0100 (CET) (envelope-from gmarco@giovannelli.it) Message-Id: <5.2.0.9.2.20030315065251.011c66c8@194.184.65.4> X-Sender: gmarco@194.184.65.4 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sat, 15 Mar 2003 07:09:13 +0100 To: hackers@freebsd.org From: Gianmarco Giovannelli Subject: locale setup, automagically ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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