Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2016 22:45:02 +0200
From:      Klaus Kaisersberger <point-of-entry@outlook.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   setting font and keymap in single-user mode in 10.3
Message-ID:  <DUB125-W26EF45A5D47920E959CACCCD680@phx.gbl>

Next in thread | Raw E-Mail | Index | Archive | Help
=0A=
=0A=
I have trouble getting font and keymap right for a German=0A=
iso keyboard (or anything else than standard-US) in single-user mode in 10.=
3=0A=
freshly installed from bootonly.iso:=0A=
=0A=
=A0=0A=
=0A=
I 'make kernel'ed an amd64-kernel with the following=0A=
settings (I even commented out kbdmux later on in the file):=0A=
=0A=
--------------------=0A=
=0A=
=A0=A0=A0=A0=A0=A0=A0 ...=0A=
=0A=
options=A0=A0=A0=A0=A0=A0=A0=A0=0A=
SC_DISABLE_KDBKEY=0A=
=0A=
options=A0=A0=A0=A0=A0=A0=A0=A0=0A=
SC_DISABLE_REBOOT=0A=
=0A=
options=A0=A0=A0=A0=A0=A0=A0=A0=0A=
SC_DFLT_FONT=0A=
=0A=
makeoptions=A0=A0=A0=A0=0A=
SC_DFLT_FONT=3Diso15=0A=
=0A=
options=A0=A0=A0=A0=A0=A0=A0=A0=0A=
ATKBD_DFLT_KEYMAP=0A=
=0A=
makeoptions=A0=A0=A0=A0=0A=
ATKBD_DFLT_KEYMAP=3Dgerman.iso.acc=0A=
=0A=
=A0=A0=A0=A0=A0=A0=A0 ...=0A=
=0A=
--------------------=0A=
=0A=
=A0=0A=
=0A=
/etc/ttys looks like this:=0A=
=0A=
--------------------=0A=
=0A=
=A0=A0=A0=A0=A0=A0=A0 ...=0A=
=0A=
console none=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 unknown off=0A=
insecure=0A=
=0A=
#=0A=
=0A=
ttyv0=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
# Virtual terminals=0A=
=0A=
ttyv1=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv2=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv3=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv4=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv5=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv6=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv7=A0=A0=0A=
"/usr/libexec/getty Pc"=A0=A0=A0=A0=A0=A0=A0=A0=0A=
xterm=A0=A0 on=A0 insecure=0A=
=0A=
ttyv8=A0=A0=0A=
"/usr/local/bin/xdm -nodaemon"=A0=0A=
xterm=A0=A0 off insecure=0A=
=0A=
=A0=A0=A0=A0=A0=A0=A0 ...=0A=
=0A=
--------------------=0A=
=0A=
=A0=0A=
=0A=
While this font (iso15) and keymap (german.iso.acc) work=0A=
as desired in virtual consoles=2C they do not in the single-user console=2C=
 so that=0A=
umlauts yield \366 etc.=2C just as if nothing had been set at all.=0A=
=0A=
=A0=0A=
=0A=
'kbdcontrol -l german.iso.acc' and 'vidcontrol -f iso15'=0A=
do not produce any errors=2C but also no noticeable effect in single-user. =
tty=0A=
returns /dev/console=2C as expected.=0A=
=0A=
=A0=0A=
=0A=
I am at a loss now=2C albeit I am quite sure=2C that I made=0A=
the same settings in 10.2=2C where it _did_ work. Obviously I made some err=
or this time in 10.3=2C but I fail to pinpoint it.=0A=
=0A=
=0A=
=A0=0A=
=0A=
If someone knows how to get german.iso.acc and iso15 to=0A=
actually work in single-user=2C most favorably by compiling it into the ker=
nel=2C=0A=
it would really appreciate your suggestions.=0A=
=0A=
=A0=0A=
=0A=
----=0A=
=0A=
Klaus=0A=
=0A=
 		 	   		  =



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?DUB125-W26EF45A5D47920E959CACCCD680>