From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 17:01:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4983D16A41B for ; Fri, 7 Dec 2007 17:01:51 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id C845913C455 for ; Fri, 7 Dec 2007 17:01:50 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1J0gaD-00031v-S3 for freebsd-questions@freebsd.org; Fri, 07 Dec 2007 17:01:49 +0000 Received: from esperance.zetnet.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with SMTP id lB7H1mWT025937 for ; Fri, 7 Dec 2007 17:01:49 GMT Received: (qmail 94825 invoked by uid 1001); 7 Dec 2007 17:01:43 -0000 From: "Frank Shute" Date: Fri, 7 Dec 2007 17:01:43 +0000 To: Frank Shute , freebsd-questions@freebsd.org Message-ID: <20071207170143.GA94749@melon.esperance-linux.co.uk> References: <20071201061813.2a0e35e2@gumby.homeunix.com.> <20071201140619.4b7332ba@asus.freeode.co.uk> <4752EFF1.9050107@wcborstel.com> <20071203181412.709fab80@gumby.homeunix.com.> <4754500D.8070706@wcborstel.com> <4754508E.30802@riderway.com> <20071207124335.4aefe67a@asus.freeode.co.uk> <20071207125633.GA62976@owl.midgard.homeip.net> <20071207143325.GA94449@melon.esperance-linux.co.uk> <20071207144245.GA63813@owl.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071207144245.GA63813@owl.midgard.homeip.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 6.3-RC1 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Fri, 07 Dec 2007 17:01:49 +0000 (GMT) Cc: Subject: Re: What's the point of the shell choice in single user mode? [now: keyboards] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2007 17:01:51 -0000 On Fri, Dec 07, 2007 at 03:42:45PM +0100, Erik Trulsson wrote: > > On Fri, Dec 07, 2007 at 02:33:25PM +0000, Frank Shute wrote: > > On Fri, Dec 07, 2007 at 01:56:33PM +0100, Erik Trulsson wrote: > > > > > > On Fri, Dec 07, 2007 at 12:43:35PM +0000, John Murphy wrote: > > > > > > > > > > > > > > Thanks for all the tips on this subject. One more question: > > > > > > > > How would I enable a local keyboard layout in single user mode? > > > > I have had to find '/' by trial and error on my UK keyboard. > > > > > > > > > > You can use kbdcontrol(1) to load a new keyboard mapping. (Probably > > > requires that /usr is already mounted to work correctly.) > > > > > > You can also specify in the kernel config file which keyboard > > > layout should be used by default. See the atkbd(4) or ukbd(4) > > > manpages for details. > > > > > > > You can also specify it in /etc/rc.conf: > > > > keymap="uk.cp850" > > When you boot into single user mode (which the question was about) > the settings in /etc/rc.conf has not been applied yet. That happens > later in the boot process. > Thanks for correcting me. I always go into single user from multi-user so I guess it has been applied already. Thanks for the tip about setting it in the kernel config, I'll do that in case I have to boot into single user from boot-up. The handbook seems a bit sparse about keyboards. Wouldn't it be a good idea to recommend to all "foreign" users to set their keyboard in their kernel config? I assume it defaults to US. Just what you need in an emergency, a keyboard out of whack ;) -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html