help.tex 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. \documentstyle[11pt,reduce]{article}
  2. \title{HELP: The REDUCE Help System}
  3. \author{ }
  4. \date{}
  5. \begin{document}
  6. \maketitle
  7. \index{HELP package}
  8. \section{Help Request}
  9. Information about syntax and functionality of various elements
  10. of {\REDUCE} can be retrieved on line by the {\tt help} system.
  11. Items can be searched using a directory structure or keywords
  12. with hypertext like cross links. The help system can be invoked
  13. either by the help button in a window oriented environment
  14. or by the command
  15. \begin{quote}
  16. \k{HELP;}
  17. \end{quote}
  18. or
  19. \begin{quote}
  20. \k{HELP $<topic>$;}
  21. \end{quote}
  22. or
  23. \begin{quote}
  24. \k{HELP $<package>$;}
  25. \end{quote}
  26. where $<topic>$ is the item (string, keyword) for which you
  27. need information and $<package>$ is the name of a
  28. package. If no package is given the {\REDUCE} reference
  29. is meant. The {\tt help} command starts a process
  30. which opens a window to the information and which allows
  31. you to browse around in the information structure. Under
  32. multi process systems the {\tt help} runs in a separate
  33. task such that you can continue your {\REDUCE} session.
  34. Single process systems halt the {\REDUCE} session to
  35. be continued after leaving the help server.
  36. \section{HELP servers}
  37. Under all operating systems the help material is collected
  38. in a subdirectory {\tt help} of the {\REDUCE} root
  39. directory.
  40. \subsection{UNIX}
  41. Under UNIX the {\REDUCE} help information is encoded according
  42. to the syntax of the ``GNU info format''. For display {\REDUCE}
  43. tries to call one of the programs
  44. \begin{itemize}
  45. \item GNU Xinfo
  46. \item GNU info
  47. \item \$reduce/help/help program
  48. \end{itemize}
  49. in the above sequence. So if e.g. in your PATH the GNU program
  50. ``xinfo'' can be reached, this is used for accessing the
  51. {\REDUCE} help structure. The program $\$reduce/help/help$
  52. has been supplied for configurations where the GNU programs are
  53. not available.
  54. If the GNU programs are available but are not accessible in
  55. your path, you can supply their location in a resource file
  56. {\tt redhelp.rc}; such file will be loaded (if existent)
  57. first from {\tt \$reduce}, then from {\tt \$HOME} and
  58. finally from your local directory. It should contain
  59. one command in {\REDUCE} syntax assigning
  60. a string with the help server command to the variable
  61. {\tt help\_command}, e.g.
  62. \begin{verbatim}
  63. help_command :=
  64. "/Gnu/sun4/bin/xinfo -file "$
  65. end;
  66. \end{verbatim}
  67. Note that the command does not contain the target file
  68. name -- this will be added at run time according to the
  69. actual selection. Please note that different programs
  70. have different keywords for the file parameter: xinfo uses
  71. ``--file" while Gnu info and the program help in the
  72. help subdirectory of {\REDUCE} use ``--f".
  73. \subsection{DOS, Windows NT}
  74. For DOS and Windows NT the {\REDUCE} help information is
  75. supplied as {\tt .HLP} files in the format of MS Windows help.
  76. If running under
  77. Windows 3.1 or Windows NT the MS help system is called
  78. by the help command or when you click the help menu button.
  79. Under bare DOS the program
  80. \begin{verbatim}
  81. %reduce%\help\help.exe
  82. \end{verbatim}
  83. is used for display. This uses the GNU info format in
  84. the files {\tt *.INF}.
  85. If you don't use both versions you might
  86. delete one of the help data files in order to save disk space.
  87. The program help.exe expects that your monitor is a color VGA and
  88. that you have ANSI.SYS loaded. If that is not the case you
  89. should replace HELP.EXE by HELP0.EXE -- this is an equivalent
  90. program which does not rely on these features.
  91. \end{document}