!##################################################################
!#
!#   Common Desktop Environment (CDE)
!#
!#   sys.resources:	The Default Session Resource File
!#
!#   Placed In:		/usr/dt/config/<LANG>/sys.resources
!#
!#   (c) Copyright 1993, 1994 Hewlett-Packard Company
!#   (c) Copyright 1993, 1994 International Business Machines Corp.
!#   (c) Copyright 1993, 1994 Sun Microsystems, Inc.
!#   (c) Copyright 1993, 1994 Novell, Inc.
!#
!###################################################################

#include "/usr/dt/config/C/sys.font"

*sessionVersion:	3.0
*multiClickTime:	500
*ttyModes:		erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z
*promptDialog.bboard.frame.form.text.columns: 45


dtsession*saverTimeout:  10 
dtsession*lockTimeout:   30
dtsession*cycleTimeout:  3 
dtsession*saverList: StartDtscreenBlank
!# Dtsession*KeyClickPercent:      0

!#################################################################
!#
!#  display dependent resources
!#
!#################################################################
#if WIDTH > 1200

#else
#if WIDTH > 1023

#else
Dtwm*resizeBorderWidth: 5
Dtfile*view:            small_icon
Dtfile*desktopIcon:     small
Dtfile*dirWidth:        400
Dtfile*dirHeight:       300
#endif
#endif

!#################################################################
!#
!#  Motif resources
!# 
!#   These resources are provided as an example of how get 
!#   Motif 1.1 clients and Motif 1.2 clients linked with an 
!#   archived Motif 1.2 library to display with the CDE enhanced 
!#   visuals.  Just put the client name in and uncomment the 
!#   resources and the non-CDE client will get the enhanced
!#   CDE visual effect.
!#
!#################################################################
!# 
!# <client_name>*XmCascadeButton*shadowThickness:		1
!# <client_name>*XmCascadeButtonGadget*shadowThickness:		1
!# <client_name>*XmDrawnButton*shadowThickness:			1
!# <client_name>*XmList*shadowThickness:			1
!# <client_name>*XmPanedWindow*sashShadowThickness:		1
!# <client_name>*XmPushButton*shadowThickness:			1
!# <client_name>*XmPushButtonGadget*shadowThickness:		1
!# <client_name>*XmScale*shadowThickness:			1
!# <client_name>*XmScrollBar*shadowThickness:			1
!# <client_name>*XmSelectionBox*shadowThickness:		1
!# <client_name>*XmText*shadowThickness:			1
!# <client_name>*XmTextField*shadowThickness:			1
!# <client_name>*highlightThickness:				1
*DtTerm*shadowThickness:		1
*enableThinThickness:  			True
*enableBtn1Transfer:			button2_transfer
*enableButtonTab:			True
*enableDefaultButton:			True
*enableEtchedInMenu:			True
*enableMenuInCascade:			True
!# *enableMultiKeyBindings:		True
*enableToggleColor:			True
*enableToggleVisual:			True
*enableDragIcon:			True
*enableCDEColorFactors:			True

!#################################################################
!#
!#  CDE translations for the text widget and text field widget
!#
!#    - provides basic EMACS editor functionality
!#
!#################################################################
*XmText*Translations:#override\n\
        Ctrl<Key>u:delete-to-start-of-line()\n\
        Ctrl<Key>k:delete-to-end-of-line()\n\
        Ctrl<Key>a:beginning-of-line()\n\
        Ctrl<Key>e:end-of-line()\n\
        Ctrl<Key>p:process-up()\n\
        Ctrl<Key>b:backward-character()\n\
        Ctrl<Key>n:process-down()\n\
        Ctrl<Key>f:forward-character()
*XmTextField*Translations:#override\n\
        Ctrl<Key>u:delete-to-start-of-line()\n\
        Ctrl<Key>k:delete-to-end-of-line()\n\
        Ctrl<Key>a:beginning-of-line()\n\
        Ctrl<Key>e:end-of-line()\n\
        Ctrl<Key>b:backward-character()\n\
        Ctrl<Key>f:forward-character()

!#################################################################
!#
!#  CDE environment variable mapping for remote COMMAND actions
!#
!#################################################################
*dtEnvMapForRemote:	DTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH

!################             eof          #######################