home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / v / vim_src.zip / KEYMAP.H < prev    next >
Text File  |  1993-01-12  |  2KB  |  64 lines

  1. /* vi:ts=4:sw=4
  2.  *
  3.  * VIM - Vi IMitation
  4.  *
  5.  * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  6.  *                            Tim Thompson            twitch!tjt
  7.  *                            Tony Andrews            onecom!wldrdg!tony 
  8.  *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  9.  */
  10.  
  11. /*
  12.  * Keycode definitions for special keys
  13.  *
  14.  * On systems that have any of these keys, the routine 'inchar' in the
  15.  * machine-dependent code should return one of the codes here.
  16.  */
  17.  
  18. #define K_CCIRCM        0x1e    /* control circumflex */
  19.  
  20. /*
  21.  * careful: the next entries must be in the same order as the termcap strings
  22.  * in term.h and the numbers must be consecutive (used by inchar()).
  23.  */
  24. #define K_UARROW        0x80
  25. #define K_DARROW        0x81
  26. #define K_LARROW        0x82
  27. #define K_RARROW        0x83
  28. #define K_SUARROW        0x84
  29. #define K_SDARROW        0x85
  30. #define K_SLARROW        0x86
  31. #define K_SRARROW        0x87
  32.  
  33. #define K_F1            0x88    /* function keys */
  34. #define K_F2            0x89
  35. #define K_F3            0x8a
  36. #define K_F4            0x8b
  37. #define K_F5            0x8c
  38. #define K_F6            0x8d
  39. #define K_F7            0x8e
  40. #define K_F8            0x8f
  41. #define K_F9            0x90
  42. #define K_F10            0x91
  43.  
  44. #define K_SF1            0x92    /* shifted function keys */
  45. #define K_SF2            0x93
  46. #define K_SF3            0x94
  47. #define K_SF4            0x95
  48. #define K_SF5            0x96
  49. #define K_SF6            0x97
  50. #define K_SF7            0x98
  51. #define K_SF8            0x99
  52. #define K_SF9            0x9a
  53. #define K_SF10            0x9b
  54.  
  55. #define K_HELP            0x9c
  56. #define K_UNDO            0x9d
  57.  
  58. /*
  59.  * NULs cannot be in the input string, therefore CTRL-@ is replaced by K_ZERO.
  60.  * K_NUL is used for MSDOS extended keys (same value used in term.h).
  61.  */
  62. #define K_NUL            0x9e    /* for MSDOS: special key follows */
  63. #define K_ZERO            0x9f    /* replaces ^@ */
  64.