home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / X11 / willow / doc / willow.X < prev    next >
Encoding:
Text File  |  1995-07-12  |  12.0 KB  |  296 lines

  1. ! This file contains X-resources, and can be used as a template for
  2. ! customizing willow for an individual user or an entire site. Lines
  3. ! that begin with a '!' are just comments and have no effect. No
  4. ! resources are actually set in this file (unless you modify it) since
  5. ! the fallback resources for all resources are usable. Append any
  6. ! resources you would like to set to your .Xdefaults file.
  7.   
  8. ! BASIC RESOURCES
  9. !Willow*size: default
  10. !  Willow can be run at four standard sizes: small, medium, large, and
  11. !  extra-large. The "size" resource has six legal values: default, small,
  12. !  medium, large, extra-large, and custom. The value "default" is of
  13. !  course the default.  With this value Willow will configure itself to
  14. !  be large if your screen is at least 1000x700, otherwise it will be
  15. !  small. If you prefer to always run at one of the other sizes uncomment
  16. !  the above line, and put in the name of the size you want. The
  17. !  value "custom" is discussed in the ADVANCED section below.
  18.     
  19. !Willow*printCommand: lpr
  20. !  This is the unix command string that Willow will use to print results.
  21. !  The default is lpr. If the value is "none", then printing is disabled.
  22. !  Users of the UW campus willow servers may find it useful to set
  23. !  this resource to "prt -queue " followed by the name of the most
  24. !  convenient printer on the prt system.
  25.     
  26. !Willow*defaultVirtualBindings:\
  27. !osfBackSpace : <Key>Delete\n\
  28. !osfDelete    : <Key>BackSpace\n\
  29. !osfLeft      : <Key>Left\n\
  30. !osfUp        : <Key>Up\n\
  31. !osfRight     : <Key>Right\n\
  32. !osfDown      : <Key>Down\n\
  33. !osfPageUp    : <Key>Prior\n\
  34. !osfPageDown  : <Key>Next\n\
  35. !osfCancel    : <Key>Escape\n\
  36. !  Certain systems, such as a Macintosh using MacX and some PC
  37. !  software combinations do not recognize the backspace key designated
  38. !  for a unix keyboard.  These are the keyboards bindings that should
  39. !  enable the "delete" (backspace) key on those systems. Note that if 
  40. !  you set any of the key-bindings you must set *all* of them. If you do
  41. !  not have PageUp and PageDown keys on your keyboard, you might want
  42. !  to change the <Key>Prior" and "<Key>Next" to "<Key>F11" and 
  43. !  "Key<F12>" (or any other keys you want to use for this purpose).
  44.  
  45. !  Willow's color scheme is controlled by a group of resources as
  46. !  follows. Uncomment and replace any of the color values you wish to
  47. !  change. The program xrainbow is useful for previewing the available
  48. !  colors on your system.
  49.     
  50. !Willow*defaultBackground : SkyBlue1
  51. !  This is the background color of everything that is not otherwise
  52. !  specified. 
  53.     
  54. !Willow*defaultForeground : black
  55. !  This is the foreground color of everything that is not otherwise
  56. !  specified. 
  57.     
  58. !Willow*menuBarBackground : SkyBlue1
  59. !  Background color of the Search window's menu bar.
  60.     
  61. !Willow*menuBarForeground : black
  62. !  Foreground color of the Search window's menu bar.
  63.     
  64. !Willow*textBackground  : SlateGray1
  65. !  Background color of all text display and entry areas.
  66.     
  67. !Willow*textForeground  : black
  68. !  Foreground color of all text display and entry areas.
  69.     
  70. !Willow*imageBackground : white
  71. !  Background color of all image areas (just the "About" box and the
  72. !  spinning globe dialog box)
  73.     
  74. !Willow*imageForeground : black
  75. !  Foreground color of all image areas.
  76.     
  77. !Willow*buttonBackground : SkyBlue1
  78. !  Background color of all push-buttons.
  79.     
  80. !Willow*buttonForeground : Black
  81. !  Foreground color of all push-buttons.
  82.     
  83. !Willow*fieldButtonBackground : SkyBlue1
  84. !  Background color of field-labels, and corresponding date-range
  85. !  buttons (if any).
  86.  
  87. !Willow*fieldButtonForeground : Black
  88. !  Foreground color of field-labels, and corresponding date-range
  89. !  buttons (if any).
  90.     
  91. !Willow*checkMarkBackground : red
  92. !  Color of selected "check-boxes" (limit fields on Search window, and
  93. !  currently selected database in Databases menu).
  94.     
  95. !  Here is an alternate color scheme for grey-scale displays.
  96. !Willow*defaultBackground : grey90
  97. !Willow*defaultForeground : black
  98. !Willow*menuBarBackground : grey80
  99. !Willow*menuBarForeground : black
  100. !Willow*textBackground  : white
  101. !Willow*textForeground  : black
  102. !Willow*imageBackground : white
  103. !Willow*imageForeground : black
  104. !Willow*buttonBackground : grey90
  105. !Willow*buttonForeground : black
  106. !Willow*fieldButtonBackground : grey90
  107. !Willow*fieldButtonForeground : black
  108. !Willow*checkMarkBackground : grey20
  109.  
  110. !Willow*reverseVideo: False
  111. !  If you are running Willow on a monochrome display, and you would 
  112. !  prefer a white on black display rather than the standard black on 
  113. !  white, set the this resource to True. It has no effect if
  114. !  you are on a color display
  115.  
  116. !Willow*saveType: local
  117. !  This is the type of save that Willow will try to do by default. Legal
  118. !  values are local (save to your account on the machine that Willow is
  119. !  running on), email (save via electronic mail), and ftp(network save
  120. !  via the FTP program). The default is local, unless you are running off
  121. !  a non-local server, in which case it is email.
  122.     
  123. !Willow*mailAddress:
  124. !  This is the e-mail address that Willow will use if the save type is
  125. !  email. By default there is no value.
  126.     
  127. !Willow*mailSubject: Willow Search Results
  128. !  This is the Subject line that Willow use for results saved via e-mail.
  129.     
  130. !Willow*ftpHost: 
  131. !  This is the machine that Willow will use for ftp saves. By default
  132. !  there is no value.
  133.     
  134. !Willow*ftpUserID:
  135. !  This is the user id that Willow will use for ftp saves. By default
  136. !  there is no value.
  137.  
  138. !Willow*ftpAppend: True
  139. !  When Willow saves search results via ftp, and the specified file
  140. !  name already exists on the destination machine, should it append
  141. !  to the file, or overwrite it?
  142.  
  143. !Willow*includeQuery: False
  144. !  If this resource is set to True, Willow will include a description
  145. !  of the query that generated your results with all of your saved or
  146. !  printed retrievals. Can be turned on and off manually via the
  147. !  Options menu as well.
  148.  
  149. !Willow*abbreviatedFields: False
  150. !  This controls whether Willow retrieves summary and full records
  151. !  with fully expanded field names or two-letter abbreviations 
  152. !  displayed. You can also set this on the fly via the Options menu.
  153. !  Probably the only use for abbreviated fields is for downloading 
  154. !  results into your own personal database (such as Reference
  155. !  Manager). 
  156.     
  157. !Willow*animationDelay : 200
  158. !  How many milliseconds Willow waits between each frame of animation
  159. !  (i.e. the spinning globe). If it is set to 0, animation is turned off.
  160.     
  161.     
  162. !  ADVANCED RESOURCES
  163.  
  164. !Willow*textTranslations:\
  165. !Meta<Key>osfDelete: kill-previous-word()\n\
  166. !Alt<Key>osfDelete:  kill-previous-word()\n\
  167. !Ctrl<Key>D:         delete-next-character() \n\
  168. !Meta<Key>D:         kill-next-word() \n\
  169. !Alt<Key>D:          kill-next-word() \n\
  170. !Ctrl<Key>K:         kill-to-end-of-line() \n\
  171. !Ctrl<Key>U:         kill-to-start-of-line() kill-to-end-of-line() \n\
  172. !Ctrl<Key>W:         kill-selection() \n\
  173. !Ctrl<Key>Y:         unkill() \n\
  174. !Ctrl<Key>F:         forward-character() \n\
  175. !Ctrl<Key>B:         backward-character() \n\
  176. !Ctrl<Key>A:         beginning-of-line() \n\
  177. !Ctrl<Key>E:         end-of-line() \n\
  178. !Meta<Key>F:         forward-word() \n\
  179. !Alt<Key>F:          forward-word() \n\
  180. !Meta<Key>B:         backward-word() \n\
  181. !Alt<Key>B:          backward-word() \n
  182. !  The textTranslations resource defines the keyboard shortcuts that
  183. !  are available for editing text in any of Willow's type-in areas.
  184. !  The default setup, shown above, is modeled after the standard
  185. !  bindings for the emacs text editor. See the Open Software
  186. !  Foundation's Motif documentation for information on the available
  187. !  action procedures (the section on XmText).    
  188.  
  189.  
  190. !  Fonts are controlled by three resources: textFont is the font used
  191. !  in all text display and entry areas; buttonFont is used on all
  192. !  pushbuttons; and defaultFont is used everywhere else. The default
  193. !  values for these resources depend on what size you are running at.
  194. !  Following are the default values for the three resources at large
  195. !  size.
  196. !
  197. !Willow*textFont:    -adobe-courier-medium-r*140-75*
  198. !Willow*buttonFont:  -adobe-helvetica-bold-r*140-75*
  199. !Willow*defaultFont: -adobe-helvetica-bold-r*140-75*
  200. !  Note that Willow purposely defaults to using 75dpi fonts. This
  201. !  guarantees a correct screen layout. Please be very careful about
  202. !  changing these font resources. If you have a 100dpi screen, you are
  203. !  better off running Willow in extra-large mode than switching to
  204. !  100dpi fonts.
  205.  
  206. !Willow*noBasicMode: False
  207. !  If this resource is set to True, Willow will never go into Basic
  208. !  Searching mode by itself. However the "Go To Basic Searching"
  209. !  button will still be available for appropriate databases.
  210.  
  211. !Willow*printDialog: True
  212. !  If this resource is set to False, Willow will not pop up the
  213. !  "Printing..." dialog box after you press the "Print" button. This
  214. !  can be useful if you have set Willow*printCommand to be an X
  215. !  program with its own interface that pops up.
  216.     
  217. !Willow*echo: False
  218. !  If this resource is set to True, all interactions with the database
  219. !  host are echoed to stderr.
  220.         
  221. !Willow*size: custom
  222. !  Setting the value of the size resource to custom requires that you set
  223. !  several other resources as well. Following is an example.
  224. !  
  225. !  You need to set dimensions and positions for each of the four main
  226. !  program windows.
  227. !Willow*Search.geometry:       580x365+0+1
  228. !Willow*Summaries.geometry:    880x500+0-0
  229. !Willow*List Browser.geometry: 625x375+130+380
  230. !Willow*Full-Record.geometry:  750x700-0+1
  231. !  And the position of the Help window
  232. !Willow*HelpShell.geometry:    +70+70
  233. !
  234. !  Next, you need to set the following resources which control how closely
  235. !  spaced the various user-interface components are.
  236. !
  237. !Willow*XmForm*verticalSpacing: 4
  238. !Willow*XmForm*horizontalSpacing: 5
  239. !  Vertical and horizontal pixel spacing between items in the four
  240. !  main Willow windows.
  241. !
  242. !Willow*XmDialogShell*XmForm*verticalSpacing: 8
  243. !Willow*XmDialogShell*XmForm*horizontalSpacing: 5
  244. !  Vertical and horizontal pixel spacing between items in all Willow
  245. !  pop-up dialog boxes.
  246. !
  247. !Willow*Search*search_box*XmRowColumn.topOffset: 7
  248. ! Vertical pixel spacing between the field-labels on the Search window.
  249. !
  250. ! Finally, you need to make sure that all three of the font resources
  251. ! discussed above are explicitly set.
  252.  
  253. !Willow*customFields:
  254. !  This resource is used for pre-setting which fields you would like
  255. !  to appear in your retrieved full-records for the available
  256. !  databases. Note that currently only the "uwbrs" driver supports
  257. !  custom fields, so this resource will not be usable for Z39.50
  258. !  databases. 
  259. !  
  260. !  The value of the resource consists of individual lines containing a
  261. !  database identifier, colon, then a comma separated list of field
  262. !  abbreviations. The following example would cause full records
  263. !  retrieved in UW Medline to contain only Abstract, Title, and
  264. !  Author, and full records in UW Books In Print to contain only
  265. !  Title, Author, and ISBN -- 
  266. !     Willow*customFields:\
  267. !     UW-MDL1:AB,TI,AU\n\
  268. !     UW-BINP:TI,AU,IB
  269. !
  270. !  The database identifier can be found for the current database by
  271. !  looking under "About this database" in Willow's File menu, and the
  272. !  field name abbreviations can be found by setting Abbreviated Fields
  273. !  in the Options menu Record Retrieval dialog, then retrieving a
  274. !  full-record.
  275.  
  276. !Willow*userInfo:
  277. !  This resource can be used to pre-set answers to questions from the
  278. !  database, most often user-id and/or password for databases that
  279. !  require a manual login. The value of the resource consists of
  280. !  individual lines containing a database identifier, colon, question
  281. !  identifier, colon, and the value. For example, suppose you have two
  282. !  databases in your Database menu which require a user-id and
  283. !  password, and the databases are identified by "DB-1" and
  284. !  "DB-2". You could set the resource as follows --
  285. !      Willow*userInfo:\
  286. !      DB-1:UserID:MyName\n\
  287. !      DB-1:Password:MyPassword\n\
  288. !      DB-2:UserID:MyName\n\
  289. !      DB-2:Password:MyPassword
  290. !  The values to use for the database identifier and the question
  291. !  identifier are displayed in the dialog box title when Willow asks
  292. !  you the question. Note that it might not be a good idea to put real
  293. !  passwords into your .Xdefaults file.
  294.  
  295.