keytab-lilo.pl
KEYTAB-LILO.PL(L)                               KEYTAB-LILO.PL(L)



NAME
       keytab-lilo.pl - compile keytables files for use with LILO

SYNOPSIS
       /usr/sbin/keytab-lilo.pl   [-p   old_code=new_code]    ...
       [default_layout] kbd_layout

DESCRIPTION
       keytab-lilo.pl  is a program which compiles keytable defi-
       nitions (in the format specified in keytables(s))  into  a
       format  which  can  be used by lilo(o) to set the keyboard
       type  when  booting  [using  the  keytable  parameter   in
       /etc/lilo.conf].

       kbd_layout  should  be the name of a map file which speci-
       fies the desired keyboard  layout.  This  file  may  be  a
       gzip(p)  compressed  map.  If  no file extension is given,
       .map.gz is assumed. If the full pathname is not specified,
       /usr/share/keytables/ is assumed.

       Since  lilo  essentially  needs  to  know  the differences
       between the BIOS keyboard mapping and the one you require,
       the default_layout file should contain a keytables(s) file
       for the BIOS default mapping. If no default_layout file is
       specified, us.map.gz is used.

       keytab-lilo.pl  writes  the  output translation table as a
       binary string to standard output, so you  should  redirect
       it  to  a  suitable file.  lilo has no particular restric-
       tions on the name of keyboard translation files,  but  the
       suggested  naming  convention  and  location is /boot/map-
       ping.ktl  (where  .ktl  stands  for  "Keyboard  Table  for
       Lilo").

OPTIONS
       -p     old_code=new_code
              Specifies  corrections  ("patches")  to the mapping
              obtained from the translation table files. E.g.  if
              pressing  the  upper  case  "A"  should yield an at
              sign, -p 65=64 would be used. The  -p   option  can
              be repeated any number of times. The codes can also
              be given as hexadecimal or as octal numbers if they
              are prefixed with 0x or 0, respectively.


EXAMPLES
       keytab-lilo.pl dvorak >/boot/dvorak.ktl

              This is the most common form of invocation; it sim-
              ply compiles the given map file (in this case  dvo-
              rak) and puts the result in /boot/dvorak.ktl.


AUTHOR
       Werner Almesberger (almesber@bernina.ethz.ch).
       Peter Maydell (pmaydell@chiark.greenend.org.uk) wrote this
       manual page.

SEE ALSO
       lilo(o), keytables(s), gzip(p)

       lilo comes with extensive documentation; this can be found
       in /usr/doc/lilo/ on Debian systems.



                            April 1998          KEYTAB-LILO.PL(L)