home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume8 / smile / smile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-01  |  1.1 KB  |  48 lines

  1. /* SMiLE -- Simple MIni Line Editor
  2.    Copyright (C) 1989 By Alejandro Liu
  3.    You are given permission to Freely Copy and distribute this program
  4.    in its unmodifed form provided that this copyright notice is included.
  5.  */
  6.  
  7. #define PREV_L          16
  8. #define NEXT_L          14
  9. #define INSER_L         13
  10. #define INSERT_L        10
  11. #define LEFT_C           2
  12. #define RIGHT_C          6
  13. #define DEL_00           8
  14. #define DEL_01         127
  15. #define DEL_02          20
  16. #define KILL_L          11
  17. #define MSG_LST         12
  18. #define PREVIEW         22
  19. #define EXIT            24
  20. #define MENU            27
  21. #define DOTKEY0         '.'
  22. #define DOTKEY1         '/'
  23. #define DOTSAV          's'
  24. #define DOTHLP          'h'
  25. #define DOTABT          'a'
  26. #define DOTLST          'l'
  27. #define DOTPVW          'v'
  28. #define DOTWRW          'w'
  29. #define DOTFNY          'f'
  30. #define DOTSPC          'c'
  31. #define DOTCWD          'n'
  32.  
  33. struct ED_line {
  34.   struct ED_line *previous;
  35.   struct ED_line *next;
  36.   char len;
  37.   char *data;
  38. };
  39.  
  40. typedef struct ED_line ed_line;
  41.  
  42. #define FULL_MENU       0
  43. #define DOT_MENU        1
  44.  
  45. #define NORMAL_SAVE     1
  46. #define QUICK_SAVE      2
  47. #define ABORT           3
  48.