home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume10 / infow / part01 / XInfo.ad < prev    next >
Encoding:
Text File  |  1993-04-28  |  7.3 KB  |  211 lines

  1. # $Header: /usr3/xinfo/RCS/XInfo.ad,v 1.2 90/11/11 21:20:12 jkh Exp $
  2. #
  3. #                    Copyright 1989, 1990
  4. #                     Jordan K. Hubbard
  5. #                 PCS Computer Systeme, GmbH.
  6. #                    Munich, West Germany
  7. #  This file is part of GNU Info widget.
  8. #  The GNU Info widget is free software; you can redistribute it and/or
  9. #  modify it under the terms of the GNU General Public License as published
  10. #  by the Free Software Foundation; either version 1, or (at your option)
  11. #  any later version.
  12. #  This software is distributed in the hope that it will be useful,
  13. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. #  GNU General Public License for more details.
  16. #  You should have received a copy of the GNU General Public License
  17. #  along with this software; see the file COPYING.  If not, write to
  18. #  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19. #
  20. #
  21. # Here lie the general resource settings for the XInfo widget. Everything
  22. # here should be customizable (within reason) without changing basic
  23. # functionality too much, so feel free to adjust accelerator keys and/or
  24. # appearances to suit your personal taste. Look in the README file for a
  25. # description of what each action does before changing accelerators.
  26. #
  27. # $Log:    XInfo.ad,v $
  28. # Revision 1.2  90/11/11  21:20:12  jkh
  29. # Release 1.01
  30. # Revision 1.1  90/11/06  15:43:18  jkh
  31. # Initial revision
  32.  
  33.  
  34. #
  35. # General xinfo client defaults:
  36.  
  37. XInfo*Accelerators: #override \n\
  38.     <Key>1:        info_menusel(1)\n\
  39.     <Key>2:        info_menusel(2)\n\
  40.     <Key>3:        info_menusel(3)\n\
  41.     <Key>4:        info_menusel(4)\n\
  42.     <Key>5:        info_menusel(5)\n\
  43.     <Key>6:        info_menusel(6)\n\
  44.     <Key>7:        info_menusel(7)\n\
  45.     <Key>8:        info_menusel(8)\n\
  46.     <Key>9:        info_menusel(9)\n\
  47.     <Key>Help:    info_popupHelp()\n\
  48.     <Key>question:    info_popupHelp()\n\
  49.     Meta<Key>P:    info_print()\n\
  50.     None<Key>d:    info_dir()\n\
  51.     None<Key>f:    info_xref()\n\
  52.     None<Key>g:    info_goto()\n\
  53.     None<Key>h:    info_tutorial()\n\
  54.     None<Key>l:    info_last()\n\
  55.     None<Key>m:    info_menusel(0)\n\
  56.     None<Key>n:    info_next()\n\
  57.     None<Key>p:    info_prev()\n\
  58.     None<Key>q:    info_quit()\n\
  59.     None<Key>s:    info_nodeSearch()\n\
  60.     None<Key>t:    info_top()\n\
  61.     None<Key>u:    info_up()\n
  62.  
  63. XInfo.geometry:                    600x600
  64. XInfo*IconPixmap:                xinfo.bm
  65.  
  66. # These look nice on color systems; enable if you want a flashier interface.
  67. #
  68. #XInfo*Background:                MidNightBlue
  69. #XInfo*Foreground:                Azure
  70. #XInfo*BorderColor:                LightCyan1
  71. #XInfo*info.pane1*Command.Foreground:        Gold
  72. #XInfo*info.pane1*Command.Background:        RoyalBlue3
  73. #XInfo*info.pane1*Label.Foreground:        Yellow
  74. #XInfo*info.pane1*Label.Background:        RoyalBlue4
  75. #XInfo*info.help*Background:            DarkGoldenRod
  76. #XInfo*info.need_argument*Background:        Brown
  77.  
  78. #
  79. # More specific xinfo widget defaults:
  80.  
  81. XInfo*ShapeStyle:                Oval
  82. XInfo*Font:                    7x13
  83. XInfo*info.pane1*Command.borderWidth:        2
  84. XInfo*info.pane1.box1*Command.Font:        6x13
  85. XInfo*info.pane1.box1*Command.Justify:        JustifyLeft
  86. XInfo*info.pane1.*.vertical.Translations:    #override \n\
  87.   <Key>space:  StartScroll(Forward)  NotifyScroll(FullLength) EndScroll() \n\
  88.   <Key>Delete: StartScroll(Backward) NotifyScroll(FullLength) EndScroll() \n
  89.  
  90. XInfo*info.pane1.vport1.height:            60
  91. XInfo*info.pane1.vport1.min:            60
  92. XInfo*info.pane1.vport1.max:            9999
  93.  
  94. XInfo*info.pane1.vport1.menu.pasteBuffer:    True
  95. XInfo*info.pane1.vport1.menu.height:        150
  96. XInfo*info.pane1.vport1.menu.columnSpacing:    8
  97.  
  98. XInfo*info.pane1.nodeText.height:        500
  99. XInfo*info.pane1.nodeText.wrap:            Word
  100. XInfo*info.pane1.nodeText.autoFill:        True
  101. XInfo*info.pane1.nodeText.scrollVertical:    WhenNeeded
  102. XInfo*info.pane1.nodeText.Translations:    #override \n\
  103.     None<Key>b:    beginning-of-file() \n\
  104.     <Key>Home:    beginning-of-file() \n\
  105.     <Key>Delete:    previous-page() \n\
  106.     <Key>Prior:    previous-page() \n\
  107.     <Key>Next:    next-page() \n\
  108.     <Key>space:    next-page() \n\
  109.     None<Btn1Down>: select-end() info_click() \n
  110.  
  111. XInfo*info.pane1.vport2.height:            30
  112. XInfo*info.pane1.vport2.min:            20
  113. XInfo*info.pane1.vport2.max:            9999
  114.  
  115. XInfo*info.pane1.vport2.xref.pasteBuffer:    True
  116. XInfo*info.pane1.vport2.xref.defaultColumns:    6
  117. XInfo*info.pane1.vport2.xref.columnSpacing:    8
  118.  
  119. XInfo*info.pane1.box2.height:            30
  120. XInfo*info.pane1.box2.min:            30
  121. XInfo*info.pane1.box1*Command.Justify:        JustifyCenter
  122.  
  123. XInfo*info.pane1.box2.arg.width:        200
  124. XInfo*info.pane1.box2.arg.allowResize:        True
  125. XInfo*info.pane1.box2.arg.resize:        True
  126. XInfo*info.pane1.box2.arg.borderWidth:        2
  127. XInfo*info.pane1.box2.arg.translations:        #override \n\
  128.      <Key>Return: confirm() \n\
  129.      Ctrl<Key>G:  abort() \n
  130.  
  131. XInfo*info.pane1.status.height:            20
  132. XInfo*info.pane1.status.min:            20
  133. XInfo*info.pane1.status.max:            20
  134.  
  135. XInfo*info.pane1.message.height:        20
  136. XInfo*info.pane1.message.min:            20
  137. XInfo*info.pane1.message.max:            20
  138.  
  139. #
  140. # Help popup resources
  141.  
  142. XInfo*info.help.height:                300
  143. XInfo*info.help.width:                400
  144. XInfo*info.help.pane.text.scrollVertical:    WhenNeeded
  145. XInfo*info.help.pane.text.wrap:            Word
  146. XInfo*info.help.pane.text.translations:        #override \n\
  147. None<Key>q:    MenuPopdown(help) \n\
  148. None<Key>b:    beginning-of-file() \n\
  149. <Key>Home:    beginning-of-file() \n\
  150. <Key>Delete:    previous-page() \n\
  151. <Key>Prior:    previous-page() \n\
  152. <Key>Next:    next-page() \n\
  153. <Key>space:    next-page() \n
  154. XInfo*info.help.pane.text.textSource.string: \
  155. The following keys are recognized by the Info Widget: \n\n\
  156. Key        Action \n\
  157. ----        ------ \n\
  158. B        Beginning of Node \n\
  159. Home        Same as above* \n\
  160. D        Goto Directory \n\
  161. F        Follow reference \n\
  162. G        Goto node \n\
  163. H        Info tutorial \n\
  164. L        Last node selected \n\
  165. M        Select menu by name \n\
  166. N        Next node \n\
  167. P        Previous node \n\
  168. S        Search for node \n\
  169. T        Top node \n\
  170. U        Up node \n\
  171. 0-9        Select menu by number \n\
  172. <DEL>        Back page \n\
  173. Prev Page    Same as above* \n\
  174. <SPACE>        Forward page \n\
  175. Next Page    Same as above* \n\
  176. Meta-P        Send current node to printer. \n\
  177. ?        Print this help \n\
  178. Help        Same as above* \n\n\
  179. * If supported on your keyboard.\n\n\
  180. The info widget command set attempts to emulate that of Emacs Info as closely as possible, but there are a few notable exceptions. Like Emacs Info, the current file, node name and possible values for Up, Previous and Next are displayed in the first pane. Clicking on the Up, Prev or Next buttons will also cause the corresponding node (if any) to be selected. Possible menu items are displayed in the second pane as a multiple-choice list. If more menu items exist than will fit in the space allotted for them, 
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187. a scrollbar is added.\n\n\
  188. The third pane contains the node text. It can be scrolled with the accompanying scrollbar or the paging keys (see above).\n\n\
  189. The fourth pane contains a multiple choice list of any cross references in this node.\n\n\
  190. The fifth pane contains buttons for more direct navigation within the info tree. All take their argument(s) from the text area to the right of the search button. This area is also used by the F, G, M and S keys. The use of an argument area, rather than interactive prompting, is the main difference between this widget and Emacs Info. This should be kept in mind when using the Emacs Info tutorial.\n\n\
  191. The sixth and seventh panes are the status and message areas, respectively.\n
  192.  
  193. #
  194. # Argument dialog popup resources
  195.  
  196. XInfo*info.need_argument.dialog.value.translations:    #override \n\
  197.      <Key>Return: confirm() \n\
  198.      Ctrl<Key>G:  abort() \n
  199. XInfo*info.need_argument.dialog.confirm.horizDistance:    20
  200. XInfo*info.need_argument.dialog.confirm.Label:        Confirm
  201. XInfo*info.need_argument.dialog.abort.Label:        Abort
  202.