From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 20:36:50 2004 Return-Path: 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 224F016A4CE for ; Tue, 21 Dec 2004 20:36:50 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C87943D31 for ; Tue, 21 Dec 2004 20:36:49 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 53C06FD008; Tue, 21 Dec 2004 21:36:47 +0100 (CET) Message-ID: <41C8895D.4060606@locolomo.org> Date: Tue, 21 Dec 2004 21:36:45 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: =?ISO-8859-1?Q?M=E1rio_Gamito?= References: <41C8807F.2080004@netual.pt> In-Reply-To: <41C8807F.2080004@netual.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: No latin characters :( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 20:36:50 -0000 Mário Gamito wrote: > I've read the Handbook, applied all i've googled, but i can't get > portuguese charactres like á, õ, ç, etc. to work :( > > Completly knocked out. But what have you done? In my /etc/login.conf I have: da_DK:Danish users:\ :charset=iso-8859-1:\ :lang=da_DK.ISO8859-1:\ :tc=default: Then I set my login class in the master.passwd to da_DK. Having diffe- rent login classes this way allows you to support multiple languages for users. Otherwise, you can set these option in the default: section without the need to change your login class. You need to run cap_mkdb on login.conf after that (I think). In /etc/ttys I have set all consoles to cons25l, but this only affects when you login directly. Finally in /etc/rc.conf keymap="danish.iso" # keymap in /usr/share/syscons/keymaps/*(or NO). font8x8="iso-8x8" font8x14="iso-8x14" font8x16="iso-8x16" For you, whatever above looks danish, change to portugeese. I recommend you sticking to things that looks like iso-standards for interopera- bility. I think this is about it. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2