From owner-freebsd-questions@FreeBSD.ORG Sun Feb 26 20:22:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B974A16A420 for ; Sun, 26 Feb 2006 20:22:01 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: from web60025.mail.yahoo.com (web60025.mail.yahoo.com [209.73.178.73]) by mx1.FreeBSD.org (Postfix) with SMTP id 432AE43D45 for ; Sun, 26 Feb 2006 20:22:00 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 81512 invoked by uid 60001); 26 Feb 2006 20:22:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qnV/FOjNLodt0vUiuNTZ7QvtGXAIvFxGOvbuWrqiqwvnB6MYwvp8svDVpz5HDtdzDIVXxPmT1kvr+5FfynI9lu7xEO+g3pBBtVbmn49TyxR4wrUQgJODiWBRs4OX7cz7T1CU0CTEkapRBlZLsWYB8BHOQC3xjxftHxLvqxLh+SQ= ; Message-ID: <20060226202200.81510.qmail@web60025.mail.yahoo.com> Received: from [216.252.84.135] by web60025.mail.yahoo.com via HTTP; Sun, 26 Feb 2006 15:22:00 EST Date: Sun, 26 Feb 2006 15:22:00 -0500 (EST) From: Peter To: "Webster, Andrew" , freebsd-questions In-Reply-To: <9D61D69E3C1F7F459C5513AD830EE2192BC30F@mtlex01.connectalk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: RE: setting up french keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 20:22:01 -0000 --- "Webster, Andrew" wrote: > > -----Original Message----- > > From: Peter [mailto:petermatulis@yahoo.ca] > > Sent: Friday, February 24, 2006 10:34 > > To: Webster, Andrew; freebsd-questions > > Subject: RE: setting up french keyboard > > > > > > --- "Webster, Andrew" wrote: > > > > > > -----Original Message----- > > > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > > > questions@freebsd.org] On Behalf Of Peter > > > > Sent: Thursday, February 23, 2006 22:19 > > > > To: freebsd-questions > > > > Subject: setting up french keyboard > > > > > > > > Hi. Does anyone know how I can set up my 5.4 system to output > French > > > > characters? If so, how? > > > > > > You can set the LANG environment variable. For example setting it > to > > > fr_CA.ISO8859-1 will produce French Canadian error messages with > > > ISO8859-1 characters. > > > You can see all the available locales with 'locale -a' command. > > > You might need to change the screen fonts for other languages, but > the > > > default ISO8859-1 set works fine. > > > Only programs that are locale aware will actually output French, > others > > > will continue to output English. > > > > Well I changed the LANG variable and my keyboard still outputs > English. > > Ideally I would like to toggle between an English keyboard and a > French > > one. I got one suggestion to use the kbdcontrol command but that too > does > > has no effect. Although when I tried the equivalent method of setting > it > > up in /etc/rc.conf via the keymap variable and rebooted, the console > > (before startx) was affected (the key bindings were still wrong) but > when > > I entered X-windows I was back to where I started. > > > > Try this when X is running: > setxkbmap -model pc104 -layout ca -variant basic Hey! This works in my X windows (é, è, ç, à, ê, ï) but my terminal emits beeps. Is this normal? Is the an easier way (X gadget) to toggle back or do I need to always use the setxkbmap command? $ setxkbmap -model pc104 -layout ca -variant basic $ setxkbmap -model pc104 -layout us -variant basic -- Peter __________________________________________________________ Find your next car at http://autos.yahoo.ca