help.c 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #include "vt.h"
  2. #include "misc.h"
  3. #define VFILL " "
  4. #define HELP_HEADER \
  5. "........\6AleVT Online Help System ", \
  6. " \22`p0`0 p `0pppp ", \
  7. "\4\35\22\177 \177j5`p \177 j5 j5 \7 Version \34", \
  8. "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \
  9. " \22# #\42!\42# \42 \42! ",
  10. #define FLOF_DATA \
  11. 1, { {0x100,ANY_SUB}, {0x200,ANY_SUB}, {0x300,ANY_SUB}, \
  12. {0x400,ANY_SUB}, {0x0ff,ANY_SUB}, {0x100,ANY_SUB} }
  13. struct vt_page help_pages[] =
  14. {
  15. { 0x900, 0, -1, 0, 0, (1<<26)-1, {
  16. #include "vt900.out"
  17. }, FLOF_DATA },
  18. { 0x901, 1, -1, 0, 0, (1<<26)-1, {
  19. #include "vt901.out"
  20. }, FLOF_DATA },
  21. { 0x902, 1, -1, 0, 0, (1<<26)-1, {
  22. #include "vt902.out"
  23. }, FLOF_DATA },
  24. { 0x903, 1, -1, 0, 0, (1<<26)-1, {
  25. #include "vt903.out"
  26. }, FLOF_DATA },
  27. { 0x904, 1, -1, 0, 0, (1<<26)-1, {
  28. #include "vt904.out"
  29. }, FLOF_DATA },
  30. { 0x905, 2, -1, 0, 0, (1<<26)-1, {
  31. #include "vt905.out"
  32. }, FLOF_DATA },
  33. { 0x906, 1, -1, 0, 0, (1<<26)-1, {
  34. #include "vt906.out"
  35. }, FLOF_DATA },
  36. { 0x907, 2, -1, 0, 0, (1<<26)-1, {
  37. #include "vt907.out"
  38. }, FLOF_DATA },
  39. { 0x908, 1, -1, 0, 0, (1<<26)-1, {
  40. #include "vt908.out"
  41. }, FLOF_DATA },
  42. { 0x909, 0, -1, 0, 0, (1<<26)-1, {
  43. #include "vt909.out"
  44. }, FLOF_DATA },
  45. { 0x910, 2, -1, 0, 0, (1<<26)-1, {
  46. #include "vt910.out"
  47. }, FLOF_DATA },
  48. { 0x911, 1, -1, 0, 0, (1<<26)-1, {
  49. #include "vt911.out"
  50. }, FLOF_DATA },
  51. { 0x912, 2, -1, 0, 0, (1<<26)-1, {
  52. #include "vt912.out"
  53. }, FLOF_DATA },
  54. { 0x913, 1, -1, 0, 0, (1<<26)-1, {
  55. #include "vt913.out"
  56. }, FLOF_DATA },
  57. { 0x914, 0, -1, 0, 0, (1<<26)-1, {
  58. #include "vt914.out"
  59. }, FLOF_DATA },
  60. { 0x915, 0, -1, 0, 0, (1<<26)-1, {
  61. #include "vt915.out"
  62. }, FLOF_DATA },
  63. };
  64. const int nr_help_pages = NELEM(help_pages);