






!
! LAYOUT AND POSITIONING
!

!
! Default number of visible items in the message list
!
!*msgList.visibleItemCount:	10

!
! Initial size and position of Browser and View/Compose windows
! Take off the + parts if you'd rather interactive position them under Mwm
!


MailWorksBrowser1.geometry:	575x700+1+0
MailWorksBrowser2.geometry:	575x700+40+40
MailWorksViewer1.geometry:	575x700+200+10
MailWorksViewer2.geometry:	575x700+449+60


!
! Set the initial helptext sizes
!
*helpText*columns:	50
*helpText*rows:		21


!
! SPACE SAVERS
!

!
! Make header's take up less room
!
*header.shadowThickness:	1
*header.marginHeight:		1
*headerLabel.shadowThickness:	1
*headerLabel.marginHeight:	1

!
! Decrease space between scrollbars and workarea
!
*XmScrolledWindow.spacing: 1

!
! Decrease space in paneWindows
!
*XmPanedWindow.marginHeight:	0
*XmPanedWindow.marginWidth:	0
!*XmPanedWindow.spacing:	6


!
! Make the button list in the message browser take up less room
!
*titleTable*marginHeight:	1


!
! Make the current-focus highlight take up less room
!
*highlightThickness: 1



!
! FONTS
!

!
! Generic font settings for all of MailWorks
!

!*fontList: -*-charter-medium-r-*-*-120-*-*-*-*-*-*
*fontList: -*-times-medium-r-normal-*-*-120-*-*-*-*-*-*

!
! Fonts for all lists, plus a special one for the locate dialog so that foldernames are
! in a different font.
!

*XmList.fontList: -*-courier-medium-r-normal-*-*-120-*-*-*-*-*-*,-*-courier-medium-o-normal-*-*-120-*-*-*-*-*-*=folderList


!
! Fonts for editing messages
!





! You might not have 6x13 on your system.  If so, use one of the following two.
*enclosure.fontList: 6x13
! Courier is a fixed pitch font, like 6x13, but is fairly ugly
!*enclosure.fontList: -*-courier-medium-r-normal-*-*-120-*-*-*-*-*-*
! Times looks nice but is variable pitch
!*enclosure.fontList: -*-times-medium-r-normal-*-*-120-*-*-*-*-*-*


!
! About box fonts
!

*aboutTable.title.fontList: -*-times-bold-r-normal-*-*-240-*-*-*-*-*-*
*aboutTable.tm.fontList:    -*-times-bold-r-normal-*-*-100-*-*-*-*-*-*
*aboutTable.text.fontList:  -*-times-medium-i-normal-*-*-120-*-*-*-*-*-*
*aboutTable.version.fontList: -*-times-medium-r-normal-*-*-120-*-*-*-*-*-*
*aboutTable.names1.fontList:  -*-times-medium-r-normal-*-*-140-*-*-*-*-*-*
*aboutTable.names2.fontList:  -*-times-medium-i-normal-*-*-140-*-*-*-*-*-*


! COLOR OPTIONS
!
! Basic color scheme
!
!! SCO
!!*background:	#ffe0d0
*background:	#d0d0d8
*foreground:	black

!
! Accentuate the 3D
!
*topShadowColor:	white
!*bottomShadowColor:	black

!
! The current focus indicator
!
*highlightColor:	red

!
! Make dialog text input areas pretty
!
*XmDialogShell*XmText.background: #a0c0e0
*XmDialogShell*XmTextField.background: #a0c0e0



!
! EDIT TRANSLATIONS
!


!
! Emacs-style text translations
!

! These are the translations that you can map. "extend" is an optional argument for some
! actions which, if present, causes the selection to be extended in the given direction.
! Note that some of these sound very similar, but in fact there are obscure differences
! that are beyond the scope of this commentary.  At this point we can't really recommend
! a good reference to look them up in though. 
! Some minor definitions:
!	Primary selection:  what you use in xterm - it looks selected
!	Secondary selection: similar in concept, but for fast copies 
!	Clipboard: the mac (and Motif) model.  Copy it and it stays there 
!
! Also listed here are the motif defaults for these.  Note that the translations
! below intefere with some of these.  We've abbreviated the bindings since the full
! mouse bindings explicitly turn off inapplicable modifers (e.g. ~Meta ~Shift Ctrl...).
! They also define both Meta and Alt for everything.  (Also see below for a definition
! of how to set what the osf* keys are.)
!	


