e61b28cfb56b74a51222eb5291fb6562e1d4b4e1
[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 !#  Motif resources
123 !# 
124 !#   These resources are provided as an example of how get 
125 !#   Motif 1.1 clients and Motif 1.2 clients linked with an 
126 !#   archived Motif 1.2 library to display with the CDE enhanced 
127 !#   visuals.  Just put the client name in and uncomment the 
128 !#   resources and the non-CDE client will get the enhanced
129 !#   CDE visual effect.
130 !#
131 !#################################################################
132 !# 
133 !# <client_name>*XmCascadeButton*shadowThickness:               1
134 !# <client_name>*XmCascadeButtonGadget*shadowThickness:         1
135 !# <client_name>*XmDrawnButton*shadowThickness:                 1
136 !# <client_name>*XmList*shadowThickness:                        1
137 !# <client_name>*XmPanedWindow*sashShadowThickness:             1
138 !# <client_name>*XmPushButton*shadowThickness:                  1
139 !# <client_name>*XmPushButtonGadget*shadowThickness:            1
140 !# <client_name>*XmScale*shadowThickness:                       1
141 !# <client_name>*XmScrollBar*shadowThickness:                   1
142 !# <client_name>*XmSelectionBox*shadowThickness:                1
143 !# <client_name>*XmText*shadowThickness:                        1
144 !# <client_name>*XmTextField*shadowThickness:                   1
145 !# <client_name>*highlightThickness:                            1
146 *DtTerm*shadowThickness:                1
147 *enableThinThickness:                   True
148 *enableBtn1Transfer:                    button2_transfer
149 *enableButtonTab:                       True
150 *enableDefaultButton:                   True
151 *enableEtchedInMenu:                    True
152 *enableMenuInCascade:                   True
153 *enableMultiKeyBindings:                True
154 *enableToggleColor:                     True
155 *enableToggleVisual:                    True
156 *enableDragIcon:                        True
157 *enableCDEColorFactors:                 True
158
159 #ifdef __hpux
160 !#################################################################
161 !#
162 !#  CDE translations for the text widget and text field widget
163 !#
164 !#    - provides more intuitive "clear line", "insert line" and
165 !#      "delete line" behavior
166 !#    - provides basic EMACS editor functionality
167 !#
168 !#################################################################
169 *XmText*Translations:#override\n\
170             <Key>hpClearLine:      delete-to-end-of-line()\n\
171       ~m ~a <Key>osfPrimaryPaste:beginning-of-line()\
172                                  newline-and-backup()\n\
173             <Key>osfQuickPaste:  beginning-of-line()\
174                                  insert-string(\" \")\
175                                  beginning-of-line()\
176                                  delete-to-end-of-line()\
177                                  delete-next-character()\n\
178         Ctrl<Key>u:delete-to-start-of-line()\n\
179         Ctrl<Key>k:delete-to-end-of-line()\n\
180         Ctrl<Key>a:beginning-of-line()\n\
181         Ctrl<Key>e:end-of-line()\n\
182         Ctrl<Key>p:process-up()\n\
183         Ctrl<Key>b:backward-character()\n\
184         Ctrl<Key>n:process-down()\n\
185         Ctrl<Key>f:forward-character()
186 *XmTextField*Translations:#override\n\
187             <Key>hpClearLine:      delete-to-end-of-line()\n\
188             <Key>osfQuickPaste:  beginning-of-line()\
189                                  delete-to-end-of-line()\n\
190         Ctrl<Key>u:delete-to-start-of-line()\n\
191         Ctrl<Key>k:delete-to-end-of-line()\n\
192         Ctrl<Key>a:beginning-of-line()\n\
193         Ctrl<Key>e:end-of-line()\n\
194         Ctrl<Key>b:backward-character()\n\
195         Ctrl<Key>f:forward-character()
196 #else
197 !#################################################################
198 !#
199 !#  CDE translations for the text widget and text field widget
200 !#
201 !#    - provides basic EMACS editor functionality
202 !#
203 !#################################################################
204 *XmText*Translations:#override\n\
205         Ctrl<Key>u:delete-to-start-of-line()\n\
206         Ctrl<Key>k:delete-to-end-of-line()\n\
207         Ctrl<Key>a:beginning-of-line()\n\
208         Ctrl<Key>e:end-of-line()\n\
209         Ctrl<Key>p:process-up()\n\
210         Ctrl<Key>b:backward-character()\n\
211         Ctrl<Key>n:process-down()\n\
212         Ctrl<Key>f:forward-character()
213 *XmTextField*Translations:#override\n\
214         Ctrl<Key>u:delete-to-start-of-line()\n\
215         Ctrl<Key>k:delete-to-end-of-line()\n\
216         Ctrl<Key>a:beginning-of-line()\n\
217         Ctrl<Key>e:end-of-line()\n\
218         Ctrl<Key>b:backward-character()\n\
219         Ctrl<Key>f:forward-character()
220 #endif
221
222 !#################################################################
223 !#
224 !#  CDE environment variable mapping for remote COMMAND actions
225 !#
226 !#################################################################
227 *dtEnvMapForRemote:     DTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH
228
229 !################             eof          #######################