Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2004 05:25:31 +0000
From:      Robert Downes <nullentropy@lineone.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Dvorak keymap in single user mode
Message-ID:  <3FF500CB.50500@lineone.net>
In-Reply-To: <3FF4EEA7.4030709@lineone.net>
References:  <3FF4E439.3040700@lineone.net> <3FF4EEA7.4030709@lineone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Reply to myself again, just to make sure this thread can be of use to 
anyone searching archives at any point in the future.

Stéphane Witzmann suggested that the kernel configuration be altered to 
specify a default keyboard.

So, after checking NOTES and the name of the keyboard map I want 
(us.dvorak), I changed my custom kernel configuration file (BOBKERN) so 
that it now contains a section exactly like this:

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller

device          atkbd           # AT keyboard
options         ATKBD_DFLT_KEYMAP
makeoptions     ATKBD_DFLT_KEYMAP=us.dvorak     # use Dvorak key layout

Once this was built and installed (see the handbook for advice on custom 
kernel building), I booted into single user mode and, hallelujah, it is 
now in Dvorak layout by default.

Thanks to Stéphane.

DISCLAIMER: Bob is not liable for any minor, major, or irreparable 
damage his advice may cause. Furthermore by having read the above 
message, you have already agreed to indemnify Bob against all legal, 
civil, military, and psychologically hurtful action, whether or not 
initiated by you. Should any part of this agreement contradict itself, 
you will close your eyes and ignore the section that is of less 
profitability to Bob. Should any of this agreement be deemed illegal, 
you agree to raise up an army and defeat any and all that stand in the 
way of a change in the law that will install or reinstate the validity 
of this agreement.

-- 
Bob



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