11abf7346Smrg 21abf7346Smrg 31abf7346SmrgXMAN is an X Window System manual browsing tool. 41abf7346Smrg 51abf7346Smrg 61abf7346Smrg 71abf7346SmrgGETTING STARTED 81abf7346Smrg 91abf7346SmrgBy default, xman starts by creating a small window that contains three 101abf7346Smrg"buttons" (places on which to click a pointer button). Two of these 111abf7346Smrgbuttons, Help and Quit, are self-explanatory. The third, Manual Page, 121abf7346Smrgcreates a new manual page browser window; you may use this button to 131abf7346Smrgopen a new manual page any time xman is running. 141abf7346Smrg 151abf7346SmrgA new manual page starts up displaying this help information. The 161abf7346Smrgmanual page contains three sections. In the upper left corner are two 171abf7346Smrgmenu buttons. When the mouse is clicked on either of these buttons a 181abf7346Smrgmenu is popped up. The contents of these menus is described below. 191abf7346SmrgDirectly to the right of the menu buttons is an informational display. 201abf7346SmrgThis display usually contains the name of the directory or manual page 211abf7346Smrgbeing displayed. It is also used to display warning messages and the 221abf7346Smrgcurrent version of xman. The last and largest section is the 231abf7346Smrginformation display. This section of the application contains either a 241abf7346Smrglist of manual pages to choose from or the text of a manual page. 251abf7346Smrg 261abf7346SmrgTo use xman pull down the Sections menu to select a manual section. 271abf7346SmrgWhen the section is displayed, click the left pointer button on the name 281abf7346Smrgof the manual page that you would like to see. Xman will replace the 291abf7346Smrgdirectory listing with the manual page you selected. 301abf7346Smrg 311abf7346SmrgThat should be enough to get you started. Once you understand the 321abf7346Smrgbasics of how to use xman, take a look at the rest of this file to see 331abf7346Smrgthe advanced features that are available to make using xman fast and 341abf7346Smrgefficient. 351abf7346Smrg 361abf7346Smrg 371abf7346SmrgSCROLLING TEXT 381abf7346Smrg 391abf7346SmrgThe scroll bars are similar to xterm and xmh scroll bars; clicking the 401abf7346Smrgleft or right pointer button with the pointer at the bottom of the 411abf7346Smrgscroll bar will scroll the text down or up one page, respectively. 421abf7346SmrgClicking with the pointer farther up the scroll bar scrolls 431abf7346Smrgproportionally less than one page. Clicking the middle button a portion 441abf7346Smrgof the way down the scroll bar will move the text window that portion of 451abf7346Smrgthe way down the text. Holding the middle button and moving the pointer 461abf7346Smrgup and down allows the text to be scrolled dynamically. 471abf7346Smrg 481abf7346SmrgYou may also type 'f' or <space bar> to scroll down one page, and 'b' to 491abf7346Smrgscroll up one page. 501abf7346Smrg 511abf7346Smrg 521abf7346SmrgRESIZING WINDOWS 531abf7346Smrg 541abf7346SmrgYou can resize any of the windows in xman with your window manager, and 551abf7346Smrgxman will do the best it can to resize everything internally into a 561abf7346Smrguseful configuration. The only control over the internal arrangement 571abf7346Smrgthat you have is moving the border between the manual page and directory 581abf7346Smrgwhen both are displayed. This is done by clicking and holding the any 591abf7346Smrgpointer button when the cursor is over the small square (grip) on the 601abf7346Smrgright side of the screen. The grip is located on the horizontal line 611abf7346Smrgwhich separates the panes. The grip may be moved up and down to resize 621abf7346Smrgthe panes of the screen, and when the pointer button is released xman 631abf7346Smrgwill move the pane boundary to the newly specified location. 641abf7346Smrg 651abf7346Smrg 661abf7346SmrgMENU COMMANDS 671abf7346Smrg 681abf7346SmrgThere are two ways to activate the menus. The first is to click any 691abf7346Smrgpointer button in the menu button corresponding to the menu you want to 701abf7346Smrgactivate. The second method is to hold down the "Control" key and click 711abf7346Smrgthe left pointer button for the Options menu or the middle pointer 72a5a2a776Smrgbutton for the Sections menu. Regardless of how the menu was 731abf7346Smrgactivated, selecting items is the same. 741abf7346Smrg 751abf7346SmrgOnce a menu is activated, continue to hold down the pointer button and 761abf7346Smrgdrag the pointer cursor over the item that you would like to activate. 771abf7346SmrgOnce the item that you want to select is highlighted, select it by 781abf7346Smrgreleasing the pointer button. To avoid making a menu selection, move 791abf7346Smrgthe pointer cursor outside the menu and release the button. 801abf7346Smrg 811abf7346SmrgSelecting one of the items in the Sections menu will display the named 821abf7346Smrgdirectory. 831abf7346Smrg 841abf7346SmrgThe following commands are available through the Options menu: 851abf7346Smrg 861abf7346SmrgDisplay Directory Show the current section directory. 871abf7346Smrg 881abf7346SmrgDisplay Manual Page Show the current manual page. 891abf7346Smrg 901abf7346SmrgHelp Create a help window with this text displayed. 911abf7346Smrg 921abf7346SmrgSearch Pop up a dialogue box that allows the entire 931abf7346Smrg tree of manual pages to be searched for a 941abf7346Smrg specific name. A keyword (apropos) search is 951abf7346Smrg also available through this dialogue box. 961abf7346Smrg 971abf7346SmrgShow Both Screens Split the manual page display window to display 981abf7346Smrg both the current manual page and the directory. 991abf7346SmrgShow One Screen Return to a single screen display of either a 1001abf7346Smrg manual page or directory listing. 1011abf7346Smrg 1021abf7346SmrgRemove This Man Page Remove this manual page, do not quit. 1031abf7346Smrg 1041abf7346SmrgOpen New Man Page Pop up a new manual page browser window. 1051abf7346Smrg 1061abf7346SmrgShow Version Print the current version of xman to the 1071abf7346Smrg information display window. Please include the 1081abf7346Smrg version number when reporting bugs. 1091abf7346Smrg 1101abf7346SmrgQuit Close all xman windows and quit xman. 1111abf7346Smrg 1121abf7346Smrg 1131abf7346SmrgSUMMARY OF BASIC ACTIONS 1141abf7346Smrg 1151abf7346SmrgIn a menu button: 1161abf7346Smrg 1171abf7346Smrg CLICK: Pop up a menu 1181abf7346Smrg 1191abf7346SmrgIn a directory, manual page, or scroll bar: 1201abf7346Smrg 1211abf7346Smrg <CONTROL> CLICK LEFT: Pop up the Options menu. 1221abf7346Smrg <CONTROL> CLICK MIDDLE: Pop up the Sections menu. 1231abf7346Smrg 1241abf7346SmrgIn a directory: 1251abf7346Smrg 1261abf7346Smrg CLICK LEFT: Bring up named manual page 1271abf7346Smrg <SHIFT> CLICK MIDDLE: Go to manual page previously chosen. 1281abf7346Smrg 1291abf7346SmrgIn a manual page or apropos listing: 1301abf7346Smrg 1311abf7346Smrg <SHIFT> CLICK MIDDLE: Go to directory of manual pages. 1321abf7346Smrg 1331abf7346SmrgIn scroll bars: 1341abf7346Smrg 1351abf7346Smrg CLICK LEFT: Move down - more if pointer is near bottom 1361abf7346Smrg of window, less if at top. 1371abf7346Smrg CLICK MIDDLE: Move top of page to current pointer position. 1381abf7346Smrg CLICK RIGHT: Move up - more if pointer is near bottom 1391abf7346Smrg of window, less if at top. 1401abf7346Smrg 1411abf7346SmrgSEARCHING 1421abf7346Smrg 1431abf7346SmrgXman has a built-in searching utility that allows the user to search the 1441abf7346Smrgentire manual page tree for a specific topic (manual page search) or a 1451abf7346Smrgkeyword (apropos search). The search dialogue box can be activated from 1461abf7346Smrgthe Options menu, or by the key Control-s. If the search is started 1471abf7346Smrgfrom the small initial topbox xman will open a new manual page if the 1481abf7346Smrgsearch was successful, and fail silently if the search was unsuccessful. 1491abf7346Smrg 1501abf7346SmrgManual page searches are performed starting in the currently displayed 1511abf7346Smrgsection. If no match is found then the remaining sections are searched 1521abf7346Smrgin the order that the sections appear in the Sections menu, starting at 1531abf7346Smrgthe top. The current version of xman immediately displays the first 1541abf7346Smrgmanual page that it finds. If the manual page cannot be found that fact 1551abf7346Smrgis noted in the informational display. 1561abf7346Smrg 1571abf7346SmrgAn apropos search will search a list of short descriptions for all 1581abf7346Smrgmanual pages on the system and return a list of all descriptions which 1591abf7346Smrgcontain the keyword specified. 1601abf7346Smrg 1611abf7346Smrg 1621abf7346SmrgKEYBOARD ACCELERATORS 1631abf7346Smrg 1641abf7346SmrgXman contains a set of preinstalled keyboard accelerators. These are a 1651abf7346Smrgset of key bindings that perform many of the same operations as the menu 1661abf7346Smrgitems. Since it is not necessary to pull down the menu, these actions 1671abf7346Smrgcan be performed more quickly, hence the name accelerators. 1681abf7346Smrg 1691abf7346SmrgThe default key bindings for xman are: 1701abf7346Smrg 1711abf7346SmrgAnywhere: 1721abf7346Smrg 1731abf7346Smrg Control - c Exit xman 1741abf7346Smrg Control - h Create the help window 1751abf7346Smrg Control - n Create a new man page 1761abf7346Smrg Control - q Exit xman 1771abf7346Smrg Control - s Create a search popup 1781abf7346Smrg 1791abf7346SmrgIn a manual page, directory, or help window: 1801abf7346Smrg 1811abf7346Smrg Control - r Remove this manual page or help display 1821abf7346Smrg Control - v Show the current version of xman 1831abf7346Smrg 1841abf7346SmrgIn a manual page or directory: 1851abf7346Smrg 1861abf7346Smrg Control - d Display Directory 1871abf7346Smrg Control - m Display Man Page 1881abf7346Smrg 1891abf7346SmrgIn a manual page only: 1901abf7346Smrg 1911abf7346Smrg b Page Back 1921abf7346Smrg f Page forward 1931abf7346Smrg <Space> Page forward 1941abf7346Smrg 1 One line forward 1951abf7346Smrg 2 Two lines forward 1961abf7346Smrg 3 Three lines forward 1971abf7346Smrg 4 Four lines forward 1981abf7346Smrg 1991abf7346SmrgNote: Control-s does not have any effect in the help window. 2001abf7346Smrg 2011abf7346Smrg 2021abf7346SmrgFURTHER INFORMATION 2031abf7346Smrg 2041abf7346SmrgXman is highly customizable. Through the X resource database a user can 2051abf7346Smrgcustomize the look and feel of this application so that it meets a 2061abf7346Smrgpreferred style of interaction. Almost any configuration that is 2071abf7346Smrgavailable dynamically can be specified through resources. This includes 2081abf7346Smrgchanging the size, color, and fonts, starting with no topbox, showing 2091abf7346Smrgboth screens, and rebinding the keyboard accelerators. 2101abf7346Smrg 2111abf7346SmrgThe information on customizing xman is contained in the xman manual 2121abf7346Smrgpage, I will leave it to you to figure out how to find and display that 2131abf7346Smrginformation :-) 2141abf7346Smrg 2151abf7346Smrg 2161abf7346Smrg Chris D. Peterson MIT X 2171abf7346Smrg Consortium 2181abf7346Smrg 2191abf7346SmrgCREDITS 2201abf7346Smrg 2211abf7346SmrgVersion: Use 'Show Version' menu item. 2221abf7346SmrgWritten By: Chris D. Peterson - formerly MIT X Consortium 2231abf7346SmrgBased Upon: Xman for X10 by Barry Shein - Boston University 2241abf7346Smrg 2251abf7346SmrgCopyright 1988, 1989 X Consortium 2261abf7346SmrgEdited by Donna Converse and Dave Sternlicht 2271abf7346Smrg 2281abf7346Smrg 229