1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-12 19:22:41 +00:00

dthelp.dt.src: hack to make Dthelpview ACTION work

For reasons I have been unable to determine, running:

dtaction Dthelpview

or Selecting 'Help Manager' from the front panel fails trying to run
the appropriate EXEC_STRING.  It get's corrupted in some fashion and
you will usually see an error in ~/.dt/errorlog of the form:

/usr/dt/bin/t/bin/dthelpview: No such file or directory

or more commonly:

/bin/sh: /us: No such file or directory

It is not clear where this corruption is taking place, but it shows up
in 'dttypes' output as well.

This hack simply removes 10 spaces between the two commands that are
run:

 EXEC_STRING     /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; \
                           /usr/dt/bin/dthelpview -helpVolume browser
                           '

Which seems to solve (hide) the problem.  Finding the real cause of
this will be saved for a later date when more is known and in
particular whether this happens with other ACTIONS.
This commit is contained in:
Jon Trulson 2021-12-20 14:47:33 -07:00
parent 4029c5b813
commit 71132d8cab

View file

@ -130,7 +130,7 @@ ACTION Dthelpview
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; \
/usr/dt/bin/dthelpview -helpVolume browser '
/usr/dt/bin/dthelpview -helpVolume browser '
DESCRIPTION %|nls-11007-#The#|
}
ACTION Dthelpview