Merge branch 'master' of https://git.code.sf.net/p/cdesktopenv/code
[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 #ifdef __osf__
81 *ttyModes:              erase ^? intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z
82 #else
83 *ttyModes:              erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z
84 #endif
85 *promptDialog.bboard.frame.form.text.columns: %|nls-3-#45#|
86
87 #ifdef __hpux
88 Hpterm*backgroundIsSelect:              True
89 Hpterm*makeColors:                      shadow
90 #endif
91
92 dtsession*saverTimeout:  10 
93 dtsession*lockTimeout:   30
94 dtsession*cycleTimeout:  3 
95 dtsession*saverList: StartDtscreenBlank
96
97 !#################################################################
98 !#
99 !#  display dependent resources
100 !#
101 !#################################################################
102 XCOMM if WIDTH > 1175
103
104 XCOMM else
105 XCOMM if WIDTH < 851 
106 Dtwm*resizeBorderWidth: 5
107 Dtfile*view:            small_icon
108 Dtfile*desktopIcon:     small
109 Dtfile*dirWidth:        400
110 Dtfile*dirHeight:       300
111 XCOMM else
112 Dtwm*resizeBorderWidth: 5
113 Dtfile*view:            large_icon
114 Dtfile*desktopIcon:     large
115 Dtfile*dirWidth:        555
116 Dtfile*dirHeight:       400
117 XCOMM endif
118 XCOMM endif
119
120 !#################################################################
121 !#
122 !#  Default ColorUse resource
123 !#
124 !#################################################################
125
126 *ColorUse:        HIGH_COLOR
127
128 !#################################################################
129 !#
130 !#  Motif resources
131 !# 
132 !#   These resources are provided as an example of how get 
133 !#   Motif 1.1 clients and Motif 1.2 clients linked with an 
134 !#   archived Motif 1.2 library to display with the CDE enhanced 
135 !#   visuals.  Just put the client name in and uncomment the 
136 !#   resources and the non-CDE client will get the enhanced
137 !#   CDE visual effect.
138 !#
139 !#################################################################
140 !# 
141 !# <client_name>*XmCascadeButton*shadowThickness:               1
142 !# <client_name>*XmCascadeButtonGadget*shadowThickness:         1
143 !# <client_name>*XmDrawnButton*shadowThickness:                 1
144 !# <client_name>*XmList*shadowThickness:                        1
145 !# <client_name>*XmPanedWindow*sashShadowThickness:             1
146 !# <client_name>*XmPushButton*shadowThickness:                  1
147 !# <client_name>*XmPushButtonGadget*shadowThickness:            1
148 !# <client_name>*XmScale*shadowThickness:                       1
149 !# <client_name>*XmScrollBar*shadowThickness:                   1
150 !# <client_name>*XmSelectionBox*shadowThickness:                1
151 !# <client_name>*XmText*shadowThickness:                        1
152 !# <client_name>*XmTextField*shadowThickness:                   1
153 !# <client_name>*highlightThickness:                            1
154 *DtTerm*shadowThickness:                1
155 *enableThinThickness:                   True
156 *enableBtn1Transfer:                    button2_transfer
157 *enableButtonTab:                       True
158 *enableDefaultButton:                   True
159 *enableEtchedInMenu:                    True
160 *enableMenuInCascade:                   True
161 *enableMultiKeyBindings:                True
162 *enableToggleColor:                     True
163 *enableToggleVisual:                    True
164 *enableDragIcon:                        True
165 *enableCDEColorFactors:                 True
166
167 #ifdef __hpux
168 !#################################################################
169 !#
170 !#  CDE translations for the text widget and text field widget
171 !#
172 !#    - provides more intuitive "clear line", "insert line" and
173 !#      "delete line" behavior
174 !#    - provides basic EMACS editor functionality
175 !#
176 !#################################################################
177 *XmText*Translations:#override\n\
178             <Key>hpClearLine:      delete-to-end-of-line()\n\
179       ~m ~a <Key>osfPrimaryPaste:beginning-of-line()\
180                                  newline-and-backup()\n\
181             <Key>osfQuickPaste:  beginning-of-line()\
182                                  insert-string(\" \")\
183                                  beginning-of-line()\
184                                  delete-to-end-of-line()\
185                                  delete-next-character()\n\
186         Ctrl<Key>u:delete-to-start-of-line()\n\
187         Ctrl<Key>k:delete-to-end-of-line()\n\
188         Ctrl<Key>a:beginning-of-line()\n\
189         Ctrl<Key>e:end-of-line()\n\
190         Ctrl<Key>p:process-up()\n\
191         Ctrl<Key>b:backward-character()\n\
192         Ctrl<Key>n:process-down()\n\
193         Ctrl<Key>f:forward-character()
194 *XmTextField*Translations:#override\n\
195             <Key>hpClearLine:      delete-to-end-of-line()\n\
196             <Key>osfQuickPaste:  beginning-of-line()\
197                                  delete-to-end-of-line()\n\
198         Ctrl<Key>u:delete-to-start-of-line()\n\
199         Ctrl<Key>k:delete-to-end-of-line()\n\
200         Ctrl<Key>a:beginning-of-line()\n\
201         Ctrl<Key>e:end-of-line()\n\
202         Ctrl<Key>b:backward-character()\n\
203         Ctrl<Key>f:forward-character()
204 #else
205 !#################################################################
206 !#
207 !#  CDE translations for the text widget and text field widget
208 !#
209 !#    - provides basic EMACS editor functionality
210 !#
211 !#################################################################
212 *XmText*Translations:#override\n\
213         Ctrl<Key>u:delete-to-start-of-line()\n\
214         Ctrl<Key>k:delete-to-end-of-line()\n\
215         Ctrl<Key>a:beginning-of-line()\n\
216         Ctrl<Key>e:end-of-line()\n\
217         Ctrl<Key>p:process-up()\n\
218         Ctrl<Key>b:backward-character()\n\
219         Ctrl<Key>n:process-down()\n\
220         Ctrl<Key>f:forward-character()
221 *XmTextField*Translations:#override\n\
222         Ctrl<Key>u:delete-to-start-of-line()\n\
223         Ctrl<Key>k:delete-to-end-of-line()\n\
224         Ctrl<Key>a:beginning-of-line()\n\
225         Ctrl<Key>e:end-of-line()\n\
226         Ctrl<Key>b:backward-character()\n\
227         Ctrl<Key>f:forward-character()
228 #endif
229
230 !#################################################################
231 !#
232 !#  CDE environment variable mapping for remote COMMAND actions
233 !#
234 !#################################################################
235 *dtEnvMapForRemote:     DTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH
236
237 !################             eof          #######################