Jeremy Henty wrote:
> On Sun, Feb 17, 2008 at 06:00:12PM +0500, Alexander E. Patrakov wrote:
> 
>> This is because the new kernel defaults to UTF-8 on the console. You
>> need a  new version of the  "console" bootscript to drive  it out of
>> this mode.
> 
> OK, running "unicode_stop"  fixes things.  I guess just  adding a call
> to "unicode_stop" to the "console" bootscript will do the job?

No, this will fix things only for the first virtual console. You really should 
get the script from LFS-6.2 or 6.3, and replace ${ECHO} with just "echo" (even 
Debian demands the ability to understand the "-n" switch in addition to POSIX 
requirements, so the whole "does echo understand the needed switches" test in 
the current bootscripts is stupid). For the record, in your case, it does this:

# The command to run on each VT
MODE_COMMAND="echo -en '[EMAIL PROTECTED](K' && kbd_mode -a"

for TTY in `grep '^[^#].*respawn:/sbin/agetty' /etc/inittab | \
     grep -o '\btty[[:digit:]]*\b'`
do
     openvt -f -w -c ${TTY#tty} -- \
         /bin/sh -c "${MODE_COMMAND}"
done

setfont $FONT
loadkeys ${KEYMAP}

-- 
Alexander E. Patrakov

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to