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

  1.  
  2. NAME
  3.     xkey - re-program function and cursor keys
  4.  
  5. SYNOPSIS
  6.     xkey [ [ key def ] ... ]
  7.  
  8. DESCRIPTION
  9.     With  no  arguments, xkey prints the current definitions for all
  10.     the function and cursor keys affected  by  the  xkey  option  to
  11.     stty(1MiNT).
  12.  
  13.     With  arguments,  xkey  will  re-define the keys, so that future
  14.     Fread(2MiNT) calls on this terminal will return the new  strings
  15.     (providing  that the terminal status is set so that xkey is on).
  16.     In the definition strings,  the  characters  !^"  and  !\"  have
  17.     special  meanings:  !^"  introduces a control character, and !\"
  18.     quotes the next character (so that e.g.  !\^" is a caret).
  19.  
  20. MAPPINGS
  21.     The default mapping is as follows:
  22.  
  23.         Key                Definition
  24.         
  25.         f1-f10                ESC P, ESC Q, ..., ESC Y
  26.         F1-F10 (shifted function keys)    ESC p, ESC q, ..., ESC y
  27.         help                ESC H
  28.         undo                ESC K
  29.         insert                ESC I
  30.         home                ESC E
  31.         
  32.         cursor keys:
  33.         
  34.         up                ESC A
  35.         down                ESC B
  36.         right                ESC C
  37.         left                ESC D
  38.         shifted cursor keys:
  39.         UP                ESC a
  40.         DOWN                ESC b
  41.         RIGHT                ESC c
  42.         LEFT                ESC d
  43.  
  44. IMPLEMENTATION
  45.     Built with the MiNT library, patchlevel 19.  Using  a  different
  46.     library,  or  an earlier version of the MiNT library, may or may
  47.     not cause problems; in particular, various constants defined  in
  48.     <signal.h>  and  <ioctl.h> will probably be wrong if you are not
  49.     using the MiNT library.
  50.  
  51.