! Insertion
!	insert-string(string)\n\
!	  Insert any text you want.  Replaces any selection.
!	self-insert()\n\
!	  <Key>
!	  Insert the associated character (and delete selection if
!	  pendingDelete)

! Motion Bindings
!	grab-focus()\n\
!	  <Btn1Down>
!	  Usually bound to mouse 1.  Single click sets focus, 2 selects word,
!	  3 sentence,4 document.  Single click also deselects things (see
!	  move-destination)
!	set-insertion-point()\n\
!	  Set the insertion point
!	forward-character()\n\
!	  <Key>osfRight
!	  Move one character forward (unless you are typing in Farsi of
!	  course)
!	forward-paragraph(extend)\n\
!	  Shift Ctrl <Key>osfDown (extend), Ctrl <Key>osfDown
!	  Ditto, for a paragraph
!	forward-word(extend)\n\
!	  Ctrl <Key>osfRight, Shift Ctrl <Key>osfRight (extend)
!	  And for a word
!	backward-character()\n\
!	  <Key>osfLeft
!	  Go back a character
!	backward-paragraph(extend)\n\
!	  Ctrl <Key>osfUp, Shift Ctrl <Key>osfUp (extend)
!	  Go back to the first non-whitespace character following a blank
!	  line
!	backward-word(extend)\n\
!	  Ctrl <Key>osfLeft, Shift Ctrl <Key>osfLeft (extend)
!	  Go to the first non-whitespace after the first whitespace
!	beginning-of-file(extend)\n\
!	  Ctrl <Key>osfBeginLine, Shift Ctrl <Key>osfBeginLine (extend)
!	  Go to the beginning of the file
!	beginning-of-line(extend)\n\
!	  <Key>osfBeginLine, Shift <Key>osfBeginLine (extend)
!	  Go to the beginning of the line
!	end-of-file(extend)\n\
!	  Ctrl <Key>osfEndLine, Shift Ctrl <Key>osfEndLine (extend)
!	  Go to the end of the file
!	end-of-line(extend)\n\
!	  <Key>osfEndLine, Shift <Key>osfEndLine (extend)
!	  ... end of the line
!	previous-line()\n\
!	  Go back a line
!	next-line()\n\
!	  Go to the next line
!	next-page(extend)\n\
!	  <Key>osfPageDown, Shift <Key>osfPageDown (extend)
!	  Go to next page
!	previous-page(extend)\n\
!	  <Key>osfPageUp, Shift <Key>osfPageUp (extend)
!	  And a page
!	page-left()\n\
!	  Ctrl <Key>osfPageUp
!	  Scrolls to the left
!	page-right()\n\
!	  Ctrl <Key>osfPageDown
!	  And to the right
!	move-destination()\n\
!	  Ctrl <Btn1Down>
!	  Move the insertion point to pointer without changing selection
!	scroll-one-line-down()\n\
!	  Scroll the text area one line down
!	scroll-one-line-up()\n\
!	  And up

! Delete bindings
!	delete-next-character()\n\
!	  <Key>osfDelete
!	  Delete the next character, or full selection if pendingDelete is True
!	delete-next-word()\n\
!	  Like next character, but for a word
!	delete-previous-character()\n\
!	  <Key>osfBackSpace
!	  "" but nukes the previous character
!	delete-previous-word()\n\
!	  "" for the previous word
!	delete-selection()\n\
!	  Deletes the current selection
!	delete-to-end-of-line()\n\
!	  Ctrl <Key>osfDelete
!	  Deletes from the current position to the end of the line
!	delete-to-start-of-line()\n\
!	  Ditto, to the start of the line

