source: trunk/i18n/NewView.ipf@ 103

Last change on this file since 103 was 99, checked in by RBRi, 19 years ago

more text updates for the command line changes

  • Property svn:eol-style set to native
File size: 36.7 KB
Line 
1:userdoc.
2:docprof toc=123456.
3:title.NewView Help
4.* ************************************************************
5.* Subject: Help for NewView
6.* Version:
7.* Copyright: Copyright 2004 Aaron Lawrence
8.* Copyright: Copyright 2006-2007 Ronald Brill
9.* Author: Aaron Lawrence
10.* ************************************************************
11.*
12.*
13.* ************************************************************
14.* Introduction
15.* ************************************************************
16:h1 res=30000 id='Introduction'.
17Introduction
18:i1 id=30001.support
19:p.
20:artwork runin name='images\NewView.bmp'.
21 :hp2.Welcome to NewView&xclm.:ehp2.
22:p.
23:p.NewView is a program for reading OS&slash.2 &lpar.or eComStation&rpar. Help
24Files&per.
25:p.:link reftype=hd refid='Support'.Support and Licensing:elink.
26:p.:link reftype=hd refid='Using'.Using NewView:elink.
27:p.:hp1.To stop this file appearing when you start NewView without specifying a
28help file&comma. see Tools &endash. Options &endash. General tab&per.:ehp1.
29:p.:hp2.History:ehp2.
30:p.NewView replaces the original IBM program supplied with OS&slash.2&per.
31:p.It improves upon many aspects of View&comma. with a modern&comma. easy to use
32interface&comma. more options&comma. and new features that View simply
33didn&apos.t have&per.
34:p.
35.* ************************************************************
36.* Support and Licensing
37.* ************************************************************
38:h2 res=1 id='Support'.
39Support and Licensing
40:i1 id=30002.license
41:i2 refid=30001.Support and Licensing
42:i2 refid=30001.Introduction
43:i1 id=30003.bugs
44:i1 id=30004.source code
45:p.:hp2.Support and Licensing:ehp2.
46:p.
47:p.NewView is Copyright 1999&endash.2006 Aaron Lawrence&per. It is also licensed
48under the GNU Public License&comma. which means you have the right to obtain the
49source code&per.
50:p.Since 2006 Ronald Brill maintains the product&per.
51.br
52NewView is a Netlabs project&per.
53:p.See the Readme&per.txt for more technical details&per.
54:p.See the Changes&per.txt file for a history of changes to NewView&per.
55:p.If you find NewView helpful&comma. please email me and&slash.or make a
56donation to support further development&per. It&apos.s nice to hear from
57you&xclm.
58:ul.
59:li.Suggestions&comma. compliments or bug reports http&colon.&slash.&slash.svn&per.netlabs&per.org&slash.newview
60:li.Translate NewView to your language&per.
61:li.A donation to Netlabs http&colon.&slash.&slash.www&per.mensys&per.nl
62:eul.
63:p.:hp2.Reporting Bugs:ehp2.
64:p.If you need to report a crash or other problem&comma. then be as specific as
65possible about what files were being used&comma. what you were doing&comma.
66etc&per. If one is available&comma. PLEASE include the newview&per.log&per. The
67log file will be EITHER
68.br
69 &endash. in the same directory as NewView itself
70.br
71 &endash. in the folder set by LOGFILES environment variable &lpar.typically eCS
721&per.1&plus.&rpar.
73.br
74If it is specific to a particular help file&comma. then send them to me&comma.
75unless they&apos.re large &lpar.bigger than 1MB&rpar.&per.
76:p.Most of the following information is in the newview&per.log file&comma. but
77it would be helpful if you could include it for verification&colon.
78:ul.
79:li.NewView version &lpar.Help &endash. Product Information&rpar.
80:li.The filenames of the help files&per.
81:li.A screenshot may be useful&comma. if the problem is an incorrect or corrupt
82display&per.
83:eul.
84:p.:hp2.Why doesn&apos.t my help file work properly?:ehp2.
85:p.Some of the less used features of the original View program are not
86implemented&per. This is either because I have not got around to it&comma. or
87because they are simply not worth the time&per. Examples include
88metafiles&comma. index synonyms&comma. the entire application control API&comma.
89and so on&per.
90:p.Unfortunately&comma. it seems that at least one developer has used every one
91of these features&comma. so you may find an occasional file that doesn&apos.t
92load or doesn&apos.t work properly&per.
93.*
94.*
95.* ************************************************************
96.* Using NewView
97.* ************************************************************
98:h1 res=2 id='Using'.
99Using NewView
100:p.:hp2.Using NewView:ehp2.
101:p.Once you have :link reftype=hd refid='OpeningFiles'.opened a
102file:elink.&comma. you can read it in various ways&per.
103:p.You can read the :link reftype=hd refid='contents'.table of
104contents:elink.&comma. use the :link reftype=hd refid='Index'.alphabetical
105index:elink.&comma. or :link reftype=hd refid='search'.search:elink.&per.
106:p.To simply read the help file like a paper book&comma. use the "Previous"
107:artwork runin name='images\previous.bmp'.
108 and "Next"
109:artwork runin name='images\next.bmp'.
110 buttons to work your way through all the topics&per.
111:p.You can also use the help file like web pages&comma. using "Back"
112:artwork runin name='images\back.bmp'.
113 and "Forward"
114:artwork runin name='images\forward.bmp'.
115 buttons to go back to wherever you were before&comma. or to retread your
116steps&per.
117:p.Colours and some of the behaviour of NewView can be adjusted from the Tools
118&endash. Options menu&per.
119:p.You can also :link reftype=hd refid='notes'.annotate:elink. or :link
120reftype=hd refid='bookmarks'.bookmark:elink. topics&per.
121.*
122.*
123.* ************************************************************
124.* Opening Help File
125.* ************************************************************
126:h1 res=3 id='OpeningFiles'.
127Opening Files
128:i1 id=30005.open
129:p.:hp2.Opening Help Files:ehp2.
130:p.
131:p.To open a help file&comma. you can use any of the following&colon.
132:p.&endash. Double&endash.click a :link reftype=hd refid='HelpIcons'.help
133icon:elink. that is already set up
134:p.&endash. Type "view :hp1.filename:ehp1." from the :link reftype=hd
135refid='CommandLine'.command line:elink.
136:p.&endash. Click the Open button
137:artwork runin name='images\open.bmp'.
138 from within NewView
139:p.&endash. Reload a recently viewed file from the "File" menu
140:p.&endash. Drag and drop a Help file from the desktop
141:p.Once the file is loaded&comma. you should see the :link reftype=hd
142refid='contents'.table of contents:elink. and the first topic&per.
143:p.:hp5.Note&colon.:ehp5. This assumes you installed NewView as a replacement
144for original View&per. If you didn&apos.t then existing help icons and the
145command line may behave differently&per.
146:p.:hp2.Loading Multiple Files Together:ehp2.
147:p.NewView can load multiple files at once&comma. presenting them as if they
148were one book&comma. and read environment variables for filenames&per.
149:p.For example&comma. with the OS&slash.2 Developer&apos.s Toolkit
150documentation&colon.
151.br
152 NewView cpref
153.br
154loads the "Control Program Guide and Reference"&per. CPREF is an environment
155variable set in config&per.sys&comma. consisting of "CP1&plus.CP2&plus.CP3"
156which tells NewView &lpar.or View&rpar. to load the help files CP1&comma. CP2
157and CP3&per. The files are searched for in the path specified by two :link
158reftype=hd refid='L_EnvironmentVariables'.environment
159variables:elink.&per.&asterisk.
160:p.The files are all loaded and effectively appended to each other&per.
161:p.Being able to load multiple files like this can be helpful for various
162reasons&per. For example&comma. 4OS&slash.2 &lpar.a CMD&per.EXE
163replacement&rpar. uses it to add it&apos.s own help on top of the original CMD
164help&per. You can do it yourself with any files you like&per.
165:p.You can load multiple files in the Open File dialog by using Ctrl or Shift to
166select multiple files&per.
167:p.When you click a link to a different help file&comma. NewView loads the other
168file without closing your current files&per.
169:p.At any time&comma. you can find out what files are open by using File
170&endash. Information&per.
171:p.:hp2.Loading Additional Files:ehp2.
172:p.You can tick the "Keep current files open" checkbox in the Open File
173dialog&comma. and NewView will open the files you have selected without closing
174the currently opened files&per.
175:p.:hp2.Drag and Drop:ehp2.
176:p.You can drag and drop &per.INF or &per.HLP files onto NewView and they will
177be opened&per. If you hold down the Shift key&comma. they will be opened without
178closing the current files&per.
179:p.You can drop files onto any of the main content areas&comma. such as the
180Contents or Index windows&comma. or an existing topic window&per.
181:p.:hp5.Note:ehp5.
182:p.Some links that go across files&comma. will only work if the correct set of
183files is loaded&per.
184.* ************************************************************
185.* Help Icons
186.* ************************************************************
187:h2 res=17 id='HelpIcons'.
188Help Icons
189:p.:hp2.Help Icons:ehp2.
190:p.Help Icons on the desktop are usually "program objects" with the program name
191set to "view&per.exe" and the parameters set to the name of the help files&per.
192:p.Some programs create these icons automatically at install time&per.
193:p.You can create these icons yourself by using the desktop program
194template&per. See desktop help for more information&per.
195:p.If you create icons by dragging help files to the desktop&comma. then you
196cannot give them a meaningful title&comma. because that would change the name of
197the file&comma. which might prevent programs from finding the help file&per.
198Therefore program objects are currently the recommended means of creating help
199icons&per.
200.*
201.*
202.* ************************************************************
203.* Navigation Panel Tabs
204.* ************************************************************
205:h1 res=200 id='NavigationPanel'.
206Navigation Panel Tabs
207:p.:hp2.Navigation Panel Tabs:ehp2.
208:p.The left hand panel contains several tabs for moving through the current help
209file in different ways&per.
210:p.:link reftype=hd refid='contents'.Contents:elink.
211:p.:link reftype=hd refid='Index'.Index:elink.
212:p.:link reftype=hd refid='search'.Search:elink.
213:p.:link reftype=hd refid='notes'.Notes:elink.
214:p.You can turn this panel off to get more space&comma. by selecting View
215&endash. Show Left Panel from the menu&comma. or pressing Alt&plus.P&per. Do the
216same to turn it on again&per.
217:p.You can stop the navigation panel from appearing when a help file is opened
218in Tools &endash. Options &endash. General tab&per.
219:p.:hp2.Note&colon. :ehp2. Many programs choose to show the table of contents
220when they open their help file&semi. in this case&comma. the panel is
221automatically shown&comma. overriding your setting&per.
222.* ************************************************************
223.* Contents View
224.* ************************************************************
225:h2 res=4 id='contents'.
226Contents View
227:i1 id=30006.Table of Contents
228:p.:hp2.Table of Contents:ehp2.
229:p.
230:p.Most help files have a table of contents that shows you the topics in the
231file&comma. in a hierarchy or "tree"&per. This is usually the first view you see
232when you open a file&per.
233:p.You can expand or collapse branches on the tree by clicking the &plus. or
234&endash. buttons&comma. or using the space bar&per.
235:p.To view a topic from the contents&comma. just click on it&per. You can also
236move through the contents by using the arrow keys&per.
237:p.To move through &asterisk.all&asterisk. topics in the contents tree&comma. in
238order&comma. you can use Ctrl &plus. Up and Ctrl &plus. Down&comma. or the
239"Previous"
240:artwork runin name='images\previous.bmp'.
241 and "Next"
242:artwork runin name='images\next.bmp'.
243 buttons&per. This is one way to treat the file as a normal book&comma. reading
244through each page&per.
245:p.You can also review the whole table of contents by using "Expand All" in the
246"View" menu&per. This expands all the branches of the contents table so you can
247quickly look through it&per. However&comma. it&apos.s usually easier to use
248:link reftype=hd refid='search'.Search:elink. or :link reftype=hd
249refid='Index'.Index:elink. for this purpose&per.
250.* ************************************************************
251.* Index
252.* ************************************************************
253:h2 res=5 id='Index'.
254Index
255:p.:hp2.About the Index:ehp2.
256:p.
257:p.The Index tab contains an alphabetical listing of topics or keywords in the
258help file&per. You can quickly search through it just by typing the first few
259characters of the word you want to look up&per. NewView jumps to the first match
260in the index automatically&per. To view the highlighted topic&comma. press
261enter&per.
262:p.:hp5.Notes:ehp5.
263:p.Help files may or may not include an "official" index&per. The index is
264manually created by the author&comma. so &lpar.for original View&rpar. it&apos.s
265usefulness is strictly dependent on how much work the author put into it&per.
266There may not even be one&per.
267:p.However&comma. a useful index can be provided simply by listing the titles of
268each topic alphabetically&comma. and this is what NewView does&per. It then
269merges the original index &lpar.if any&rpar. with the list of topic titles&per.
270:p.If for some reason you don&apos.t like this&comma. you can turn it off in
271Tools &endash. Options &endash. Index tab&per.
272.* ************************************************************
273.* Search
274.* ************************************************************
275:h2 res=6 id='search'.
276Search
277:p.:hp2.Searching:ehp2.
278:p.
279:p.Searching is a quick way to find information&comma. when you don&apos.t know
280where to start&per. Simply go to the Search tab&comma. type some related words
281and click the Search button&per.
282:p.You&apos.ll see a listing of all topics containing that word&comma. or words
283like it&comma. with the best matches at the top&per. The best match will be
284displayed automatically&per.
285:p.Words that matches your search are highlighted in the topic&per.
286:p.:hp2.Global search:ehp2.
287:p.You can also search all help files on your system using the :link reftype=hd
288refid='GlobalSearch'.global search:elink. in Tools &endash. Search all Help
289Files&per.
290:p.:hp2.Phrase search:ehp2.
291:p.If you want to search for a phrase made up of more than one word&comma. put
292double quotes around it&comma. for example "os&slash.2 warp"&per.
293:p.:hp2.Matching features:ehp2.
294:p.NewView allows you finer control of searching&per.
295:p.&plus. indicates a word that :hp2.must:ehp2. be matched
296:p.&endash. indicates a word that must :hp2.not:ehp2. be matched
297:p.NewView always does partial word matches&per. That is&comma. if you search
298for "win" NewView will also find "window" and "showing"&per. However&comma. the
299better the match is the higher the rank will be&per.
300:p.:hp2.How NewView ranks results:ehp2.
301:p.NewView ranks matching topics by various means&colon.
302:p.&endash. a closer match to a full word
303:p.&endash. number of matching words in a topic
304:p.&endash. matches within the title
305:p.&endash. matches within an index entry
306:h2 res=7 id='notes'.
307Notes
308:p.:hp2.Adding and Using Notes:ehp2.
309:p.
310:p.NewView allows you to add notes &lpar.annotations&rpar. to your help
311files&per.
312:p.To add a note&comma. simply click where you want to make a note and click the
313"Note" button
314:artwork runin name='images\notegreen.bmp'.
315&comma. then type your text and click OK&per. The text will be inserted into the
316help topic with a different color &lpar.default is green&semi. you can change
317this in Tools &endash. Options &endash. Colors&rpar.&per.
318:p.To edit or delete a note&comma. click on the colored note text&semi. you can
319then edit the note text&comma. or click on delete to get rid of it&per.
320:p.You can also review all the notes that you&apos.ve made in the current help
321file&lpar.s&rpar. by going to the Notes tab&semi. this allows you to add&comma.
322edit and delete&comma. and also jump to the topics containing your notes&per.
323:p.
324:p.Notes are saved in a file with the extension &per.nte&comma. in the same
325directory as the help file they are for&per.
326:p.Note &endash. if a help file is changed &lpar.for example a program is
327upgraded&rpar. then notes will no longer appear in the correct place&semi.
328however&comma. you can still read them from the Notes tab&per.
329.*
330.*
331.* ************************************************************
332.* Global Search
333.* ************************************************************
334:h1 res=18 id='GlobalSearch'.
335Global Search
336:p.:hp2.Global search:ehp2.
337:p.You can search all help files on your system&comma. by clicking the Search
338All button
339:artwork runin name='images\globalsearch2.bmp'.
340&comma. using Tools &endash. Search all Help Files in the menu&comma. or
341pressing Ctrl&plus.S&per.
342:p.This search works similarly to :link reftype=hd refid='search'.searching
343within a file:elink.&comma. but it also tells you what help file the results
344were found in&per.
345:p.These searches may take some time&comma. depending on what you search
346for&per. You can stop the search at any time&per.
347:p.:hp2.Where NewView searches:ehp2.
348:p.The default is to search for help files in the help paths&comma. which are
349specified by the BOOKSHELF and HELP :link reftype=hd
350refid='L_EnvironmentVariables'.environment variables:elink.&per.
351:p.You can choose other places to search by choosing from the drop&endash.down
352list&comma. or customise the list by clicking the Select button&per.
353:p.:hp2.Search in&colon. Standard Help Paths:ehp2.
354:p.This is the default and will search BOOKSHELF and HELP as specified
355above&per.
356:p.Clicking the select button will allow you to choose which of the directories
357in the help paths will be used&per. Click each item in the list to select or
358de&endash.select it&per. After you choose this&comma. the location will show as
359"Selected Help Paths"
360:p.:hp2.Search in&colon. All Hard Drives:ehp2.
361:p.This option will search all hard &lpar.non&endash.removable&rpar. drives on
362your system&per. You can click "Select&per.&per.&per." to customise the
363location&per.
364:p.Searching drives can find more help files&comma. but might be much slower
365than just the help paths&per.
366:p.:hp2.Search in&colon. Selected Help Paths:ehp2.
367:p.If you have already selected particular help paths to search&per. You can
368click "Select&per.&per.&per." to customise again&per.
369:p.:hp2.Search in&colon. Directory List:ehp2.
370:p.In the "Select Directories" dialog&comma. clicking the "Add&per.&per.&per."
371button will allow you to add one or more directories to the search list&per.
372:p.Select the drive and directory using the controls that appear&comma. then
373click "&lt. Add Directory" to add the chosen directory&per. You can do this as
374many times as you like&per. Choose "With sub&endash.directories" if you want
375sub&endash.directories of the selected directory to be searched as well&per. In
376this case&comma. &per.&per.&per. will show on the end of the directory&per.
377:p.After you add a custom directory like this&comma. the location for searching
378will show as "Directory List"&per.
379:p.Note&colon. if you add a custom directory to standard or selected help
380paths&comma. then the list will become a custom list&comma. and you can no
381longer re&endash.select help paths&per. To get back to the original help
382paths&comma. choose "Standard Help Paths" then click "Select&per.&per.&per."
383again&per.
384:p.:hp2.Search in&colon. Typing a location:ehp2.
385:p.You can type a drive or directory into the "Search in&colon." entry
386field&per. Add "&per.&per.&per." on the end of the directory if you want to
387search subdirectories as well&per.
388:p.Example&colon.
389:p. Search in&colon. &lbracket. E&colon.&bsl.mydocs&bsl.&per.&per.&per.
390 &rbracket.
391:p.This will search help files in E&colon.&bsl.mydocs&bsl. and any
392subdirectories&per.
393.*
394.*
395.* ************************************************************
396.* Bookmarks
397.* ************************************************************
398:h1 res=8 id='bookmarks'.
399Bookmarks
400:p.:hp2.Bookmarks:ehp2.
401:p.
402:p.NewView allows you to bookmark particular topics within the current help
403file&per. Simply click the bookmark button
404:artwork runin name='images\bookmark2.bmp'.
405 to add the current topic as a bookmark&per.
406:p.To jump to a bookmark&comma. go to the "Bookmarks" menu&comma. and click on
407the bookmark you want to open&per.
408:p.You can view or delete all your bookmarks by clicking on "Edit&per.&per." in
409the "Bookmarks" menu&per. This window can remain open while you read&comma. so
410that you can quickly look through your bookmarks&per.
411:p.
412:p.:hp5.Notes:ehp5.
413:p.NewView bookmarks remember all the topic windows that are open&comma. if
414there is more than one&per.
415:p.Bookmarks are saved in a file with the extension &per.bmk&comma. in the same
416directory as the help file they are for&per.
417.*
418.*
419.* ************************************************************
420.* Internet Links
421.* ************************************************************
422:h1 res=100 id='InternetLinks'.
423Internet Links
424:p.:hp2.Internet Links:ehp2.
425:p.When you click a web URL like
426http&colon.&slash.&slash.www&per.google&per.com&comma. NewView launches your
427default web browser&per.
428:p.This web browser is specified by operating system settings&comma. not NewView
429itself&per. To configure it&comma. you can open a URL object on the
430desktop&comma. edit the browser path in the :hp2.Browser:ehp2. tab&comma. then
431click Set Default&per. Alternatively&comma. download the utility ConfigApps from
432Hobbes
433:p.
434 http&colon.&slash.&slash.hobbes&per.nmsu&per.edu&slash.cgi&endash.bin&slash.h&endash.search?key&eq.configapps
435.br
436:p.Browsers may also have the ability to make themselves the default&comma.
437either at install time or in preferences&per.
438:p.Email&comma. Newsgroups and FTP links are also passed to the web browser&per.
439At this time&comma. it isn&apos.t possible to choose a different program for
440these links&per.
441:p.:hp2.Note to help file authors:ehp2.
442:p.The original View had no understanding of URL or email links&comma. so the
443only way to implement them was a link to&comma. for example&comma.
444"netscape&per.exe" with the correct parameters&per.
445:p.NewView translates program links to "netscape"&comma. "explore" or "mozilla"
446into links to the default browser&per.
447:p.It also auto&endash.detects URLs in the forms&colon.
448:p. http&colon.&slash.&slash.x https&colon.&slash.&slash.x
449 ftp&colon.&slash.&slash.x
450:p. mailto&colon.x news&colon.x
451:p.Things that look like URLs are also detected&comma. even without the protocol
452prefix&colon.
453:p. www&per.a&per.b &endash. browser
454:p. ftp&per.a&per.b &endash. ftp
455:p. a&atsign.b&per.c &endash. email
456:p.where a&comma. b and c are any alphanumeric string&per.
457:p.You don&apos.t need to do anything for NewView to recognise these&per.
458.*
459.*
460.* ************************************************************
461.* Command Line
462.* ************************************************************
463:h1 res=9 id='CommandLine'.
464Command Line Parameters
465:p.:hp2.Command Line Parameters:ehp2.
466:p.When you run NewView from the command line you can supply various
467parameters&per. None of them are required&per.
468:p.
469:p.:hp2.NewView &lbracket.options&rbracket. &lbracket.&lt.filename&gt.
470&lbracket.&lt.search text&gt.&rbracket.&rbracket.:ehp2.
471:p.If NewView is installed as a replacement for view&comma. then the command
472starts with view instead of newview&per.
473:p.:link reftype=hd refid='CommandLineExamples'.Examples:elink.
474.*
475:p.:hp2.&lt.filename&gt.:ehp2.
476:p.The file for NewView to load&per. You can load multiple files at once by
477using filename1&plus.filename2 etc&per.
478.br
479If a path isn&apos.t specified&comma. then the files are searched for in the
480:link reftype=hd refid='L_EnvironmentVariables'.BOOKSHELF and HELP
481paths:elink.&per.
482.br
483If you path and&slash.or filename contains special characters (like blank) then
484you have to enclose the filename in double qoutes&per.
485.*
486:p.:hp2.&lt.search text&gt.:ehp2.
487:p.Search topic titles and index entries for this text&per. This is
488:hp2.not:ehp2. the same as a normal search&comma. for compatibility with
489original View&per. To do a proper search use the &slash.s option &lpar.see
490below&rpar.&per. For more details&comma. see :link reftype=hd
491refid='CommandLineTopicSearch'.Command Line Topic Search:elink.&per.
492:p.:hp2.Options:ehp2.
493:p.:hp2.&slash.s:ehp2.
494:p.After opening the file&comma. performs a :link reftype=hd
495refid='search'.search:elink. for the given text (do a real full text search intead of
496the default topic titles search)&per. The result is the same as performing the search from
497the :link reftype=hd
498refid='search'.serach navigation panel:elink.&per.
499:p.Example&colon.
500.br
501:lm margin=4.
502To search for copy in the whole cmdref document you can call
503:xmp.
504 newview &slash.s cmdref copy
505:exmp.
506NewView is clever enought to handle multiple words (like the :link reftype=hd
507refid='search'.serach navigation panel:elink. this is a OR search&per.
508:xmp.
509 newview &slash.s cmdref net access
510:exmp.
511To perform a AND search enclose the search phrase in double quotes&per.
512:xmp.
513 newview &slash.s cmdref &odq.net access&cdq.
514:exmp.
515:lm margin=1.
516.*
517:p.:hp2.&slash.g:ehp2.
518:p.Performs a :link reftype=hd refid='GlobalSearch'.global search:elink. for the
519given text&comma. on all the help files in your system&per.
520:p.Example&colon.
521.br
522:lm margin=4.
523To search for copy in all help files use
524:xmp.
525 newview &slash.g copy
526:exmp.
527Provide the file name as first parameter if you like to open a help file
528before the search starts.
529:xmp.
530 newview &slash.g cmdref copy
531:exmp.
532:lm margin=1.
533.*
534:p.:hp2.&slash.?:ehp2. or :hp2.&slash.h:ehp2. or :hp2.&slash.help:ehp2.
535:p.Show command line help
536:p.See also&colon. :link reftype=hd refid='AdvancedParameters'.Advanced
537Parameters:elink.
538.* ************************************************************
539.* Command Line Topic Search
540.* ************************************************************
541:h2 res=13 id='CommandLineTopicSearch'.
542Command Line Topic Search
543:p.:hp2.Command line topic search:ehp2.
544:p. view &lt.filename&gt. &lt.topic&gt.
545:p.The topic search parameter specified on the command line&comma. copies the
546behaviour of old view&per.
547:p.Text within topics is not searched&comma. only titles and index entries&per.
548This makes it less useful to humans&comma. but is used by some programs to
549reference help topics in a predictable way&per.
550:p.You can use multiple words here&per.
551:p.The search performed is&colon.
552:p.&endash. topic title starts with search text
553:p.&endash. index entry starts with search text
554:p.&endash. topic title contains search text
555:p.&endash. index entry contains search text&per.
556:p.Developers should make sure that the expected document will be found if using
557this technique to identify topics when starting New or Old view&per.
558.* ************************************************************
559.* Advanded Parameters
560.* ************************************************************
561:h2 res=14 id='AdvancedParameters'.
562Advanced Parameters
563:p.:hp2.Advanced Parameters:ehp2.
564:p.The following command line parameters are intended mainly for software
565developers&comma. but can be used for any purpose&per.
566:p.:hp2.&slash.lang&colon.&lt.language spec&gt.:ehp2.
567:p.Loads the specified language&per. Overrides the default chosen based on the
568LANG environment variable&per. For example&comma.
569:xmp.
570 newview cmdref &slash.lang&colon.en
571:exmp.
572loads English&per. See readme&per.txt for more information&per.
573:p.:hp2.&slash.pos&colon.&lt.left&gt.&comma.&lt.bottom&gt.&comma.&lt.width&gt.&comma.&lt.height&gt.:ehp2.
574:p.Set the main program window to the given position and size&per. All values
575must be given&per. Put a :hp2.P:ehp2. after a number to specify a
576percentage&per. For example&colon.
577:xmp.
578 newview &slash.pos&colon.10P&comma.10P&comma.80P&comma.80P
579:exmp.
580:p.makes the window centered and 80&percent. of the screen size&per.
581:p.:hp2.&slash.title&colon.&lt.window title&gt.:ehp2.
582:p.Sets the title of the NewView window to the specified text&comma. overriding
583whatever appears in the help file&per. The text "Help &endash. " will always be
584inserted in front of the specified text&comma. unless the specified text is
585"help"&comma. in which case the title will simply become "Help"&per. This is to
586make sure that help windows are always obvious as such in the window list&per.
587:p.If you need to specify multiple words&comma. surround the entire option with
588quotes&comma. for example&colon.
589:xmp.
590 newview cmdref "&slash.title&colon.Command Line Help"
591:exmp.
592.* ************************************************************
593.* Command Line Examples
594.* ************************************************************
595:h2 res=15 id='CommandLineExamples'.
596Command Line Examples
597:p.:hp2.Command Line Examples:ehp2.
598.*
599:p.The following examples assume that newview is installed as a complete
600replacement and therefore view is actually newview&per.
601:p.:hp2.view cmdref:ehp2.
602:lm margin=4.
603:p.Open the file cmdref&per.inf &lpar.OS&slash.2 Command Reference&rpar. from
604the help path&per.
605:lm margin=1.
606.*
607:p.:hp2.view cmdref&plus.os2ug:ehp2.
608:lm margin=4.
609:p.Open two files&comma. cmdref&per.inf and os2ug&per.inf &lpar.OS&slash.2 User
610Guide&rpar.&comma. in the same window&per.
611.br
612The table of contents from os2ug&per.inf is added to the end of the contents
613from cmdref&per.inf&per. The indexes are combined alphabetically&per.
614:lm margin=1.
615.*
616:p.:hp2.view c&colon.&bsl.os2&bsl.book&bsl.os2ug&per.inf:ehp2.
617:lm margin=4.
618:p.Open the file os2ug&per.inf in the c&colon.&bsl.os2&bsl.book directory&per.
619:lm margin=1.
620.*
621:p.:hp2.view &odq.c&colon.&bsl.os2 book&bsl.os2ug&per.inf&cdq.:ehp2.
622:lm margin=4.
623:p.Surround path&sl.file with double quotes if they contain special characters (like blank)&per.
624:lm margin=1.
625.*
626:p.:hp2.view cmdref dir:ehp2.
627:lm margin=4.
628:p.Open the file cmdref &lpar.OS&slash.2 command reference&rpar. and look in
629titles and index for the word "dir"&per. Will show the help page for the DIR
630command&per.
631:lm margin=1.
632.*
633:p.:hp2.view &slash.s os2ug desktop:ehp2.
634:lm margin=4.
635:p.Open the file os2ug&per.inf and search for the word "desktop"&per. The best
636match is shown&per.
637:lm margin=1.
638.*
639:p.:hp2.view &slash.g permissions:ehp2.
640:lm margin=4.
641:p.Performs a search of all help files for the word "permissions"&per.
642:lm margin=1.
643.*
644:p.:hp2.set myhelp&eq.cmdref&plus.os2ug&plus.rexx:ehp2.
645.br
646:hp2.view myhelp:ehp2.
647:lm margin=4.
648:p.The first line sets an environment variable MYHELP to contain the names of
649three help files&per. The second line opens the three files&per.
650:lm margin=1.
651.*
652.*
653.* ************************************************************
654.* Keyboard Shortcuts
655.* ************************************************************
656:h1 res=10 id='KeyboardShortcuts'.
657Keyboard Shortcuts
658:p.:hp2.Keyboard Shortcuts:ehp2.
659:p.Most keyboard shortcuts are visible in the menu&comma. but a few are not&per.
660The additional shortcuts are&colon.
661:p.:hp2.Alt&plus.F4:ehp2. Exit
662:p.:hp2.Ctrl&plus.C:ehp2. Copy selected text to clipboard
663:p.:hp2.F7:ehp2. Back
664:p.:hp2.F8:ehp2. Forward
665:p.:hp2.Ctrl&plus.Left:ehp2. Back
666:p.:hp2.F11:ehp2. Previous in contents
667:p.:hp2.F12:ehp2. Next in contents
668:p.
669:p.:hp2.Shortcuts visible in the menu:ehp2.
670:p.:hp2.Ctrl&plus.O:ehp2. Open files
671:p.:hp2.Ctrl&plus.E:ehp2. Open files from help paths
672:p.:hp2.Ctrl&plus.N:ehp2. Open a new window
673:p.:hp2.Ctrl&plus.P:ehp2. Print topic
674:p.:hp2.F3:ehp2. Exit
675:p.
676:p.
677:p.:hp2.Ctrl&plus.A:ehp2. Select all text in topic
678:p.:hp2.Ctrl&plus.Ins:ehp2. Copy selected text to clipboard
679:p.
680:p.:hp2.Ctrl&plus.F:ehp2. Find within current topic
681:p.:hp2.Ctrl&plus.G:ehp2. Repeat last find
682:p.
683:p.:hp2.Ctrl&plus.S:ehp2. Open global search tool
684:p.
685:p.:hp2.Alt&plus.C:ehp2. Change to the contents tab
686:p.:hp2.Alt&plus.I:ehp2. Change to the index tab
687:p.:hp2.Alt&plus.S:ehp2. Change to the search tab
688:p.:hp2.Alt&plus.N:ehp2. Change to the notes tab
689:p.:hp2.Alt&plus.P:ehp2. Toggle the left panel &lpar.tabs&rpar. on and off
690:p.:hp2.F5:ehp2. Expand all contents
691:p.:hp2.F6:ehp2. Collapse all contents
692:p.
693:p.:hp2.Esc:ehp2. Back
694:p.:hp2.Ctrl&plus.Right:ehp2. Forward
695:p.:hp2.Ctrl&plus.Up:ehp2. Previous topic in contents
696:p.:hp2.Ctrl&plus.Down:ehp2. Next topic in contents
697:p.
698:p.:hp2.Ctrl&plus.D:ehp2. Edit bookmarks
699:p.:hp2.Ctrl&plus.B:ehp2. Bookmark current topic
700:p.
701:p.:hp2.Ctrl&plus.M:ehp2. Add note at cursor position
702:p.
703:p.:hp2.F1:ehp2. Help for NewView
704.*
705.*
706.* ************************************************************
707.* Environment Variables
708.* ************************************************************
709:h1 res=11 id='L_EnvironmentVariables'.
710Environment Variables
711:p.:hp2.Environment Variables:ehp2.
712:p.
713:p.Both the :hp2.BOOKSHELF:ehp2. and :hp2.HELP:ehp2. environment variables
714define paths &lpar.lists of directories&rpar. for searching for help files&per.
715NewView uses both paths without distinction&per.
716:p.These paths are searched when you&colon.
717:p.o specify a help file without a path on the command line
718:p.o use the File &endash. Open Special&per.&per.&per. menu item
719:p.o do a :link reftype=hd refid='GlobalSearch'.global search:elink.
720:p.You can permanently add directories of help files to the :hp2.HELP:ehp2. or
721:hp2.BOOKSHELF:ehp2. paths by modifying the CONFIG&per.SYS file&per. Add to both
722paths&comma. if you also want old view to be able to find the files&per.
723:p.:hp2.Other environment variables:ehp2.
724:p.The :hp2.LANG:ehp2. environment variable is examined to decide the default
725language that NewView will be displayed in&per. &lpar.Overridden by the
726&slash.lang :link reftype=hd refid='AdvancedParameters'.command line
727parameter:elink.&per.&rpar. See the newview readme&per.txt for more information
728about languages&per.
729:p.The directory defined in :hp2.LOGFILES:ehp2. is used for logging crashes or
730other information&per.
731:p.The subdirectory "lang" under the directory defined by :hp2.OSDIR:ehp2. is
732searched for language files at startup&per.
733:p.The path :hp2.ULSPATH:ehp2. is also searched for language files&per.
734.*
735.*
736.* ************************************************************
737.* For Authors and Developers
738.* ************************************************************
739:h1 res=20 id='ForAuthors'.
740For Authors and Developers
741:p.:hp2.For Authors and Developers:ehp2.
742:p.
743:p.This section contains some notes for document authors and software
744developers&per.
745:p.Also see the section about URL recognition in the :link reftype=hd
746refid='InternetLinks'.Internet Links :elink.topic&per.
747.* ************************************************************
748.* Writing Help Files
749.* ************************************************************
750:h2 res=12 id='WritingHelpFiles'.
751Writing Help Files
752:p.:hp2.Writing OS&slash.2 Help Files :ehp2.
753:p.
754:p.OS&slash.2 Help Files are produced using the IPF Compiler&per. IPF stands for
755Information Presentation Facility&per.
756:p.The IPF Compiler takes a text file written in a language that tells it about
757things like headings&comma. links&comma. text and images&comma. and produces
758either a &per.INF or &per.HLP file&per.
759:p.The official way to obtain the IPF compiler &lpar.ipfc&per.exe&rpar. is from
760the OS&slash.2 Developers Toolkit&per. This is included free with eComStation
761&lpar.http&colon.&slash.&slash.www&per.ecomstation&per.com&rpar.&per.
762:p.Since the language for IPFC is tedious &lpar.for example all punctuation must
763be typed as special keywords&comma. like &amp.comma&per.&rpar. many people use
764other tools besides the IPF compiler itself&per.
765:p.I use Vyperhelp
766&lpar.http&colon.&slash.&slash.www&per.vyperhelp&per.com&rpar. since it is
767simple and graphical&per. It can also export to Windows Help&comma. HTML and
768others&comma. though it only runs on OS&slash.2&per. Not free&per.
769:p.Some other popular options are&colon.
770:p.o HyperText&slash.2 IPF Preprocessor
771&lpar.http&colon.&slash.&slash.www&per.clanganke&per.de&slash.os2&slash.sw&slash.htext&slash.
772.br
773&rpar. &endash. preprocesses a simpler starting language into the very difficult
774IPF format&per. Free&per.
775:p.o HyperMake
776&lpar.http&colon.&slash.&slash.www&per.hypermake&per.com&rpar.&per.
777Similar&comma. but can also produce Windows Help and HTML&per.
778:p.o Sibyl &lpar.which NewView was created with&rpar. comes with an IPF
779preprocessor&per.
780:p.o IPFEditor from PCS
781&lpar.http&colon.&slash.&slash.www&per.pcs&endash.soft&per.com&slash.productipfe212&per.htm
782.br
783&rpar.&per. Probably the most complete&comma. but significant cost&per.
784Note&colon. NewView doesn&apos.t support everything IPFE can do&xclm.
785.br
786In the past there were many other options&per. Those listed should still be
787available and have some support&per.
788.* ************************************************************
789.* Topic Resource IDs
790.* ************************************************************
791:h2 res=16 id='TopicResourceIDs'.
792Topic Resource IDs
793:p.:hp2.Topic Resource IDs:ehp2.
794:p.Resource IDs are used by authors of online help for applications&comma. to
795identify help topics&per. Applications call the Help Manager specifying a
796resource ID&comma. either directly using the HM&us.DISPLAY&us.HELP
797message&comma. or indirectly via help tables added to their resources&comma.
798which PM automatically handles&per. The resource ID is stored in a table inside
799the help file&per.
800:p.For document authors&comma. NewView offers the ability to see and find
801resource IDs&per.
802:p.:hp2.Finding by Resource ID:ehp2.
803:p.Use Tools &endash. Find Resource ID to search for a specified resource ID in
804all opened files&per.
805:p.:hp2.Displaying Resource IDs:ehp2.
806:p.Use topic properties &lpar.right mouse click &endash. Properties&rpar. to see
807which resource IDs are associated with a topic&per.
808:h2 res=19 id='TopicNames'.
809Topic Names
810:p.:hp2.Topic Names:ehp2.
811:p.
812:p.Like resource IDs&comma. topic names can be used by developers to link to
813help topics from within their application&comma. using the HM&us.DISPLAY&us.HELP
814message with parameter 2 being HM&us.PANELNAME&per.
815:p.These are not so often used&per.
816:p.NewView can find a particular topic name&comma. using Tools &endash. Find
817Topic Name&per.
818:euserdoc.
Note: See TracBrowser for help on using the repository browser.