XKEY
Section: User Commands (1)
Updated: MiNT
Index
Return to Main Contents
NAME
xkey - re-program function and cursor keys
SYNOPSIS
xkey
[ [
key
def
] ... ]
DESCRIPTION
With no arguments,
xkey
prints the current definitions for all the function
and cursor keys affected by the
xkey
option to
stty(1MiNT).
With arguments,
xkey
will re-define the keys, so that future
Fread(2MiNT)
calls on this terminal will return the new strings (providing
that the terminal status is set so that
xkey
is on).
In the definition strings, the characters ``^'' and ``\''
have special meanings:
``^'' introduces a control character,
and ``\'' quotes the next character (so that e.g. ``\^''
is a caret).
MAPPINGS
The default mapping is as follows:
-
Key Definition
f1-f10 ESC P, ESC Q, ..., ESC Y
F1-F10 (shifted function keys) ESC p, ESC q, ..., ESC y
help ESC H
undo ESC K
insert ESC I
home ESC E
cursor keys:
up ESC A
down ESC B
right ESC C
left ESC D
shifted cursor keys:
UP ESC a
DOWN ESC b
RIGHT ESC c
LEFT ESC d
IMPLEMENTATION
Built with the MiNT library, patchlevel 19.
Using a different library, or an earlier version of the
MiNT library, may or may not cause problems;
in particular, various constants defined in
<signal.h>
and
<ioctl.h>
will probably be wrong if you are not using the MiNT library.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- MAPPINGS
-
- IMPLEMENTATION
-
This document was created by
man2html,
using the manual pages.
Time: 08:44:31 GMT, February 14, 2025