! $Id: Xman.ad,v 1.5 1994/09/21 23:27:58 tomw Exp $
! 
! English version roff commands.
!
*commandTbl:			tbl
*commandEqn:			neqn
*commandRoff:			nroff

!
! Latin-1 font only in English
!
*directoryFontSetNormal: 	-*-times-medium-r-*-*-17-*-*-*-*-*-*-*
*manualFontSetNormal:		-*-times-medium-r-*-*-17-*-*-*-*-*-*-*
*manualFontSetBold:		-*-times-bold-r-*-*-17-*-*-*-*-*-*-*
*manualFontSetItalic:		-*-times-bold-i-*-*-17-*-*-*-*-*-*-*
*manualFontSymbol:		-*-symbol-medium-r-*-*-17-*-*-*-*-*-*-*
*topLabel.FontSet:		-*-times-bold-r-*-*-17-*-*-*-*-*-*-*
*horizPane*FontSet:		-*-times-bold-r-*-*-17-*-*-*-*-*-*-*


*input:				TRUE

! Just for fun.
*topBox*ShapeStyle:		Oval

*topBox.Title:			Xman
*topBox.IconName:		Xman
*manualBrowser.Title:		Manual Page
*manualBrowser.IconName:	Manual Page

*SimpleMenu*FontSet:		-*-times-medium-r-*-*-12-*-*-*-*-*-*-*
*SimpleMenu.BackingStore:	Always
*SimpleMenu.SaveUnder:		Off

*search*FontSet:		-*-times-medium-r-*-*-17-*-*-*-*-*-*-*
*horizPane.orientation: 	horizontal
*horizPane*showGrip:		False
*horizPane.max:			15
*topLabel.BorderWidth:		0
*search*label.BorderWidth:	0

*search*dialog*value:		xman

*optionMenu.Label:		Xman Options
*sectionMenu.Label:		Xman Sections

*horizPane*options.Label:	Options
*horizPane*sections.Label:	Sections

*helpButton.Label:		Help
*quitButton.Label:		Quit
*manpageButton.Label:		Manual Page
*manualBrowser.Label:		Manual Browser
*topLabel.Label:		Manual Browser

*SimpleMenu*menuLabel*vertSpace: 100
*SimpleMenu*menuLabel*leftMargin: 20

*displayDirectory.Label:	Display Directory
*displayManualPage.Label:	Display Manual Page
*help.Label:			Help
*search.Label:			Search
*removeThisManpage.Label:	Remove This Manpage
*help*removeThisManpage.Label:	Remove Help
*openNewManpage.Label:		Open New Manpage
*showVersion.Label:		Show Version
*quit.Label:			Quit

*pleaseStandBy*Label:		Formatting Manual Page, Please Stand By...

*search*dialog.Label:		Type string to search for:
*search*apropos.Label:		Apropos
*search*manualPage.Label:	Manual Page
*search*cancel.Label:		Cancel

*likeToSave*dialog.Label:	Would you like to save this formatted Manual Page?
*likeToSave*yes.Label:		Yes
*likeToSave*no.Label:		No

*translations: 		#override \
				Ctrl<Key>q: Quit() \n\
				Ctrl<Key>c: Quit() \n\
				Ctrl<Key>n: CreateNewManpage() \n\
				Ctrl<Key>h: PopupHelp() \n\
				Ctrl<Key>s: PopupSearch()

*help*Paned.manualPage.translations:#override \
				Ctrl<Btn1Down>: \
					XawPositionSimpleMenu(optionMenu) \
					MenuPopup(optionMenu) \n\
				Ctrl<Key>q: Quit() \n\
				Ctrl<Key>c: Quit() \n\
				Ctrl<Key>r: RemoveThisManpage() \n\
				Ctrl<Key>n: CreateNewManpage() \n\
				Ctrl<Key>h: PopupHelp() \n\
				Ctrl<Key>d: GotoPage(Directory) \n\
				Ctrl<Key>m: GotoPage(ManualPage) \n\
				Ctrl<Key>v: ShowVersion() 

*manualBrowser*manualPage.translations:  #override \
				Ctrl<Btn1Down>: \
					XawPositionSimpleMenu(optionMenu) \
					MenuPopup(optionMenu) \n\
				Ctrl<Btn2Down>: \
					XawPositionSimpleMenu(sectionMenu) \
					MenuPopup(sectionMenu) \n\
				Shift<Btn2Down>,<Btn2Up>:GotoPage(Directory)\n\
				Ctrl<Key>q: Quit() \n\
				Ctrl<Key>c: Quit() \n\
				Ctrl<Key>r: RemoveThisManpage() \n\
				Ctrl<Key>n: CreateNewManpage() \n\
				Ctrl<Key>h: PopupHelp() \n\
				Ctrl<Key>d: GotoPage(Directory) \n\
				Ctrl<Key>m: GotoPage(ManualPage) \n\
				Ctrl<Key>v: ShowVersion() \n\
				Ctrl<Key>s: PopupSearch()

