DTHELPVIEW(1)
π dthelpview β come look at a CDE help volume, bestie π
okay so real talk, this one lives in the user cmd section of the manual, and it's genuinely iconic. dthelpview is the little utility that lets you view CDE online Help volumes, plain old ASCII files, or manual pages. π
It's not some random side quest either β dthelpview is a whole integral part of the CDE application Help environment. Its functionality and user interface is almost completely that of the standard CDE general Help and quick Help dialog widgets. (See DtCreateHelpDialog(3) and DtCreateHelpQuickDialog(3) if you want the lore. π
)
β¨ SYNOPSIS β¨
dthelpview [options]
That's it. That's the whole vibe. Options only, no positional args, no cap. π¦
πΈ OPTIONS πΈ
The following options are available β and yes, we're listing every single one, because we don't do "skip the boring parts" in this house:
-helpVolumevolume β Specifies the name of the&<filename>.sdlfile you want to view. IflocationIdis not set, the default_HOMETOPICID is used. If the requested volume is in the current working directory, or the Help volume has been properly registered, no path is required. β¨-locationIdlocation_id β Specifies the location ID representing the desired Help topic to be viewed. By default, Helpview uses_HOMETOPICif an ID is not specified. π―-filefile β Specifies a particular ASCII text file to be displayed. π-manPageman_page β Specifies a particular man page to be displayed. π-manβ Displays a dialog that prompts for a man page to view, then displays the requested man page. Interactive king behavior, honestly. π
π ENVIRONMENT VARIABLES π
The CDE Help system uses two environment variables for locating Help volumes and Family files within the desktop environment. Two. Not one. Keep up bestie:
DTHELPSEARCHPATHβ System search path environment variable for locating Help volumes on local and remote nfs mounted systems. πDTHELPUSERSEARCHPATHβ Users search path environment variable for locating user specific Help volumes on local and remote nfs mounted systems. π«
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 via each Help component that uses these environment variables. (Yes, runtime expansion. It's giving β¨dynamicβ¨.)
Field descriptors consist of a % followed by a single character. Field descriptors and their substitution values are:
%Hβ This value is replaced with the current volume name being searched for. π%Lβ Replaced with the current value of theLANGenvironment variable. π%%β Replaced with a single%. Cute lil escape, love that for us. π
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. (First one, then the other. Order matters, bestie. π«Ά)
The default value for DTHELPSEARCHPATH path is:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/%L/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/%L/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/%L/%H.hv:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/C/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/C/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/C/%H.hv:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/%L/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/%L/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/%L/%H.hv:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/C/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/C/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/C/%H.hv
those paths are long enough to be a personality trait, honestly π but that's the actual default, so we respect it.
π¦ RESOURCES π¦
For information on Help dialog widget resources, refer to DtCreateHelpDialog(3) or DtCreateHelpQuickDialog(3). π₯
The dthelpview utility's specific resources set in the Dthelpview app-defaults file are:
Dthelpview*manBox*rows: 32
Dthelpview*manBox*columns: 80
Dthelpview*fileBox*rows: 32
Dthelpview*fileBox*columns: 80
Dthelpview*man_text.columns: 20
32 rows, 80 columns, and one little 20. Not me memorizing this. π
π§ FILE π§
Following files are used in conjunction with the dthelpview application:
Dthelpviewβ App-defaults file used bydthelpview. π
β EXAMPLES β
okay these are the fun part, watch this:
dthelpview -helpVolume dtintro.sdl -locationId _hometopic
Displays the topic associated with _hometopic in the Help volume dtintor.sdl. π
dthelpview -file /etc/checklist
Displays the file /etc/checklist in a general Help dialog. π
dthelpview -man grep
Displays the grep man page in a quick Help dialog. Like, it's literally right there. Obsessed. π
π SEE ALSO π
dtsearchpath(1), CDE Help System Author's and Programmer's Guide.
that's the whole page bestie, you ate it periodt π β¨
much love from the dthelpview(user cmd) corner of the manual π«Ά β that footer's got no fancy source/version line beyond the manual name and section, but it's iconic all the same πΈπ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms