home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 579b.lha / CustomHelp / CHmanual / Files.ch < prev    next >
Text File  |  1991-11-13  |  26KB  |  631 lines

  1. \pm Custom Help \ Files
  2. \p Files \ General Data File Info
  3.  
  4.  
  5.     Each Data File is divided into logical sections, CH Pages, that are\
  6. assigned to groups in a hierarchal system. The size of a page is not limited\
  7. by the size of the DW. Pages larger than the DW may be scrolled.
  8.  
  9.     The Base Page is the root of the system. This page is part of the\
  10. program and need not be declared, but it's child list is built from\
  11. the pages assigned to it's group (the Base Group), in the Base Files.
  12.  
  13.     A convention I have used is to name all Data Files formatted for use\
  14. by CH with either the "Base.#?" pattern, for a Base\
  15. File, or a ".ch" postscript. All the Data Files should be placed in the\
  16. CH Directory with the\
  17. logical name "CHData:" assigned. File Specifications default to the\
  18. CH Directory, thereby shortening their file name parameters to the\
  19. file name only, rather than the full path name.
  20. \rPage Specifiers
  21.  
  22. \p The Base Page
  23.  
  24. \w
  25.     Understanding the following depends on a knowledge of these terms:
  26.  
  27.         Base Group:        The root Page Group for the system
  28.         Base File:        Any file containing Child Pages of the
  29.                             Base Group, residing in the CH Directory
  30.                             with a file name that starts "Base."
  31.         Base Page:        The Parent Page of the Base Group. The
  32.                             Page Name of this page is "Base"
  33. \W
  34.     The Base Page is the root of the CH page system. Access to any page\
  35. in the system must by via a path starting at\
  36. the Base Page. The name\
  37. of this page is "Base", making the first group name "Base". The Base\
  38. Group consists of the Base Page (the Parent Page for the group), and\
  39. all the pages found in the Base Files, belonging to the Base Group.
  40.  
  41.     The Base Page is generated automatically by CH when started.\
  42. After determining the location of the CH Directory, CH scans the\
  43. list of file names matching the pattern "Base.#?". These files will\
  44. be made memory resident, while the program is running. Pages specified\
  45. in these files, belonging to the Base Group,  will be used to build\
  46. the Base Page. The files are sorted alphabetically, pages found in file\
  47. "Base.aa" will appear on the Base Page before pages found in file\
  48. "Base.zz".
  49.  
  50.     The Base Files may be configured differently, depending on your needs\
  51. and the amount of memory you have available. You can have as many, or as\
  52. few, of the help system's pages made permanently resident as you like. The advantage\
  53. of a permanently resident page is that after CH has been started, it can\
  54. be viewed without loading it's file, saving time. The dis-advantage is that it uses\
  55. more memory while the program is running, and more files have to be\
  56. loaded at program startup.
  57.  
  58.     To make a file permanently resident, do not include the Page Name\
  59. of the Base Group's Child Page in the External Page\
  60. Specification, in the Base File. This forces CH to open it's file, to\
  61. find the Page Name, to build the Base Page's list of children. The file\
  62. will be read in at startup and remain memory resident till CH is\
  63. terminated.
  64.  
  65.     The External Page Specification for the Base Group Child Page\
  66. may include a Page Name, enabling CH to generate the Base Page without the\
  67. need of opening the file containing the Child Page. If that Child\
  68. Page is accessed, the file containing it will then be opened.
  69.  
  70.     A minimum Base File contains one External Page Specification for\
  71. a Child Page of the Base Group.
  72.  
  73.     The Base Files may contain more than one Page, and contain pages\
  74. other than Base Group pages. Everything in the Base Files is made\
  75. resident for the duration of the program.
  76.  
  77. \p Building a Data File
  78.  
  79.  
  80.     The beginning of the Data File may be used for comments. Data in the\
  81. file up to the first Page Specification will not be used by the CH\
  82. program.
  83.  
  84.     In the following only the first three steps are necessary.
  85.  
  86.     To prepare a file for CH:
  87. \w
  88.  
  89.         A. Divide the file into pages.
  90.         B. Create Parent Pages and assign each Child Page
  91.             to a group.
  92.         C. Use External Page Specifications to designate file
  93.             names where external pages are to be found.
  94.         D. Assign Related Items for the pages if desired.
  95.         E. If using Word Wrap insert Word Wrap specifications,
  96.             soft returns and paragraph indentations. (see Word
  97.             Wrap Specifiers for details)
  98.         F. Insert \IItalic\i, \BBold\b, \UUnderline\u, \C6\c4color\o, \XComplement\o,
  99.             etc. special characters.
  100. \rPage Specifiers
  101. \rRelated Item Specifier
  102. \rText Style Characters
  103. \r\Using/Related Items
  104. \rWord Wrap Specifiers
  105. \pm Page Specifiers
  106.  
  107.  
  108.     1. Parent (Menu)
  109.  
  110.     2. External
  111.  
  112.     3. External Text
  113.  
  114.     4. Child
  115. \W
  116. \l6    note: case is insignificant for all the special characters used in\
  117. the Page Specifications. The 'P', 'C', 'M', 'T' and 'F' may all be\
  118. either upper or lower case.
  119.  
  120. \l    All Page Specifications consist of an entire line in the Data File\
  121. starting with a backslash, the character "P", and the type character,\
  122. with no intervening spaces. If the backslash is not\
  123. the very first character on the line it is not a Page Specification.\
  124. The type character defines the page type. 
  125.  
  126.     Every page is assigned to a Parent Page.\
  127. The Group Name is the Page Name of the Parent Page of the group. If\
  128. the page is not the first page in a file, and is a child of the same group as\
  129. the page preceding it, you may omit the group name. The page will be\
  130. assigned to the same group as the prior page in the file.
  131.  
  132.     In the templates for each Page Spec., anything in square brackets\
  133. is optional. Backslashes not in square brackets are mandatory.
  134.  
  135. \pc Page Specifiers \ Parent(Menu) Page
  136.  
  137.  
  138.     Template :            "\PM [Group Name \] Page Name"
  139. \l3
  140.     A Parent Page is the Menu Page for a group. From this page\
  141. you may go directly to any of the Child Pages in that group by\
  142. simply entering the child number.\
  143. Every Child Page of a group must have a page entry in the same\
  144. file as the Parent Page, following the Parent Page. This entry may be\
  145. either the Child Page itself or an\
  146. External Page Specification if the Child Page is located in\
  147. another file.
  148.  
  149.     Note, in the template, the backslash between the Group Name and\
  150. the Page Name may be omitted if the Group Name is omitted.
  151.  
  152.     Parent Pages normally consist of the Page Specification only.\
  153. The menu itself, containing the list of Child\
  154. Pages, is generated automatically by the program.
  155.  
  156.     Sometimes it is preferable to define a Parent Page explicitly,
  157. typing in your own list of Child Pages.\
  158. This method allows you to set up the columns of Child Pages any\
  159. way you like. You can also combine additional information with\
  160. the page list. The Parent of this page (Page Specifiers), demonstrates\
  161. this.
  162.  
  163.     If the page consists of more than two lines, it\
  164. will be assumed to be an explicit menu page and the automatic\
  165. Child Page list will not be generated. (see Automatic Menu Page)
  166. \r\Automatic Menu Page
  167.  
  168. \p External Page
  169.  
  170.  
  171.     Template:            "\PF [Group Name] \ [Page Name] \ File Name [\ number]"
  172. \l3
  173.     The External Page creates the link between files for a Group\
  174. with pages in multiple files.
  175.  
  176.     The Group Name is not necessary if this page specification\
  177. immediately follows a page of the same group.
  178.  
  179.     If the Page Spec. refers to only one page the Page Name may be\
  180. included. Putting the Page Name here will allow\
  181. the program to know the name of the page in the external file\
  182. without opening the specified file. This can significantly shorten the\
  183. time required for page searching, accessing a Related Item and generating\
  184. Automatic Menu Pages.
  185.  
  186.     The first two backslashes are always needed, reguardless of whether\
  187. the Group Name and/or Page Name are given.
  188.  
  189.     The File Name must always be given, it\
  190. is the name of the file where\
  191. the page or series of pages is to be found. If the file is in the\
  192. CH Directory, just the file name is necessary. If it is not in\
  193. this directory the full path name is needed. The file name consists\
  194. of all the characters from the second backslash to either the third\
  195. backslash or the end of the line. Do not use quotation marks even if\
  196. the File Name contains spaces.
  197.  
  198.     The "\number" is an optional number of pages of the selected Group\
  199. to be found in the specified file. This permits the use of one External\
  200. Page Spec. for multiple pages in a file. If there is only one page, this\
  201. parameter, with it's backslash, is not necessary.
  202.  
  203.     Note that when using this method, a Page Specification for\
  204. this page or these pages, exists in two files, the one\
  205. containing this External Page Specification, then the file\
  206. containing the actual page. Further extensions are not permitted.\
  207. An External Page Spec. may not point to another External Page Spec.
  208.  
  209.     If the file named in this Page Spec. does not contain a page of the\
  210. named group, or is a Text File, you will get a "Page Not Found" error.\
  211. If it is not a Data File, the file will be unloaded from memory. Use the\
  212. External Text Page Spec. to reference a Text File.
  213.  
  214.     The file name portion of the specification may refer to a file directory.\
  215. If it does, the directory will be read and a menu will be generated. See\
  216. Directory Menu Page section for the details.
  217. \r\Directory Menu Page
  218.  
  219. \p External Text Page
  220.  
  221.  
  222.     Template:            "\PT [Group Name \] File Name"
  223. \l3
  224.     An External Text Page is basically the same as an External Page\
  225. except the referenced file will be accessed as a Text File, even\
  226. if it is a Data File. This\
  227. type of Page Spec. must be used if the referenced file is not a\
  228. Data File. It may not be used for a file directory.
  229. \r\\Using/Text Files
  230.  
  231.     The Page Name and "\\number" options of the External Page Spec. are\
  232. not necessary for an External Text Page Spec. A Text File is treated\
  233. as a single page, so the number of pages is always one,\
  234. and the Page Name is derived from the File Name.
  235.  
  236.     All files loaded from a Directory Menu Page use this type of Page\
  237. Specification.
  238. \r\Directory Menu Page
  239.  
  240. \p Child Page
  241.  
  242.  
  243.     Template:            "\PC [Group Name \] Page Name"
  244. \l3
  245.     These are pages that do not fall into either of the other three\
  246. catagories. They form the bottom level of the hierarchal system of pages.
  247.  
  248. \p Files \ Related Item Specifier
  249.  
  250.  
  251.     A Related Item Instruction is an quick method of access to a\
  252. logically related page, reguardless of where the related page is in the\
  253. system. Related Items need not be in the same group or same file as the\
  254. original page.
  255. \r\Using/Page Search
  256. \r\Using/Related Items
  257.  
  258.     To set up a Related Item, in the page data, after the Page Name\
  259. insert a Related Item Specification "\R". This is\
  260. similar to a Page Specification but uses an 'R' in place of the 'P'.\
  261. As in the Page Spec., a Related Item Spec. must use an entire line.\
  262. It must appear as the first two characters on the line with no intervening\
  263. spaces. After the "\R" place a search string for the Related\
  264. Item using the page where the Related Item Specification is found as the\
  265. base of the search. (see Page Search for details of a search string)
  266.  
  267.     In the Related Item Specification, as in a Page Search, it is not\
  268. necessary to enter an entire Page Name. If you are going down through\
  269. several levels only the last level should have it's entire Page Name\
  270. entered. This name will be used in generating the Related Item list in the\
  271. Related Item Window. The preceeding level Page Names may be truncated\
  272. as described in Using the Program/Page Search.
  273.  
  274.     Related Item Specifications will not be\
  275. displayed when the page is displayed. Instead these lines go into a\
  276. list that will be displayed if the user initiates the Related Item\
  277. Instruction.
  278.  
  279.     A page can have any number of Related Items.
  280.  
  281. \p Automatic Menu Page (AMP)
  282.  
  283.  
  284.     Normally a Menu (Parent) Page consists of the Page Specification only.\
  285. When the page is displayed the program\
  286. appends a numbered list of Child Page Names to the Parent Name to make\
  287. the Menu Page. If the page, as it appears in the file, consists of\
  288. three lines or less it will be assumed to be an AMP and will\
  289. have it's child list computed when it is first accessed.
  290.  
  291.     CH will format the list in one of several ways depending on the size\
  292. of the DW and the number of pages in the list. The list will be double\
  293. spaced if the entire list will fit in the DW in one or two columns.\
  294. Otherwise the list will be single spaced. One column will be used if\
  295. possible, two or three, if not.
  296.  
  297.     AMPs offer ease of formatting the Data File when you originally\
  298. change a Text File into a Data File and automatic recomputation\
  299. of Child Page Names when altering the number or position of Child Pages\
  300. of a group.
  301.  
  302.     If the Child Pages of the Menu Page reside in another file or files\
  303. it will be necessary to open those files to find the Page Names if\
  304. they are not found with the External Page Specification. (see\
  305. Page Specifiers)
  306. \rPage Specifiers
  307.  
  308.     You may create you own list of Child Pages for a Menu Page if you\
  309. wish. This may be useful if the Child Pages are in another file and\
  310. you do not wish to have to open this file to view the list of Child\
  311. Pages. Another reason to input an explicit list is to combine information\
  312. along with the menu list.
  313.  
  314. \p Directory Menu Page
  315.  
  316.  
  317.     If an External Page Spec. points to a file device or directory it\
  318. will be read in and a Menu Page generated. An External Text Page Spec.\
  319. may not be used to point to a file directory. The name of the page\
  320. will be the name of the directory and the Child Page list will contain\
  321. the sub-directories and files within this directory. WorkBench ".info" files\
  322. will not be listed.
  323.  
  324.     The page list will be sorted alphabetically, with sub-directories\
  325. listed first, then files. All sub-directories will have their names\
  326. followed by the word (Menu). Accessing any sub-directories from here will\
  327. generate another Directory Menu Page. All files accessed in this way\
  328. will be treated as a Text File, rather than a Data File, requardless\
  329. of the presence or absence of Page Specifications.
  330.  
  331.     The directory will remain\
  332. in memory until it is no longer needed to display the current page or\
  333. a marked page and the unused files are cleared from memory.
  334.  
  335.     If the referenced directory is on a floppy disk and the disk is replaced\
  336. after the directory is loaded you must ensure the Directory Menu Page\
  337. is cleared from memory before accessing it again. Use the Clear File or\
  338. Clear Unused Files Instruction to remove the page from memory.
  339.  
  340.     Note that all a directory's files are displayed, even those that can\
  341. not be read as a Text File. Accessing one of these will display garbage.
  342.  
  343. \p Word Wrap Specifiers
  344.  
  345.  
  346.     Word Wrap allows the formatting of paragraphs of text to be adjusted\
  347. for the size of the DW. For the most visually pleasing results some\
  348. things need to be taken into consideration when creating the Data File.
  349.  
  350. \w----------------------------------------------------------------------------------------------------------
  351. \W
  352.     First, each paragraph must be on a single line. It must have only one\
  353. new line character (ASCII dec. 10), at the end of the paragraph. This\
  354. allows CH to determine\
  355. where to break the paragraph when it is displayed, based on the width of\
  356. the display. There are two ways to do this.
  357.  
  358. \l3A. You can type the entire paragraph on one line.
  359. \l6    The drawback of this method is that it becomes hard to edit\
  360. a file that has extremely long lines. The line limit of the editor you\
  361. are using may not be enough for the longest paragraph you have.
  362.  
  363. \l3B. You can use soft returns on all but the last line of the paragraph.
  364. \l6    You create a soft return by placing a backslash '\' at the end of\
  365. the line. CH converts the ending backslash-new line character in the data\
  366. file into a space for display.
  367. \l
  368. \w----------------------------------------------------------------------------------------------------------
  369. \W
  370. \l    Second, some lines or pages depend on data being in a particular column\
  371. to be intelligible. Using special characters in the Data File you may block\
  372. a line or entire page from being wrapped, reguardless of the state of the\
  373. Word Wrap option.
  374.  
  375.     In order for lines to be wrapped, first the Word Wrap menu option must\
  376. be active (Custom Help/Word Wrap menu checked). If the Word Wrap menu\
  377. option is active lines will actually be wrapped or not depending on the\
  378. Block Word Wrap latch (BWW). To be wrapped both the Word Wrap menu option\
  379. must be active and the BWW latch must be inactive.
  380.  
  381.     The backslash-w at the beginning of a line, "\\w" will turn the Block\
  382. Word Wrap latch on, inhibiting Word Wrapping. The backslash-W at the\
  383. beginning of a line, "\\W" turns the Block Word Wrap latch back off, allowing\
  384. lines to wrap again.
  385.  
  386.     Most Menu Pages use columnar data therefore Menu Pages start with\
  387. the BWW latch active. The page data must contain a "\\W" in order for\
  388. Word Wrap to be activated. All pages other than Menu Pages start with\
  389. the BWW latch off.
  390.  
  391.     The dashed lines on this page are examples of lines that are blocked\
  392. from wrapping. Even though they are longer than the Display Window they\
  393. will not break at the end of the DW.\
  394.  
  395. \r\Using/Word Wrap
  396. \w----------------------------------------------------------------------------------------------------------
  397. \W
  398.     Third, it is sometimes useful to indent the paragraphs. Use a "\\l##"\
  399. at the beginning of a paragraph to set the indentation of each line\
  400. in the paragraph to ## of leading spaces. The "##" is\
  401. the decimal number of spaces to indent. This indent will remain active\
  402. through the page until another "\\l##" is encountered on the page.
  403.  
  404.     The maximum indent allows at least 15 characters to be displayed.
  405.  
  406. \p Text Style Characters
  407.  
  408.  
  409.     CH recognized several special character sequences, which are used\
  410. to render page text in Underline, Bold, Italic, Complement or set the\
  411. foreground and background colors.
  412.  
  413.     The special character sequences all use the backslash as their first\
  414. character. The backslash is followed by the:
  415. \l6
  416. Character        Function
  417. ~~~~~~~~~        ~~~~~~~~
  418.     U                Underline on
  419.     u                Underline off
  420.     B                Bold on
  421.     b                Bold off
  422.     I                Italic on
  423.     i                Italic off
  424.     X                Complement on
  425.     x                Complement off
  426.     C#                Background color 0 to 7
  427.     c#                Foreground color 0 to 7
  428.     o                Normal text -- resets all of the above
  429. \l
  430.     The following samples must be displayed with CH, while being viewed as a\
  431. normal CH page. If this file is loaded as a text file, or viewed with an\
  432. editor, the special\
  433. characters will not be converted. Each of the samples first shows what\
  434. the line should look like in the Data File, enclosed in quotation marks,\
  435. then what it looks like when the style sequences are converted.
  436. \w
  437. "This is a test of the \\Uunderline\\u function"
  438. This is a test of the \Uunderline\u function
  439.  
  440. "This is a test of the \\Iitalic\\i print function"
  441. This is a test of the \Iitalic\i print function
  442.  
  443. "This is a test of the \\Bbold\\b print function"
  444. This is a test of the \Bbold\b print function
  445.  
  446. "\\U\\C2This is a test of the underline function with back color 2\\o"
  447. \U\C2This is a test of the underline function with back color 2\o
  448.  
  449. "\\C3\\IThis is a test of the italic print function with back color 3 \\o"
  450. \C3\IThis is a test of the italic print function with back color 3 \o
  451.  
  452. "\\B\\C6This is a test of the bold print function with back color 6 \\o"
  453. \B\C6This is a test of the bold print function with back color 6 \o
  454.  
  455. "\\U\\I\\B\\C3\\c4This is a test of the underlined, italicized, bold print function \\o"
  456. \U\I\B\C3\c4This is a test of the underlined, italicized, bold print function \o
  457.  
  458. "\\c2This is a test of the \\Upen 2 color\\u \\o"
  459. \c2This is a test of the \Upen 2 color\u \o
  460.  
  461. "\\c3This is a test of the \\Upen 3 color\\u \\o"
  462. \c3This is a test of the \Upen 3 color\u \o
  463.  
  464. "\\c4This is a test of the \\Upen 4 color\\u \\o"
  465. \c4This is a test of the \Upen 4 color\u \o
  466.  
  467. "\\c5This is a test of the \\Upen 5 color\\u \\o"
  468. \c5This is a test of the \Upen 5 color\u \o
  469.  
  470. "\\c6This is a test of the \\Upen 6 color\\u \\o"
  471. \c6This is a test of the \Upen 6 color\u \o
  472.  
  473. "\\c7\\C3This is a test of the \\Upen 7 color\\u with background color 3 \\o"
  474. \c7\C3This is a test of the \Upen 7 color\u with background color 3 \o
  475.  
  476. "\\XThis is a test of the \\UCOMPLEMENT\\u function\\o"
  477. \XThis is a test of the \UCOMPLEMENT\u function\o
  478.  
  479. \p New File Sample
  480.  
  481.  
  482.     In this sample explanation I will make the following assumptions:
  483. \l6A. You have a new file to add to your help system.
  484. B. The name of this file is "PDProgram.doc".
  485. C. This file contains four main sections.
  486. D. Each section will be a CH page.
  487. E. You want a menu for these four pages.
  488. F. This menu will be a child of the Base Group.
  489.  
  490. \l    To accomplish these objectives the following steps are necessary:
  491. \l6\wA. Create a Base File with an External Page Specification
  492.     for the new Menu Page in the new Data File.
  493. B. In the new Data File create a Parent (Menu) Page for
  494.     the four pages that follow.
  495. C. Insert a Child Page Specifier in the file before each
  496.     of the four sections.
  497. \rAutomatic Menu Page
  498. \rPage Specifiers
  499. \W
  500. \lCreate Base File:
  501.     Using an editor, create a new file named Base.PDProgram. Give it\
  502. a single External Page Specification using the following two lines\
  503. between the quotation marks.
  504.  
  505. \l6"\PF Base\ PDProgram\ PDProgram.ch"
  506. "PDProgram"
  507.  
  508. \l    The name of this file must start "Base." or it will not be a Base File.\
  509. This will make the new Menu Page\
  510. that will be created in the Data File a Child of the Base Group.\
  511. The second line in this file allows the Base Page to be built without\
  512. it being necessary to open the new Data File. Save the new Base File in the\
  513. CH Directory.
  514.  
  515. Create a Parent (Menu) Page:
  516.     Using your editor, open the file "PDProgram.doc".\
  517. At the beginning of the first Child Page insert a Parent Page Specification.
  518.  
  519. \l6"\PM Base \ PDProgram"
  520.  
  521. \l    This creates a Menu Page that is a child of the Base Page and\
  522. gives it the name PDProgram. This is the page pointed to by the\
  523. External Page Spec. in the Base File just created.\
  524. "PDProgram" becomes the Group Name for it's Child Pages.
  525.  
  526. Insert Simple Page Specifications:
  527.     Insert the first Child Page Spec. on the line after the Parent Page\
  528. Spec. This line should be "\PC PDProgram \ Page Name".\
  529. It is the first page of this group, making the Group Name mandatory.
  530. "Page Name" is any name you wish to assign to this page.
  531.  
  532.     Next you divide the file into logical sections, placing a Child\
  533. Page Spec. at the beginning of each section and assigning a Page Name\
  534. to each. Determine where you want the second page to start, and insert the\
  535. next Page Spec. "\PC \Page Name". This Page Spec. does not require the\
  536. Group Name. It will inherit the group of the previous page.
  537.  
  538.     Go through the file inserting a "\PC \Page Name" at the beginning of each of\
  539. the two remaining sections. Each page will consist of the data\
  540. from it's Page Spec. to the next Page Spec. or the end of the file.
  541.  
  542.     If you wish to use Word Wrap with this file go through the file\
  543. inserting the appropiate Word Wrap Specifications. (see Data\
  544. File/Word Wrap Specifiers)
  545. \rWord Wrap Specifiers
  546.  
  547.     When done inserting Page Specifications save the file in the\
  548. CH Directory, changing the suffix ".doc" to ".ch". The ".ch"\
  549. suffix tells you that the file has been formatted for use by the\
  550. CH program.
  551.  
  552.     You are now ready to access the file through the menus and display\
  553. the information contained in logical pages divided as you wish.\
  554. If CH is already started open the DW then execute a Restart Instruction\
  555. to reload the Base Files. If CH is not running start it now.
  556.  
  557.     As an alternative you may make the file accessible to the program\
  558. as a single page by eliminating all the formatting done in the new\
  559. file. Instead do just the External Page Specification in the Base File\
  560. using the file "PDProgram.doc". If the file contains no CH Page\
  561. Specifications the entire file will be read in as a single page. This\
  562. is suitable for small files but large files are more easily read by\
  563. dividing them into pages.
  564.  
  565. \p CH.cmd File
  566.  
  567.  
  568.     The CH.cmd File contains the information CH uses to assign a Command\
  569. to an Instruction. It must reside in the CH Directory.\
  570. Do not edit this file. Commands are configured\
  571. using the Command Edit Instruction. See Using the Program/Commands\
  572. for details.
  573.  
  574. \r\Using/Commands
  575. \p CH.prefs File
  576.  
  577.  
  578.     The CH.prefs File contains your program preferences. It must reside\
  579. in the CH Directory. This is not an\
  580. editable file. Your preferences are set from the Startup Options and any\
  581. settings you change while running CH. When you have the desired configuration\
  582. execute a Save Preferences Instruction to update this file. Whatever you\
  583. have saved will be used the next time the program is run.
  584.  
  585.     Options specified in CH.prefs will have a lower priority than the\
  586. Startup Options.
  587.  
  588.     See Starting and Termination/Startup Options for details of the\
  589. startup options.
  590.  
  591. \r\Start/Startup Options
  592. \p CH.menu File
  593.  
  594.  
  595.     The CH menus are optional and definable by the user. The CH.menu file\
  596. must reside in the CH Directory. Edit the CH.menu\
  597. File to select the desired menus, menu items and menu sub items. All\
  598. Instructions are available via the Commands, making the menus\
  599. unnecessary, but to adhere with the normal Amiga user interface you may\
  600. include menus for any or all Instructions. If you do not desire\
  601. the pull-down menus rename or remove the CH.menu file.
  602.  
  603.     The sample CH.menu File that accompanies CH contains all the\
  604. Instructions. This file may be edited to remove any Instructions\
  605. you do not wish to have a menu item.\
  606. Renaming the file, (e.g. CH.menu.save) will prevent CH\
  607. finding it when the program is started, giving you the basic menu\
  608. only, and saving memory. The basic menu is "Custom Help", with one\
  609. menu item (About), and four sub items (my name and address).
  610.  
  611.     A list of the Commands and their numbers is available in the Using\
  612. the Program/Intructions by Number Section or by using the HELP key.
  613. \r\Using/Instructions by Number
  614. \w
  615.     The CH.menu File contains three types of entries:
  616.         A. Menu --         "M, Name"
  617.         B. Item --         "I, ##, Name"
  618.         C. Sub Item -- "S, ##, Name"
  619.     
  620.     Where:
  621.         The first letter must be exactly as shown for each type.
  622.         "##" is the number of each Instruction.
  623.         "Name" is the text to be placed in the menu or item.
  624. \W
  625.     The menus and items will appear in the DW in the same order as they\
  626. are listed in the CH.menu File. The basic menu "Custom Help" can be added\
  627. to by starting the CH.menu File with an item entry rather than a menu\
  628. entry. Each list of items will be attached to the preceding menu. Each\
  629. list of sub items will be attached to the preceding item.
  630.  
  631.