!
!	Asedit (X11R3.ad)  app-defaults file for asedit program (ver. 1.1)
!       (C) A. Stochniol, 1991 - 1992
!
!	general appearance and behaviour defaults
!
*allowShellResize:		true
*borderWidth:			0
*highlightThickness:		2
!
!	Specific resources for Motif 1.0.
!	In Motif 1.0 we have to use the	following lines to enable traversal
!	to take place (these are the default values in Motif 1.1, so for
!	Motif 1.1 you may not specify these if you like)
!
*traversalOn:					true
*XmLabel.traversalOn:				false
*XmSeparator.traversalOn:			false
*XmScrolledWindow.XmScrollbar.traversalOn:	false
!
!
!	specific defaults for asedit
!
!   setting the same visual pleasing margin (8) for all buttons and labels
!   (for separators the default margin 0 is the appropriate one )
!
*XmPushButton.marginWidth:      8
*XmLabel.marginWidth:           8
*XmCascadeButton.marginWidth:   8

!   increase the standard label setting to align them with text widgets
*XmRowColumn*XmLabel.marginHeight:  	4

!   setting margins in the status row (bottom_row):
*bottom_row*XmLabel.marginWidth:        3


!   colours for menu_bar ( = all menus = all dialogs) and main text 
!   area ( = all the rest)
*menu_bar*background:    cadetblue
*background:    skyblue

!
!   Fonts .....
!
! fonts from Asedit v. 1.0 for IBM RS/6000
*menu_bar*fontList: 		helvr14
*XmText.fontList:   		Rom17
! lets do not use a font with different ascend and descent ...
!
!*menu_bar*fontList:     -*-helvetica-bold-r-normal-*-14-100-*-*-*-*-iso8859-1
!*XmText.fontList:   -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-1
!*bottom_row*fontList: -*-courier-medium-r-normal-*-14-*-*-*-m-*-iso8859-1

!
!   Start up sizes of main text widget and hypertext text widget
!
*edit_text.rows:        24
*edit_text.columns:     80

*hypertext_text.rows:   20
*hypertext_text.columns: 60

!
!   If you would like to have your personalized appl defaults file I recommend
!   to copy ONLY the above part of this file.
!

!-----------------------------------------------------------------------------
!
!	Keyboard bindings (do NOT change unless you really have to do that;
!	if you change anything there might be inconsistency with the 
!	help file! )	
!
!### version for X11R3:  
!	I'm not using osf keys ...
!	I can't define move-destination() (does not exist in Motif 1.0)
!       I can't use paste-clipboard etc.  (-    "   "      -          )
!	additionally I define some usefull bindings, like PgUp (Prior),
!       PgDown (Next), Home, End etc.

! special bindings for hypertext Help widget and Emacs bindings

*hypertext_text.translations: #override\n\
              <Btn1Up>(2): activate()\n\
             <Btn2Up>(2):  activate()\n\
                <Key>Return:    activate()\n\
        Ctrl <Key>b:            backward-character()\n\
        Alt <Key>b:             backward-word()\n\
        Meta <Key>b:            backward-word()\n\
        Alt <Key>[:             backward-paragraph()\n\
        Meta <Key>[:            backward-paragraph()\n\
        Alt <Key><:             beginning-of-file()\n\
        Meta <Key><:            beginning-of-file()\n\
        Ctrl <Key>a:            beginning-of-line()\n\
        Alt <Key>>:             end-of-file()\n\
        Meta <Key>>:            end-of-file()\n\
        Ctrl <Key>e:            end-of-line()\n\
        Ctrl Alt <Key>f:        forward-word()\n\
        Ctrl Meta <Key>f:       forward-word()\n\
        Ctrl <Key>f:            forward-character()\n\
        Alt <Key>]:             forward-paragraph()\n\
        Meta <Key>]:            forward-paragraph()\n\
        Ctrl <Key>n:            next-line()\n\
        Ctrl <Key>p:            previous-line()\n\
        ~Ctrl <Key>Home:        beginning-of-line()\n\
        Ctrl <Key>Home:         beginning-of-file()\n\
        ~Ctrl <Key>End:         end-of-line()\n\
        Ctrl <Key>End:          end-of-file()\n\
         ~Ctrl <Key>Next:       next-page()\n\
         ~Ctrl <Key>Prior:      previous-page()\n\
        Ctrl <Key>Next:         end-of-file()\n\
        Ctrl <Key>Prior:        beginning-of-file()\n