! Kill bindings
!	kill-next-character()\n\
!	  Kills character or selection (if pendingDelete is set) (see also
!	  unkill())
!	kill-next-word()\n\
!	  "" for word
!	kill-previous-character()\n\
!	  "" for prevous char
!	kill-previous-word()\n\
!	  "" for word
!	kill-selection()\n\
!	  Just kill the selection
!	kill-to-end-of-line()\n\
!	  Kill to end of the line
!	kill-to-start-of-line()\n\
!	  Kill to start
!	unkill()\n\
!	  Yank back whatever last got killed
!	stuff()\n\
!	  UNDOCUMENTED - looks like it does a primary paste

! New line bindings
!	newline()\n\
!	  Delete selection if pendingDelete, then insert newline
!	newline-and-backup()\n\
!	  Ditto, but leave insertion point before the newline
!	newline-and-indent()\n\
!	  Ditto, but indent to first non-whitespace on previous line

! Selection bindings 
!	select-all()\n\
!	  Ctrl <Key>slash
!	  Select everything
!	deselect-all()\n\
!	  Ctrl <Key>backslash
!	  Deselect any selection
!	select-adjust()\n\
!	  Extend the selection (in keeping with original number of clicks)
!	select-end()\n\
!	  Identical to select-adjust?
!	select-start()\n\
!	  Marks beginning of a new selection region
!	quick-copy-set()\n\
!	  <Key>osfQuickPaste
!	  Marks beginning of secondary selection for quick copy (see
!	  do-quick-action)
!	quick-cut-set()\n\
!	  Meta <Key>osfQuickPaste
!	  Ditto, but for a cut
!	do-quick-action()\n\
!	  Shift<Key>osfQuickPaste
!	  Signals the end of a secondary selection, now quick-copy/cut-set is
!	  performed
!	key-select(right/left)\n\
!	  Shift Ctrl <Key>space, Shift <Key>osfLeft, Shift <Key>osfRight,
!	  Shift <Key>osfSelect
!	  Extends the selection in the specified direction.  It's not obvious,
!	  but with no arguments selects between the typin cursor and the anchor
!	set-anchor()\n\
!	  Ctrl <Key>space, <Key>osfSelect
!	  Reset anchor for extended select, or destination for secondary ones
!	extend-adjust()\n\
!	  <Btn1Motion>
!	  Mouse1 Motion, Mouse3 Motion
!	  Selects text from the anchor to the pointer position
!	extend-end()\n\
!	  <Btn1Up>
!	  Moves the insert cursor to the pointer position
!	extend-start()\n\
!	  Shift <Btn1Down>
!	  Similar to extend-adjust, but using the "balance-beam method"????
!	set-selection-hint()\n\
!	  Set the text source and location of selection (this is obscure,
!	  forget it)
!	secondary-adjust()\n\
!	  <Btn2Motion>, Meta<Btn2Motion>
!	  Extend the secondary selection to the pointer position
!	secondary-notify()\n\
!	  Copy the secondary selection to destination cursor ("notify"?)
!	secondary-start()\n\
!	  Meta<Btn2Down>, <Btn2Down>
!	  Marks the beginning of a secondary selection
!	clear-selection()\n\
!	  <Key>osfClear
!	  Replaces all characters (except new lines) with spaces
!	copy-to()\n\
!	  <Btn2Up>
!	  Copy the secondary selection to the insert pos.  If no secondary, use
!	  primary
!	move-to()\n\
!	  Meta<Btn2Up>
!	  Cut secondary selection and put at insertion point.  If no secondary,
!	  use primary
!	copy-primary()\n\
!	  Ctrl Meta<Key>osfInsert, Ctrl Meta<Key>osfInsert, Meta <Key>osfCopy, 
!	  <Key>osfPrimaryPaste
!	  Copies the primary selection to the insert cursor
!	cut-primary()\n\
!	  Meta <Key>osfPrimaryPaste, Meta <Key>osfCut, Shift Meta<Key>osfDelete
!	  Cut the primary selection and insert it at the insert position.

