1 # $XConsortium: nlsMsgChk.txt /main/2 1996/11/11 11:28:27 drk $
2 helpgen is a non-Motif (terminal based) application. It creates three files,
3 <filename>.hv, <filename>00.ht and <filename>01.ht in the target directory.
4 The default target directory is '/usr/dt/help/<language>/Browser'. The
5 default <filename> is 'browser'.
7 1) To get the usage message, type
13 2) Specify a name using the -dir option that is not a directory. To do
14 this, create a file in the /tmp directory, then use it as if it were
15 a directory. For example, type:
18 helpgen -dir /tmp/testdir/testfile
20 Remove /tmp/testdir when finished.
25 3) Attempt to write to a directory that only the super-user (system
26 administrator) has permission to write to. To do this, check that
27 the directory /usr/vhelp/help exists and that write permission is
28 denied for the average user. For example, type:
30 ll -d /usr/vhelp/help.
32 If the permission shown do not allow the average user access, continue.
33 Otherwise, change them to disallow access or create and/or use another
34 directory that does not allow the average user access.
36 Upon finding a suitable directory for testing, type the following (this
37 example assumes /usr/vhelp/help is being used):
39 helpgen -dir /usr/vhelp/help/testdir.
44 4) Specify a name using the -dir option that is not a directory. To do
45 this, create a file in the /tmp directory, then use it as if it were
46 a directory. For example, type:
49 helpgen -dir /tmp/testdir
51 Remove /tmp/testdir when finished.
56 5) Attempt to overwrite an existing read-only browser volume. To do this,
57 check the permissions on the files in the directory
58 /usr/dt/help/C/Browser. If the permissions allow the average user
59 to access these files, change the permissions to allow only the
60 super-user access. Type:
67 6) Create a browser volume in a read-only directory. To do this, create
68 a directory without write permission. For example, type:
73 Now use the read-only directory as the parameter to the -dir option:
75 helpgen -dir /tmp/testdir
77 Remove /tmp/testdir when finished.
82 7) Copy a family file to a work directory. Edit the file and remove
83 the 'title' resource from the file. Symbolically link this file
84 to the directory /usr/vhelp/families/<language>. Type:
88 Remove the symbolic link in /usr/vhelp/families/<language> and
89 the browser volumes in /tmp when done.
94 8) Copy a family file to a work directory. Edit the file and remove
95 the 'abstract' resource from the file. Symbolically link this file
96 to the directory /usr/vhelp/families/<language>. Type:
100 Remove the symbolic link in /usr/vhelp/families/<language> and
101 the browser volumes in /tmp when done.
106 9) Copy a family file to a work directory. Edit the file and remove
107 the 'volumes' resource from the file. Symbolically link this file
108 to the directory /usr/vhelp/families/<language>. Type:
112 Remove the symbolic link in /usr/vhelp/families/<language> and
113 the browser volumes in /tmp when done.
118 10) Copy a family file to a work directory. Edit the file and remove
119 the 'charSet' resource from the file. Symbolically link this file
120 to the directory /usr/vhelp/families/<language>. Type:
124 Remove the symbolic link in /usr/vhelp/families/<language> and
125 the browser volumes in /tmp when done.
130 11) Move the directory /usr/vhelp/familes to /usr/vhelp/familes.save.
131 NOTE: This requires the user to be super-user.
136 Restore the families directory by moving /usr/vhelp/families.save
137 to /usr/vhelp/families.
142 12) Move the directory /usr/vhelp/volumes to /usr/vhelp/volumes.save.
143 NOTE: This requires the user to be super-user.
148 Restore the families directory by moving /usr/vhelp/volumes.save
149 to /usr/vhelp/volumes.
154 13) Run helpgen as super-user. Run helpview. The application helpview,
155 can either be run from a terminal window or by selecting the icon on
156 the front panel showing books with a question mark over them. The
157 window that displays should show the browser volume created by helpgen.
159 The text localized in set 2 messages 2 through 4 should be displayed
160 at the top of the window. The text between the <ABBREV> tags in
161 set 2 message 3 will be displayed in the topic hierarchy. The last
162 hypertext link (underlined titles) should be from set 2 message 5.
164 The text will use the fonts associated with the character set
165 specified in set 2 message 1. Check that the app-defaults file
166 for helpview contains a font set associated with the character