dtfile: remove register keyword
[oweals/cde.git] / cde / programs / dtsession / sys.resources.src
1 ! $TOG: sys.resources.src /main/7 1999/01/28 13:27:29 mgreess $
2 !##################################################################
3 !#
4 !#   Common Desktop Environment (CDE)
5 !#
6 !#   sys.resources:     The Default Session Resource File
7 !#
8 !#   Placed In:         CDE_INSTALLATION_TOP/config/<LANG>/sys.resources
9 !#
10 !#   (c) Copyright 1993, 1994 Hewlett-Packard Company
11 !#   (c) Copyright 1993, 1994 International Business Machines Corp.
12 !#   (c) Copyright 1993, 1994 Sun Microsystems, Inc.
13 !#   (c) Copyright 1993, 1994 Novell, Inc.
14 !#
15 !###################################################################
16
17 !###
18 !#
19 !#  Font Resource Specifications 
20 !#
21 !# Font resource values must be a valid font alias name.
22 !#
23 !# Font resource values must match exactly the default font resources 
24 !# specified in /usr/dt/app-defaults/%L/Dtstyle
25 !###
26
27 XCOMM if WIDTH > 1175
28 !###
29 !#   High Resolution Displays
30 !#
31 !###
32   *FontList:              -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
33   *buttonFontList:        -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
34   *labelFontList:         -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
35   *textFontList:          -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
36   *XmText*FontList:       -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
37   *XmTextField*FontList:  -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
38   *systemFont:            -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
39   *userFont:              -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
40   *DtEditor*textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
41   *Font:                  -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
42   *FontSet:               -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
43 XCOMM else
44 XCOMM if WIDTH < 851
45 !###
46 !#   Low Resolution Displays
47 !###
48   *FontList:              -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
49   *buttonFontList:        -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
50   *labelFontList:         -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
51   *textFontList:          -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
52   *XmText*FontList:       -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
53   *XmTextField*FontList:  -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
54   *systemFont:            -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
55   *userFont:              -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
56   *DtEditor*textFontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
57   *Font:                  -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
58   *FontSet:               -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
59 XCOMM else
60 !###
61 !#   Medium Resolution Displays (always default if no cpp present on system)
62 !###
63   *FontList:              -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
64   *buttonFontList:        -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
65   *labelFontList:         -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
66   *textFontList:          -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
67   *XmText*FontList:       -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
68   *XmTextField*FontList:  -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
69   *systemFont:            -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
70   *userFont:              -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
71   *DtEditor*textFontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
72   *Font:                  -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
73   *FontSet:               -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
74 XCOMM endif
75 XCOMM endif
76
77
78 *sessionVersion:        3.0
79 *multiClickTime:        500
80 *ttyModes:              erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z
81 *promptDialog.bboard.frame.form.text.columns: %|nls-3-#45#|
82
83 #ifdef __hpux
84 Hpterm*backgroundIsSelect:              True
85 Hpterm*makeColors:                      shadow
86 #endif
87
88 dtsession*saverTimeout:  10 
89 dtsession*lockTimeout:   30
90 dtsession*cycleTimeout:  3 
91 dtsession*saverList: StartDtscreenBlank
92
93 !#################################################################
94 !#
95 !#  display dependent resources
96 !#
97 !#################################################################
98 XCOMM if WIDTH > 1175
99
100 XCOMM else
101 XCOMM if WIDTH < 851 
102 Dtwm*resizeBorderWidth: 5
103 Dtfile*view:            small_icon
104 Dtfile*desktopIcon:     small
105 Dtfile*dirWidth:        400
106 Dtfile*dirHeight:       300
107 XCOMM else
108 Dtwm*resizeBorderWidth: 5
109 Dtfile*view:            large_icon
110 Dtfile*desktopIcon:     large
111 Dtfile*dirWidth:        555
112 Dtfile*dirHeight:       400
113 XCOMM endif
114 XCOMM endif
115
116 !#################################################################
117 !#
118 !#  Default ColorUse resource
119 !#
120 !#################################################################
121
122 *ColorUse:        HIGH_COLOR
123
124 !#################################################################
125 !#
126 !#  Motif resources
127 !# 
128 !#   These resources are provided as an example of how get 
129 !#   Motif 1.1 clients and Motif 1.2 clients linked with an 
130 !#   archived Motif 1.2 library to display with the CDE enhanced 
131 !#   visuals.  Just put the client name in and uncomment the 
132 !#   resources and the non-CDE client will get the enhanced
133 !#   CDE visual effect.
134 !#
135 !#################################################################
136 !# 
137 !# <client_name>*XmCascadeButton*shadowThickness:               1
138 !# <client_name>*XmCascadeButtonGadget*shadowThickness:         1
139 !# <client_name>*XmDrawnButton*shadowThickness:                 1
140 !# <client_name>*XmList*shadowThickness:                        1
141 !# <client_name>*XmPanedWindow*sashShadowThickness:             1
142 !# <client_name>*XmPushButton*shadowThickness:                  1
143 !# <client_name>*XmPushButtonGadget*shadowThickness:            1
144 !# <client_name>*XmScale*shadowThickness:                       1
145 !# <client_name>*XmScrollBar*shadowThickness:                   1
146 !# <client_name>*XmSelectionBox*shadowThickness:                1
147 !# <client_name>*XmText*shadowThickness:                        1
148 !# <client_name>*XmTextField*shadowThickness:                   1
149 !# <client_name>*highlightThickness:                            1
150 *DtTerm*shadowThickness:                1
151 *enableThinThickness:                   True
152 *enableBtn1Transfer:                    button2_transfer
153 *enableButtonTab:                       True
154 *enableDefaultButton:                   True
155 *enableEtchedInMenu:                    True
156 *enableMenuInCascade:                   True
157 *enableMultiKeyBindings:                True
158 *enableToggleColor:                     True
159 *enableToggleVisual:                    True
160 *enableDragIcon:                        True
161 *enableCDEColorFactors:                 True
162
163 #ifdef __hpux
164 !#################################################################
165 !#
166 !#  CDE translations for the text widget and text field widget
167 !#
168 !#    - provides more intuitive "clear line", "insert line" and
169 !#      "delete line" behavior
170 !#    - provides basic EMACS editor functionality
171 !#
172 !#################################################################
173 *XmText*Translations:#override\n\
174             <Key>hpClearLine:      delete-to-end-of-line()\n\
175       ~m ~a <Key>osfPrimaryPaste:beginning-of-line()\
176                                  newline-and-backup()\n\
177             <Key>osfQuickPaste:  beginning-of-line()\
178                                  insert-string(\" \")\
179                                  beginning-of-line()\
180                                  delete-to-end-of-line()\
181                                  delete-next-character()\n\
182         Ctrl<Key>u:delete-to-start-of-line()\n\
183         Ctrl<Key>k:delete-to-end-of-line()\n\
184         Ctrl<Key>a:beginning-of-line()\n\
185         Ctrl<Key>e:end-of-line()\n\
186         Ctrl<Key>p:process-up()\n\
187         Ctrl<Key>b:backward-character()\n\
188         Ctrl<Key>n:process-down()\n\
189         Ctrl<Key>f:forward-character()
190 *XmTextField*Translations:#override\n\
191             <Key>hpClearLine:      delete-to-end-of-line()\n\
192             <Key>osfQuickPaste:  beginning-of-line()\
193                                  delete-to-end-of-line()\n\
194         Ctrl<Key>u:delete-to-start-of-line()\n\
195         Ctrl<Key>k:delete-to-end-of-line()\n\
196         Ctrl<Key>a:beginning-of-line()\n\
197         Ctrl<Key>e:end-of-line()\n\
198         Ctrl<Key>b:backward-character()\n\
199         Ctrl<Key>f:forward-character()
200 #else
201 !#################################################################
202 !#
203 !#  CDE translations for the text widget and text field widget
204 !#
205 !#    - provides basic EMACS editor functionality
206 !#
207 !#################################################################
208 *XmText*Translations:#override\n\
209         Ctrl<Key>u:delete-to-start-of-line()\n\
210         Ctrl<Key>k:delete-to-end-of-line()\n\
211         Ctrl<Key>a:beginning-of-line()\n\
212         Ctrl<Key>e:end-of-line()\n\
213         Ctrl<Key>p:process-up()\n\
214         Ctrl<Key>b:backward-character()\n\
215         Ctrl<Key>n:process-down()\n\
216         Ctrl<Key>f:forward-character()
217 *XmTextField*Translations:#override\n\
218         Ctrl<Key>u:delete-to-start-of-line()\n\
219         Ctrl<Key>k:delete-to-end-of-line()\n\
220         Ctrl<Key>a:beginning-of-line()\n\
221         Ctrl<Key>e:end-of-line()\n\
222         Ctrl<Key>b:backward-character()\n\
223         Ctrl<Key>f:forward-character()
224 #endif
225
226 !#################################################################
227 !#
228 !#  CDE environment variable mapping for remote COMMAND actions
229 !#
230 !#################################################################
231 *dtEnvMapForRemote:     DTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH
232
233 !################             eof          #######################