! Clipboard bindings 
!	copy-clipboard()\n\
!	  <Key>osfCopy, Ctrl <Key>osfInsert
!	  Copies the current selection to the clipboard
!	cut-clipboard()\n\
!	  <Key>osfCut, Shift  <Key>osfDelete
!	  Cut the current selection to the clipboard (like a copy followed by
!	  delete)
!	paste-clipboard()\n\
!	  <Key>osfPaste, Shift <Key> osfInsert
!	  Paste the clipboard before the insertion cursor (should delete if
!	  pendingDelete?)

! Miscellaneous bindings 
!	beep()\n\
!	  Road Runner
!	redraw-display()\n\
!	  In case something gets screwed up
!	activate()\n\
!	  <Key>osfActivate, Ctrl <Key>Return
!	  Execute the default button
!	toggle-add-mode()\n\
!	  <Key>osfAddMode
!	  Toggle add mode state (allows automatic addition of new selections I
!	  believe)
!	Help()\n\
!	  <Key>osfHelp
!	  But of course you won't need it
!	enter()\n\
!	leave()\n\
!	focusIn()\n\
!	focusOut()\n\
!	unmap()\n\
!	  You shouldn't need to do any of these
!

! Multi-line and single line bindings 
!	process-cancel()\n\
!	  <Key>osfCancel
!	  Cancels extend-adjust or secondary-adjust and leaves selection as it
!	  was
!	process-down()\n\
!	  <Key>osfDown
!	  Like next-line, but in a single line widget like next-tab-group
!	process-home()\n\
!	  Move insertion cursor to beginning of line
!	process-return()\n\
!	  <Key>Return
!	  In a single-line widget in dialog, calls the default button, else
!	  insert return
!	process-shift-down()\n\
!	  Shift <Key>osfDown
!	  Down one line
!	process-shift-up()\n\
!	  Shift <Key>osfUp
!	  And up
!	process-tab()\n\
!	  <Key>Tab
!	  Either insert tab or go to next tab group, as appropriate
!	process-up()\n\
!	  <Key>osfUp
!	  Up

! Traversal bindings
!	next-tab-group()\n\
!	  Ctrl <Key>Tab
!	  Go to next tab group (i.e. leave this widget)
!	prev-tab-group()\n\
!	  Shift <Key>Tab
!	  Like next-tab-group, but goes the other way
!	traverse-home()\n\
!	  Go to first widget in tab group
!	traverse-next()\n\
!	  Go the the next
!	traverse-prev()\n\
!	  The previous

*XmText.translations: #override\n\
	!Ctrl <Key>b:		backward-character()\n\
	!Alt <Key>b:		backward-word()\n\
	!Meta <Key>b:		backward-word()\n\
	!Shift Alt <Key>b:	backward-word(extend)\n\
	!Shift Meta <Key>b:	backward-word(extend)\n\
	!Alt <Key>[:		backward-paragraph()\n\
	!Meta <Key>[:		backward-paragraph()\n\
	!Shift Alt <Key>[:	backward-paragraph(extend)\n\
	!Shift Meta <Key>[:	backward-paragraph(extend)\n\
	!Alt <Key><:		beginning-of-file()\n\
	!Meta <Key><:		beginning-of-file()\n\
	!Ctrl <Key>a:		beginning-of-line()\n\
	!Shift Ctrl <Key>a:	beginning-of-line(extend)\n\
	!Ctrl <Key>osfInsert:	copy-clipboard()\n\
	!Shift <Key>osfDelete:	cut-clipboard()\n\
	!Shift <Key>osfInsert:	paste-clipboard()\n\
	!Alt <Key>>:		end-of-file()\n\
	!Meta <Key>>:		end-of-file()\n\
	!Ctrl <Key>e:		end-of-line()\n\
	!Shift Ctrl <Key>e:	end-of-line(extend)\n\
	!Ctrl <Key>f:		forward-character()\n\
	!Alt <Key>]:		forward-paragraph()\n\
	!Meta <Key>]:		forward-paragraph()\n\
	!Shift Alt <Key>]:	forward-paragraph(extend)\n\
	!Shift Meta <Key>]:	forward-paragraph(extend)\n\
	!Ctrl Alt <Key>f:	forward-word()\n\
	!Ctrl Meta <Key>f:	forward-word()\n\
	!Ctrl <Key>d:		kill-next-character()\n\
	!Alt <Key>BackSpace:	kill-previous-word()\n\
	!Meta <Key>BackSpace:	kill-previous-word()\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>osfLeft:	page-left()\n\
	!Ctrl <Key>osfRight:	page-right()\n\
	!Ctrl <Key>p:		previous-line()\n\
	!Ctrl <Key>g:		process-cancel()\n\
	!Ctrl <Key>l:		redraw-display()\n\
	!Ctrl <Key>osfDown:	next-page()\n\
	!Ctrl <Key>osfUp:	previous-page()\n\
	!Ctrl <Key>space:	set-anchor()\n


