home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Mint
/
mntutm94.zoo
/
xkey.1z
/
xkey
Wrap
Text File
|
1992-06-21
|
2KB
|
51 lines
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.