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

  1. Newsgroups: comp.sources.x
  2. From: ferguson@cs.rochester.edu (George Ferguson)
  3. Subject: v20i031:  xarchie - An X browser interface to Archie, v2.0.6, Part03/24
  4. Message-ID: <1993Jun15.223143.29549@sparky.imd.sterling.com>
  5. X-Md4-Signature: 2d8a2a45c3cd24035c7a2506464fa197
  6. Sender: chris@sparky.imd.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Tue, 15 Jun 1993 22:31:43 GMT
  9. Approved: chris@sparky.imd.sterling.com
  10.  
  11. Submitted-by: ferguson@cs.rochester.edu (George Ferguson)
  12. Posting-number: Volume 20, Issue 31
  13. Archive-name: xarchie/part03
  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/part03
  19.  
  20. #!/bin/sh
  21. # this is Part.03 (part 3 of xarchie-2.0.6)
  22. # do not concatenate these parts, unpack them in order with /bin/sh
  23. # file xarchie-2.0.6/PROBLEMS 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" != 3; 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/PROBLEMS'
  39. else
  40. echo 'x - continuing file xarchie-2.0.6/PROBLEMS'
  41. sed 's/^X//' << 'SHAR_EOF' >> 'xarchie-2.0.6/PROBLEMS' &&
  42. X    jumbled up. 
  43. 17. On my HP machine, xarchie crashes with an error like:
  44. X    Warning: Cannot convert string "" to type Cursor
  45. X    X Error of failed request:  BadPixmap (invalid Pixmap parameter)
  46. X    Major opcode of failed request:  93 (X_CreateCursor)
  47. X    Resource id in failed request:  0x0
  48. X    Serial number of failed request:  147
  49. X    Current serial number in output stream:  149
  50. X
  51. X
  52. QUESTIONS and ANSWERS:
  53. ---------------------
  54. X 1. The configure script crashes when it tries to invoke sed. What can
  55. X    I do about it?
  56. X
  57. X    The configure script (generated automatically by autoconf from
  58. X    config.in and included in the distribution ready-to-run) puts
  59. X    together a long sed command to effect the appropriate
  60. X    substitutions to create config.h from config.h.in. You should
  61. X    probably get a new version of sed, like maybe GNU sed. For
  62. X    xarchie, you can to copy config.h.in to config.h and make the
  63. X    appropriate definitions for your system.
  64. X
  65. X 2. "I don't have xmkmf" OR "I don't have imake" OR "xmkmf didn't
  66. X    work".
  67. X
  68. X    See item (A) in the INSTALL file.
  69. X
  70. X 3. I get the following messages from my linker during the final link
  71. X    of xarchie:
  72. X    ld: Undefined symbol
  73. X       _sin
  74. X       _cos
  75. X       _pow
  76. X       _floor
  77. X       _get_wmShellWidgetClass
  78. X       _get_applicationShellWidgetClass
  79. X
  80. X    Well, from what I can gather, this is a problem for some flavours
  81. X    of OpenWindows. As a quick check would show, xarchie doesn't use
  82. X    any of these functions. The first functions can be found by adding
  83. X    "-lm" to the LOCAL_LIBRARIES definition in the Imakefile,
  84. X    something that should have been looked after by the installation
  85. X    of imake/xmkmf. The other functions I have never heard of. Your
  86. X    one hope is that some people have reported that the resulting
  87. X    "xarchie" file is still executable despite the errors. Try it and
  88. X    see.
  89. X
  90. X    >From: Harald Tveit Alvestrand <harald.t.alvestrand@delab.sintef.no>
  91. X    >
  92. X    >It turns out that the problem occurs with X11R4 on SunOS 4.1.2 and
  93. X    >later. SUN "fixed a bug" in the linker that made it conform to the
  94. X    >documentation (AARRGGHH), which, as a side effect, wrecked linking
  95. X    >to X11R4. 
  96. X    >
  97. X    > There are only 2 solutions that I know of:
  98. X    > - Upgrade to X11R5 libraries, which don't have the problem
  99. X    > - Add the following line to the Imakefile:
  100. X    >     LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -Bstatic
  101. X
  102. X    Your mileage may vary. I suggest doing this if only if necessary
  103. X    (that is, if your executable isn't executable).
  104. X
  105. X 4. I get the following message from my linker:
  106. X    ld: Undefined symbol 
  107. X       _XtStrings 
  108. X
  109. X    XtStrings is an array used in <X11/StringDefs.h>. It was introduced
  110. X    in R5 to allow internationalization of the resource names by
  111. X    storing, eg, the name XtNstring (that is, the C constant)
  112. X    as
  113. X    #define XtNstring ((char*)&XtStrings[733])
  114. X    rather than
  115. X    #define XtNstring "string"
  116. X    The choice is controlled by a cpp constant XTSTRINGDEFINES used in
  117. X    the above-mentioned header file.
  118. X
  119. X    I would say that whoever installed your X botched it, since they
  120. X    apparently didn't define XTSTRINGDEFINES, but also didn't arrange
  121. X    for the string array itself to get compiled into the library.
  122. X    You could try recompiling with -DXTSTRINGDEFINES added to DEFINES
  123. X    in the Imakefile.
  124. X
  125. X 4a. I get the following message from my linker:
  126. X    ld: Undefined symbol 
  127. X       _XtQString
  128. X       _XtQFont
  129. X       _XtQFontStruct
  130. X
  131. X    This indicates that you are compiling with X11R4 (or earlier) header
  132. X    files (see types.c) and linking against X11R5 libraries. You
  133. X    should probably sort this out locally. If you must report this
  134. X    problem, be sure to include enough information for me to be able
  135. X    to do anything, since I'm not at your site.
  136. X
  137. X    It could also mean you're using X11R3, in which case all bets are
  138. X    off. 
  139. X
  140. X 5. The linker complains about -lresolv.
  141. X
  142. X    From the INSTALL file:
  143. X    >One fairly common problem is that configure will decide that you
  144. X    >need to link with -lresolv and define NEED_LRESOLV in config.h.
  145. X    >This happens when the test program resolv.c either doesn't compile
  146. X    >or compiles but doesn't work properly. Normally, this means that
  147. X    >your system requires linking with libresolv.a to force DNS
  148. X    >nameserver lookups. If you don't have /usr/lib/libresolv.a (or some
  149. X    >local variant), or if resolv.c compiles and runs properly, you
  150. X    >shouldn't define NEED_LRESOLV.
  151. X
  152. X 6. I can't see anything in the Text widgets, but xarchie appears to
  153. X    be doing something.
  154. X
  155. X    This seems to be a problem with SGI systems. I believe that the
  156. X    problem was/is that the "fixed" font used in version 1.3 as a
  157. X    presumably well-chosen default wasn't in fact well-chosen. In fact,
  158. X    it seemed to be 0 points, or something equally small.
  159. X
  160. X    As of version 2.0, it is easier to change the fonts used by xarchie
  161. X    without editing all the definitions in the Xarchie.ad file. The two
  162. X    resources "xarchieFont" and "xarchieBoldFont" are defined near the
  163. X    top of that file, and the resource converter for fontnames has been
  164. X    modified to convert a request for font "xarchieFont", for example,
  165. X    into the corrresponding font. That is, a level of indirection was
  166. X    introduced so you'd only have to change one resource entry to
  167. X    affect all fonts in the application. The default was also chosen to
  168. X    be something that will hopefully exist and be readable on all
  169. X    systems. I hope to never hear about this again.
  170. X
  171. X 7. Xarchie built fine, but I always get ``Can't resolve hostname''
  172. X    errors when I try to query.
  173. X
  174. X    This means that your C library doesn't use DNS hostname lookup by
  175. X    default. You should have uncommented the definition of RESOLV_LIB
  176. X    in the Imakefile. See the file INSTALL for details. You can further
  177. X    test this by compiling the file "resolv.c" and running it. If you
  178. X    get an error, then you need -lresolv.
  179. X
  180. X 8. Xarchie built fine, but I never get a reply from the server. It
  181. X    always times out.
  182. X
  183. X    The Prospero protocol that underlies xarchie requires that UDP
  184. X    traffic be enabled on your system. If you get nothing but timeouts
  185. X    from dirsend, then either the server is just too heavily loaded or
  186. X    UDP traffic is disabled. To test the latter hypothesis, compile
  187. X    "udp.c" and follow the directions at the top of the file. If UDP
  188. X    traffic is in fact disabled, talk to to your syadmins. Otherwise,
  189. X    if you're *sure* it isn't just a loaded server, report the
  190. X    situation in detail.
  191. X
  192. X 9. I see some #ifdef's for VMS. Can I run xarchie on VMS and/or
  193. X    DecWindows?
  194. X
  195. X    No. The #ifdef's are in parts of the code shared with the
  196. X    standalone archie client written by Brendan Kehoe, which does,
  197. X    apparently, run under VMS.
  198. X
  199. 10. How can I run xarchie through a firewall?
  200. X
  201. X    I don't know. You need to enable UDP traffic, as described above.
  202. X    I would suggest contacting some of the Prospero or Xarchie people
  203. X    listed elsewhere in the documentation. I include below the
  204. X    following message from comp.unix.wizards, in case it's useful:
  205. X
  206. X    >From: wietse@wzv.win.tue.nl (Wietse Venema)
  207. X    >Subject: Re: FTP & TELNET Through a fewall
  208. X    >Date: 11 Feb 93 21:35:10 GMT
  209. X    >
  210. X    >The socks (socket call redirection library) comes with an example of an
  211. X    >ftp proxy client. Applying the same operation to a telnet client (using
  212. X    >freely-available bsd sources) should be relatively easy.
  213. X    >socks can be found on s1.gov in /pub/socks.tar.Z. It is described in
  214. X    >the proceedigs of the 3rd UNIX Security Symposium last September.
  215. X
  216. 11. How do I link under Solaris 2.1 and OpenWindows 3.1? (May apply
  217. X    to other combinations of Solaris and OW.)"
  218. X
  219. X    >From: simon@lia.di.epfl.ch (Simon Leinen)
  220. X    >
  221. X    >Under SunOS 5.1 with OpenWindows 3.1, one has to manually add
  222. X    >"-lsocket" and "-lnsl" to the linker command; I think this is because
  223. X    >the OW3.1 config files don't handle SVR4 very well.
  224. X
  225. X    That is, add "-lsocket -lnsl" to the definition of LOCAL_LIBRARIES
  226. X    and re-run xmkmf.
  227. X
  228. 12. Why does Xarchie sometimes crash when I scroll the Help?
  229. X
  230. X    I don't know. At least on X11R5p20, a stack trace shows that the
  231. X    error is occurring in XtCallCallbacks() called from
  232. X    XawPanedAllowResize(). Problem is, I don't see how that can
  233. X    happen, since the latter function simply sets a flag. A fix would
  234. X    be welcome.
  235. X
  236. 13. The list of files in the FileChooser widgets don't seem to get
  237. X    displayed properly all the time.
  238. X
  239. X    This seems like an Xaw bug, but is difficult to repeat in
  240. X    isolation. Refreshing the window (eg., iconify/deiconify or
  241. X    scrolling up/down) clears it up. Fixes are welcome.
  242. X
  243. 14. The icons don't change the way the manpage says they should.
  244. X
  245. X    Icons are a tricky business, since they involve the application
  246. X    and the window manager and whatever "look and feel" they all feel
  247. X    like imposing. All I can say is that simply set the XtNiconName
  248. X    and XtNiconPixmap resources for the toplevel xarchie shell. I
  249. X    trust the Intrinsics to do the right thing with respect to ICCCM
  250. X    protocols and the like. Your window manager may not support icons.
  251. X    Your version of the Intrinsics may not do the right thing. Too
  252. X    bad.
  253. X
  254. X    Note: This problem should be resolved as of version 2.0.3, but
  255. X    I've left the text here since it's still possible that people's
  256. X    window managers won't cooperate, and I don't want to hear about it.
  257. X
  258. 15. I get what seems to be an endless stream of "select failed" messages.
  259. X
  260. X    These messages are coming from the heart of the X11 event dispatch
  261. X    loop. What it probably means is that one of the various file
  262. X    descriptors registered with the server for asynchronous
  263. X    notification (for Prospero or FTP) is no longer valid but hasn't
  264. X    been cleared from X's select mask. Unfortunately, the X code
  265. X    simply prints a message and loops, which means that select() will
  266. X    fail again, etc., ad nauseam.
  267. X
  268. X    Please do not report this problem without the following
  269. X    information! You should add a line `#define DEBUG' before the
  270. X    `#include "debug.h"' in files ftp.c and ftp-actions.c, then
  271. X    rebuild xarchie. Include the resulting trace (from stderr) with
  272. X    your bug report. 
  273. X
  274. 16. I get messages like the following when I try to run xarchie:
  275. X    Actions not found: "settings"
  276. X    Also other complaints about resources and the main window is all
  277. X    jumbled up. 
  278. X
  279. X    You are finding an old version of xarchie's resources and/or not
  280. X    finding the new resources. You should either install xarchie so
  281. X    its resources are found in the system-default place, or read the
  282. X    INSTALL file about running without installing. Note that you not
  283. X    only have to find the new resources (XAPPLRESDIR), you also have
  284. X    to avoid finding the old resources if they are installed
  285. X    (XFILESEARCHPATH).
  286. X
  287. 17. On my HP machine, xarchie crashes with an error like:
  288. X    Warning: Cannot convert string "" to type Cursor
  289. X    [...]
  290. X
  291. X    This appears to be a problem with HP's version of the Athena
  292. X    widgets, libXaw. According to Ronald van Loon (rvloon@cv.ruu.nl),
  293. X    compiling without MultiList is one alternative. To do that,
  294. X    replace "#define UseMultiList" by a #undef in the Imakefile and
  295. X    rebuild. According to Dave Shield (daves@csc.liv.ac.uk), using the
  296. X    MIT version of the Athena widget library will also solve the
  297. X    problem.
  298. X
  299. X    Further suggestions about this should be directed to Brian Totty
  300. X    at the FWF (tooty@cs.uiuc.edu, free-widgets-request@kzoo.cs.uiuc.edu),
  301. X    although you can CC: me so I know what's going on. 
  302. SHAR_EOF
  303. echo 'File xarchie-2.0.6/PROBLEMS is complete' &&
  304. chmod 0644 xarchie-2.0.6/PROBLEMS ||
  305. echo 'restore of xarchie-2.0.6/PROBLEMS failed'
  306. Wc_c="`wc -c < 'xarchie-2.0.6/PROBLEMS'`"
  307. test 13588 -eq "$Wc_c" ||
  308.     echo 'xarchie-2.0.6/PROBLEMS: original size 13588, current size' "$Wc_c"
  309. rm -f _shar_wnt_.tmp
  310. fi
  311. # ============= xarchie-2.0.6/README ==============
  312. if test -f 'xarchie-2.0.6/README' -a X"$1" != X"-c"; then
  313.     echo 'x - skipping xarchie-2.0.6/README (File already exists)'
  314.     rm -f _shar_wnt_.tmp
  315. else
  316. > _shar_wnt_.tmp
  317. echo 'x - extracting xarchie-2.0.6/README (Text)'
  318. sed 's/^X//' << 'SHAR_EOF' > 'xarchie-2.0.6/README' &&
  319. X        README for Xarchie - X11 browser interface to Archie
  320. X
  321. X        George Ferguson, ferguson@cs.rochester.edu
  322. X
  323. X             Last Change: 14 May 1993
  324. X
  325. DISCLAIMER:
  326. X
  327. X     This is release 2.0 of xarchie -- an X browser interface to
  328. X     the Archie Internet information system.
  329. X
  330. X     This software is provided as is with no warranty expressed or
  331. X     implied. I hope you find it useful, but I won't be held responsible
  332. X     for any damage that may occur from reading, compiling, installing,
  333. X     using, or even thinking about it.
  334. X
  335. X     You are free to use any parts of the code that I wrote for other
  336. X     purposes. It would be nice if you could keep my name on some part of
  337. X     whatever the final product is. Parts of the code that are derived from
  338. X     the Prospero archie client are subject to their own copyright, which
  339. X     is included in "query.c" and in files that were not written by me.
  340. X     See the file "copyright.h" for details. Examples of other things
  341. X     Prospero can do are in the file "README.PROSP" in this distribution.
  342. X
  343. X     The file "inet_ntoa.c" is part of the freely-redistributable BSD
  344. X     code, and is copyright (c) 1983 Regents of the University of
  345. X     California.
  346. X
  347. X     The code in directory FWF for the MultiList widget and portable
  348. X     directory routines (Dir) was written by Brian Totty
  349. X     (totty@flute.cs.uiuc.edu) and is distributed by the Free Widget
  350. X     Foundation (contact free-widgets-request@kazoo.cs.uiuc.edu). This
  351. X     code is copyright 1990,1991,1992 Brian Totty. See the file
  352. X     FWF/COPYRIGHT for more details. The FileChooser widget was
  353. X     written by me based on Brian's code for FileSelector, and is
  354. X     subject to the same copyrights.
  355. CREDITS:
  356. X
  357. X     The original standalone archie client was written by Brendan
  358. X     Kehoe, (brendan@cygnus.com), based on the Prospero archie client
  359. X     by Clifford Neuman, (bcn@isi.edu). The file "README.FILES"
  360. X     attempts to make some sense of the lineages. It should be
  361. X     taken with a huge grain of salt.
  362. X
  363. X     The archie service was conceived of and implemented by Alan Emtage
  364. X     (bajan@bunyip.com), Peter Deutsch (peterd@bunyip.com), and Bill
  365. X     Heelan (wheelan@cs.mcgill.ca). For more information about the
  366. X     Archie service, see the manpage and then write to "info@bunyip.com".
  367. X
  368. INSTALLATION:
  369. X
  370. X     See the file INSTALL for installation instructions. Xarchie comes
  371. X     with a GNU Autoconf-generated configure script, and has Makefiles
  372. X     for the imake-impaired.
  373. X
  374. PROBLEMS:
  375. X
  376. X     See the file PROBLEMS for discussion of various often-reported
  377. X     problems. Please read this file *before* reporting a problem.
  378. X
  379. REPORTING BUGS/KUDOS:
  380. X
  381. X     When reporting bugs, problems, suggestions or contributions,
  382. X     please be sure to send them to the right place. I (George
  383. X     Ferguson) am really only interested in the working of the X
  384. X     interface. Brendan Kehoe is is charge of the archie clients and
  385. X     much the network stuff underlying xarchie, Cliff Neuman is in
  386. X     charge of Prospero, and Alan Emtage and the others are in charge
  387. X     of the Archie service itself. The Free Widget Foundation widgets
  388. X     are the responability of Brian Totty. Further details are given
  389. X     in the manpage.
  390. X
  391. HISTORY:
  392. X
  393. Version 2.0.6 - 7 Jun 1993
  394. - Allow SVR4 as well as SYSV for getwd() in Director.c, FChooser.c.
  395. X  <dana@thumper.bellcore.com>
  396. - Norwegian weights added to weight.c.
  397. X  <janl@ifi.uio.no>
  398. - Really released to comp.sources.x -- 2.0.5 never made it...
  399. X
  400. Version 2.0.5 - 1 Jun 1993
  401. - ISC fixes for ftp.c. Perhaps these are needed for other SYS5?
  402. X  <jbh@moses.aii.COM>
  403. - Serious bug in archie clients vs V5 prospero server
  404. X  <eanders+@cmu.edu>
  405. - Released to comp.sources.x.
  406. X
  407. Version 2.0.4 - 14 May 1993
  408. - Stupid error in about.c when neither HAVE_RANDOM nor HAVE_RAND defined.
  409. X  <posse@masg26.epfl.ch>
  410. - Added discussion of HP Xaw problems to PROBLEMS file.
  411. X  <geidel@wior.wiwi.uni-karlsruhe.de>,<rvloon@cv.ruu.nl>,<daves@csc.liv.ac.uk>
  412. - Cleaned up fchooser.c for when FILECHOOSER not defined.
  413. X  <pk@TechFak.Uni-Bielefeld.DE>
  414. - Fixed Xarchie.ad and display-x.c for when MULTILIST not defined.
  415. X
  416. Version 2.0.3 - 13 May 1993
  417. - Add #include <sydio.h> to FD_SET_IN_* tests in configure.in and
  418. X  configure, and modify selectdefs.h (for AIX machines, methinks).
  419. X  <weiss@zeus.rz.th-leipzig.de>, <rob@psy.vu.nl>
  420. - Fixed icon problems on color displays by applying the icon resources
  421. X  to realToplevel rather than toplevel in xarchie.c.
  422. X  <jhahn@nadia.snu.ac.kr>
  423. - Check for NULL return from ftpNewContext() in ftp-actions.c (happens
  424. X  when nameserver lookup fails).
  425. X  <nms@ussr.eu.net> 
  426. - -iconic was being ignored, so remove explicit XtMapWidget() call in
  427. X  xarchie.c.
  428. X  <scott@udel.edu>
  429. - Apply tilde expansion to initial ftpLocalDir resource.
  430. X  <amoss@cs.huji.ac.il>
  431. - Fix auto-scroll when more than one selection so last selection is
  432. X  visible rather than first.
  433. X  <amoss@cs.huji.ac.il>
  434. - Fix fchooser.c for when FILECHOOSER not defined.
  435. X  <pk@TechFak.Uni-Bielefeld.DE>
  436. - Weights for US need ".org", some other updates to weights.c.
  437. X  <ckd@eff.org>
  438. - Fixed syserr.c: Use HAVE_SYS_ERRLIST properly and fix comments.
  439. - Some additions to PROBLEMS file.
  440. - Changed the way the version number is printed (about.c, help.c).
  441. - Changed style of the animation in the About window (in my infinite
  442. X  spare time).
  443. X
  444. X     Version 2.0.2 - 28 Apr 1993
  445. X    - Change default server to archie.sura.net(1526). That is,
  446. X      specify alternate port. <eanders@sura.net>
  447. X    - Change constant used in ftp.h from _FTP_H to _XA_FTP_H since
  448. X      there was a conflict with wuarchive replacement <arpa/ftp.h>.
  449. X      <dec@alex.com>,<C.C.Boucher@southampton.ac.uk>
  450. X    - Cleaned up status messages in browser.c and ftp.c.
  451. X
  452. X     Version 2.0.1 - 26 Apr 1993
  453. X    - Include <stdio.h> in tilde.c to get NULL defined. Duuh.
  454. X      Jonathan Stone <jonathan@oscar.stanford.edu>
  455. X
  456. X     Version 2.0 - 23 Apr 1993
  457. X    * Major improvements include:
  458. X      - Multiple selections allowed in browser for use with other new
  459. X        features (FWF MultiList widget).
  460. X      - Ability to expand directories in browser.
  461. X      - Real fully-integrated ftp implementation.
  462. X      - Ability to save and reload query results, as well as print them.
  463. X      - Ability to resort results, and sort results by user-definable
  464. X        pseudo-weights.
  465. X      - Online help browser.
  466. X      - Color resources, done so that they don't break mono displays.
  467. X      - FWF FileSelector widget for local file operations.
  468. X      - Makefile.dst's supplied for the imake-impaired.
  469. X    * Fixes and reconsiderations include:
  470. X      - Did away with EzMenus, which I didn't exploit fully anyway
  471. X        and which were causing portability problems.
  472. X      - Did away with user-definable widget hierarchies since I
  473. X        doubt that anyone used them and XtNameToWidget() was a
  474. X        problem for many people. I still use it in a few places,
  475. X        but not crucially.
  476. X      - A fix for the crashing Text widgets, I think, and fixed the
  477. X        query-while-querying crash bug.
  478. X      - Browser code rewritten to isolate display dependencies, which
  479. X        allowed the development of a Curses browser client, to be
  480. X        released soon.
  481. X    * Major contributors for this version include:
  482. X      - Alan Emtage (bajan@bunyip.com)
  483. X        Amos Shapira <amoss@cs.huji.ac.il>
  484. X        - Donated code that was warped into the ftp implementation.
  485. X      - Peter J Nilsson (pjn@ida.liu.se)
  486. X        - Suggested the "sort by weight" feature, and donated code.
  487. X      - Brian Totty (totty@cs.uiuc.edu)
  488. X        - Allowed use of the Free Widget Foundation MultiList and
  489. X          FileSelector widgets, in directory FWF.
  490. X    * The undauntable beta-testers (there were more, sorry if I
  491. X          missed you):
  492. X      Amos Shapira <amoss@cs.huji.ac.il>
  493. X      Jay Bourland <jayb@MATH.ColoState.EDU>
  494. X      long%imagen.materials@ox.ac.uk (Neil J Long)
  495. X      darrell@dcs119.dcsnod.uwf.edu (Darrell Werries)
  496. X      Kevin O'Connor <kocon@ctp.com>
  497. X      simon@lia.di.epfl.ch (Simon Leinen)
  498. X      palm@tokyo.rockwell.com (Stephen [kiwin] PALM)
  499. X      John Howells <howells@pioneer.arc.nasa.gov>
  500. X      David Meleedy <dmm@worf.harvard.edu>
  501. X      Brendan Kehoe <brendan@cs.widener.edu>
  502. X      osyjm@fubar.cs.montana.edu (Jaye Mathisen)
  503. X      jjsc@informatics.rutherford.ac.uk (John Cullen)
  504. X      Lee M J McLoughlin <lmjm@doc.ic.ac.uk>
  505. X      davidw@uiuc.edu (David Wojtowicz)
  506. X      Larry W. Virden, x2487 (lwv27@cas.org)
  507. X    * Reports of problems/wishes with 1.3, some of which made it 2.0:
  508. X       Jonathan I. Kamens (jik@pit-manager.MIT.EDU)
  509. X      Lauren Weinstein (lauren@cv.vortex.com)
  510. X      Larry W. Virden, x2487 (lwv27@cas.org)
  511. X      Stephen Malowany (malowany@cenparmi.concordia.ca)
  512. X      Thomas A Peterson (tap@src.honeywell.com)
  513. X      Joachim Schrod (schrod@iti.informatik.th-darmstadt.de)
  514. X      Marshal Linfoot (marshal@nexus.yorku.ca)
  515. X      Paul Close (pdc@lunch.wpd.sgi.com)
  516. X      Bill Silvert (silvert@biome.bio.dfo.ca)
  517. X      Michael Wojcik (woj@ll.mit.edu)
  518. X      Anthony J. Persechini (ajp2o@crocus.medicine.rochester.edu)
  519. X      G|ran Uddeborg (uddeborg@sisug.sisu.se)
  520. X      Jim Watt (jimw@PE-Nelson.COM)
  521. X      Theo Vosse (VOSSE@rulfsw.LeidenUniv.nl)
  522. X      David N. Blank-Edelman (dnb@meshugge.media.mit.edu)
  523. X      Warren R Carithers (wrc@cs.rit.edu)
  524. X      Mike Szloh (szloh@jupiter.cse.UTOLEDO.edu)
  525. X      David Meleedy (dmm@worf.harvard.edu)
  526. X      Jonathan Stone (jonathan@isor.vuw.ac.nz)
  527. X      Marc E. Fiuczynski (mef@klinzhai.rutgers.edu)
  528. X      Peter K. Campbell (p.campbell@trl.oz.au)
  529. X      Christopher T Hubbard (chubbard@ecn.purdue.edu)
  530. X      John Keener (keener@astro.psu.edu)
  531. X      Dave Brennan (brennan@hal.com)
  532. X      William Stephen Kish (wk0x+@andrew.cmu.edu)
  533. X      Kevin O'Connor (kevin@ctp.com)
  534. X      Tim Auckland (tda10@cus.cam.ac.uk)
  535. X      dockhorn@gate.fzi.de
  536. X
  537. X     Version 1.3 - 12 Nov 1991
  538. X    - Separated EzMenu widget creation from others by adding .menus
  539. X      resource and slightly changing initWidgets() in xarchie.c. This
  540. X      hopefully prevents those annoying core dumps under old or otherwise
  541. X      strange version of X. Also renamed the "hostText" on the Settings
  542. X      form to "setHostText" again in hopes of avoiding the problem.
  543. X    - Added archie.sura.net to hostMenu and made it the default elsewhere.
  544. X    - "-debug" formerly didn't want an argument -- fixed.
  545. X    - Made dirsend() asynchronous by restructuring it, so xarchie will
  546. X      now refresh and can be interrupted during queries. Added "Abort"
  547. X      button to interrupt queries.
  548. X    - Removed comments about gcc from this file and the Imakefile since
  549. X      it's handled automatically in dirsend.c using SUN_GNU_FIX.
  550. X    - From the TODO file: Fixed default-settings() action so it uses
  551. X      as defaults the values of the application resources when xarchie
  552. X      starts up.
  553. X    - Added confirmation of quitting and -expert flag (and expert
  554. X      resource) to avoid it if desired.
  555. X    - Tweaked resources for better layout, better resizing, etc, etc.
  556. X    - From: bajan@cs.mcgill.ca
  557. X      - Updated man page and added Bill Heelan acknowledgement.
  558. X    - From: khushro@zip.eecs.umich.edu
  559. X      - Added "save-to-file()" action.
  560. X    - From: Dennis Shiao <shiao@ans.net>
  561. X      - ftp.c called alert0() rather than alert1().
  562. X    - From: Lee M J McLoughlin <lmjm@doc.imperial.ac.uk>
  563. X      - Added archie.doc.ic.ac.uk to hostMenu
  564. X    - From: Amos Shapira <amoss@cs.huji.ac.il>
  565. X      - Added cs.huji.ac.il to hostMenu.
  566. X    - From: brendan@cs.widener.edu (Brendan Kehoe)
  567. X      - Changes to many files from the "archie" distribution, including
  568. X        more portable #includes and Prospero warning message handling.
  569. X        Includes new file perrmesg.c.
  570. X      - Provide udp.c to test whether UDP traffic is enabled.
  571. X    - From bcn@isi.edu (Clifford Neuman)
  572. X      - Changed dirsend.c to compare connection id's rather than
  573. X        hostnames, based on an observation from Lee McLoughlin,
  574. X        among other Prospero stuff.
  575. X
  576. X     Version 1.2 - 12 Sep 1991
  577. X    - Changed LowerCase() in types.c (from Xt manual example) to
  578. X      XmuCopyISOLatin1Lowered() since the former was not always
  579. X      compiled into X.
  580. X    - Added resources "ftpDir" and "ftpType" and corresponding items
  581. X      on the Settings panel so the ftp service is a bit better.
  582. X    - From: beser@aplcomm.jhuapl.edu (Nick Beser)
  583. X      - Fixed regex support in Imakefile. Added regex.h which is included
  584. X        by support.c and actions.c.
  585. X    - From: Greg Lindahl <gl8f@fermi.clas.Virginia.EDU>)
  586. X      - Changed strcasecmp() in types.c to XmuCompareISOLatin1() since
  587. X        some systems don't have the former.
  588. X      - Changed two leftover instances of isspace() to ISSPACE() in
  589. X        xarchie.c.
  590. X    - From: "(Simon Leinen)" <simon@liasun1.epfl.ch>
  591. X       and: Alan B Clegg <abc@concert.net>
  592. X      - Changed some widget names in resource file since the Settings
  593. X        form wasn't being laid out correctly.
  594. X
  595. X     Version 1.1 - 4 Sep 1991
  596. X    Released to comp.sources.x.
  597. SHAR_EOF
  598. chmod 0644 xarchie-2.0.6/README ||
  599. echo 'restore of xarchie-2.0.6/README failed'
  600. Wc_c="`wc -c < 'xarchie-2.0.6/README'`"
  601. test 12456 -eq "$Wc_c" ||
  602.     echo 'xarchie-2.0.6/README: original size 12456, current size' "$Wc_c"
  603. rm -f _shar_wnt_.tmp
  604. fi
  605. # ============= xarchie-2.0.6/README.FILES ==============
  606. if test -f 'xarchie-2.0.6/README.FILES' -a X"$1" != X"-c"; then
  607.     echo 'x - skipping xarchie-2.0.6/README.FILES (File already exists)'
  608.     rm -f _shar_wnt_.tmp
  609. else
  610. > _shar_wnt_.tmp
  611. echo 'x - extracting xarchie-2.0.6/README.FILES (Text)'
  612. sed 's/^X//' << 'SHAR_EOF' > 'xarchie-2.0.6/README.FILES' &&
  613. Many files in this distribution are shared with the Prospero distribution
  614. by Cliff Neuman (bcn@isi.edu) and the standalone archie client by Brendan
  615. Kehoe (brendan@cs.widener.edu). This file attempts to make sense of the
  616. similarities and differences.
  617. X
  618. The Prospero file "uw-copyright.h" has been renamed to "copyright.h"
  619. to shorten its filename.
  620. X
  621. The file "archie.h" is unchanged from the Prospero distribution. I'm
  622. not really sure how necessary it is for xarchie anymore...
  623. X
  624. The following files are from the Prospero distribution, and differ only in
  625. that they include <copyright.h> rather than <uw-copyright.h>:
  626. X    aquery.c
  627. X    p_err_text.c
  628. X    pauthent.h
  629. X    pcompat.h
  630. X    perrno.h
  631. X    pprot.h
  632. X
  633. The files "pmachine.h" and "rdgram.h" are from the standalone archie
  634. client distribution.
  635. X
  636. The file "support.c" is from the standalone archie client distribution, and
  637. was put together from parts of the Prospero distribution.
  638. X
  639. The following files are from the Prospero distribution, but were modified
  640. slightly for use in the standalone archie client:
  641. X    atalloc.c    get_pauth.c    get_vdir.c    pfs.h
  642. X    ptalloc.c    stcopy.c    vl_comp.c    vlalloc.c
  643. X
  644. The file "dirsend.c" is identical to the standalone archie client version
  645. except for code surrounded by "#ifdef XARCHIE" conditionals.
  646. X
  647. The file "aquery.c" was created for the xarchie distribution by
  648. combining and modifying "procquery.c" and "aquery.c" (writen by GF and
  649. BPK) from the standalone archie client distribution.
  650. X
  651. The file "regex.c" was written by Ozan S. Yigit, Dept. of Computer Science,
  652. York University. It is in the public domain and is distributed with the
  653. Prospero distribution.
  654. X
  655. The file "inet_ntoa.c" is part of the freed Berkeley sources as is
  656. copyright (c) 1983 Regents of the University of California.
  657. X
  658. The files in the FWF directory are copyright 1990,1991,1992 Brian
  659. Totty. See the file FWF/COPYRIGHT for more details.
  660. X
  661. George Ferguson, ferguson@cs.rochester.edu, 4 Jan 1993.
  662. SHAR_EOF
  663. chmod 0644 xarchie-2.0.6/README.FILES ||
  664. echo 'restore of xarchie-2.0.6/README.FILES failed'
  665. Wc_c="`wc -c < 'xarchie-2.0.6/README.FILES'`"
  666. test 1910 -eq "$Wc_c" ||
  667.     echo 'xarchie-2.0.6/README.FILES: original size 1910, current size' "$Wc_c"
  668. rm -f _shar_wnt_.tmp
  669. fi
  670. # ============= xarchie-2.0.6/README.PROSP ==============
  671. if test -f 'xarchie-2.0.6/README.PROSP' -a X"$1" != X"-c"; then
  672.     echo 'x - skipping xarchie-2.0.6/README.PROSP (File already exists)'
  673.     rm -f _shar_wnt_.tmp
  674. else
  675. > _shar_wnt_.tmp
  676. echo 'x - extracting xarchie-2.0.6/README.PROSP (Text)'
  677. sed 's/^X//' << 'SHAR_EOF' > 'xarchie-2.0.6/README.PROSP' &&
  678. Prospero also allows users to access Archie as if it were part of a
  679. file system.  Here is an example of how Prospero can be used to access
  680. Archie in this manner.
  681. X
  682. X  Script started on Mon Jul  1 22:36:42 1991
  683. X  % source /home/ftp/archie/pfs/bin/vfsetup.source
  684. X  % vfsetup guest
  685. X  % venable
  686. X  % cd /archive-sites/archie/regex
  687. X  % cd prospero (This command specifies the query)
  688. X  % ls -l
  689. X  total 0
  690. X  -r--r--r--   0 -               0 -            info-prospero.arc
  691. X  dr-xr-xr-x   0 -               0 -            prospero
  692. X  dr-xr-xr-x   0 -               0 -            prospero-papers
  693. X  -r--r--r--   0 -               0 -            prospero.arc
  694. X  -r--r--r--   0 -               0 -            prospero.tar.Z
  695. X  (Note that the "vls" command could have been used)
  696. X  (to show where the files were actually stored    )
  697. X  % ls prospero (list a result if it is a directory)
  698. X  prog.tar.Z      prospero.tar.Z
  699. X  % cat info-prospero.arc  (The file is automatically retrieved and displayed)
  700. X  >From bcn@n1dmm  Tue Dec  4 02:33:36 1990
  701. X  Received: from n1dmm.cs.washington.edu by june.cs.washington.edu (5.64/7.0jh)
  702. X          id AA24763; Tue, 4 Dec 90 02:33:36 -0800
  703. X  Received: by n1dmm.cs.washington.edu (5.64/7.0h)
  704. X          id AA08497; Tue, 4 Dec 90 02:33:31 -0800
  705. X  Date: Tue, 4 Dec 90 02:33:31 -0800
  706. X  From: bcn@cs.washington.edu (Clifford Neuman)
  707. X  ...
  708. X  % vdisable
  709. X  % exit
  710. X  script done on Mon Jul  1 22:39:33 1991
  711. SHAR_EOF
  712. chmod 0644 xarchie-2.0.6/README.PROSP ||
  713. echo 'restore of xarchie-2.0.6/README.PROSP failed'
  714. Wc_c="`wc -c < 'xarchie-2.0.6/README.PROSP'`"
  715. test 1409 -eq "$Wc_c" ||
  716.     echo 'xarchie-2.0.6/README.PROSP: original size 1409, current size' "$Wc_c"
  717. rm -f _shar_wnt_.tmp
  718. fi
  719. # ============= xarchie-2.0.6/Xarchie.ad ==============
  720. if test -f 'xarchie-2.0.6/Xarchie.ad' -a X"$1" != X"-c"; then
  721.     echo 'x - skipping xarchie-2.0.6/Xarchie.ad (File already exists)'
  722.     rm -f _shar_wnt_.tmp
  723. else
  724. > _shar_wnt_.tmp
  725. echo 'x - extracting xarchie-2.0.6/Xarchie.ad (Text)'
  726. sed 's/^X//' << 'SHAR_EOF' > 'xarchie-2.0.6/Xarchie.ad' &&
  727. !
  728. ! Xarchie.ad : Application defaults for the X11 browser interface to Archie
  729. !
  730. ! George Ferguson, ferguson@cs.rochester.edu, 2 Nov 1991.
  731. ! Version 2.0: 23 Apr 1993.
  732. ! 28 Apr 1993: Changed default host to "archie.sura.net(1526)" as
  733. !              requested by eanders@sura.net. Left entry without port
  734. !              in hostMenu also though.
  735. ! 13 May 1993: Updated US weights to include "org", and others to have
  736. !           correct US lists (even though they're all commented out).
  737. ! 14 May 1993: Cleanups for when MULTILIST not used (more List resources).
  738. !
  739. X
  740. !    -    -    -    -    -    -    -    -    -
  741. ! Non-widget resources
  742. !
  743. X
  744. XXarchie*archieHost:    archie.sura.net(1526)
  745. X
  746. ! See the manpage for possible values for these
  747. XXarchie*searchType:    exact
  748. XXarchie*sortType:    name
  749. X
  750. ! Use 99 by default for logging purposes
  751. XXarchie*maxHits:    99
  752. X
  753. ! Prospero offset
  754. XXarchie*offset:        0
  755. X
  756. ! Initial timeout (seconds)
  757. XXarchie*timeout:    4
  758. X
  759. ! Number of retries (timeout doubles each retry)
  760. XXarchie*retries:    3
  761. X
  762. ! Nice level (bigger numbers == nicer)
  763. XXarchie*niceLevel:    0
  764. X
  765. ! Parameters for file transfer
  766. XXarchie*ftpMailAddress:    %s@%s
  767. !Xarchie*ftpLocalDir:    .
  768. XXarchie*ftpType:    binary
  769. XXarchie*ftpPrompt:    True
  770. XXarchie*ftpTrace:    False
  771. XXarchie*ftpStrip:    True
  772. X
  773. ! If True, then dumped output is printed like "ls -l", one entry per line.
  774. ! If False, then results are pretty-printed.
  775. XXarchie*fileWriteOnePerLine:    False
  776. X
  777. ! If True, browser lists scroll as you select things.
  778. XXarchie*autoScroll:    True
  779. X
  780. ! If True, browser selections are stored in CUT_BUFFER_0.
  781. XXarchie*pasteBuffer:    True
  782. X
  783. ! Bigger numbers == more verbose, if -DDEBUG was given at compile-time
  784. XXarchie*debugLevel:    0
  785. X
  786. ! This font can be used in font resources by giving the name "xarchieFont"
  787. XXarchie*xarchieFont:        *-fixed-medium-r-*-*-13-*-*-*-*-*-iso8859-*
  788. X
  789. ! This font can be used in font resources by giving the name "xarchieBoldFont"
  790. XXarchie*xarchieBoldFont:    *-fixed-bold-r-*-*-13-*-*-*-*-*-iso8859-*
  791. X
  792. ! These can be set to taste, provided the icons can be found according
  793. ! to the bitmapFilePath resource (or system default)
  794. !Xarchie*defaultIcon:    xarchie
  795. !Xarchie*busyIcon:    busy
  796. X
  797. ! This is for "Sort by Weight", unknown gets 99.
  798. ! If you leave this resource undefined, the system will attempt to
  799. ! compute a resonable default, based on your hostname. See weight.c
  800. ! for further alternatives.
  801. X
  802. ! For North America:
  803. !Xarchie*hostWeights:\
  804. !1   edu com net gov mil us org\n\
  805. !2   ca\n\
  806. !3   uk de nl fi fr eu.net\n\
  807. !100 au nz jp
  808. X
  809. ! For Sweden, from Peter J Nilsson (pjn@ida.liu.se):
  810. !Xarchie*hostWeights:\
  811. !1   se\n\
  812. !2   fi dk no\n\
  813. !10  eu.net nl fr de\n\
  814. !20  edu com gov net mil us org\n\
  815. !100 au nz jp
  816. X
  817. ! For the UK, from GF:
  818. !Xarchie*hostWeights:\
  819. !1   uk\n\
  820. !2   se fi dk no nl fr de eu.net\n\
  821. !20  edu com gov net mil us org\n\
  822. !100 au nz jp
  823. X
  824. ! For New Zealand, from Andy.Linton@comp.vuw.ac.nz:
  825. !Xarchie*hostWeights:\
  826. !1   nz\n\
  827. !10  edu com gov net mil us org jp\n\
  828. !20  se fi dk no nl fr de eu.net uk au
  829. X
  830. !    -    -    -    -    -    -    -    -    -
  831. !    -    -    -    -    -    -    -    -    -
  832. ! Defaults for all the classes of widgets
  833. X
  834. XXarchie*input:            True
  835. X
  836. ! Accelerators for File menu
  837. XXarchie*outerPaned*Form.translations:#override\n\
  838. X    Meta<Key>a:    about()\n\
  839. X    Meta<Key>o:    browser-open-all()\n\
  840. X    Meta<Key>g:    ftp-get()\n\
  841. X    Meta<Key>s:    file-save()\n\
  842. X    Meta<Key>l:    file-load()\n\
  843. X    Meta<Key>w:    file-write()\n\
  844. X    Meta<Key>q:    quit()\n
  845. X
  846. ! Give us vertical scrollbar
  847. XXarchie*Viewport*allowVert:        True
  848. ! Make this True if you like horizontal scrolling also
  849. XXarchie*Viewport*allowHoriz:        False
  850. ! Always show the allowed scrollbars
  851. XXarchie*Viewport*forceBars:        True
  852. ! Don't touch
  853. XXarchie*Viewport.preferredPaneSize:    160
  854. XXarchie*Viewport.vertical.width:    15
  855. X
  856. ! Font for items in browser panes
  857. XXarchie*XfwfMultiList*font:        xarchieFont
  858. ! Don't touch
  859. XXarchie*XfwfMultiList*verticalList:    True
  860. XXarchie*XfwfMultiList*defaultColumns:    1
  861. XXarchie*XfwfMultiList*forceColumns:    True
  862. XXarchie*XfwfMultiList*shadeSurplus:    False
  863. XXarchie*XfwfMultiList*maxSelectable:    99
  864. XXarchie*XfwfMultiList*height:        150
  865. ! Yes, the open() needs to be duplicated. These translations are
  866. ! very sensitive to the Intrinsics bizarre handling of multiple clicks.
  867. ! We have to use #replace or the leftover translations will kill us,
  868. ! which is also why we have to repeat the Meta-key bindings.
  869. XXarchie*XfwfMultiList*translations:#replace\n\
  870. X    Shift<Btn1Down>(2):    browser-open-directories() \n\
  871. X    <Btn1Down>(2):        browser-open-directories() \n\
  872. X    Shift<Btn1Down>:    Toggle() Notify() \n\
  873. X    <Btn1Down>:         Select() Notify() \n\
  874. X    <Btn2Down>,<Btn2Up>:    browser-up()\n\
  875. X    <Btn3Down>,<Btn3Up>:    browser-down()\n\
  876. X    <Key>Right:        browser-down()\n\
  877. X    <Key>Left:        browser-up()\n\
  878. X    <Key>Home:        browser-top()\n\
  879. X    Meta<Key>a:        about()\n\
  880. X    Meta<Key>o:        browser-open-all()\n\
  881. X    Meta<Key>g:        ftp-get()\n\
  882. X    Meta<Key>s:        file-save()\n\
  883. X    Meta<Key>l:        file-load()\n\
  884. X    Meta<Key>w:        file-write()\n\
  885. X    Meta<Key>q:        quit()\n
  886. X
  887. XXarchie*List*font:        xarchieFont
  888. ! Don't touch
  889. XXarchie*List*verticalList:    True
  890. XXarchie*List*height:        150
  891. X
  892. ! Size of grips
  893. XXarchie*Grip*height:        5
  894. XXarchie*Grip*width:        5
  895. X
  896. ! Change only if you like really "spacy" labels
  897. XXarchie*Label.borderWidth:        0
  898. XXarchie*Label.internalWidth:        0
  899. ! Note: This next can't be 0 or failed search in Text widget crashes!
  900. XXarchie*Text*Label.internalWidth:    1
  901. ! Don't touch
  902. XXarchie*Label.resize:            True
  903. XXarchie*Label.resizable:        True
  904. X
  905. ! Change if you want
  906. XXarchie*Text*borderWidth:        1
  907. XXarchie*Text*font:            xarchieFont
  908. XXarchie*Text*Scrollbar.thickness:     5
  909. ! Don't touch
  910. XXarchie*Text*editType:            edit
  911. XXarchie*Text.scrollHorizontal:        whenNeeded
  912. XXarchie*Text*Text.scrollHorizontal:    never
  913. ! These make the caret follow the mouse, and make Return not go to a new
  914. ! (blank) line. Don't use * or you'll crash in DisplayCaret for vbar.
  915. XXarchie*Text.displayCaret:    False
  916. XXarchie*Text.translations:#override\n\
  917. X    <Enter>:    display-caret(True) \n\
  918. X    <Leave>:    display-caret(False) \n\
  919. X    <Key>Return:    no-op() \n
  920. X
  921. !    -    -    -    -    -    -    -    -    -
  922. !    -    -    -    -    -    -    -    -    -
  923. ! Toplevel Xarchie shell
  924. X
  925. XXarchie.translations:#override\n\
  926. X    <Message>WM_PROTOCOLS:    quit()\n
  927. X
  928. !    -    -    -    -    -    -    -    -    -
  929. ! Outermost Paned widget
  930. X
  931. XXarchie*outerPaned.orientation:    vertical
  932. X
  933. !    -    -    -    -    -    -    -    -    -
  934. ! Top Button Form
  935. !
  936. ! Note that we have to set the widths explicitly to make everything look
  937. ! pretty since there's no way to lay out a Form nicely. Your mileage will
  938. ! vary if you change the fonts. The "fromVert" and "fromHoriz" resources
  939. ! make the buttons "pile up" properly. You can change them subject to
  940. ! the widget creation order.
  941. !
  942. ! This keeps the buttons from getting bigger or smaller when the panes
  943. ! resize. Thus only the browser grows.
  944. XXarchie*buttonForm.skipAdjust: True
  945. X
  946. ! No point in having grips since only the browser can grow, and then only
  947. ! if the whole application grows.
  948. XXarchie*buttonForm.showGrip: False
  949. X
  950. XXarchie*buttonForm*fileButton.label:        File>
  951. XXarchie*buttonForm*fileButton.menuName:        fileMenu
  952. X
  953. XXarchie*buttonForm*settingsButton.label:    Settings>
  954. XXarchie*buttonForm*settingsButton.menuName:    settingsMenu
  955. XXarchie*buttonForm*settingsButton.fromHoriz:    fileButton
  956. X
  957. XXarchie*buttonForm*queryButton.label:        Query>
  958. XXarchie*buttonForm*queryButton.menuName:    queryMenu
  959. XXarchie*buttonForm*queryButton.fromHoriz:    settingsButton
  960. X
  961. XXarchie*buttonForm*abortButton.label:        Abort
  962. XXarchie*buttonForm*abortButton.fromHoriz:    queryButton
  963. XXarchie*buttonForm*abortButton.translations:#override\n\
  964. X    <BtnDown>,<BtnUp>:    abort()\n
  965. X
  966. ! Can be disabled at compile-time
  967. XXarchie*buttonForm*helpButton.label:        Help
  968. XXarchie*buttonForm*helpButton.fromHoriz:    abortButton
  969. XXarchie*buttonForm*helpButton.translations:#override\n\
  970. X    <BtnDown>,<BtnUp>:    help()\n
  971. X
  972. XXarchie*buttonForm*statusLabel.label:        Status:
  973. XXarchie*buttonForm*statusLabel.fromVert:    fileButton
  974. XXarchie*buttonForm*statusText.fromHoriz:    statusLabel
  975. XXarchie*buttonForm*statusText.fromVert:        fileButton
  976. XXarchie*buttonForm*statusText*width:        410
  977. ! Don't allow writing in the status window
  978. XXarchie*buttonForm*statusText*editType:        read
  979. ! Don't give a border since it's "read-only"
  980. XXarchie*buttonForm*statusText.borderWidth:    0
  981. ! Don't ever give a scrollbar since it's just confusing
  982. XXarchie*buttonForm*statusText*scrollHorizontal:    never
  983. ! Don't ever show the caret in the status line
  984. XXarchie*buttonForm*statusText*translations:#override\n
  985. X
  986. XXarchie*buttonForm*statusScrollbar.fromVert:    statusText
  987. XXarchie*buttonForm*statusScrollbar.fromHoriz:    statusLabel
  988. XXarchie*buttonForm*statusScrollbar.orientation:    horizontal
  989. XXarchie*buttonForm*statusScrollbar.length:    410
  990. X
  991. !    -    -    -    -    -    -    -    -    -
  992. ! Middle browser pane
  993. X
  994. XXarchie*browserForm.borderWidth:        0
  995. XXarchie*browserForm.defaultDistance:        0
  996. X
  997. XXarchie*browserForm*Command.width:        240
  998. XXarchie*browserForm*Command.justify:        center
  999. XXarchie*browserForm*Command.borderWidth:    0
  1000. XXarchie*browserForm*Command.internalHeight:    2
  1001. ! Don't resize the button vertically when the browser resizes
  1002. XXarchie*browserForm*Command.top:        chainTop
  1003. XXarchie*browserForm*Command.bottom:        chainTop
  1004. X
  1005. XXarchie*browserForm.browserUpButton.label:    <<<
  1006. XXarchie*browserForm.browserUpButton.translations:#override\n\
  1007. X    Shift<BtnDown>,<BtnUp>:    browser-top() \n\
  1008. X    <BtnDown>,<BtnUp>:    browser-up() \n
  1009. X
  1010. XXarchie*browserForm.browserDownButton.label:    >>>
  1011. XXarchie*browserForm.browserDownButton.fromHoriz:browserUpButton
  1012. XXarchie*browserForm.browserDownButton.translations:#override\n\
  1013. X    <BtnDown>,<BtnUp>:    browser-down() \n
  1014. X
  1015. XXarchie*browserForm.browserPaned.orientation:    horizontal
  1016. XXarchie*browserForm.browserPaned.fromVert:    browserDownButton
  1017. XXarchie*browserForm.browserPaned.top:        chainTop
  1018. X
  1019. ! No point in having grips since only the browser can grow, and then only
  1020. ! if the whole application grows.
  1021. XXarchie*browserForm.browserPaned.showGrip:    False
  1022. X
  1023. ! if not MULTILIST
  1024. XXarchie*browserForm*List*defaultColumns:    1
  1025. XXarchie*browserForm*List*forceColumns:        True
  1026. XXarchie*browserForm*List.translations:#override\n\
  1027. X    <Btn1Down>(2):        browser-open-directories() \n\
  1028. X    <Btn1Down>,<Btn1Up>:    Set() Notify() \n
  1029. X
  1030. !    -    -    -    -    -    -    -    -    -
  1031. ! Bottom String Form
  1032. X
  1033. ! This keeps the strings from getting bigger or smaller when the panes
  1034. ! resize. Thus only the browser grows.
  1035. XXarchie*stringForm.skipAdjust: True
  1036. X
  1037. ! Left justify labels or they'll move on resize
  1038. XXarchie*stringForm*Label.justify:    left
  1039. ! De-emphasize most labels
  1040. XXarchie*stringForm*Label.font:        xarchieFont
  1041. X
  1042. ! Disable typing into most Text widgets
  1043. XXarchie*stringForm*AsciiSrc.editType:     read
  1044. X
  1045. ! Except the search term items, which can be edited and should stand out
  1046. XXarchie*stringForm*searchLabel.label:        Search Term:
  1047. XXarchie*stringForm*searchLabel.font:          xarchieBoldFont
  1048. XXarchie*stringForm*searchText*width:        390
  1049. XXarchie*stringForm*searchText.fromHoriz:    searchLabel
  1050. XXarchie*stringForm*searchText*editType:     edit
  1051. XXarchie*stringForm*searchText.translations:#override\n\
  1052. X    <Enter>:    display-caret(True) \n\
  1053. X    <Leave>:    display-caret(False) \n\
  1054. X    <Key>Return:    query() \n
  1055. X
  1056. XXarchie*stringForm*hostLabel.label:    Host:
  1057. XXarchie*stringForm*hostText.width:    438
  1058. XXarchie*stringForm*hostLabel.fromVert:    searchLabel
  1059. XXarchie*stringForm*hostText.fromVert:    searchLabel
  1060. XXarchie*stringForm*hostText.fromHoriz:    hostLabel
  1061. XXarchie*stringForm*hostText*editType:     edit
  1062. XXarchie*stringForm*hostText.translations:#override\n\
  1063. X    <Enter>:    display-caret(True) \n\
  1064. X    <Leave>:    display-caret(False) \n\
  1065. X    <Key>Return:    query-host() \n
  1066. X
  1067. XXarchie*stringForm*locationLabel.label:        Location:
  1068. XXarchie*stringForm*locationText.width:        410
  1069. ! Extra height since often get scrollbar here
  1070. XXarchie*stringForm*locationText.height:        20
  1071. XXarchie*stringForm*locationLabel.fromVert:    hostLabel
  1072. XXarchie*stringForm*locationText.fromHoriz:    locationLabel
  1073. XXarchie*stringForm*locationText.fromVert:    hostLabel
  1074. XXarchie*stringForm*locationText*editType:     edit
  1075. XXarchie*stringForm*locationText.translations:#override\n\
  1076. X    <Enter>:    display-caret(True) \n\
  1077. X    <Leave>:    display-caret(False) \n\
  1078. X    <Key>Return:    query-location() \n
  1079. X
  1080. XXarchie*stringForm*fileLabel.label:    File:
  1081. XXarchie*stringForm*fileLabel.fromVert:    locationText
  1082. XXarchie*stringForm*fileText.fromHoriz:    fileLabel
  1083. XXarchie*stringForm*fileText.fromVert:    locationText
  1084. XXarchie*stringForm*fileText.width:    438
  1085. X
  1086. XXarchie*stringForm*sizeLabel.label:    Size:
  1087. XXarchie*stringForm*sizeLabel.fromVert:    fileLabel
  1088. XXarchie*stringForm*sizeText.fromHoriz:    sizeLabel
  1089. XXarchie*stringForm*sizeText.fromVert:    fileLabel
  1090. XXarchie*stringForm*sizeText*width:    112
  1091. X
  1092. XXarchie*stringForm*modesLabel.label:    Mode:
  1093. XXarchie*stringForm*modesLabel.fromHoriz:sizeText
  1094. XXarchie*stringForm*modesLabel.fromVert:    fileLabel
  1095. XXarchie*stringForm*modesText.fromHoriz:    modesLabel
  1096. XXarchie*stringForm*modesText.fromVert:    fileLabel
  1097. XXarchie*stringForm*modesText*width:    112
  1098. X
  1099. XXarchie*stringForm*dateLabel.label:    Date:
  1100. XXarchie*stringForm*dateLabel.fromHoriz:    modesText
  1101. XXarchie*stringForm*dateLabel.fromVert:    fileLabel
  1102. XXarchie*stringForm*dateText.fromHoriz:    dateLabel
  1103. XXarchie*stringForm*dateText.fromVert:    fileLabel
  1104. XXarchie*stringForm*dateText*width:    125
  1105. X
  1106. !    -    -    -    -    -    -    -    -    -
  1107. ! Settings panel
  1108. X
  1109. XXarchie*settingsForm*Text*borderWidth:        1
  1110. XXarchie*settingsForm*Label.resizable:        True
  1111. X
  1112. XXarchie*settingsShell.title:            Xarchie Settings Panel
  1113. XXarchie*settingsShell.translations:#override\n\
  1114. X    <Message>WM_PROTOCOLS:    settings-done()\n
  1115. X
  1116. XXarchie*settingsForm*setDoneButton.label:    Done
  1117. XXarchie*settingsForm*setDoneButton.translations:#override\n\
  1118. X    <BtnDown>,<BtnUp>:    settings-done() \n
  1119. X
  1120. XXarchie*settingsForm*setApplyButton.label:    Apply
  1121. XXarchie*settingsForm*setApplyButton.fromHoriz:    setDoneButton
  1122. XXarchie*settingsForm*setApplyButton.translations:#override\n\
  1123. X    <BtnDown>,<BtnUp>:    settings-apply() \n
  1124. X
  1125. XXarchie*settingsForm*setDefaultButton.label:    Default
  1126. XXarchie*settingsForm*setDefaultButton.fromHoriz:setApplyButton
  1127. XXarchie*settingsForm*setDefaultButton.translations:#override\n\
  1128. X    <BtnDown>,<BtnUp>:    settings-default() \n
  1129. X
  1130. XXarchie*settingsForm*setHostButton.label:    Host
  1131. XXarchie*settingsForm*setHostButton.menuName:    setHostMenu
  1132. XXarchie*settingsForm*setHostButton.fromVert:    setApplyButton
  1133. XXarchie*settingsForm*setHostButton.vertDistance:10
  1134. XXarchie*settingsForm*setHostText.fromVert:    setApplyButton
  1135. XXarchie*settingsForm*setHostText.vertDistance:    10
  1136. XXarchie*settingsForm*setHostText.fromHoriz:    setHostButton
  1137. XXarchie*settingsForm*setHostText.width:        353
  1138. X
  1139. XXarchie*settingsForm*setSearchButton.label:    Search Mode
  1140. XXarchie*settingsForm*setSearchButton.menuName:    setSearchMenu
  1141. XXarchie*settingsForm*setSearchButton.fromVert:    setHostButton
  1142. XXarchie*settingsForm*setSearchLabel.fromVert:    setHostButton
  1143. XXarchie*settingsForm*setSearchLabel.fromHoriz:    setSearchButton
  1144. XXarchie*settingsForm*setSearchLabel.font:     xarchieFont
  1145. X
  1146. XXarchie*settingsForm*setSortButton.label:    Sort Mode
  1147. XXarchie*settingsForm*setSortButton.menuName:    setSortMenu
  1148. XXarchie*settingsForm*setSortButton.fromVert:    setHostButton
  1149. XXarchie*settingsForm*setSortButton.fromHoriz:    setSearchButton
  1150. XXarchie*settingsForm*setSortButton.horizDistance:100
  1151. XXarchie*settingsForm*setSortLabel.fromVert:    setHostButton
  1152. XXarchie*settingsForm*setSortLabel.fromHoriz:    setSortButton
  1153. XXarchie*settingsForm*setSortLabel.font:     xarchieFont
  1154. X
  1155. XXarchie*settingsForm*setNiceButton.label:    Nice Level
  1156. XXarchie*settingsForm*setNiceButton.menuName:    setNiceMenu
  1157. XXarchie*settingsForm*setNiceButton.fromVert:    setSortButton
  1158. XXarchie*settingsForm*setNiceText.fromVert:    setSortButton
  1159. XXarchie*settingsForm*setNiceText.fromHoriz:    setNiceButton
  1160. XXarchie*settingsForm*setNiceText.width:        82
  1161. X
  1162. XXarchie*settingsForm*setMaxHitsLabel.label:    Max Hits:
  1163. XXarchie*settingsForm*setMaxHitsLabel.fromVert:    setNiceButton
  1164. XXarchie*settingsForm*setMaxHitsText.fromVert:    setNiceButton
  1165. XXarchie*settingsForm*setMaxHitsText.fromHoriz:    setMaxHitsLabel
  1166. XXarchie*settingsForm*setMaxHitsText.width:    99
  1167. X
  1168. XXarchie*settingsForm*setTimeoutLabel.label:    Initial Timeout:
  1169. XXarchie*settingsForm*setTimeoutLabel.fromVert:    setMaxHitsLabel
  1170. XXarchie*settingsForm*setTimeoutText.fromVert:    setMaxHitsLabel
  1171. XXarchie*settingsForm*setTimeoutText.fromHoriz:    setTimeoutLabel
  1172. XXarchie*settingsForm*setTimeoutText.width:    50
  1173. X
  1174. XXarchie*settingsForm*setRetriesLabel.label:    Retries:
  1175. XXarchie*settingsForm*setRetriesLabel.fromVert:    setTimeoutLabel
  1176. XXarchie*settingsForm*setRetriesText.fromVert:    setTimeoutLabel
  1177. XXarchie*settingsForm*setRetriesText.fromHoriz:    setRetriesLabel
  1178. XXarchie*settingsForm*setRetriesText.width:    106
  1179. X
  1180. XXarchie*settingsForm*setAutoScrollButton.label:        Auto-Scroll Browser:
  1181. XXarchie*settingsForm*setAutoScrollButton.menuName:    setAutoScrollMenu
  1182. XXarchie*settingsForm*setAutoScrollButton.fromVert:    setRetriesLabel
  1183. XXarchie*settingsForm*setAutoScrollButton.vertDistance:    20
  1184. XXarchie*settingsForm*setAutoScrollLabel.fromVert:    setRetriesLabel
  1185. XXarchie*settingsForm*setAutoScrollLabel.vertDistance:    20
  1186. XXarchie*settingsForm*setAutoScrollLabel.fromHoriz:    setAutoScrollButton
  1187. XXarchie*settingsForm*setAutoScrollLabel.font:         xarchieFont
  1188. X
  1189. XXarchie*settingsForm*ftpMailAddressLabel.label:        FTP Email Address:
  1190. XXarchie*settingsForm*ftpMailAddressLabel.fromVert:    setAutoScrollLabel
  1191. XXarchie*settingsForm*ftpMailAddressLabel.vertDistance:    20
  1192. XXarchie*settingsForm*ftpMailAddressText.fromHoriz:    ftpMailAddressLabel
  1193. XXarchie*settingsForm*ftpMailAddressText.fromVert:    setAutoScrollLabel
  1194. XXarchie*settingsForm*ftpMailAddressText.vertDistance:    20
  1195. XXarchie*settingsForm*ftpMailAddressText.width:        264
  1196. X
  1197. XXarchie*settingsForm*ftpLocalDirLabel.label:    FTP Local Directory:
  1198. XXarchie*settingsForm*ftpLocalDirLabel.fromVert:    ftpMailAddressLabel
  1199. XXarchie*settingsForm*ftpLocalDirText.fromHoriz:    ftpLocalDirLabel
  1200. XXarchie*settingsForm*ftpLocalDirText.fromVert:    ftpMailAddressLabel
  1201. XXarchie*settingsForm*ftpLocalDirText.width:    250
  1202. X
  1203. XXarchie*settingsForm*ftpTypeButton.label:    FTP Transfer Type:
  1204. XXarchie*settingsForm*ftpTypeButton.menuName:    ftpTypeMenu
  1205. XXarchie*settingsForm*ftpTypeButton.fromVert:    ftpLocalDirLabel
  1206. XXarchie*settingsForm*ftpTypeLabel.fromHoriz:    ftpTypeButton
  1207. XXarchie*settingsForm*ftpTypeLabel.fromVert:    ftpLocalDirLabel
  1208. XXarchie*settingsForm*ftpTypeLabel.font:     xarchieFont
  1209. X
  1210. XXarchie*settingsForm*ftpPromptButton.label:    Prompt during FTP:
  1211. XXarchie*settingsForm*ftpPromptButton.menuName:    ftpPromptMenu
  1212. XXarchie*settingsForm*ftpPromptButton.fromHoriz:    ftpTypeLabel
  1213. XXarchie*settingsForm*ftpPromptButton.horizDistance: 20
  1214. XXarchie*settingsForm*ftpPromptButton.fromVert:    ftpLocalDirLabel
  1215. XXarchie*settingsForm*ftpPromptLabel.fromHoriz:    ftpPromptButton
  1216. XXarchie*settingsForm*ftpPromptLabel.fromVert:    ftpLocalDirLabel
  1217. XXarchie*settingsForm*ftpPromptLabel.font:    xarchieFont
  1218. X
  1219. XXarchie*settingsForm*ftpTraceButton.label:    Trace FTP Transfers:
  1220. XXarchie*settingsForm*ftpTraceButton.menuName:    ftpTraceMenu
  1221. XXarchie*settingsForm*ftpTraceButton.fromVert:    ftpTypeButton
  1222. XXarchie*settingsForm*ftpTraceLabel.fromHoriz:    ftpTraceButton
  1223. XXarchie*settingsForm*ftpTraceLabel.fromVert:    ftpTypeButton
  1224. XXarchie*settingsForm*ftpTraceLabel.font:    xarchieFont
  1225. X
  1226. XXarchie*settingsForm*ftpStripButton.label:    Strip CR:
  1227. XXarchie*settingsForm*ftpStripButton.menuName:    ftpStripMenu
  1228. XXarchie*settingsForm*ftpStripButton.fromVert:    ftpTypeButton
  1229. XXarchie*settingsForm*ftpStripButton.fromHoriz:    ftpTraceButton
  1230. XXarchie*settingsForm*ftpStripButton.horizDistance: 52
  1231. XXarchie*settingsForm*ftpStripButton.fromVert:    ftpTypeButton
  1232. XXarchie*settingsForm*ftpStripLabel.fromHoriz:    ftpStripButton
  1233. XXarchie*settingsForm*ftpStripLabel.fromVert:    ftpTypeButton
  1234. XXarchie*settingsForm*ftpStripLabel.font:    xarchieFont
  1235. X
  1236. XXarchie*settingsForm*setHostWeightsLabel.label:        Host weights:
  1237. XXarchie*settingsForm*setHostWeightsLabel.fromVert:    setSortButton
  1238. XXarchie*settingsForm*setHostWeightsLabel.fromHoriz:    setSearchButton
  1239. SHAR_EOF
  1240. true || echo 'restore of xarchie-2.0.6/Xarchie.ad failed'
  1241. fi
  1242. echo 'End of xarchie-2.0.6 part 3'
  1243. echo 'File xarchie-2.0.6/Xarchie.ad is continued in part 4'
  1244. echo 4 > _shar_seq_.tmp
  1245. exit 0
  1246.  
  1247. exit 0 # Just in case...
  1248. -- 
  1249.   // chris@IMD.Sterling.COM       | Send comp.sources.x submissions to:
  1250. \X/  Amiga - The only way to fly! |    sources-x@imd.sterling.com
  1251.  "It's intuitively obvious to the |
  1252.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  1253.