! If you'd like the Delete key to work like backspace and delete backwards
! instead of forward, append the following definition to the lines above.
! (Remove the initial "!" and move the line to right _before_ the line with
! "!Ctrl <Key>space:".)
!	!<Key>osfDelete:	delete-previous-character()\n\




! These aren't included because they could intefere with menu accelerators (or vice versa)
!	!Alt <Key>p:		backward-paragraph()\n\
!	!Meta <Key>p:		backward-paragraph()\n\
!	!Shift Alt<Key>p:	backward-paragraph(extend)\n\
!	!Shift Meta<Key>p:	backward-paragraph(extend)\n\
!	!Alt <Key>w:		copy-clipboard()\n\
!	!Meta <Key>w:		copy-clipboard()\n\
!	!Ctrl Alt <Key>w:	cut-clipboard()\n\
!	!Ctrl Meta <Key>w:	cut-clipboard()\n\
!	!Alt <Key>y:		paste-clipboard()\n\
!	!Meta <Key>y:		paste-clipboard()\n\
!	!Alt <Key>f:		forward-word()\n\
!	!Meta <Key>f:		forward-word()\n\
!	!Alt <Key>n:		forward-paragraph()\n\
!	!Meta <Key>n:		forward-paragraph()\n\
!	!Shift Alt <Key>n:	forward-paragraph(extend)\n\
!	!Shift Meta <Key>n:	forward-paragraph(extend)\n\
!	!Shift Alt <Key>f:	forward-word(extend)\n\
!	!Shift Meta <Key>f:	forward-word(extend)\n\
!	!Alt <Key>d:		kill-next-word()\n\
!	!Meta <Key>d:		kill-next-word()\n\
!	!Alt <Key>h:		select-all()\n\
!	!Meta <Key>h:		select-all()\n\

! Note that in addition to text translations, you can set up some default
! bindings for generic actions.  This can be done (if you are running Mwm 1.1)
! by editing the file .motifbind in your homedir and putting the entries there
! in the form:	virtualkey : action
! or by defining:
!	*defaultVirtualBindings:	virtualkey : action\n\
!					...
! These definitions are vendor (and keyboard) dependant.  The default OSF
! bindings are:
!	osfActivate:		no binding
!	osfCopy:		no binding
!	osfCut:			no binding
!	osfPaste:		no binding
!	osfPrimaryPaste:	no binding
!	osfQuickPaste:		no binding
! *defaultVirtualBindings: \
!	osfAddMode:		Shift<Key>F8\n\
!	osfBackSpace:		<Key>BackSpace\n\
!	osfBeginLine:		<Key>Home\n\
!	osfClear:		<Key>Clear\n\
!	osfDelete:		<Key>Delete\n\
!	osfDown:		<Key>Down\n\
!	osfEndLine:		<Key>End\n\
!	osfCancel:		<Key>Escape\n\
!	osfHelp:		<Key>F1\n\
!	osfInsert:		<Key>Insert\n\
!	osfLeft:		<Key>Left\n\
!	osfMenu:		<Key>F4\n\
!	osfMenuBar:		<Key>F10\n\
!	osfPageDown:		<Key>Next\n\
!	osfPageUp:		<Key>Prior\n\
!	osfRight:		<Key>Right\n\
!	osfSelect:		<Key>Select\n\
!	osfUndo:		<Key>Undo\n\
!	osfUp:			<Key>Up\n\
!
! You can define these to map to keys that you may have on your keyboard.  
!


