home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume13 / vn.jan.88 / part04 / vn.h < prev   
Encoding:
C/C++ Source or Header  |  1988-01-30  |  1.6 KB  |  73 lines

  1. /*
  2. ** vn news reader.
  3. **
  4. ** vn.h - general parameters
  5. **
  6. ** see copyright disclaimer / history in vn.c source file
  7. */
  8.  
  9. #define TRUE 1
  10. #define FALSE 0
  11.  
  12. #define ED_MARK '>'
  13. #define ART_MARK '*'
  14. #define ART_WRITTEN '_'
  15. #define ART_UNWRITTEN ' '
  16.  
  17.  
  18. #define ANFORM ":%s - %c for help:\n"
  19. #define ANFLINES 1
  20. #define UDKFORM "undefined key - %c for help"
  21. #define HELPFORM "%c for help"
  22.  
  23. /*
  24.     command characters - don't use numerics or <ESC>
  25.     ALTSAVE is a hack to avoid having to use ctl-s - XON/XOFF.
  26.     Wanted to preserve "s" pneumonic and lower / control /cap
  27.     convention.
  28. */
  29. #define DIGEST 'd'
  30. #define UP 'k'
  31. #define DOWN 'j'
  32. #define FORWARD '\012'
  33. #define BACK '\010'
  34. #define READ 'r'
  35. #define ALTREAD ' '
  36. #define READALL 'R'
  37. #define READSTRING '\022'
  38. #define SAVE 's'
  39. #define SAVEALL 'S'
  40. #define SAVESTRING '\023'
  41. #define ALTSAVE '\024'
  42. #define PRINT 'p'
  43. #define PRINTALL 'P'
  44. #define PRINTSTRING '\020'
  45. #define MARK 'x'
  46. #define UNMARK 'X'
  47. #define REDRAW '\014'
  48. #define QUIT 'q'
  49. #define SSTAT '#'
  50. #define GRPLIST '%'
  51. #define ORGGRP 'o'
  52. #define ORGSTAT 'O'
  53. #define UPDATE 'w'
  54. #define UNSUBSCRIBE 'u'
  55. #define UPALL 'W'
  56. #define UPSEEN '\027'
  57. #define UNESC '!'
  58. #define NEWGROUP 'n'
  59. #define HEADTOG 'h'
  60. #define SETROT 'z'
  61. #define HELP '?'
  62. #define TOPMOVE 'H'
  63. #define BOTMOVE 'L'
  64. #define ALTBOTTOM 'G'
  65. #define MIDMOVE 'M'
  66. #define PRTVERSION '"'
  67. #define HELP_HEAD "[...] = effect of optional number preceding command\n\
  68. pipes are specified by filenames beginning with |\n\
  69. articles specified as a list of numbers, title search string, or\n\
  70.     * to specify marked articles.  ! may be used to negate any\n"
  71.  
  72. #define HHLINES 5    /* lines (CRs + 1) contained in HELP_HEAD */
  73.