home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / keymaps.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  2KB  |  60 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
  3.  * provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                                           *
  6.  ************************************************************************/
  7.  
  8. /* tables defined in keys.txt/keys.c */
  9.  
  10. extern data_obj    *MainKeys[NCHARS];
  11. extern data_obj    *EscKeys[NCHARS];
  12. extern data_obj    *CtlxKeys[NCHARS];
  13.  
  14. #ifdef PCNONASCII
  15. extern data_obj    *NonASCIIKeys[NCHARS];
  16. #endif
  17.  
  18. #ifdef MAC            /* used in About Jove... */
  19. #define F_MAINMAP '\001'
  20. #define F_PREF1MAP '\002'
  21. #define F_PREF2MAP '\003'
  22. #endif
  23.  
  24. #define OTHER_CMD    0
  25. #define ARG_CMD        1
  26. #define LINECMD        2    /* so we can preserve screen col in moves */
  27. #define KILLCMD        3    /* so we can merge kills */
  28. #define YANKCMD        4    /* so we can do yank-pop (ESC Y) */
  29. #define UNDOABLECMD    5    /* so we can do yank-pop to undo */
  30. #define MOUSE_CMD    6    /* to detect other cmds when button is down */
  31.  
  32. extern int this_cmd;        /* ... */
  33. extern int last_cmd;        /* last command ... to implement appending to kill buffer */
  34.  
  35. extern void InitKeymaps proto((void));
  36. extern void dispatch proto((ZXchar c));
  37. extern bool IsPrefixChar proto((ZXchar c));
  38.  
  39. extern void    DelObjRef proto((data_obj *));
  40.  
  41. /* Commands: */
  42. extern void Apropos proto((void));
  43. extern void LBindAKey proto((void));
  44. extern void LBindMac proto((void));
  45. extern void LBindMap proto((void));
  46. extern void BindAKey proto((void));
  47. extern void BindMac proto((void));
  48. extern void BindMap proto((void));
  49. extern void DescBindings proto((void));
  50. extern void DescCom proto((void));
  51. extern void DescVar proto((void));
  52. extern void KeyDesc proto((void));
  53. extern void Unbound proto((void));
  54.  
  55. #ifdef IPROCS
  56. extern void PBindAKey proto((void));
  57. extern void PBindMac proto((void));
  58. extern void PBindMap proto((void));
  59. #endif
  60.