*manualBrowser*directory.translations:   #override \
				Ctrl<Btn1Down>: \
					XawPositionSimpleMenu(optionMenu) \
					MenuPopup(optionMenu) \n\
				Ctrl<Btn2Down>: \
					XawPositionSimpleMenu(sectionMenu) \
					MenuPopup(sectionMenu) \n\
				Shift<Btn2Down>,<Btn2Up>: GotoPage(Manpage) \n\
				Ctrl<Key>q: Quit() \n\
				Ctrl<Key>c: Quit() \n\
				Ctrl<Key>r: RemoveThisManpage() \n\
				Ctrl<Key>n: CreateNewManpage() \n\
				Ctrl<Key>h: PopupHelp() \n\
				Ctrl<Key>d: GotoPage(Directory) \n\
				Ctrl<Key>m: GotoPage(ManualPage) \n\
				Ctrl<Key>v: ShowVersion() \n\
				Ctrl<Key>s: PopupSearch()

*manualBrowser*search*manualPage.translations: 	#augment \
				<Btn1Down>,<Btn1Up>: Search(Manpage) reset()

*manualBrowser*search*apropos.translations:		#augment \
				<Btn1Down>,<Btn1Up>: Search(Apropos) reset()

*manualBrowser*search*cancel*translations:  	#augment \
				<Btn1Down>,<Btn1Up>: Search(Cancel) reset()

*manualBrowser*search*value*translations:		#override \
				<Key>Return: Search(Manpage) \n\
				Ctrl<Key>m:  Search(Manpage)

*topBox*search*manualPage.translations: 		#augment \
			<Btn1Down>,<Btn1Up>: Search(Manpage, Open) reset()

*topBox*search*apropos.translations:		#augment \
			<Btn1Down>,<Btn1Up>: Search(Apropos, Open) reset()

*topBox*search*cancel*translations:  		#augment \
			<Btn1Down>,<Btn1Up>: Search(Cancel, Open) reset()

*topBox*search*value*translations:			#override \
				<Key>Return: Search(Manpage, Open) \n\
				Ctrl<Key>m:  Search(Manpage, Open)

*manualBrowser*likeToSave*yes.translations:	#override \
		<Btn1Down>,<Btn1Up>: SaveFormattedPage(Save) reset() \n\
		<Key>y:   SaveFormattedPage(Save) \n\
		<Key>n:   SaveFormattedPage(Cancel) 

*manualBrowser*likeToSave*no.translations:	#override \
		<Btn1Down>,<Btn1Up>: SaveFormattedPage(Cancel) reset() \n\
		<Key>y:	  SaveFormattedPage(Save) \n\
		<Key>n:	  SaveFormattedPage(Cancel) 

*manualBrowser*likeToSave*translations:	#override \
				<Key>y:	  SaveFormattedPage(Save) \n\
				<Key>n:	  SaveFormattedPage(Cancel) 

*helpButton.translations:	#augment \
			<Btn1Down>,<Btn1Up>: PopupHelp() reset()

*quitButton.translations:	#augment \
			<Btn1Down>,<Btn1Up>: Quit() reset()

*manpageButton.translations: #augment \
			<Btn1Down>,<Btn1Up>: CreateNewManpage() reset()
*topBox*FontSet:		-*-times-bold-r-*-*-17-*-*-*-*-*-*-*

! Menu resources for SGI manpages
*userCommands:			User Commands
*systemAdmin:			Sys. Administration
*systemCalls:			System Calls
*subroutines:			Subroutines
*graphicSubroutines:		Graphics Subroutines
*fileFormats:			File Formats
*miscellaneous:			Miscellaneous
*games:				Games
*specialFiles:			Special Files
*systemAdmin1:			Sys. Administration
*local:				Local
*new:				New
*old:				Old
*showone:			Show One Screen
*showboth:			Show Both Screens

!SGI customizations

*bothShown:			true
*topBox:			false

*directoryHeight:		225
*manualBrowser.geometry:	700x900

*horizPane.max:		25
*horizPane.min:		25

*Background:		SGIVeryLightGray
*Foreground:		black
*BorderColor:		SGIDarkGray
*SimpleMenu*background:	SGIVeryLightGray

*Font:   		-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*
*horizPane*Font:	-*-helvetica-bold-o-normal--14-*-*-*-*-*-iso8859-*
*SimpleMenu*Font:	-*-helvetica-bold-o-normal--14-*-*-*-*-*-iso8859-*
*directoryFontNormal:   -*-helvetica-bold-r-normal--14-*-*-*-*-*-iso8859-*
*directory*Foreground:	navyblue
*directory*Background:	antiquewhite2
*manualFontNormal:	-*-times-medium-r-normal--18-*-*-*-*-*-iso8859-*
*manualFontBold:	-*-times-bold-r-normal--18-*-*-*-*-*-iso8859-*
*manualFontItalic:	-*-times-medium-i-normal--18-*-*-*-*-*-iso8859-*
*manualPage*Foreground:	black
*manualPage*Background:	antiquewhite
*search*Font:   	-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*
*search*manualPage.label:	Man Page
