home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / nview133.zip / newview.INF (.txt) < prev    next >
OS/2 Help File  |  2001-11-04  |  15KB  |  317 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.  Welcome to NewView! 
  5.  
  6. NewView is a replacement for the original OS/2 Help Viewer, View.exe. 
  7.  
  8. It improves upon many aspects of View, with a modern, easy to use interface, 
  9. more options, and new features that View simply didn't have. 
  10.  
  11. For more advertising, see the readme.txt that comes with NewView. This helpfile 
  12. is here to explain the tedious details of using the program. So lets go! 
  13.  
  14. ------- 
  15.  
  16. NewView is Copyright 2001 Aaron Lawrence. It is also licensed under the GNU 
  17. Public License, which means you have the right to obtain the source code. 
  18.  
  19. If you have comments, compliments, suggestions or ... OK... bugs, you can talk 
  20. to me: 
  21.  
  22.   aaronl@consultant.com. 
  23.  
  24. Please be specific: you need to include: 
  25.  
  26. o NewView version number (Help - About) 
  27.  
  28. o What you were doing at the time 
  29.  
  30. o Status bar text, if any 
  31.  
  32. o What help file was being loaded, and where I can find/download it if 
  33. posssible 
  34.  
  35. o What variety of OS/2 you're running. 
  36.  
  37. Also make sure you've read readme.txt for features that aren't supported - I 
  38. obviously already know about those problems! However, votes in favour of 
  39. implementing particular features are welcome, as they help to prioritise 
  40. development. 
  41.  
  42. If you want to help with NewView development, you should be able to download 
  43. the latest source code from http://hobbes.nmsu.edu or else, you can contact me. 
  44. NewView is written with Speedsoft Sibyl (http://www.speedsoft-online.de), a 
  45. Delphi clone for OS/2. 
  46.  
  47.  
  48. ΓòÉΓòÉΓòÉ 2. Installation ΓòÉΓòÉΓòÉ
  49.  
  50. Installing NewView 
  51.  
  52. NewView does not currently have an install program (this is just laziness on my 
  53. behalf :). 
  54.  
  55. However the procedure is very simple. Simply put NewView.exe in a directory, 
  56. preferably one that is in the path. It doesn't use any DLLs or OS/2 INI 
  57. settings or Workplace Shell features. 
  58.  
  59. It creates a text INI file in it's own directory to save settings; it also 
  60. creates text .NTE and .BMK files for Notes and Bookmarks, in the same directory 
  61. as your help files (but only if you actually create any Notes or Bookmarks). 
  62.  
  63. Making NewView your default Help reader 
  64.  
  65. The easiest way to do this is: 
  66.  
  67. 1. Go to C:\os2 
  68. 2. Copy View.exe to OldView.exe 
  69. This makes a backup. Do NOT rename View.exe or OS/2 will detect the change and 
  70. make help files use OldView.exe! 
  71. 3. Copy NewView.exe to View.exe. 
  72.  
  73. The reason for doing this, rather than changing OS/2 File Associations (apart 
  74. from the fact that it is quite difficult to change associations) is that many 
  75. help file icons are installed as program objects, pointing to View.exe 
  76. explicitly, with parameters for the file to load. 
  77.  
  78. What about online (application) help? 
  79.  
  80. Right now, NewView simply does not do this. I have had no particular insight 
  81. into how I would do this either, since it is basically part of Presentation 
  82. Manager (the OS/2 windowing system). 
  83.  
  84.  
  85. ΓòÉΓòÉΓòÉ 3. Using NewVIew ΓòÉΓòÉΓòÉ
  86.  
  87. Using NewView 
  88.  
  89. Broadly speaking, NewView does the same things as View does. 
  90.  
  91. To find topics, you can search, read the table of contents or use the 
  92. alphabetical index. 
  93.  
  94. To simply read the help file like a paper book, use the "Previous"  and "Next" 
  95. buttons to work your way through all the topics. 
  96.  
  97. You can also use the help file like web pages, using "Back"  and "Forward" 
  98. buttons to go back to wherever you were before, or to retread you steps. 
  99.  
  100. Colours and some of the behaviour of NewView can be adjusted from the "Options" 
  101. dialog (Tools - Options menu). 
  102.  
  103. You can also annotate or bookmark topics. 
  104.  
  105. Why doesn't my help file work properly? 
  106.  
  107. NewView is a work in progress. 
  108.  
  109. Some of the less used features of View are not yet implemented. This is either 
  110. because I have not got around to it, or because they are simply not worth the 
  111. time. Examples include image maps (hyperlinked graphics)*, metafiles, index 
  112. synonyms, the entire application control API, and so on. 
  113.  
  114. Unfortunately, it seems that at least one developer has used every one of these 
  115. features, so you may find an occasional file that doesn't load or doesn't work 
  116. properly. 
  117.  
  118. Over time, more features may be added when they seem worthwhile, but there is 
  119. no guarantee. Your votes count! Send them to aaronl@consultant.com. 
  120.  
  121. ------ 
  122.  
  123. * Hyperlinked graphics with a single link for the whole picture, will now work 
  124. in NewView. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 3.1. Loading files ΓòÉΓòÉΓòÉ
  128.  
  129. Loading Helpfiles 
  130.  
  131. To open a help file, you can: 
  132.  
  133. - Double-click a help icon that is already set up, or 
  134.  
  135. - Type "NewView filename" from the command line, or 
  136.  
  137. - Click the Open button  from within NewView, or 
  138.  
  139. - Reload a recently viewed file from the "File" menu of NewView. 
  140.  
  141. Once the file is loaded, you should see the table of contents and the first 
  142. topic. 
  143.  
  144. Like View, NewView can load multiple files at once, presenting them as if they 
  145. were one book, and read environment variables for filenames. This makes it 
  146. compatible with such things as the OS/2 Developers Toolkit documentation. 
  147.  
  148. For example 
  149.  NewView cpref 
  150. loads the "Control Program Guide and Reference". CPREF is an environment 
  151. variable set in config.sys, consisting of "CP1+CP2+CP3" which tells NewView (or 
  152. View) to load the help files CP1, CP2 and CP3. Because there is no path 
  153. supplied, the files are searched for in path specified by the BOOKSHELF 
  154. variable.* 
  155.  
  156. The files are all loaded and effectively appended to each other, in the order 
  157. specified on the command line. 
  158.  
  159. The reason for splitting help files like this escapes me, but the IPF help 
  160. suggests that it was so you could fit each part on a single floppy. 
  161.  
  162. Being able to load multiple files like this can occasionally be helpful for 
  163. other reasons. For example, 4OS/2 (a CMD.EXE replacement) uses it to add it's 
  164. own help on top of the original CMD help. You can do it yourself with any files 
  165. you like, perhaps because you use both together. 
  166.  
  167. You can also load multiple files with the GUI - use ctrl or shift to select 
  168. multiple files. 
  169.  
  170.  
  171. ΓòÉΓòÉΓòÉ 3.2. Contents view ΓòÉΓòÉΓòÉ
  172.  
  173. Table of Contents 
  174.  
  175. Most help files have a table of contents that shows you the topics in the file, 
  176. in a hierarchy or "tree". This is usually the first view you see when you open 
  177. a file. 
  178.  
  179. You can expand or collapse branches on the tree by clicking the + or - buttons, 
  180. or using the space bar. 
  181.  
  182. To view a topic from the contents, just click on it. You can also move through 
  183. the contents by using the arrow keys. 
  184.  
  185. To move through *all* topics in the contents tree, in order, you can use Ctrl + 
  186. Up and Ctrl + Down, or the "Previous"  and "Next"  buttons. This is one way to 
  187. treat the file as a normal book, reading through each page. 
  188.  
  189. You can also review the whole table of contents by using "Expand All" in the 
  190. "View" menu. This expands all the branches of the contents table so you can 
  191. quickly look through it. However, it's usually easier to use Search or Index 
  192. for this purpose. 
  193.  
  194.  
  195. ΓòÉΓòÉΓòÉ 3.3. Search ΓòÉΓòÉΓòÉ
  196.  
  197. About Search 
  198.  
  199. Searching is a quick way to find information, when you don't know where to 
  200. start. Simply go to the Search tab, type some related words and click the 
  201. Search button. You'll see a listing of all topics containing that word, or 
  202. words like it, with the best matches at the top. 
  203.  
  204. You can also search "all" help files on your system using "Tools" - "Search all 
  205. Help Files". This search works similarly to searching within a file, but it 
  206. presents results categorised by what help file they were found in. 
  207.  
  208. Note: This search may not include all help files on your system. Only the paths 
  209. defined by BOOKSHELF and HELP environment variables are searched. Of course, 
  210. NewView could potentially search your whole hard drive, but that could be very 
  211. slow and is usually not necessary. Your thoughts on this topic are welcome. 
  212.  
  213. Notes 
  214.  
  215. NewView offers generous matching capabilities, including partial word matches 
  216. (starting, or containing). Technically, View can do similar things using 
  217. wildcards (*) but most people don't know this, or if they do they don't 
  218. remember it when doing a search ;-) 
  219.  
  220. There is one significant problem with the current search features: "words" that 
  221. include numbers or symbols - such as "es4004" will not be found. This is 
  222. because View breaks those up into pieces (numbers, alphabetic, symbols). I have 
  223. a method to solve this, but haven't implemented it. 
  224.  
  225. It's also possible that occasionally words will be missed from searches. This 
  226. is because I don't have full documentation on the search table in INF files, 
  227. and there may be a few cases that I haven't worked out. I don't have any way to 
  228. improve in this area. 
  229.  
  230.  
  231. ΓòÉΓòÉΓòÉ 3.4. Index ΓòÉΓòÉΓòÉ
  232.  
  233. About the Index 
  234.  
  235. The Index tab contains an alphabetical listing of topics or keywords in the 
  236. help file. You can quickly search through it just by typing the first few 
  237. characters of the word you want to look up. NewView jumps to the first match in 
  238. the index automatically. 
  239.  
  240. Notes 
  241.  
  242. Help files may or may not include an "official" index. The index is manually 
  243. created by the author, so (for original View) it's usefulness is strictly 
  244. dependent on how much work the author put into it. There may not even be one. 
  245.  
  246. However, a useful index can be provided simply by listing the titles of each 
  247. topic alphabetically, and this is what NewView does. It then merges the 
  248. original index (if any) with the list of topic titles. 
  249.  
  250. If for some reason you don't like this, you can turn it off in "File" - 
  251. "Options" - General tab. 
  252.  
  253.  
  254. ΓòÉΓòÉΓòÉ 3.5. Notes ΓòÉΓòÉΓòÉ
  255.  
  256. Adding and Using Notes 
  257.  
  258. NewView allows you to add notes (annotations) to your help files. 
  259.  
  260. To add a note, simply click where you want to make a note and click the "Note" 
  261. button , then type your text and press enter. The text will be inserted in red 
  262. into the help topic. 
  263.  
  264. To edit or delete a note, click on the red note text; you can then edit the 
  265. note text, or click on delete to get rid of it. 
  266.  
  267. You can also review all the notes that you've made in the current help file(s) 
  268. by going to the Notes tab; this allows you to add, edit and delete, and also 
  269. jump to the topics containing your notes. 
  270.  
  271. Notes are saved in a file with the extension .nte, in the same directory as the 
  272. help file they are for. 
  273.  
  274. Note - if a help file is changed (for example a program is upgraded) then notes 
  275. will no longer appear in the correct place; however, you can still read them 
  276. from the Notes tab. 
  277.  
  278.  
  279. ΓòÉΓòÉΓòÉ 3.6. Bookmarks ΓòÉΓòÉΓòÉ
  280.  
  281. Bookmarks 
  282.  
  283. NewView allows you to bookmark particular topics within the current help file. 
  284. Simply click the bookmark button  to add the current topic as a bookmark. 
  285.  
  286. To jump to a bookmark, go to the "Bookmarks" menu, and click on the bookmark 
  287. you want to open. 
  288.  
  289. You can view or delete all your bookmarks by clicking on "Edit.." in the 
  290. "Bookmarks" menu. This window can remain open while you read, so that you can 
  291. quickly look through your bookmarks. 
  292.  
  293. Notes 
  294.  
  295. NewView will remember all the windows that are open, if there is more than one 
  296. (most help files don't do this, but some do). 
  297.  
  298. Bookmarks are saved in a file with the extension .bmk, in the same directory as 
  299. the help file they are for. 
  300.  
  301.  
  302. ΓòÉΓòÉΓòÉ 3.7. Environment Variables ΓòÉΓòÉΓòÉ
  303.  
  304. Environment Variables 
  305.  
  306. The official View behaviour uses the BOOKSHELF environment variable for finding 
  307. "online books" (.INF files), and the HELP environment variable for "online 
  308. help" (.HLP files). 
  309.  
  310. For those of us who, unlike IBM, don't see much distinction between the two and 
  311. get annoyed at the seperation, NewView uses both paths in all cases, and (like 
  312. later versions of View) loads either type of file. 
  313.  
  314. So, if you have some help files you want to be able to search (with NewView) 
  315. then add the directory they are in to both the SET BOOKSHELF= and SET HELP= 
  316. statements in CONFIG.SYS. (You don't need both for NewView, but this will make 
  317. sure that original View can find the files).