setfont/kbd_mode - which console?

Denys Vlasenko vda.linux at googlemail.com
Thu Nov 6 02:39:51 UTC 2008


On Tuesday 04 November 2008 16:03, Roy Marples wrote:
> On Tuesday 04 November 2008 14:58:30 Roy Marples wrote:
> > So, in an attempt yet again to get OpenRC to boot cleanly using busybox
> > here's a patch that enables -C device for kbd_mode and setfont. The patch
> > is done so extending similar support for other console tools is fairly
> > trivial.

setfont has it already:

# ./busybox setfont --help
BusyBox v1.13.0.svn (2008-11-06 01:37:07 CET) multi-call binary

Usage: setfont FONT [-m MAPFILE] [-C TTY]

Load a console font

Options:
        -m MAPFILE      Load console screen map
        -C TTY          Affect TTY instead of /dev/tty

As for kbd_mode, googling for "man kbd_mode" shows that kbd_mode
has no -C option. I am somewhat opposed to adding our own
options. This OpenRC thing - does it really use "kbd_mode -C TTY"?
What is their kbd_mode (what "kbd_mode --version"
and "kbd_mode --help" say)?

OTOH, logically, -C TTY makes sense for kbd_mode, loadkmap...

Who else votes for adding -C to these applets?
--
vda




More information about the busybox mailing list