sys.resources.src 9.2 KB

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