!
! applications defaults file for xp v 1.1
!
Xp.Geometry:			80x24
*font:				7x13
*MenuButton.leftBitmap:		menu8
*SmeBSB.*leftMargin: 		12
*vpaned*allowResize :		true
*vpaned*Text.scrollVertical: 	always
*vpaned*Text.wrap:		never
*hpaned*showGrip:               false
*hpaned*resizeToPreferred:	true
!*filesmenu.menuOnScreen:	false
*TopLevelShell.translations:    #override <Message>WM_PROTOCOLS: Cmnd(q)
*options.translations:          #override \n\
                                <BtnDown>: reset() \
				XawPositionSimpleMenu(optionsmenu) \
				MenuPopup(optionsmenu)
*files.translations:		#override <Btn3Down> : set() \n\
				<Btn3Up> : Previous() unset() \n\
				<Btn1Down> : set()  \n\
				<Btn1Up> : Next() unset()  \n\
				<Btn2Down>:  reset() \
                                XawPositionSimpleMenu(filesmenu) \
                                MenuPopup(filesmenu)
*vpaned.Text.translations:	#override \n\
				<Key>Down:      next-line() \n\
				<Key>Up:        previous-line() \n\
				Ctrl<Key>R:	search(backword()\n\
				Ctrl<Key>S:     search(forward()\n\
				Ctrl<Key>V:     next-page() \n\
				Ctrl<Key>Z:     scroll-one-line-up() \n\
				Meta<Key>V:     previous-page() \n\
				Meta<Key>Z:     scroll-one-line-down() \n\
				:Meta<Key>\<:  beginning-of-file() \n\
				:Meta<Key>\>:  end-of-file() \n\
				<Key>Return: 	Cmnd() \n\
				<Key>: KeyRedirect()
*vpaned.gripTranslations:       #override \n\
                                <Btn1Down>:     GripAction(Start, U) \n\
                                <Btn2Down>:     GripAction(Start,T) \n\
                                <Btn3Down>:     GripAction(Start,L) \n\
                                <Btn1Motion>:   GripAction(Move,UpLeft) \n\
                                <Btn2Motion>:   GripAction(Move,ThisBorder) \n\
                                <Btn3Motion>:   GripAction(Move,LowRight) \n\
                                Any<BtnUp>:     GripAction(Commit) AdjustGrip()
*textinput.scrollVertical:	whenNeeded
*textinput.translations:	#override <Key>Return: Cmnd()
*textinput.accelerators:	#override <Btn2Down> : \
				insert-selection(PRIMARY, CUT_BUFFER0)
*errorshell.title:		xp error
*errorshell.allowShellResize:   true
*errorlabel.borderWidth:        0
*errorlabel.resizable:          true
*errordismiss.label:            dismiss
*errordismiss.fromVert:         errorlabel
*errordismiss.accelerators:	#override <Key>: set() notify() unset()
*helpshell.title:		xp help
*helpshell.iconName:		xp help
*helpshell.height:		300
*helpshell.width:		500
*helptext.scrollVertical:	whenNeeded
*helptext.wrap:			word
*helppaned*showGrip:		false
*helpdismiss.label:		dismiss
*helpdismiss.skipAdjust:	true
*helpdismiss.font:		lucidasans-bold-12
*helplabel.font:		lucidasans-bolditalic-12
*helptext*string:		\
See the xp(1)  manual page for more details.\n\
\n\
Click mouse button 1 on dismiss (at bottom) to remove help,\n\
remainder of help refers to main xp window.\n\
\n\
COMMAND BUTTONS:\n\
\n\
quit:	button 1 => quit xp\n\
files:	button 1 => next file\n\
	button 2 => files menu\n\
	button 3 => previous file\n\
options:button 1/2/3 => options menu\n\
help:	button 1 => popup this window\n\
split:  button 1 => split file into two panes at caret\n\
flip:   button 1 => reverse contents of split panes\n\
\n\
MENUS:\n\
\n\
file:	open & display chosen file (in bottom pane if split)\n\
\n\
options: \n\
	wrap word:	  wrap long lines at word boundary\n\
	wrap line:	  wrap long lines at window edge\n\
	horiz scroll:	  display horizontal scroll bar\n\
\n\
	case sensitive:   make searches case sensitive\n\
	search wrap:	  make searches continue from \n\
			  beginning/end of file, or\n\
			  first/last file if search many set\n\
	search many:	  continue searches across file\n\
			  boundaries, to last or first file only\n\
			  unless search wrap set\n\
\n\
	terse:		  suppress the error message popups\n\
\n\
KEYBOARD COMMANDS \n\
\n\
Commands which may be entered from the keyboard into the input \
text widget at the bottom right, terminated by <return> are:\n\
\n\
	move caret to next line\n\
nnn	set caret to line nnn \n\
.	scroll text centering line containing caret\n\
+nnn    move caret forward nnn lines\n\
-nnn    move caret back nnn lines\n\
.=    	output the number of the  line containing the caret\n\
=	output the number of lines in the file\n\
$	move caret to last line\n\
/RE	forward full regular  expression  search from caret\n\
?RE	backward full regular  expression  search from caret\n\
\!	execute rest of the line with sh(1) \n\
|	execute rest of the line with sh(1) passing the \n\
	displayed file  as stdin \n\
q	quit\n\
\n\
\n\
Commands refer to bottom pane if display window has been split.\n\
\n\
All keybord input from the file display windows, except \
that of Text widget key bindings requesting vertical motion, is redirected \
to the input command widget.\n\
\n\
SOME USEFUL DEFAULT TEXT WIDGET KEY BINDINGS\n\
\n\
For input command widget:	For file display widgets:\n\
\n\
ctrl a	begining of line	ctrl v  next page\n\
ctrl e	end of line		meta v  previous page\n\
ctrl k	kill to end of line	ctrl z  scroll a line up\n\
ctrl w	kill selection		meta z  scroll a line down\n\
meta d  delete next word	meta <  beginning of file\n\
meta h  delete previous word	meta >  end of file\n\
\n\
plus cursor left & right for the input command widget \n\
and cursor up & down for the file display widgets.