! Emacs style bindings for the main edit window & some other functional
! bindings
!
*edit_text.translations: #override\n\
                <Key>Return:    newline-and-indent()\n\
        Shift Alt <Key>b:       backward-word(extend)\n\
        Shift Meta <Key>b:      backward-word(extend)\n\
        Ctrl <Key>b:            backward-character()\n\
        Alt <Key>b:             backward-word()\n\
        Meta <Key>b:            backward-word()\n\
        Shift Alt <Key>[:       backward-paragraph(extend)\n\
        Shift Meta <Key>[:      backward-paragraph(extend)\n\
        Alt <Key>[:             backward-paragraph()\n\
        Meta <Key>[:            backward-paragraph()\n\
        Alt <Key><:             beginning-of-file()\n\
        Meta <Key><:            beginning-of-file()\n\
        Shift Ctrl <Key>a:      beginning-of-line(extend)\n\
        Ctrl <Key>a:            beginning-of-line()\n\
        Alt <Key>>:             end-of-file()\n\
        Meta <Key>>:            end-of-file()\n\
        Shift Ctrl <Key>e:      end-of-line(extend)\n\
        Ctrl <Key>e:            end-of-line()\n\
        Ctrl Alt <Key>f:        forward-word()\n\
        Ctrl Meta <Key>f:       forward-word()\n\
        Ctrl <Key>f:            forward-character()\n\
        Shift Alt <Key>]:       forward-paragraph(extend)\n\
        Shift Meta <Key>]:      forward-paragraph(extend)\n\
        Alt <Key>]:             forward-paragraph()\n\
        Meta <Key>]:            forward-paragraph()\n\
        Ctrl <Key>d:            kill-next-character()\n\
        Ctrl <Key>w:            key-select() kill-selection()\n\
        Ctrl <Key>y:            unkill()\n\
        Ctrl <Key>k:            kill-to-end-of-line()\n\
        Alt <Key>Delete:        kill-to-start-of-line()\n\
        Meta <Key>Delete:       kill-to-start-of-line()\n\
        Ctrl <Key>o:            newline-and-backup()\n\
        Ctrl <Key>j:            newline-and-indent()\n\
        Ctrl <Key>n:            next-line()\n\
        Ctrl <Key>p:            previous-line()\n\
        ~Ctrl <Key>Home:        beginning-of-line()\n\
        Ctrl <Key>Home:         beginning-of-file()\n\
        ~Ctrl <Key>End:         end-of-line()\n\
        Ctrl <Key>End:          end-of-file()\n\
         ~Ctrl <Key>Next:       next-page()\n\
         ~Ctrl <Key>Prior:      previous-page()\n\
        Ctrl <Key>Next:         end-of-file()\n\
        Ctrl <Key>Prior:        beginning-of-file()\n\
        Ctrl <Key>h:		delete-previous-character()\n\
	Alt  <Key>d:		kill-next-word()\n\
	Meta <Key>d:		kill-next-word()\n


! Emacs bindings for all other text widgets (to preserve consistency
! between different text widgets)

*XmText.translations: #override\n\
        Shift Alt <Key>b:       backward-word(extend)\n\
        Shift Meta <Key>b:      backward-word(extend)\n\
        Ctrl <Key>b:            backward-character()\n\
        Alt <Key>b:             backward-word()\n\
        Meta <Key>b:            backward-word()\n\
        Shift Alt <Key>[:       backward-paragraph(extend)\n\
        Shift Meta <Key>[:      backward-paragraph(extend)\n\
        Alt <Key>[:             backward-paragraph()\n\
        Meta <Key>[:            backward-paragraph()\n\
        Alt <Key><:             beginning-of-file()\n\
        Meta <Key><:            beginning-of-file()\n\
        Shift Ctrl <Key>a:      beginning-of-line(extend)\n\
        Ctrl <Key>a:            beginning-of-line()\n\
        Alt <Key>>:             end-of-file()\n\
        Meta <Key>>:            end-of-file()\n\
        Shift Ctrl <Key>e:      end-of-line(extend)\n\
        Ctrl <Key>e:            end-of-line()\n\
        Ctrl Alt <Key>f:        forward-word()\n\
        Ctrl Meta <Key>f:       forward-word()\n\
        Ctrl <Key>f:            forward-character()\n\
        Shift Alt <Key>]:       forward-paragraph(extend)\n\
        Shift Meta <Key>]:      forward-paragraph(extend)\n\
        Alt <Key>]:             forward-paragraph()\n\
        Meta <Key>]:            forward-paragraph()\n\
        Ctrl <Key>d:            kill-next-character()\n\
        Ctrl <Key>w:            key-select() kill-selection()\n\
        Ctrl <Key>y:            unkill()\n\
        Ctrl <Key>k:            kill-to-end-of-line()\n\
        Alt <Key>Delete:        kill-to-start-of-line()\n\
        Meta <Key>Delete:       kill-to-start-of-line()\n\
        ~Ctrl <Key>Home:        beginning-of-line()\n\
        Ctrl <Key>Home:         beginning-of-file()\n\
        ~Ctrl <Key>End:         end-of-line()\n\
        Ctrl <Key>End:          end-of-file()\n\
        Ctrl <Key>Next:         end-of-file()\n\
        Ctrl <Key>Prior:        beginning-of-file()\n\
        Ctrl <Key>h:		delete-previous-character()\n\
	Alt  <Key>d:		kill-next-word()\n\
	Meta <Key>d:		kill-next-word()\n

