*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> keycap (5)              
Title
Content
Arch
Section
 

KEYCAP(5)

Contents


NAME    [Toc]    [Back]

     keycap -- keyboard mapping data base

SYNOPSIS    [Toc]    [Back]

     keycap

DESCRIPTION    [Toc]    [Back]

     The keycap file is a data base describing keyboard mappings, used by
     kcon(1).

     Entries in keycap consist of a number of `:'-separated fields.  The first
     entry for each mapping gives the names that are known for the mapping,
     separated by `|' characters.  All names but the first and last should be
     in lower case and contain no blanks; the last name may well contain upper
     case and blanks for readability.

CAPABILITIES    [Toc]    [Back]

     Name      Type	 Description
     de        bool	 Resets Keyboard mapping to compiled-in default
     D<n>      bool	 Disables key <n> completely

     m<n>      num	 specify key numbers for ALT keys
     l<n>      num	 specify key numbers for ALTGR keys
     h<n>      num	 specify key numbers for SHIFT keys
     t<n>      num	 specify key numbers for CONTROL keys
     ca<n>     num	 specify key number for the CAPS LOCK key
     sh<n>     num	 specify key number for the SHIFT LOCK key
     nl<n>     num	 specify key number for the NUM LOCK key
     sc<n>     num	 specify key number for the SCROLL LOCK key

     K<n>      str	 bind a string to an unshifted (normal) key
     S<n>      str	 bind a string to a shifted key
     C<n>      str	 bind a string to a control key
     A<n>      str	 bind a string to an altgr key

     tc        str	 Entry of similar map - must be last.

     Parameter <n> describing the key number can have values from 1 to 128.

     A string parameter may have up to 15 characters.

   A Sample Entry    [Toc]    [Back]
     The following entry, which describes a test entry, is among the very easy
     entries in the keycap file as of this writing.

     tt|test|Test entry which swaps y and z:\
	     :K22=z:S22=Z:C22=\032:\
	     :K46=y:S46=Y:C46=\031:

     Entries may continue onto multiple lines by giving a \ as the last character
 of a line.  Comments may be included on lines beginning with ``#''.

FILES    [Toc]    [Back]

     /usr/share/misc/keycap.pcvt  File containing keyboard mapping descriptions.

SEE ALSO    [Toc]    [Back]

      
      
     kcon(1), keycap(3)

EXAMPLES    [Toc]    [Back]

     The entry ``l1#60'' sets the keynumber for the ALTGR key to 60.

     The entry ``K100=hugo'' binds the string 'hugo' to the key number 100.

     The entry ``K100=^D'' binds the control character EOT (0x04) to the key
     number 100.

     The entry ``K100=\000'' binds the control character NUL (0x00) to the key
     number 100.


FreeBSD 5.2.1			January 3, 1993 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
dxkeycaps Tru64 Graphically display and edit the keyboard mapping
itemap HP-UX load an ITE (Internal Terminal Emulator) keyboard mapping.
ndbm IRIX data base subroutines
protocols FreeBSD protocol name data base
hosts Tru64 The host name data base
networks FreeBSD network name data base
hosts HP-UX host name data base
hosts FreeBSD host name data base
networks HP-UX network name data base
services FreeBSD service name data base
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service