1 # ##########################################################################
5 # Actions used with the DT Text Editor (dtpad)
7 # (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
8 # (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
9 # (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
10 # (c) Copyright 1993, 1994, 1995 Novell, Inc.
12 # $XConsortium: dtpad.dt.src /main/4 1996/04/23 17:35:35 drk $
14 # ##########################################################################
18 # ##########################################################################
20 # WARNING: This file may be overwritten in subsequent installations of
21 # the Common Desktop Environment (CDE). Consequently, any system wide
22 # changes should be made to an equivalent database file in
23 # /etc/dt/types and not in this file.
25 # ##########################################################################
27 # ##################################################################
31 # ##################################################################
32 DATA_ATTRIBUTES TEXTFILE
41 DESCRIPTION This file contains plain text data. Its \
42 data type is named TEXTFILE. A TEXTFILE must have \
43 a named ending with '.txt'.
46 DATA_CRITERIA TEXTFILE1
48 DATA_ATTRIBUTES_NAME TEXTFILE
52 # ##################################################################
54 # WARNING WARNING WARNING
56 # The following DATA_CRITERIA rule is used by dtmail to
57 # identify the system TEXTFILE DATA_ATTRIBUTE. If you remove
58 # or modify this rule, dtmail may not properly display text
61 # ##################################################################
62 DATA_CRITERIA TEXTFILE2
64 DATA_ATTRIBUTES_NAME TEXTFILE
74 EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%"
77 # ##########################################################################
78 # ##########################################################################
82 # ##########################################################################
83 # ####################
87 # ####################
89 # The PRINT_DTPAD action mimics the default "Print" action except
90 # that it removes the temporary file being printed. This action
91 # is used by the client, 'dtpad'.
93 # ####################
94 ACTION PRINT_DTPAD_TEMPFILE
98 EXEC_STRING /usr/dt/bin/dtlp -u "%(String)Arg_2%" -e "%(File)Arg_1%"
101 # #####################
105 # #####################
111 MAP_ACTION DtTTMediaOpen
112 DESCRIPTION The Text Editor (Dtpad) action opens the specified \
113 file in a desktop text editor window.
116 # ######################## EOF ############################################