setmetamode(1) - Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | COLOPHON

SETMETAMODE(1)             General Commands Manual            SETMETAMODE(1)

NAME         top

       setmetamode - define the keyboard meta key handling

SYNOPSIS         top

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

DESCRIPTION         top

       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         top

       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         top

       loadkeys(1)

COLOPHON         top

       This page is part of the kbd (Linux keyboard tools) project.
       Information about the project can be found at 
       ⟨http://www.kbd-project.org/⟩.  If you have a bug report for this man‐
       ual page, send it to kbd@lists.altlinux.org.  This page was obtained
       from the project's upstream Git repository
       ⟨git://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git⟩ on
       2018-02-02.  (At that time, the date of the most recent commit that
       was found in the repository was 2017-01-08.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

                                 30 Jan 1994                  SETMETAMODE(1)

Pages that refer to this page: ioctl_console(2)