Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2007 17:01:43 +0000
From:      "Frank Shute" <frank@esperance-linux.co.uk>
To:        Frank Shute <frank@esperance-linux.co.uk>, freebsd-questions@freebsd.org
Subject:   Re: What's the point of the shell choice in single user mode? [now: keyboards]
Message-ID:  <20071207170143.GA94749@melon.esperance-linux.co.uk>
In-Reply-To: <20071207144245.GA63813@owl.midgard.homeip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> > > > 
> > <snip>
> > > > 
> > > > 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 




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