Linux Commands Examples

A great documentation place for Linux commands

setmetamode

define the keyboard meta key handling


see also : loadkeys

Synopsis

setmetamode [ {meta|bit|metabit | esc|prefix|escprefix} ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
cp $PKG_BUILD/src/setmetamode $INSTALL/usr/bin
cp $PKG_BUILD/src/showconsolefont $INSTALL/usr/bin
cp $PKG_BUILD/src/showkey $INSTALL/usr/bin

description

Without argument, setmetamode prints the current Meta key mode. With argument, it sets the Meta key mode as indicated. The setting before and after the change are reported.

The Meta key mode is specific for each VT (and the VT corresponding to stdin is used). One might use setmetamode in /etc/rc to define the initial state of the Meta key mode, e.g. by

INITTY=/dev/tty[1-8]
for tty in $INITTY; do

setmetamode escprefix < $tty

done

options

esc prefix escprefix

The Meta key sends an Escape prefix.

meta bit metabit

The Meta key sets the high order bit of the character.


see also

loadkeys

How can this site be more helpful to YOU ?


give  feedback