123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- XCOMM #######################################################################
- XCOMM
- XCOMM dthelp.dt
- XCOMM
- XCOMM Actions and filetypes for Help files.
- XCOMM
- XCOMM (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
- XCOMM (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
- XCOMM (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
- XCOMM (c) Copyright 1993, 1994, 1995 Novell, Inc.
- XCOMM
- XCOMM $XConsortium: dthelp.dt.src /main/4 1996/04/23 17:35:19 drk $
- XCOMM
- XCOMM #####################################################################
- #define HASH #
- set DtDbVersion=1.0
- XCOMM ##########################################################################
- XCOMM
- %|nls-10-#HASH WARNING:...#|
- XCOMM
- XCOMM ##########################################################################
- XCOMM ##################################################################
- XCOMM
- %|nls-11-#HASH Data Attributes#|
- XCOMM
- XCOMM ##################################################################
- DATA_ATTRIBUTES DTHELP_VOL
- {
- ACTIONS Open,Print
- ICON Dthvol
- NAME_TEMPLATE %s.sdl
- MIME_TYPE application/octet-stream
- DESCRIPTION %|nls-11001-#This is#|
- TYPE_LABEL %|nls-31047-#DTHELP_VOL#|
- }
- DATA_CRITERIA DTHELP_VOL1
- {
- DATA_ATTRIBUTES_NAME DTHELP_VOL
- MODE f
- NAME_PATTERN *.sdl
- }
- DATA_CRITERIA DTHELP_VOL2
- {
- DATA_ATTRIBUTES_NAME DTHELP_VOL
- MODE f
- NAME_PATTERN *.hv
- }
- ACTION Open
- {
- LABEL %|nls-1-Open|
- ARG_TYPE DTHELP_VOL
- TYPE MAP
- MAP_ACTION Dthelpview
- }
- ACTION Print
- {
- LABEL %|nls-2-Print|
- ARG_TYPE DTHELP_VOL
- TYPE MAP
- MAP_ACTION NoPrint
- }
- XCOMM #########################################################
- DATA_ATTRIBUTES DTHELP_HT
- {
- ACTIONS (None)
- ICON Dthtop
- NAME_TEMPLATE %s.ht
- MIME_TYPE application/octet-stream
- DESCRIPTION %|nls-11002-#This is#|
- TYPE_LABEL %|nls-31048-#DTHELP_HT#|
- }
- DATA_CRITERIA DTHELP_HT1
- {
- DATA_ATTRIBUTES_NAME DTHELP_HT
- NAME_PATTERN *.ht
- MODE f
- }
- XCOMM #########################################################
- DATA_ATTRIBUTES DTHELP_HVK
- {
- ACTIONS (None)
- ICON Dthtop
- NAME_TEMPLATE %s.hvk
- MIME_TYPE application/octet-stream
- DESCRIPTION %|nls-11003-#This is#|
- TYPE_LABEL %|nls-31049-#DTHELP_HVK#|
- }
- DATA_CRITERIA DTHELP_HVK1
- {
- DATA_ATTRIBUTES_NAME DTHELP_HVK
- NAME_PATTERN *.hvk
- MODE f
- }
- XCOMM #########################################################
- DATA_ATTRIBUTES DTHELP_XRH
- {
- ACTIONS (None)
- ICON Dthtop
- NAME_TEMPLATE %s.xrh
- MIME_TYPE application/octet-stream
- DESCRIPTION %|nls-11004-#This is#|
- TYPE_LABEL %|nls-31050-#DTHELP_XRH#|
- }
- DATA_CRITERIA DTHELP_XRH
- {
- DATA_ATTRIBUTES_NAME DTHELP_XRH
- NAME_PATTERN *.xrh
- MODE f
- }
- XCOMM ##################################################################
- XCOMM ##################################################################
- XCOMM
- %|nls-12-#HASH Actions#|
- XCOMM
- XCOMM ##################################################################
- ACTION Dthelpview
- {
- LABEL %|nls-11005-#Help Viewer#|
- ARG_COUNT 0
- ICON Fphelp
- 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 '
- DESCRIPTION %|nls-11007-#The#|
- }
- ACTION Dthelpview
- {
- LABEL %|nls-11005-#Help Viewer#|
- ICON Fphelp
- 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 "%(File)Arg_1%" '
- DESCRIPTION %|nls-11007-#The#|
- }
- XCOMM #######
- ACTION Dthelpgen
- {
- LABEL %|nls-11014-#Help Generator#|
- ICON Fphelp
- TYPE COMMAND
- WINDOW_TYPE NO_STDIO
- EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir \
- "%(File)Arg_1"%|nls-11015-#Location to put files:#|"%"'
- DESCRIPTION %|nls-11016-#The#|
- }
- ACTION Dthelpgen_delay
- {
- LABEL %|nls-11014-#Help Generator#|
- ICON Fphelp
- TYPE COMMAND
- WINDOW_TYPE NO_STDIO
- EXEC_STRING /bin/sh -c 'sleep 15; /usr/dt/bin/dthelpgen -dir \
- $HOME/.dt/help/$DTUSERSESSION'
- DESCRIPTION %|nls-11016-#The#|
- }
- XCOMM #######
- ACTION Dtmanpageview
- {
- LABEL %|nls-11010-#Man Page Viewer#|
- ICON Dthover
- TYPE COMMAND
- WINDOW_TYPE NO_STDIO
- EXEC_STRING sh -c ' /usr/dt/bin/dthelpview -manPage \
- `basename "%(File)Arg_1"%|nls-11011-#Man#|"%" | sed /[.].*/s///` \
- -xrm "Dthelpview*manBox*columns: %|nls-11012-#100#|"'
- DESCRIPTION %|nls-11013-#The#|
- }
- XCOMM ######################## EOF ############################################
|