home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume20 / xarchie / part10 < prev    next >
Encoding:
Text File  |  1993-06-14  |  50.8 KB  |  1,358 lines

  1. Newsgroups: comp.sources.x
  2. From: ferguson@cs.rochester.edu (George Ferguson)
  3. Subject: v20i038:  xarchie - An X browser interface to Archie, v2.0.6, Part10/24
  4. Message-ID: <1993Jun15.223315.562@sparky.imd.sterling.com>
  5. X-Md4-Signature: 35c44cec7f05af711590339b85ec9614
  6. Sender: chris@sparky.imd.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Tue, 15 Jun 1993 22:33:15 GMT
  9. Approved: chris@sparky.imd.sterling.com
  10.  
  11. Submitted-by: ferguson@cs.rochester.edu (George Ferguson)
  12. Posting-number: Volume 20, Issue 38
  13. Archive-name: xarchie/part10
  14. Environment: X11
  15. Supersedes: xarchie: Volume 14, Issue 82-90
  16.  
  17. Submitted-by: ferguson@cs.rochester.edu
  18. Archive-name: xarchie-2.0.6/part10
  19.  
  20. #!/bin/sh
  21. # this is Part.10 (part 10 of xarchie-2.0.6)
  22. # do not concatenate these parts, unpack them in order with /bin/sh
  23. # file xarchie-2.0.6/help-text1.h continued
  24. #
  25. if test ! -r _shar_seq_.tmp; then
  26.     echo 'Please unpack part 1 first!'
  27.     exit 1
  28. fi
  29. (read Scheck
  30.  if test "$Scheck" != 10; then
  31.     echo Please unpack part "$Scheck" next!
  32.     exit 1
  33.  else
  34.     exit 0
  35.  fi
  36. ) < _shar_seq_.tmp || exit 1
  37. if test ! -f _shar_wnt_.tmp; then
  38.     echo 'x - still skipping xarchie-2.0.6/help-text1.h'
  39. else
  40. echo 'x - continuing file xarchie-2.0.6/help-text1.h'
  41. sed 's/^X//' << 'SHAR_EOF' >> 'xarchie-2.0.6/help-text1.h' &&
  42. "     available for FTP on the Internet.\n",
  43. "\n",
  44. NULL,
  45. " What is Archie?\n",
  46. "     The Archie information system is  a\n",
  47. "     network-based    information   tool\n",
  48. "     offering proactive  data  retrieval\n",
  49. "     and indexing for widely distributed\n",
  50. "     collections of data.\n",
  51. "\n",
  52. "     Perhaps the best known  application\n",
  53. "     of the Archie system is to maintain\n",
  54. "     the  Internet  Archives   database.\n",
  55. "     This  database,  already  available\n",
  56. "     from a number of service  providers\n",
  57. "     across the Internet, currently con-\n",
  58. "     tains the names of  over  2,100,000\n",
  59. "     files  at  over 1,000 anonymous FTP\n",
  60. "     archive sites.   Using  this  data-\n",
  61. "     base,   users  can  rapidly  locate\n",
  62. "     needed files without  the  need  to\n",
  63. "     log onto dozens or even hundreds of\n",
  64. "     machines. Archie  servers  offering\n",
  65. "     this   database  currently  receive\n",
  66. "     over 50,000 queries per day.  It is\n",
  67. "     this   database  that  the  Xarchie\n",
  68. "     client accesses,  as  described  in\n",
  69. "     the  next section, using one of the\n",
  70. "     many   independently   owned    and\n",
  71. "     operated  Archie servers around the\n",
  72. "     world.\n",
  73. "\n",
  74. "     The Archie system is much more than\n",
  75. "     the   Internet  Archives  database.\n",
  76. "     For more information contact Bunyip\n",
  77. "     Information  Systems  at (514) 398-\n",
  78. "     3709  or  (514)  398-811  or  email\n",
  79. "     \"info@bunyip.com\".\n",
  80. "\n",
  81. NULL,
  82. " What is Xarchie?\n",
  83. "     Xarchie is an X11 browser interface\n",
  84. "     to  the  Archie  Internet  Archives\n",
  85. "     database using the Prospero virtual\n",
  86. "     filesystem  protocol.   Archie pro-\n",
  87. "     vides   information   about   files\n",
  88. "     available  for  ftp anywhere on the\n",
  89. "     Internet;  Xarchie  displays   this\n",
  90. "     information  using  an easy-to-use,\n",
  91. "     point-and-click interface.  Xarchie\n",
  92. "     allows  you  to further explore ftp\n",
  93. "     sites  by   examining   directories\n",
  94. "     returned   as  query  matches,  and\n",
  95. "     allows  you   to   retrieve   files\n",
  96. "     located this way.\n",
  97. "\n",
  98. "     Xarchie is designed  (like  most  X\n",
  99. "     applications)  to be highly custom-\n",
  100. "     izable, allowing you to tailor  the\n",
  101. "     look-and-feel  of  the tool to your\n",
  102. "     own preferences. See the  REFERENCE\n",
  103. "     MANUAL for details.\n",
  104. "\n",
  105. "     Users should be aware that the Xar-\n",
  106. "     chie  client accesses a server that\n",
  107. "     is  shared  with  users  on   other\n",
  108. "     hosts.  As such, submitting long or\n",
  109. "     large  numbers  of  queries  during\n",
  110. "     peak periods not only increases the\n",
  111. "     time that you have to  wait  for  a\n",
  112. "     response, but it increases the time\n",
  113. "     that  others  have  to  wait   too.\n",
  114. "     Please read about the -nice option,\n",
  115. "     the  niceLevel  resource,  and  the\n",
  116. "     \"Nice  Level\" setting before making\n",
  117. "     large queries.   Also,  you  should\n",
  118. "     use  the  closest  possible host to\n",
  119. "     save long-distance network traffic.\n",
  120. "     Abusers  of  the  service  may find\n",
  121. "     their   access   revoked    without\n",
  122. "     notice.\n",
  123. "\n",
  124. NULL,
  125. " The Xarchie Display\n",
  126. "     Xarchie  uses  several  conventions\n",
  127. "     regarding menus and button names:\n",
  128. "\n",
  129. "     -    Clicking  on  a  button  whose\n",
  130. "          name  ends with a \">\" will pop\n",
  131. "          up  a  menu  from  which   you\n",
  132. "          should   select   the  desired\n",
  133. "          action.\n",
  134. "\n",
  135. "     -    Clicking on  or  selecting  an\n",
  136. "          item  whose name ends in \"...\"\n",
  137. "          will pop up a panel that  will\n",
  138. "          let  you  perform  the desired\n",
  139. "          operation.\n",
  140. "\n",
  141. "     A label with neither of these  suf-\n",
  142. "     fixes  indicates  that  the  action\n",
  143. "     will be  taken  without  subsequent\n",
  144. "     interaction.\n",
  145. "\n",
  146. "     Xarchie's display is  divided  into\n",
  147. "     three  horizontal  areas.  The  top\n",
  148. "     pane is a control  panel  providing\n",
  149. "     the following buttons:\n",
  150. "\n",
  151. "     File:\n",
  152. "          Clicking   on   this    button\n",
  153. "          presents  the  File Menu, from\n",
  154. "          which you can select a variety\n",
  155. "          of  file-related operations to\n",
  156. "          be described later.  The  File\n",
  157. "          Menu  operations  can  also be\n",
  158. "          invoked by  holding  down  the\n",
  159. "          Meta  key and typing the first\n",
  160. "          letter of the operation's name\n",
  161. "          (e.g., Meta-Q to quit).\n",
  162. "\n",
  163. "     Settings:\n",
  164. "          Clicking   on   this    button\n",
  165. "          presents  the  Settings  Menu,\n",
  166. "          whose   operations   will   be\n",
  167. "          described   in  the  \"Advanced\n",
  168. "          Usage\" section.\n",
  169. "\n",
  170. "     Query:\n",
  171. "          This button presents the Query\n",
  172. "          Menu,  used to send queries to\n",
  173. "          Archie.  Its operation will be\n",
  174. "          described shortly.\n",
  175. "\n",
  176. "     Abort:\n",
  177. "          When active during a query  or\n",
  178. "          retrieval,  this button allows\n",
  179. "          you to abort the operation.\n",
  180. "\n",
  181. "     Help:\n",
  182. "          Clicking on this  button  pops\n",
  183. "          up   the   Help  Panel,  which\n",
  184. "          allows  you  to  browse   this\n",
  185. "          document on-line.\n",
  186. "     Finally, the area labelled \"Status\"\n",
  187. "     is   used  to  provide  information\n",
  188. "     about the progress of  a  query  or\n",
  189. "     other informative messages.\n",
  190. "\n",
  191. "     The  middle  pane  of  the  Xarchie\n",
  192. "     display   functions   as   a  host-\n",
  193. "     location-file browser. That is, the\n",
  194. "     leftmost  pane  displays hostnames,\n",
  195. "     the middle pane  locations  (direc-\n",
  196. "     tories),  and  the  rightmost  pane\n",
  197. "     files or directories returned by  a\n",
  198. "     query.   The   browser's   use   is\n",
  199. "     described in  the  section  \"Brows-\n",
  200. "     ing\",  below.  You  can  adjust the\n",
  201. "     relative size of the browser  panes\n",
  202. "     using the Grips on their borders.\n",
  203. "\n",
  204. "     Finally, the  bottom  pane  of  the\n",
  205. "     Xarchie  display  provides a set of\n",
  206. "     Text  items  where  you  can  enter\n",
  207. "     information  and  where information\n",
  208. "     is displayed as query  results  are\n",
  209. "     browsed.  Not all Text items can be\n",
  210. "     typed in; some are used for display\n",
  211. "     only.   These  text  items  provide\n",
  212. "     Emacs-like  editing  controls  (see\n",
  213. "     xedit(1)  for  a  complete descrip-\n",
  214. "     tion). Typing Return in  some  Text\n",
  215. "     items   invokes   an  action  as  a\n",
  216. "     shortcut for selecting  it  from  a\n",
  217. "     menu or button.\n",
  218. "\n",
  219. NULL,
  220. " Basic Xarchie Usage\n",
  221. "     This section  provides  information\n",
  222. "     on  basic  querying,  browsing, and\n",
  223. "     file operations. The \"Advanced Xar-\n",
  224. "     chie  Usage\"  section describes how\n",
  225. "     to use the Settings Panel  and  how\n",
  226. "     to perform other, more complicated,\n",
  227. "     queries.\n",
  228. "\n",
  229. NULL,
  230. "  Querying\n",
  231. "     The primary  function  provided  by\n",
  232. "     Xarchie  is  that  of  querying the\n",
  233. "     Archie server for a  \"search  term\"\n",
  234. "     (the string or expression for which\n",
  235. "     you want to  search).  By  default,\n",
  236. "     your  query uses exact search mode.\n",
  237. "     That  is,  the  search  term   must\n",
  238. "     literally  match  an  entry  in the\n",
  239. "     database  for  the  entry   to   be\n",
  240. "     returned.  Other  search  modes are\n",
  241. "     available, and are described in the\n",
  242. "     \"Advanced Usage\" section.\n",
  243. "\n",
  244. "     You enter your search term  in  the\n",
  245. "     appropriately labelled Text item in\n",
  246. "     the  bottom  pane  of  the  Xarchie\n",
  247. "     display.   Hitting  Return  in  the\n",
  248. "     text item or selecting \"Query Item\"\n",
  249. "     from  the Query Menu will send your\n",
  250. "     request to Archie.\n",
  251. "\n",
  252. "     The Status area will be updated  as\n",
  253. "     the  query  progresses.  First  the\n",
  254. "     Archie server's Internet address is\n",
  255. "     looked  up, then the server is con-\n",
  256. "     tacted, the  search  term  is  sent\n",
  257. "     over, and, after reaching the front\n",
  258. "     of  the  server's  request   queue,\n",
  259. "     matches  are  returned  to Xarchie.\n",
  260. "     The matches, if any, are  displayed\n",
  261. "     in  the browser and the Status area\n",
  262. "     indicates  how  many  matches  were\n",
  263. "     returned.\n",
  264. "\n",
  265. "     If your window manager and  version\n",
  266. "     of  X  support  it, you can iconify\n",
  267. "     the  Xarchie  application  and  the\n",
  268. "     icon  will  change  to  reflect the\n",
  269. "     progress of your query. That is, it\n",
  270. "     will change when a query is in pro-\n",
  271. "     gress and when it finishes.\n",
  272. "\n",
  273. NULL,
  274. "  Aborting\n",
  275. "     If you find that your query is tak-\n",
  276. "     ing  too  long, you can abort it by\n",
  277. "     clicking on the \"Abort\" button when\n",
  278. "     it  is  active.  Your query will be\n",
  279. "     aborted as soon  as  possible.  You\n",
  280. "     should  note  that while aborting a\n",
  281. "     query will allow you to enter a new\n",
  282. "     query, it does not remove the query\n",
  283. "     from the server's queue  (this  may\n",
  284. "     be  changed  in  the future).  Thus\n",
  285. "     aborting queries  does  not  reduce\n",
  286. "     the  load on the server -- just the\n",
  287. "     opposite probably. Use it with dis-\n",
  288. "     cretion,  like the rest of the ser-\n",
  289. "     vice.\n",
  290. "\n",
  291. NULL,
  292. "  Browsing\n",
  293. "     As described in  the  section  \"The\n",
  294. "     Xarchie  Display\",  the middle pane\n",
  295. "     of the Xarchie display functions as\n",
  296. "     a  host-location-file browser.  The\n",
  297. "     leftmost pane of the  browser  con-\n",
  298. "     tains  the names of hosts that have\n",
  299. "     a file matching your  search  term.\n",
  300. "     Clicking the Left mouse button on a\n",
  301. "     hostname  will  highlight  it   and\n",
  302. "     cause the middle browser pane to be\n",
  303. "     filled with a list of locations  on\n",
  304. "     that host where files matching your\n",
  305. "     search  term  can  be  found.   The\n",
  306. "     selected   hostname  will  also  be\n",
  307. "     displayed in the Text item labelled\n",
  308. "     \"Host\"  in  the  bottom pane of the\n",
  309. "     Xarchie display.\n",
  310. "\n",
  311. "     Similarly,  selecting  a   location\n",
  312. "     from  the  middle browser pane will\n",
  313. "     cause the right browser pane to  be\n",
  314. "     filled  with  a  list  of the files\n",
  315. "     available from the selected host in\n",
  316. "     the   selected  location,  and  the\n",
  317. "     location will be displayed  in  the\n",
  318. "     bottom  pane  item  labelled \"Loca-\n",
  319. "     tion\".\n",
  320. "\n",
  321. "     Finally, selecting a file from  the\n",
  322. "     right browser pane causes its name,\n",
  323. "     size, permission  modes  and  last-\n",
  324. "     modification  date  to be displayed\n",
  325. "     in   the   correspondingly-labelled\n",
  326. "     bottom pane items.\n",
  327. "\n",
  328. "     Note that if  a  browser  pane  has\n",
  329. "     only  one item, then that item will\n",
  330. "     be automatically selected  and  its\n",
  331. "     \"lesser\"   panes   and  information\n",
  332. "     items filled in.  This  saves  time\n",
  333. "     and effort in the common case where\n",
  334. "     there is only one  host,  location,\n",
  335. "     or  file  that  matches your query.\n",
  336. "     Also, note that, by  default,  Xar-\n",
  337. "     chie  scrolls the browser pane when\n",
  338. "     you select an item.  This makes  it\n",
  339. "     easy  to  click through a long list\n",
  340. "     of matches, but can be annoying. If\n",
  341. "     you   don't  like  it,  it  can  be\n",
  342. "     changed  on  the   Settings   Panel\n",
  343. "     (described   below),  and  see  the\n",
  344. "     description   of   the    -noscroll\n",
  345. "     command-line  option  in the REFER-\n",
  346. "     ENCE MANUAL.\n",
  347. "\n",
  348. "     The browser allows  you  to  select\n",
  349. "     multiple    items   simultaneously,\n",
  350. "     although of course only  the  last-\n",
  351. "     selected item will have it's infor-\n",
  352. "     mation  displayed  in  the   bottom\n",
  353. "     pane.  You  add  to  a selection by\n",
  354. "     clicking the Left button with Shift\n",
  355. "     depressed.  If  the clicked-on item\n",
  356. "     is already  selected,  it  will  be\n",
  357. "     unselected.   Currently,  only  the\n",
  358. "     bottom level  of  the  browser  can\n",
  359. "     have  multiple  selections, since a\n",
  360. "     selection at a higher level  clears\n",
  361. "     the selections for all lower levels\n",
  362. "     (this  may  be   changed   in   the\n",
  363. "     future). Thus you can select multi-\n",
  364. "     ple files from a single  host,  but\n",
  365. "     not  multiple  files  from separate\n",
  366. "     hosts.\n",
  367. "\n",
  368. NULL,
  369. "  Expanding the Browser\n",
  370. "     The browser can be expanded, allow-\n",
  371. "     ing  you  to  investigate,  say,  a\n",
  372. "     directory that matched your  query.\n",
  373. "     To  select and expand an directory,\n",
  374. "     double-click  on  it  (double-click\n",
  375. "     with Shift to avoid unselecting any\n",
  376. "     other items). You can  also  select\n",
  377. "     \"Open\" from the File Menu to expand\n",
  378. "     directories  (although  this   will\n",
  379. "     also   open   selected   files,  as\n",
  380. "     described  later).   All   selected\n",
  381. "     directories  will  be  expanded  by\n",
  382. "     querying  an   appropriate   Archie\n",
  383. "     server,  and  the  Status area will\n",
  384. "     keep   you   informed.    Expansion\n",
  385. "     requests  can  be aborted just like\n",
  386. "     queries using the \"Abort\" button.\n",
  387. "\n",
  388. "     If only a single item was expanded,\n",
  389. "     and  if  the expansion was success-\n",
  390. "     ful, then the browser  will  scroll\n",
  391. "     to  display  the results. The arrow\n",
  392. "     buttons  across  the  top  of   the\n",
  393. "     browser  can  be used to scroll the\n",
  394. "     browser left or right when they are\n",
  395. "     active.  The Middle and Right mouse\n",
  396. "     buttons or the Left and Right arrow\n",
  397. "     keys  will  do the same thing, when\n",
  398. "     the  pointer  is  in  the   browser\n",
  399. "     panes.\n",
  400. "\n",
  401. NULL,
  402. "  Viewing Files\n",
  403. "     You  can  view  a  file   that   is\n",
  404. "     selected  in the browser by select-\n",
  405. "     ing \"Open\" from the File  Menu  (or\n",
  406. "     by    typing    Meta-O).    Xarchie\n",
  407. "     retrieves  all  selected  files  in\n",
  408. "     ASCII  mode into a temporary direc-\n",
  409. "     tory.  The Status area, like usual,\n",
  410. "     will  keep  you  posted on the pro-\n",
  411. "     gress of the  operation  and,  once\n",
  412. "     the  FTP connection is established,\n",
  413. "     the Abort button  can  be  used  to\n",
  414. "     abort  the  Open operation.  If you\n",
  415. "     abort and there are files remaining\n",
  416. "     to  retrieve,  you will be prompted\n",
  417. "     as to whether to continue with  the\n",
  418. "     next  file.  Note  that  partially-\n",
  419. "     retrieved files  are  not  removed.\n",
  420. "     There  is currently no way to abort\n",
  421. "     the transfer until  the  connection\n",
  422. "     is established. The connection will\n",
  423. "     eventually timeout and control will\n",
  424. "     return  to Xarchie if connection is\n",
  425. "     impossible.\n",
  426. "\n",
  427. "     Each file is displayed in  a  popup\n",
  428. "     Text  window after being retrieved.\n",
  429. "     Use the \"Down\" and \"Up\" buttons  or\n",
  430. "     the  scrollbars  to  view the text.\n",
  431. "     Click on the  \"Dismiss\"  button  to\n",
  432. "     destroy  the  window and delete the\n",
  433. "     file.  To  save  the  file   before\n",
  434. "     dismissing,  use the \"Save\" button.\n",
  435. "     This pops up a panel with which you\n",
  436. "     can  choose the name of the file to\n",
  437. "     which to save.\n",
  438. "\n",
  439. "     Note that because the Archie  data-\n",
  440. "     base  is only updated periodically,\n",
  441. "     some files returned by  Archie  may\n",
  442. "     not   exist  when  you  attempt  to\n",
  443. "     retrieve them. This and  any  other\n",
  444. "     FTP errors are signalled with alert\n",
  445. "     boxes.\n",
  446. "\n",
  447. NULL,
  448. "  Retrieving Files\n",
  449. "     The \"Open\" action should be used to\n",
  450. "     view  short files, such as \"README\"\n",
  451. "     files, that you don't need to save.\n",
  452. "     For  more  permanent files, and for\n",
  453. "     non-ASCII   files   like   tar   or\n",
  454. "     compressed  files,  Xarchie  allows\n",
  455. "     you  to   retrieve   the   selected\n",
  456. "     browser  items using the \"Get\" item\n",
  457. "     of  the  File   Menu   (or   typing\n",
  458. "     Meta-G).  The  selected  files  are\n",
  459. "     retrieved via FTP and stored in the\n",
  460. "     current  directory (see the section\n",
  461. "     \"FTP Parameters\" in  the  \"Advanced\n",
  462. "     Usage\"  section  for  how to change\n",
  463. "     this).   The   \"Status\"   area   is\n",
  464. "     updated  to reflect the progress of\n",
  465. "     the transfer. As  for  \"Open\",  you\n",
  466. "     can  abort  the retrieval using the\n",
  467. "     \"Abort\" button once the FTP connec-\n",
  468. "     tion is established.\n",
  469. "\n",
  470. "     It is  currently  not  possible  to\n",
  471. "     retrieve  a  directory, although of\n",
  472. "     course the directory can be  opened\n",
  473. "     and  the  entire  contents selected\n",
  474. "     for transfer.\n",
  475. "\n",
  476. "     Note that because the Archie  data-\n",
  477. "     base  is only updated periodically,\n",
  478. "     some files returned by  Archie  may\n",
  479. "     not   exist  when  you  attempt  to\n",
  480. "     retrieve them. This and  any  other\n",
  481. "     FTP errors are signalled with alert\n",
  482. "     boxes.\n",
  483. "\n",
  484. "     As with querying,  if  your  window\n",
  485. "     manager  and  version  of X support\n",
  486. "     it, Xarchie's icon will be  changed\n",
  487. "     to   reflect   the  progress  of  a\n",
  488. "     transfer.\n",
  489. "\n",
  490. NULL,
  491. "  Saving, Loading, and Writing\n",
  492. "     Xarchie  allows  you  to  save  and\n",
  493. "     reload the contents of the browser,\n",
  494. "     or write it in human-readable  for-\n",
  495. "     mat  using  the  items  on the File\n",
  496. "     menu.  Selecting either of  \"Save\",\n",
  497. "     \"Load\",   or   \"Write\"  (or  typing\n",
  498. "     Meta-S, Meta-L, or Meta-W,  respec-\n",
  499. "     tively)  will pop up the File Panel\n",
  500. "     with  which  you  can  specify  the\n",
  501. "     appropriate  filename.  Clicking on\n",
  502. "     the \"Ok\"  button  will  invoke  the\n",
  503. "     appropriate  action; clicking \"Can-\n",
  504. "     cel\" will abort the  operation  and\n",
  505. "     pop down the panel.\n",
  506. "\n",
  507. "     Saving the database creates a  file\n",
  508. "     containing  sufficient  information\n",
  509. "     for  the  browser  to  be  reloaded\n",
  510. "     using  \"Load\".  The  output  is not\n",
  511. "     intended for human consumption. The\n",
  512. "     current  Settings  are also written\n",
  513. "     to  the  file  by  \"Save\"  and  are\n",
  514. "     restored by \"Load\".\n",
  515. "     Users should note that  a  reloaded\n",
  516. "     database  will be \"flattened\", that\n",
  517. "     is, directories will  be  added  to\n",
  518. "     the  middle  pane  as needed to fit\n",
  519. "     everything in three browser  panes.\n",
  520. "     (This  may be changed in the future\n",
  521. "     to    preserve     the     original\n",
  522. "     hierarchy.)\n",
  523. "\n",
  524. "     Writing the database is intended to\n",
  525. "     create  files that are more or less\n",
  526. "     human-readable (compared to \"Save\",\n",
  527. "     anyway).  There  are  two  possible\n",
  528. "     formats, selectable from the \"Write\n",
  529. "     Format\"  menu on the panel. If \"One\n",
  530. "     entry per line\" is  selected,  then\n",
  531. "     the  output  will have one line per\n",
  532. "     entry, in the format\n",
  533. "\n",
  534. "      mode size date host:location/file\n",
  535. "\n",
  536. "     If  \"Pretty-printed\"  is  selected,\n",
  537. "     then  the file format has hostnames\n",
  538. "     starting at the  beginning  of  the\n",
  539. "     line,  location  names indented one\n",
  540. "     tab, and file entries indented  two\n",
  541. "     tabs, all on separate lines.  Host-\n",
  542. "     names  and   locations   are   only\n",
  543. "     printed once, as in:\n",
  544. "\n",
  545. "             host\n",
  546. "                     location\n",
  547. "                             mode size date file\n",
  548. "\n",
  549. "     The latter is  more  readable,  the\n",
  550. "     former  may  be  more useful if the\n",
  551. "     output is to be used by a program.\n",
  552. "\n",
  553. NULL,
  554. "  Quitting Xarchie\n",
  555. "     You can exit Xarchie  by  selecting\n",
  556. "     \"Quit\"  from the File Menu (or typ-\n",
  557. "     ing Meta-Q).\n",
  558. "\n",
  559. NULL,
  560. " Advanced Xarchie Usage\n",
  561. "     This section describes how  various\n",
  562. "     aspects  of Xarchie's functionality\n",
  563. "     can be  modified  to  perform  dif-\n",
  564. "     ferent  queries  and  other  opera-\n",
  565. "     tions.     Further    customization\n",
  566. "     information  is found in the REFER-\n",
  567. "     ENCE MANUAL section.\n",
  568. "\n",
  569. NULL,
  570. "  The Settings Panel\n",
  571. "     The panel popped  up  by  selecting\n",
  572. "     \"Other\" on the Settings Menu in the\n",
  573. "     top  Xarchie  pane  allows  you  to\n",
  574. "     change   the   parameters  of  your\n",
  575. "     queries Archie. Each of the parame-\n",
  576. "     ters  is described in the following\n",
  577. "     sections.\n",
  578. "\n",
  579. "     After you're done with the Settings\n",
  580. "     Panel, clicking on the \"Apply\" but-\n",
  581. "     ton will make Xarchie use the  set-\n",
  582. "     tings   as   set   on   the  panel.\n",
  583. "     Clicking on  \"Default\"  will  reset\n",
  584. "     the settings to the values they had\n",
  585. "     when Xarchie started (but note that\n",
  586. "     you  will  still have to apply them\n",
  587. "     to have them take effect). Clicking\n",
  588. "     on   \"Done\"   closes  the  Settings\n",
  589. "     panel.  A  popup   confirmer   will\n",
  590. "     appear  if  you  did not apply your\n",
  591. "     changes, allowing  you  to  discard\n",
  592. "     the  changes  or  go back and apply\n",
  593. "     them. Note that the \"Apply\"  button\n",
  594. "     is inactive until a change is made.\n",
  595. "\n",
  596. "     The  menus   available   from   the\n",
  597. "     \"Search Type\",  \"Sort Type\", \"Nice\n",
  598. "     Level\" and  \"Archie Host\"  submenus\n",
  599. "     of the Settings Menu on the Xarchie\n",
  600. "     top pane have effects corresponding\n",
  601. "     to those of the buttons on the Set-\n",
  602. "     tings Panel. However, they  do  not\n",
  603. "     require  that the \"Apply\" button be\n",
  604. "     clicked on to take effect,  and  do\n",
  605. "     not  affect  the  behaviour  of the\n",
  606. "     \"Done\" button confirmer.\n",
  607. "\n",
  608. NULL,
  609. "  Archie host\n",
  610. "     The item labelled \"Host\" provides a\n",
  611. "     menu  of  known  Archie  hosts. You\n",
  612. "     should choose  one  appropriate  to\n",
  613. "     your site (i.e., one that minimizes\n",
  614. "     long-distance  transmission).    In\n",
  615. "     addition  however, you can enter an\n",
  616. "     arbitrary hostname in the Text item\n",
  617. "     next  to  the  \"Host\" button.  Note\n",
  618. "     that the Archie host is  only  used\n",
  619. "     for queries; expansion requests use\n",
  620. "     information stored with  the  items\n",
  621. "     to determine which host to contact.\n",
  622. "     That is, changing the  Archie  host\n",
  623. "     does  not  \"take  effect\" until the\n",
  624. "     next query is issued.\n",
  625. "\n",
  626. "     If you have  the  ping(1)  program,\n",
  627. "     you  can try to use it with the its\n",
  628. "     \"-s\" option to  locate  a  \"nearby\"\n",
  629. "     host.\n",
  630. "\n",
  631. "     You  can  specify  hostnames  using\n",
  632. "     either the symbolic name or by giv-\n",
  633. "     ing its numeric  IP  address  (four\n",
  634. "     octets  separated  by  periods). In\n",
  635. "     either case, you  can  specify  the\n",
  636. "     port  at  which the Prospero server\n",
  637. "     should be contacted by giving it in\n",
  638. "     parentheses  immediately  following\n",
  639. "     the hostname (no spaces).\n",
  640. "\n",
  641. NULL,
  642. "  Search mode\n",
  643. "     The \"Search Mode\" item allow you to\n",
  644. "     change  how  Archie interprets your\n",
  645. "     search term.  Holding a mouse  but-\n",
  646. "     ton  down while the mouse cursor is\n",
  647. "     on the button displays a menu  from\n",
  648. "     which  you  can  choose the desired\n",
  649. "     search  type.   The  label  to  the\n",
  650. "     right  of  the  item  is updated to\n",
  651. "     reflect the choice.\n",
  652. "\n",
  653. "     The  exact  mode  is  fastest   and\n",
  654. "     returns files exactly matching your\n",
  655. "     search term.  The substr  and  sub-\n",
  656. "     case  modes  return  substring  and\n",
  657. "     case-sensitive  substring   matches\n",
  658. "     respectively  (i.e.,  substr  means\n",
  659. "     case-insensitive). The regexp  mode\n",
  660. "     allows  you  to  specify  a regular\n",
  661. "     expression  to  select  files  (see\n",
  662. "     ed(1)  for a description of regular\n",
  663. "     expression  syntax).   The   exact*\n",
  664. "     forms  of  these  last three try an\n",
  665. "     exact match  first  and  then  fall\n",
  666. "     back on the more costly search type\n",
  667. "     if the exact match fails.\n",
  668. "\n",
  669. NULL,
  670. "  Sort mode\n",
  671. "     The \"Sort Mode\" item allows you  to\n",
  672. "     specify  how  Xarchie  displays the\n",
  673. "     results  from  Archie.   Holding  a\n",
  674. "     mouse  button  down while the mouse\n",
  675. "     cursor is in this item  displays  a\n",
  676. "     menu  from which you can choose the\n",
  677. "     desired sort type.   The  label  to\n",
  678. "     the right of the item is updated to\n",
  679. "     reflect the choice.   Applying  the\n",
  680. "     settings (see above) will cause the\n",
  681. "     data to be  resorted  according  to\n",
  682. "     the new sort mode.\n",
  683. "\n",
  684. "     The type can be one of name,  date,\n",
  685. "     or weight.  Sorting by name is sim-\n",
  686. "     ple lexicographic ordering.\n",
  687. "\n",
  688. "     If sorting  by  date  is  selected,\n",
  689. "     then hosts are ordered according to\n",
  690. "     the most recent  file  among  those\n",
  691. "     returned  for  them,  and similarly\n",
  692. "     for locations. Files themselves are\n",
  693. "     ordered  by last-modification date,\n",
  694. "     naturally.\n",
  695. "\n",
  696. "     If sorting by weight  is  selected,\n",
  697. "     then  hosts  are ordered by a user-\n",
  698. "     definable set of \"weights\". In this\n",
  699. "     way,  hosts  that  are  \"close\" (in\n",
  700. "     some sense)  are  displayed  first.\n",
  701. "     The  weights  can  be set using the\n",
  702. "     Text item that appears on the  Set-\n",
  703. "     tings  Panel when this sort mode is\n",
  704. "     selected.\n",
  705. "\n",
  706. "     Hopefully,  an  appropriate  weight\n",
  707. "     list for the geographic location of\n",
  708. "     your site will have been  installed\n",
  709. "     as  the  default.  In any case, the\n",
  710. "     the weight list is a set of  lines,\n",
  711. "     where  each line specifies a weight\n",
  712. "     and the set  of  domains  for  that\n",
  713. "     weight.  A  host's weight is deter-\n",
  714. "     mined by finding the first line for\n",
  715. "     which  the  end  of the host's name\n",
  716. "     matches one of the suffixes. A host\n",
  717. "     that belongs in none of the classes\n",
  718. "     is  assigned  the  weight  99.  For\n",
  719. "     example,  the  default  for the USA\n",
  720. "     is:\n",
  721. "\n",
  722. "         1 edu com net gov mil us\n\\n",
  723. "         2 ca\n\\n",
  724. "         3 uk de nl fi fr eu.net\n\\n",
  725. "       100 au nz jp\n",
  726. "\n",
  727. "     This means that all the US  domains\n",
  728. "     are  ordered  first,  then  Canada,\n",
  729. "     then  several  European  countries.\n",
  730. "     Hosts  in  Australia,  New Zealand,\n",
  731. "     and Japan  are  ordered  after  any\n",
  732. "     unknown (i.e. non-matching) hosts.\n",
  733. "\n",
  734. "     For more details, see the  descrip-\n",
  735. "     tion  of the hostWeights non-widget\n",
  736. "     resource in  the  REFERENCE  MANUAL\n",
  737. "     section.\n",
  738. "\n",
  739. NULL,
  740. "  Nice level\n",
  741. "     The \"Nice Level\" item deserves spe-\n",
  742. "     cial  mention.  As mentioned in the\n",
  743. "     \"About  Archie\"   section,   Archie\n",
  744. "     servers  run  on machines that must\n",
  745. "     be  shared  between  other   Archie\n",
  746. "     users  and even other \"real\" users.\n",
  747. "     This item allows you to voluntarily\n",
  748. "     lower the priority of your request,\n",
  749. "     just like the nice(1) command  does\n",
  750. "     for  Unix.  The  menu provides some\n",
  751. "     recommended  values  and  you   can\n",
  752. "     enter  arbitrary values in the text\n",
  753. "     item. If you are searching  with  a\n",
  754. "     large  number of matches requested,\n",
  755. "     please increase your nice level.\n",
  756. "\n",
  757. "     Note that, like nice(1),  nicing  a\n",
  758. "     job  does  not  mean your job won't\n",
  759. "     affect others.  In particular, once\n",
  760. "     your  job  begins  it  is  not pre-\n",
  761. "     empted, thus you should still avoid\n",
  762. "     long  jobs during peak periods. You\n",
  763. "     should especially avoid queries for\n",
  764. "     items  of  only  personal  interest\n",
  765. "     (you  know  what  we  mean)  during\n",
  766. "     these  periods.  As  stated  above,\n",
  767. "     abusers of  the  service  may  find\n",
  768. "     their    access   revoked   without\n",
  769. "     notice.\n",
  770. "\n",
  771. NULL,
  772. "  Other Query Settings\n",
  773. "     The following items set  parameters\n",
  774. "     of your query to the Archie server.\n",
  775. "\n",
  776. "     Max Hits:\n",
  777. "          the limit  on  the  number  of\n",
  778. "          successful  matches  that will\n",
  779. "          be returned.\n",
  780. "\n",
  781. "     Initial Timeout:\n",
  782. "          the  length   of   the   first\n",
  783. "          timeout interval in seconds.\n",
  784. "\n",
  785. "     Retries:\n",
  786. "          the number of times to retry a\n",
  787. "          query  if  it  times out, dou-\n",
  788. "          bling the timeout each retry.\n",
  789. "\n",
  790. "     These items  are  Text  items  that\n",
  791. "     allow you to edit their values.\n",
  792. "\n",
  793. "     The  item   labelled   \"Auto-Scroll\n",
  794. "     Browser\"   controls   whether   the\n",
  795. "     browser scrolls after  an  item  is\n",
  796. "     selected.  Setting this to \"yes\" is\n",
  797. "     useful when browsing a long list of\n",
  798. "     matches.  It  can  be  annoying  if\n",
  799. "     you're doing more selective  brows-\n",
  800. "     ing,  so  set  it  to \"no\" in those\n",
  801. "     cases.\n",
  802. "\n",
  803. NULL,
  804. "  FTP settings\n",
  805. "     The following items  allow  you  to\n",
  806. "     set  parameters  of file retrieval.\n",
  807. "     You  should  be   sure   they   are\n",
  808. "     appropriately set before retrieving\n",
  809. "     files using either \"Open\" or \"Get\".\n",
  810. "\n",
  811. "     FTP Email Address:\n",
  812. "          Specifies  the  password  used\n",
  813. "          for  anonymous  FTP  login. By\n",
  814. "          convention, users  logging  in\n",
  815. "          as   \"anonymous\"   send  their\n",
  816. "          email address as the password.\n",
  817. "          Some  servers  enforce this by\n",
  818. "          checking  the   address.   The\n",
  819. "          default may not be appropriate\n",
  820. "          depending on what  information\n",
  821. "          Xarchie  could glean from your\n",
  822. "          system about its address.  You\n",
  823. "          can  set the environment vari-\n",
  824. "          ables  USER  and  HOSTNAME  to\n",
  825. "          override the system's informa-\n",
  826. "          tion, or see  the  description\n",
  827. "          of   the  ftpMailAddress  non-\n",
  828. "          widget resource in the  REFER-\n",
  829. "          ENCE MANUAL.\n",
  830. "\n",
  831. "     FTP Local Directory:\n",
  832. "          Specifies the  directory  into\n",
  833. "          which  files will be retrieved\n",
  834. "          using \"Get\".\n",
  835. "\n",
  836. "     FTP Transfer Type:\n",
  837. "          Provides a menu from which you\n",
  838. "          can select \"ascii\" or \"binary\"\n",
  839. "          mode   transfer   for    files\n",
  840. "          retrieved  with  \"Get\".  Files\n",
  841. "          retrieved  with   \"Open\"   are\n",
  842. "          always   retrieved   in  ascii\n",
  843. "          mode.\n",
  844. "\n",
  845. "     FTP Prompt:\n",
  846. "          Provides a menu  allowing  you\n",
  847. "          to enable or disable prompting\n",
  848. "          during multi-file transfers.\n",
  849. "\n",
  850. "     Trace FTP Transfers:\n",
  851. "          Since FTP transfers  are  sus-\n",
  852. "          ceptible to timeouts and other\n",
  853. "          confusions, this  item  allows\n",
  854. "          you   to   monitor   any   FTP\n",
  855. "          interactions.  If  tracing  is\n",
  856. "          enabled,  then invoking \"Open\"\n",
  857. "          or \"Get\" on a file will  popup\n",
  858. "          a trace window that displays a\n",
  859. "          running log of the FTP session\n",
  860. "          as  it  happens.   Using  this\n",
  861. "          successfully requires that you\n",
  862. "          understand something about how\n",
  863. "          FTP works, which is beyond the\n",
  864. "          scope of this document.\n",
  865. "\n",
  866. "     Strip CR\n",
  867. "          If  this  option  is  enabled,\n",
  868. "          then   carriage   returns  are\n",
  869. "          removed from ASCII-mode files.\n",
  870. "          This is usually desirable when\n",
  871. "          transferring   to    a    Unix\n",
  872. "          machine.\n",
  873. "\n",
  874. NULL,
  875. "  Querying Hosts and Locations\n",
  876. "     The Query Menu provides  two  other\n",
  877. "     types of queries besides the \"Query\n",
  878. "     Item\"  described  in   the   \"Basic\n",
  879. "     Usage\"  section  for  querying  the\n",
  880. "     Archie database.\n",
  881. "\n",
  882. "     Selecting \"Query Host\" will use the\n",
  883. "     hostname in the \"Host\" Text item on\n",
  884. "     the bottom pane and will  fill  the\n",
  885. "     browser  with  the  contents of the\n",
  886. "     root of  its  FTP  directory.  From\n",
  887. "     then  on,  interaction is as previ-\n",
  888. "     ously described. The host to  query\n",
  889. "     can  be  in  the  \"Host\"  item as a\n",
  890. "     result of selecting a host  in  the\n",
  891. "     browser,  or  you can type directly\n",
  892. "     into the item the name of the  host\n",
  893. "     that   you  wish  to  open.  Typing\n",
  894. "     Return  in  the  \"Host\"   item   is\n",
  895. "     equivalent   to   selecting  \"Query\n",
  896. "     Host\" from the Query Menu.\n",
  897. "\n",
  898. "     Querying  locations  by   selecting\n",
  899. "     \"Query  Location\"  is  similar: the\n",
  900. "     Archie server is  queried  for  the\n",
  901. "     contents  of the directory given by\n",
  902. "     the \"Location\"  item  on  the  host\n",
  903. "     given   by  the  \"Host\"  item.  The\n",
  904. "     browser  is  filled  in  with   the\n",
  905. "     results  of  the  query  (i.e., the\n",
  906. "     contents  of  the  directory).   As\n",
  907. "     before,  you  can  type the name of\n",
  908. "     the location  into  the  \"Location\"\n",
  909. "     item if you wish, and typing Return\n",
  910. "     there  is  the  same  as   invoking\n",
  911. "     \"Query Location\".\n",
  912. "\n",
  913. "     Note that because the Archie  data-\n",
  914. "     base  is only updated periodically,\n",
  915. "     some files returned by  Archie  may\n",
  916. "     not   exist  when  you  attempt  to\n",
  917. "     retrieve them. Similarly,  recently\n",
  918. "     added  files  may exist on the host\n",
  919. "     but not in the Archie database.\n",
  920. "\n",
  921. NULL,
  922. "REFERENCE MANUAL\n",
  923. "     This  section  provides   all   the\n",
  924. "     information you should need to cus-\n",
  925. "     tomize    Xarchie.     Command-line\n",
  926. "     options,    non-widget   resources,\n",
  927. "     widget  hierarchies,   translations\n",
  928. "     actions,  and other information are\n",
  929. "     all provided. It  is  assumed  that\n",
  930. "     you   understand   enough  about  X\n",
  931. "     applications to understand this.\n",
  932. "\n",
  933. NULL,
  934. " Command-line Options\n",
  935. "     The following non-widget  resources\n",
  936. "     can be set from the command-line or\n",
  937. "     in a resource file. As usual,  when\n",
  938. "     given  on the command line they can\n",
  939. "     be abbreviated  to  their  shortest\n",
  940. "     unique   prefix,  often  the  first\n",
  941. "     letter.     Furthermore     Xarchie\n",
  942. "     accepts  all the standard X Toolkit\n",
  943. "     options (see X(1)).\n",
  944. "\n",
  945. "     -host host\n",
  946. "          Sets the host to which  Archie\n",
  947. "          queries  will  be sent. Please\n",
  948. "          be careful to use the  nearest\n",
  949. "          possible    host.    You   can\n",
  950. "          specify hostnames using either\n",
  951. "          the symbolic name or by giving\n",
  952. "          its numeric IP  address  (four\n",
  953. "          octets  separated by periods).\n",
  954. "          In  either   case,   you   can\n",
  955. "          specify  the port at which the\n",
  956. "          Prospero server should be con-\n",
  957. "          tacted   by   giving   it   in\n",
  958. "          parentheses  immediately  fol-\n",
  959. "          lowing    the   hostname   (no\n",
  960. "          spaces).\n",
  961. "\n",
  962. "          The         default         is\n",
  963. "          \"archie.sura.net(1526)\".  This\n",
  964. "          option  corresponds   to   the\n",
  965. "          archieHost resource.\n",
  966. "\n",
  967. "     -search type\n",
  968. "          Sets  the  search   mode   for\n",
  969. "          Archie  queries.  The type can\n",
  970. "          be one of exact, substr,  sub-\n",
  971. "          case,   regexp,   exactSubstr,\n",
  972. "          exactSubcase, or  exactRegexp.\n",
  973. "          See the section describing the\n",
  974. "          Settings Panel in  the  USER'S\n",
  975. "          GUIDE for a description of the\n",
  976. "          various  search  types.    The\n",
  977. "          default  search mode is exact.\n",
  978. "          This option corresponds to the\n",
  979. "          searchType resource.\n",
  980. "\n",
  981. "     -e   Equivalent to \"-search exact\".\n",
  982. "\n",
  983. "     -s   Equivalent        to        \"-\n",
  984. "          search substr\".\n",
  985. "\n",
  986. "     -c   Equivalent        to        \"-\n",
  987. "          search subcase\".\n",
  988. "     -r   Equivalent        to        \"-\n",
  989. "          search regexp\".\n",
  990. "\n",
  991. "     -es  Equivalent        to        \"-\n",
  992. "          search exactSubstr\".\n",
  993. "\n",
  994. "     -ec  Equivalent        to        \"-\n",
  995. "          search exactSsubcase\".\n",
  996. "\n",
  997. "     -er  Equivalent        to        \"-\n",
  998. "          search exactRegexp\".\n",
  999. "\n",
  1000. "     -sort type\n",
  1001. "          Sets   the   sort   mode   for\n",
  1002. "          displaying  Archie  responses.\n",
  1003. "          The type can be one  of  name,\n",
  1004. "          date, or weight.  See the sec-\n",
  1005. "          tion describing  the  Settings\n",
  1006. "          Panel  in the USER'S GUIDE for\n",
  1007. "          a description of  the  various\n",
  1008. "          sort   types.    This   option\n",
  1009. "          corresponds  to  the  sortType\n",
  1010. "          resource.\n",
  1011. "\n",
  1012. "     -t   Equivalent to \"-sort date\".\n",
  1013. "\n",
  1014. "     -w   Equivalent to \"-sort weight\".\n",
  1015. "\n",
  1016. "     -maxHits num\n",
  1017. "          Sets  the  maximum  number  of\n",
  1018. "          matches   allowed  per  query.\n",
  1019. "          This option corresponds to the\n",
  1020. "          maxHits resource.\n",
  1021. "\n",
  1022. "     -offset num\n",
  1023. "          Sets the offset of  the  Pros-\n",
  1024. "          pero    query.   This   option\n",
  1025. "          corresponds  to   the   offset\n",
  1026. "          resource.\n",
  1027. "\n",
  1028. "     -nice level or -N level\n",
  1029. "          Sets the query niceness level.\n",
  1030. "          Higher  numbers  are nicer, up\n",
  1031. "          to  a  maximum   niceness   of\n",
  1032. "          32765. The default niceness is\n",
  1033. "          0. This option corresponds  to\n",
  1034. "          the niceLevel resource.\n",
  1035. "\n",
  1036. "     -noscroll\n",
  1037. "          By  default,  Xarchie  scrolls\n",
  1038. "          the  browser  lists  automati-\n",
  1039. "          cally when you  select  items.\n",
  1040. "          This  usually  makes it easier\n",
  1041. "          to scan through the results of\n",
  1042. "          queries  but  can be annoying.\n",
  1043. "          This  option  turns  off   the\n",
  1044. "          automatic     scrolling.    It\n",
  1045. "          corresponds to the  autoScroll\n",
  1046. "          resource.\n",
  1047. "\n",
  1048. "     -mono or -gray or -color\n",
  1049. "          By   default,   Xarchie   will\n",
  1050. "          determine  the  visual type of\n",
  1051. "          your  display  and   use   the\n",
  1052. "          proper  color resources. If it\n",
  1053. "          gets   it   wrong,   you   can\n",
  1054. "          override the default by speci-\n",
  1055. "          fying one  of  these  options.\n",
  1056. "          They correspond to the visual-\n",
  1057. "          Type resource.\n",
  1058. "\n",
  1059. "     -debug level or -D level\n",
  1060. "          Sets  the  Prospero  debugging\n",
  1061. "          level.   Higher  numbers  mean\n",
  1062. "          more verbose  messages.   This\n",
  1063. "          option   corresponds   to  the\n",
  1064. "          debugLevel resource.   Xarchie\n",
  1065. "          must be specially compiled for\n",
  1066. "          this option to have any effect\n",
  1067. "          (see  the  Imakefile  or  your\n",
  1068. "          local installer).\n",
  1069. "\n",
  1070. "     -help or -?\n",
  1071. "          Prints the usage message  sum-\n",
  1072. "          marizing Xarchie options.\n",
  1073. "\n",
  1074. NULL,
  1075. " Non-widget Resources\n",
  1076. "     Xarchie  has  a  default   set   of\n",
  1077. "     resources  built in. If you wish to\n",
  1078. "     customize the tool, take a copy  of\n",
  1079. "     the  default  application  defaults\n",
  1080. "     file  (see  the  section   \"Files\",\n",
  1081. "     below)  and modify it. Then, before\n",
  1082. "     invoking Xarchie, set the  environ-\n",
  1083. "     ment  variable  XAPPLRESDIR  to the\n",
  1084. "     directory containing  your  private\n",
  1085. "     copy.  Alternatively, you can place\n",
  1086. "     entries in your .Xdefaults file  or\n",
  1087. "     provide  them with the -xrm toolkit\n",
  1088. "     option (see  X(1)).   Most  of  the\n",
  1089. "     following resources can also be set\n",
  1090. "     using  the   command-line   options\n",
  1091. "     described in the previous section.\n",
  1092. "\n",
  1093. NULL,
  1094. "  Query Resources\n",
  1095. "     archieHost\n",
  1096. "          Sets the host to which  Archie\n",
  1097. "          queries  will  be sent. Please\n",
  1098. "          be careful to use the  nearest\n",
  1099. "          possible  host. The default is\n",
  1100. "          \"archie.sura.net\".        This\n",
  1101. "          resource  can  be set with the\n",
  1102. "          -host option or  on  the  Set-\n",
  1103. "          tings Panel.\n",
  1104. "\n",
  1105. "          You  can   specify   hostnames\n",
  1106. "          using either the symbolic name\n",
  1107. "          or by giving  its  numeric  IP\n",
  1108. "          address (four octets separated\n",
  1109. "          by periods). In  either  case,\n",
  1110. "          you  can  specify  the port at\n",
  1111. "          which  the   Prospero   server\n",
  1112. "          should  be contacted by giving\n",
  1113. "          it in parentheses  immediately\n",
  1114. "          following   the  hostname  (no\n",
  1115. "          spaces).\n",
  1116. "\n",
  1117. "     searchType\n",
  1118. "          Sets  the  search   mode   for\n",
  1119. "          Archie  queries.  This  can be\n",
  1120. "          one of exact, substr, subcase,\n",
  1121. "          regexp,           exactSubstr,\n",
  1122. "          exactSubcase, or  exactRegexp.\n",
  1123. "          See the section describing the\n",
  1124. "          Settings Panel in  the  USER'S\n",
  1125. "          GUIDE for a description of the\n",
  1126. "          various  search  types.    The\n",
  1127. "          default  search mode is exact.\n",
  1128. "          This resource can be set  with\n",
  1129. "          the  -search  option,  or  its\n",
  1130. "          abbreviations -e, -s, -c,  -r,\n",
  1131. "          -es,  -ec,  or  -er, or on the\n",
  1132. "          Settings Panel.\n",
  1133. "\n",
  1134. "     sortType\n",
  1135. "          Sets   the   sort   mode   for\n",
  1136. "          displaying  Archie  responses.\n",
  1137. "          This can be one of name, date,\n",
  1138. "          or weight.  See the section of\n",
  1139. "          the Settings Panel, above, for\n",
  1140. "          a  description  of the various\n",
  1141. "          search types.   This  resource\n",
  1142. "          can  be  set  with  the  -sort\n",
  1143. "          option, or  its  abbreviations\n",
  1144. "          -t  or  -w, or on the Settings\n",
  1145. "          Panel.\n",
  1146. "\n",
  1147. "     hostWeights\n",
  1148. "          Specifies the weights used  to\n",
  1149. "          order  hosts  when  sorting by\n",
  1150. "          weight is selected. The format\n",
  1151. "          of  this  resource is a series\n",
  1152. "          of entries of the form:\n",
  1153. "\n",
  1154. "          weight host [hosts...] {,|\n}\n",
  1155. "\n",
  1156. "          where parts of  an  entry  are\n",
  1157. "          separated  by  spaces  or tabs\n",
  1158. "          and entries are separated by a\n",
  1159. "          comma  or newline.  Each entry\n",
  1160. "          specifies  a  weight   and   a\n",
  1161. "          series  of  possible  suffixes\n",
  1162. "          (one  or  more  trailing  com-\n",
  1163. "          ponents).  A  host's weight is\n",
  1164. "          determined  by   finding   the\n",
  1165. "          first  class for which the end\n",
  1166. "          of the host's name matches one\n",
  1167. "          of  the  suffixes. A host that\n",
  1168. "          belongs in none of the classes\n",
  1169. "          is assigned the weight 99. For\n",
  1170. "          example, the default  for  the\n",
  1171. "          USA is:\n",
  1172. "\n",
  1173. "              1 edu com net gov mil us\n\\n",
  1174. "              2 ca\n\\n",
  1175. "              3 uk de nl fi fr eu.net\n\\n",
  1176. "            100 au nz jp\n",
  1177. "\n",
  1178. "          This means  that  all  the  US\n",
  1179. "          domains   are  ordered  first,\n",
  1180. "          then  Canada,   then   several\n",
  1181. "          European  countries.  Hosts in\n",
  1182. "          Australia,  New  Zealand,  and\n",
  1183. "          Japan  are  ordered  after any\n",
  1184. "          unknown  (i.e.   non-matching)\n",
  1185. "          hosts.  This  resource  can be\n",
  1186. "          set on the Settings Panel.\n",
  1187. "\n",
  1188. "          If  this   resource   is   not\n",
  1189. "          defined,  Xarchie will attempt\n",
  1190. "          to make an intelligent  choice\n",
  1191. "          by comparing the system's idea\n",
  1192. "          of its hostname with a set  of\n",
  1193. "          pre-compiled   defaults.  This\n",
  1194. "          may not work, but  is  usually\n",
  1195. "          better  than  nothing,  and it\n",
  1196. "          can always be  edited  on  the\n",
  1197. "          Settings Panel anyway.\n",
  1198. "\n",
  1199. "     niceLevel\n",
  1200. "          Sets the query niceness level.\n",
  1201. "          Higher  numbers  are nicer, up\n",
  1202. "          to  a  maximum   niceness   of\n",
  1203. "          32765.  The default is 0. This\n",
  1204. "          resource can be set  with  the\n",
  1205. "          -nice  option  or  on the Set-\n",
  1206. "          tings Panel.\n",
  1207. "\n",
  1208. "     maxHits\n",
  1209. "          Sets  the  maximum  number  of\n",
  1210. "          matches allowed per query. The\n",
  1211. "          default is 99.  This  resource\n",
  1212. "          can  be  set with the -maxHits\n",
  1213. "          option  or  on  the   Settings\n",
  1214. "          Panel.\n",
  1215. "\n",
  1216. "     offset\n",
  1217. "          Sets the Prospero offset.  The\n",
  1218. "          default  is  0.  This resource\n",
  1219. "          can be set  with  the  -offset\n",
  1220. "          option   or  on  the  Settings\n",
  1221. "          Panel.\n",
  1222. "\n",
  1223. "     timeout\n",
  1224. "          Sets   the   initial   timeout\n",
  1225. "          value, in seconds. The default\n",
  1226. "          is 4. This resource can be set\n",
  1227. "          on the Settings Panel.\n",
  1228. "\n",
  1229. "     retries\n",
  1230. "          Sets the  number  of  retries,\n",
  1231. "          where   the   timeout  doubles\n",
  1232. "          every  retry.   This  resource\n",
  1233. "          can  be  set  on  the Settings\n",
  1234. "          Panel.\n",
  1235. "\n",
  1236. "     debugLevel\n",
  1237. "          Sets  the  Prospero  debugging\n",
  1238. "          level.   Higher  numbers  mean\n",
  1239. "          more verbose  messages.   Xar-\n",
  1240. "          chie  must  have been compiled\n",
  1241. "          specially for this  option  to\n",
  1242. "          have   any   effect  (see  the\n",
  1243. "          Imakefile   or   your    local\n",
  1244. "          installer).  This resource can\n",
  1245. "          be set with the -debug  or  -D\n",
  1246. "          options.\n",
  1247. "\n",
  1248. NULL,
  1249. "  Browser Resources\n",
  1250. "     autoScroll\n",
  1251. "          By  default,  Xarchie  scrolls\n",
  1252. "          the  browser  lists  automati-\n",
  1253. "          cally when you  select  items.\n",
  1254. "          This  usually  makes it easier\n",
  1255. "          to scan through the results of\n",
  1256. "          queries  but  can be annoying.\n",
  1257. "          This resource enables or  dis-\n",
  1258. "          ables   automatic   scrolling.\n",
  1259. "          The default is True.   It  can\n",
  1260. "          be set to False with the -nos-\n",
  1261. "          croll  option   and   can   be\n",
  1262. "          changed on the Settings Panel.\n",
  1263. "\n",
  1264. "     pasteBuffer\n",
  1265. "          If this resource is True  (the\n",
  1266. "          default),  browser  selections\n",
  1267. "          are stored in the CUT_BUFFER_0\n",
  1268. "          property of the root window of\n",
  1269. "          the  Xarchie  display  in  the\n",
  1270. "          format:\n",
  1271. "\n",
  1272. "                host:location/file\n",
  1273. "\n",
  1274. "          This allows them to be used by\n",
  1275. "          other    applications    using\n",
  1276. "          XFetchBytes(3X).  The  Xarchie\n",
  1277. "          distribution includes a sample\n",
  1278. "          program    (xcutbuf.c)    that\n",
  1279. "          retrieves  the  contents  of a\n",
  1280. "          cutbuffer property.\n",
  1281. "\n",
  1282. NULL,
  1283. "  FTP Resources\n",
  1284. "     ftpMailAddress\n",
  1285. "          By convention, FTP  users  are\n",
  1286. "          expected  to  send their email\n",
  1287. "          address as the password during\n",
  1288. "          anonymous  login.   The string\n",
  1289. "          specified by this resource  is\n",
  1290. "          passed   to  sprintf(3)  along\n",
  1291. "          with two parameters: the user-\n",
  1292. "          name   and  the  hostname  (as\n",
  1293. "          indicated by the system or  by\n",
  1294. "          the USER and HOSTNAME environ-\n",
  1295. "          ment   variables),   and   the\n",
  1296. "          result is used as the password\n",
  1297. "          for anonymous FTP logins.  The\n",
  1298. "          default is \"%s@%s\". You should\n",
  1299. "          change this resource  if  your\n",
  1300. "          system   returns   strange  or\n",
  1301. "          incorrect  values  for  either\n",
  1302. "          parameter. The password (after\n",
  1303. "          sprintf) can be edited on  the\n",
  1304. "          Settings Panel.\n",
  1305. "\n",
  1306. "     ftpLocalDir\n",
  1307. "          Sets  the  local   destination\n",
  1308. "          directory  for  ftp transfers.\n",
  1309. "          This will be used as the  ini-\n",
  1310. "          tial  value  of the \"FTP Local\n",
  1311. "          Dir\"  item  on  the   Settings\n",
  1312. "          Panel.\n",
  1313. "\n",
  1314. "     ftpType\n",
  1315. "          Sets the transfer type for ftp\n",
  1316. "          transfers.  This  will be used\n",
  1317. "          as the initial  value  of  the\n",
  1318. "          \"Ftp  transfer  type\"  item on\n",
  1319. "          the Settings Panel.  It should\n",
  1320. "          be one of \"ascii\" or \"binary\".\n",
  1321. "\n",
  1322. "     ftpPrompt\n",
  1323. "          Specifies  whether  to  prompt\n",
  1324. "          for     verification    during\n",
  1325. "          transfers  involving  multiple\n",
  1326. "          files.  This  will  be used as\n",
  1327. "          the  initial  value   of   the\n",
  1328. "          \"Prompt during transfers\" item\n",
  1329. "          on the Settings Panel.\n",
  1330. "\n",
  1331. "     ftpTrace\n",
  1332. "          Specifies whether to pop up  a\n",
  1333. "          window  in  which FTP transac-\n",
  1334. "          tions are monitored. This will\n",
  1335. "          be  used  as the initial value\n",
  1336. "          of the \"Trace  FTP  transfers\"\n",
  1337. "          item on the Settings Panel.\n",
  1338. "\n",
  1339. "     ftpStrip\n",
  1340. "          Specifies  whether  to   strip\n",
  1341. "          carriage  returns  from  files\n",
  1342. "          transferred  in  ASCII   mode.\n",
  1343. "          This  will be used as the ini-\n",
  1344. SHAR_EOF
  1345. true || echo 'restore of xarchie-2.0.6/help-text1.h failed'
  1346. fi
  1347. echo 'End of xarchie-2.0.6 part 10'
  1348. echo 'File xarchie-2.0.6/help-text1.h is continued in part 11'
  1349. echo 11 > _shar_seq_.tmp
  1350. exit 0
  1351.  
  1352. exit 0 # Just in case...
  1353. -- 
  1354.   // chris@IMD.Sterling.COM       | Send comp.sources.x submissions to:
  1355. \X/  Amiga - The only way to fly! |    sources-x@imd.sterling.com
  1356.  "It's intuitively obvious to the |
  1357.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  1358.