![]() |
![]()
| ![]() |
![]()
NAMEdthelpgen — generates a top-level help browser volume SYNOPSISdthelpgen [-dirdirectory] [options] DESCRIPTIONThe dthelpgen utility searches for all CDE help family files installed and registered, and generates a help volume named browser, which contains hypertext links to all help families and volumes found. By default, the scope of this search includes only the local system; however, it can be extended to remote systems using the environment variables described below. The dthelpgen utility only updates the browser help volume if new family files or volumes are detected within the search path directories. In the case where no new family files are present, dthelpgen exits. If new files are present, dthelpgen posts an information dialog telling the user that it's updating the browser volume. By viewing the browser help volume and traversing its hypertext links, the user can navigate through all of the registered online help information. To view the browser volume, select the Help Viewer control from the desktop's Front Panel. The top level of the browser volume lists product families. The second level, under each family, lists the volumes that are members of the product family. CDE users or system administrators typically do not need to interact directly with the dthelpgen utility. A browser volume is generated (when one does not already exist, or is out of date) when the user selects the Help Viewer control from the CDE front panel. A browser volume is also generated when the user executes the ReloadApps Action, or runs dthelpgen directly from a terminal window. In the first two cases, the resulting browser volume is placed in the user's $HOME/.dt/help/$DTUSERSESSION directory. When running dthelpgen from a terminal window, the -dir option must be used to specify the location to create the resulting browser file. OPTIONSThe following options are available:
ENVIRONMENT VARIABLESThe CDE help system uses two environment variables for locating help volumes and Family files within the desktop environment:
The environment variables contain colon-separated lists of directory paths. Each directory path can contain both environment variable names as well as special field descriptors that are expanded at runtime. Field descriptors consist of a percentage (%) symbol followed by a single character. Field descriptors and their substitution values are:
For example, given: DTHELPSEARCHPATH="/usr/local/dt/etc/appconfig/help/%L/%H.sdl" The dthelpgen utility looks for files ending with .hf in the directory /usr/local/dt/etc/appconfig/$LANG. To find the volumes listed in each .hf file, dthelpgen looks in /usr/local/dt/etc/help/appconfig/$LANG/%H.sdl with %H replaced with the name of the volume listed in the Family file. The dthelpgen utility uses both DTHELPUSERSEARCHPATH and DTHELPSEARCHPATH. The default value for DTHELPUSERSEARCHPATH is: $HOME/.dt/help/$DTUSERSESSION/%H: $HOME/.dt/help/$DTUSERSESSION/%H.sdl: $HOME/.dt/help/$DTUSERSESSION/%H.hv: $HOME/.dt/help/%H: $HOME/.dt/help/%H.sdl: $HOME/.dt/help/%H.hv The DTHELPUSERSEARCH is first searched for the requested volume. If the volume is not found, the DTHELPSEARCHPATH value is searched. The default value for DTHELPSEARCHPATH path is: /usr/local/dt/etc/appconfig/help/%L/%H: /usr/local/dt/etc/appconfig/help/%L/%H.sdl: /usr/local/dt/etc/appconfig/help/%L/%H.hv: /usr/local/dt/etc/appconfig/help/C/%H: /usr/local/dt/etc/appconfig/help/C/%H.sdl: /usr/local/dt/etc/appconfig/help/C/%H.hv: /usr/local/dt/appconfig/help/%L/%H: /usr/local/dt/appconfig/help/%L/%H.sdl: /usr/local/dt/appconfig/help/%L/%H.hv: /usr/local/dt/appconfig/help/C/%H: /usr/local/dt/appconfig/help/C/%H.sdl: /usr/local/dt/appconfig/help/C/%H.hv INPUT FILESThe following are input files used by dthelpgen.
OUTPUT FILESThe following are descriptions of the output files generated by dthelpgen.
Warning Messages
Error Messages
EXAMPLES
SEE ALSOdthelpview(1), dtsearchpath(1), dthffile(4), CDE Help System Author's and Programmer's Guide.
|