home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume20 / xarchie / patch01 < prev    next >
Encoding:
Text File  |  1993-08-05  |  32.0 KB  |  958 lines

  1. Newsgroups: comp.sources.x
  2. From: ferguson@cs.rochester.edu (George Ferguson)
  3. Subject: v20i107:  xarchie - An X browser interface to Archie, Patch01
  4. Message-ID: <1993Aug5.184314.920@sparky.sterling.com>
  5. X-Md4-Signature: 6ff603b52941e8727fa004d4ffdef7ce
  6. Sender: chris@sparky.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Thu, 5 Aug 1993 18:43:14 GMT
  9. Approved: chris@sterling.com
  10.  
  11. Submitted-by: ferguson@cs.rochester.edu (George Ferguson)
  12. Posting-number: Volume 20, Issue 107
  13. Archive-name: xarchie/patch01
  14. Environment: X11
  15. Patch-To: xarchie: Volume 20, Issue 29-52
  16.  
  17. This patch brings xarchie version 2.0.6 up to version 2.0.7. It and
  18. all previous patches and the complete xarchie-2.0.7 distribution are
  19. available from export.lcs.mit.edu in /contrib.
  20.  
  21. This patch fixes a few minor bugs, adds some weight and server
  22. information, and adds information to the manpage and PROBLEMS file
  23. based on feedback from the 2.0.6 release.
  24.  
  25. Save this patch into a file and apply it by doing "patch -p <file" in
  26. the xarchie source directory, or apply it from within your newsreader
  27. by doing "|patch -p -d directory" (if your newsreader supports it).
  28. Don't forget the "-p" flag or the subdirectories will not get properly
  29. patched.
  30.  
  31. #! /bin/sh
  32. # This is a shell archive.  Remove anything before this line, then feed it
  33. # into a shell via "sh file" or similar.  To overwrite existing files,
  34. # type "sh file -c".
  35. # Contents:  xarchie.p1
  36. # Wrapped by chris@sparky on Thu Aug  5 13:38:14 1993
  37. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  38. echo If this archive is complete, you will see the following message:
  39. echo '          "shar: End of archive 1 (of 1)."'
  40. if test -f 'xarchie.p1' -a "${1}" != "-c" ; then 
  41.   echo shar: Will not clobber existing file \"'xarchie.p1'\"
  42. else
  43.   echo shar: Extracting \"'xarchie.p1'\" \(29237 characters\)
  44.   sed "s/^X//" >'xarchie.p1' <<'END_OF_FILE'
  45. X*** ../xarchie-2.0.6/patchlevel.h    Mon Jun  7 12:54:36 1993
  46. X--- patchlevel.h    Wed Jun 30 14:53:44 1993
  47. X***************
  48. X*** 9,16 ****
  49. X   * Version 2.0.4: 14 May 1993
  50. X   * Version 2.0.5:  1 Jun 1993
  51. X   * Version 2.0.6:  7 Jun 1993
  52. X   */
  53. X  
  54. X  #undef BETA
  55. X  #define VERSION        2.0
  56. X! #define PATCHLEVEL    6
  57. X--- 9,17 ----
  58. X   * Version 2.0.4: 14 May 1993
  59. X   * Version 2.0.5:  1 Jun 1993
  60. X   * Version 2.0.6:  7 Jun 1993
  61. X+  * Version 2.0.7: 30 Jun 1993
  62. X   */
  63. X  
  64. X  #undef BETA
  65. X  #define VERSION        2.0
  66. X! #define PATCHLEVEL    7
  67. X*** ../xarchie-2.0.6/PROBLEMS    Tue Jun  1 13:52:15 1993
  68. X--- PROBLEMS    Fri Jun 18 14:15:01 1993
  69. X***************
  70. X*** 3,9 ****
  71. X                 George Ferguson
  72. X                ferguson@cs.rochester.edu
  73. X  
  74. X!                   1 Jun 1993
  75. X  
  76. X  The following list includes problems that I have heard about
  77. X  repeatedly, and which I am tired of hearing about. Sometimes there's a
  78. X--- 3,9 ----
  79. X                 George Ferguson
  80. X                ferguson@cs.rochester.edu
  81. X  
  82. X!                   16 Jun 1993
  83. X  
  84. X  The following list includes problems that I have heard about
  85. X  repeatedly, and which I am tired of hearing about. Sometimes there's a
  86. X***************
  87. X*** 35,40 ****
  88. X--- 35,45 ----
  89. X         _XtQString
  90. X         _XtQFont
  91. X         _XtQFontStruct
  92. X+  4b. I get something like the following from my linker under Solaris2.2:
  93. X+     ld: Undefined symbol 
  94. X+        _step
  95. X+        _compile
  96. X+        _advance
  97. X   5. The linker complains about -lresolv.
  98. X   6. I can't see anything in the Text widgets, but xarchie appears to
  99. X      be doing something.
  100. X***************
  101. X*** 63,68 ****
  102. X--- 68,76 ----
  103. X      Resource id in failed request:  0x0
  104. X      Serial number of failed request:  147
  105. X      Current serial number in output stream:  149
  106. X+ 18. When I try to run xarchie, especially with an X terminal, it says
  107. X+     it can't open the display. I have my DISPLAY variable set
  108. X+     correctly.
  109. X  
  110. X  
  111. X  QUESTIONS and ANSWERS:
  112. X***************
  113. X*** 118,123 ****
  114. X--- 126,163 ----
  115. X      Your mileage may vary. I suggest doing this if only if necessary
  116. X      (that is, if your executable isn't executable).
  117. X  
  118. X+     >From: palm@tokyo.rockwell.com (Stephen [kiwin] PALM)
  119. X+     >
  120. X+     >Using -Bstatic can make a huge binary.  Xmu is the only file that needs to
  121. X+     >be static  so surrounding Xmu with -Bstatic -Bdynamic in the final
  122. X+     >compile works too.  eg:  ... -lXaw -Bstatic -lXmu -Bdynamic -lXt ...
  123. X+ 
  124. X+     >From: ivan@stat.ph.albany.edu (Ivan Auger)
  125. X+     >
  126. X+     >You need sun patch 100573-03. The problem is caused by an
  127. X+     >incorrectly built Xmu library.  Then you will not the undefined
  128. X+     >ld symbols: 
  129. X+     >  _get_wmShellWidgetClass
  130. X+     > _get_applicationShellWidgetClass
  131. X+     >
  132. X+     >Patch-ID# 100573-03
  133. X+     >Keywords: libxmu, shared, symbols, patch, ld, cte2336, libXmu,
  134. X+     >          undefined, 100170-06 
  135. X+     >Synopsis: OpenWindows 3.0: ld patch 100170-06 causes undefined
  136. X+     >          symbols when used with shared libXmu 
  137. X+     >Date: 08-Jul-92
  138. X+     >SunOS release: 4.1.1, 4.1.2
  139. X+     >Unbundled Product: OpenWindows
  140. X+     >Unbundled Release: 3.0
  141. X+     >Topic: Patch for libXmu
  142. X+     >BugId's fixed with this patch: 1087332
  143. X+     >Architectures for which this patch is available: sun4
  144. X+     >Patches which may conflict with this patch: 
  145. X+     >Obsoleted by:  
  146. X+     >Files included with this patch: libXmu.so.4.0, libXmu.sa.4.0
  147. X+     >Problem Description: With patched ld and libc, customer is
  148. X+                           getting undefined symbols
  149. X+ 
  150. X   4. I get the following message from my linker:
  151. X      ld: Undefined symbol 
  152. X         _XtStrings 
  153. X***************
  154. X*** 153,158 ****
  155. X--- 193,214 ----
  156. X      It could also mean you're using X11R3, in which case all bets are
  157. X      off. 
  158. X  
  159. X+  4b. I get something like the following from my linker under Solaris2.2:
  160. X+     ld: Undefined symbol 
  161. X+        _step
  162. X+        _compile
  163. X+        _advance
  164. X+ 
  165. X+     Apparently in Solaris2.2, you need to link against the "string
  166. X+     pattern-matching  & pathname manipulation library, libgen." How
  167. X+     they get "gen" from this I don't know, but you need it to find the
  168. X+     regexp routines. Add -lgen to the LOCAL_LIBRARIES line in the
  169. X+     Imakefile and rebuild (xmkmf, etc.).
  170. X+ 
  171. X+     Since xarchie doesn't make use of the FWF Directory regexp
  172. X+     capabilities anyway, you could just add "DEFINES=-DNO_REGEXP" to
  173. X+     the Imakefile there, but I haven't tested that.
  174. X+ 
  175. X   5. The linker complains about -lresolv.
  176. X  
  177. X      From the INSTALL file:
  178. X***************
  179. X*** 315,317 ****
  180. X--- 371,393 ----
  181. X      Further suggestions about this should be directed to Brian Totty
  182. X      at the FWF (tooty@cs.uiuc.edu, free-widgets-request@kzoo.cs.uiuc.edu),
  183. X      although you can CC: me so I know what's going on. 
  184. X+ 
  185. X+ 18. When I try to run xarchie, especially with an X terminal, it says
  186. X+     it can't open the display. I have my DISPLAY variable set
  187. X+     correctly.
  188. X+ 
  189. X+     As far as I can tell, this problem arises with systems (Suns?)
  190. X+     that run NIS for nameserver lookups. Xarchie uses hostname lookup
  191. X+     for two things: (1) to interpret the DISPLAY variable and
  192. X+     determine which host to open the display on; and (2) to lookup the
  193. X+     IP addresses of host for Archie queries and ftp connections. For
  194. X+     the second function, you presumably need DNS lookups, which is why
  195. X+     some systems require "-lresolv" to be linked in. It's my guess
  196. X+     that this somehow screws up the interpretation of $DISPLAY.
  197. X+ 
  198. X+     A workaround is to specify the IP address of the displaying host
  199. X+     in the DISPLAY variable, as in "NNN.NNN.NNN.NNN:0.0" rather than
  200. X+     "foobar:0.0". This results in inet_addr() begin called rather than
  201. X+     gethostbyname() (in the XOpenDisplay() call), for those of you
  202. X+     interested in working on this. Xarchie also interprets numeric IP
  203. X+     addresses in this way, in case you care.
  204. X*** ../xarchie-2.0.6/README    Mon Jun  7 12:51:36 1993
  205. X--- README    Wed Jun 30 15:09:57 1993
  206. X***************
  207. X*** 2,8 ****
  208. X  
  209. X          George Ferguson, ferguson@cs.rochester.edu
  210. X  
  211. X!              Last Change: 14 May 1993
  212. X  
  213. X  DISCLAIMER:
  214. X  
  215. X--- 2,8 ----
  216. X  
  217. X          George Ferguson, ferguson@cs.rochester.edu
  218. X  
  219. X!              Last Change: 30 Jun 1993
  220. X  
  221. X  DISCLAIMER:
  222. X  
  223. X***************
  224. X*** 72,77 ****
  225. X--- 72,104 ----
  226. X       in the manpage.
  227. X  
  228. X  HISTORY:
  229. X+ 
  230. X+ Version 2.0.7 - 30 Jun 1993
  231. X+ - Removed extra quotes in types.c.
  232. X+   <DOUG@JHUVMS.HCF.JHU.EDU>
  233. X+ - Fixed setting of menu mark on Host menu (m-settings.c).
  234. X+   <tda10@cus.cam.ac.uk>
  235. X+ - Duplicate line for ftpStripButton.fromVert in Xarchie.ad deleted.
  236. X+   <dcs@neutron.chem.yale.edu>
  237. X+ - Added weights for France (weight.c)
  238. X+   <Hugues.Leroy@irisa.fr>
  239. X+ - Added weights for Germany (weight.c)
  240. X+   <zink@post.inf-wiss.ivp.uni-konstanz.de>,<liebe@hrz.th-darmstadt.de>
  241. X+ - Added new server in Switzerland (Xarchie.ad)
  242. X+   <lenggenhager@gate.switch.ch>
  243. X+ - Added text regarding undefined symbols in OW to PROBLEMS file.
  244. X+   <ivan@stat.ph.albany.edu>, <palm@tokyo.rockwell.com>
  245. X+ - Fixes for SCO OpenDesktop 3.0 (FWF/Dir/Directory.[hc])
  246. X+   <gws@xenitec.xenitec.on.ca>
  247. X+ - Fixes for Encore Multimax (Umax 4.3)
  248. X+   <Gerry.Tomlinson@newcastle.ac.uk>
  249. X+ - Added line to About panel referring to "archie-admin" address.
  250. X+ - Changed identifier "regexp" in FWF/Dir/RegExp.c since it conflicts
  251. X+   with a library function on some platforms.
  252. X+ - Deleted most sample weights from Xarchie.ad since we prefer to use the
  253. X+   auto-select mechanism in weight.c anyway.
  254. X+ - Added text to PROBLEMS file for people with NIS problems regarding
  255. X+   the DISPLAY variable.
  256. X  
  257. X  Version 2.0.6 - 7 Jun 1993
  258. X  - Allow SVR4 as well as SYSV for getwd() in Director.c, FChooser.c.
  259. X*** ../xarchie-2.0.6/Xarchie.ad    Fri May 14 11:17:59 1993
  260. X--- Xarchie.ad    Wed Jun 30 15:17:52 1993
  261. X***************
  262. X*** 9,14 ****
  263. X--- 9,19 ----
  264. X  ! 13 May 1993: Updated US weights to include "org", and others to have
  265. X  !           correct US lists (even though they're all commented out).
  266. X  ! 14 May 1993: Cleanups for when MULTILIST not used (more List resources).
  267. X+ ! 30 Jun 1993: Deleted redundant entry for ftpStripButton.fromVert.
  268. X+ !           Added archie.switch.ch to hostMenu.
  269. X+ !           Deleted sample weights (see weight.c) since we prefer
  270. X+ !           to auto-detect the weightlist anyway.
  271. X+ !              Added line to About panel referring to archie-admin address.
  272. X  !
  273. X  
  274. X  !    -    -    -    -    -    -    -    -    -
  275. X***************
  276. X*** 80,106 ****
  277. X  !3   uk de nl fi fr eu.net\n\
  278. X  !100 au nz jp
  279. X  
  280. X- ! For Sweden, from Peter J Nilsson (pjn@ida.liu.se):
  281. X- !Xarchie*hostWeights:\
  282. X- !1   se\n\
  283. X- !2   fi dk no\n\
  284. X- !10  eu.net nl fr de\n\
  285. X- !20  edu com gov net mil us org\n\
  286. X- !100 au nz jp
  287. X- 
  288. X- ! For the UK, from GF:
  289. X- !Xarchie*hostWeights:\
  290. X- !1   uk\n\
  291. X- !2   se fi dk no nl fr de eu.net\n\
  292. X- !20  edu com gov net mil us org\n\
  293. X- !100 au nz jp
  294. X- 
  295. X- ! For New Zealand, from Andy.Linton@comp.vuw.ac.nz:
  296. X- !Xarchie*hostWeights:\
  297. X- !1   nz\n\
  298. X- !10  edu com gov net mil us org jp\n\
  299. X- !20  se fi dk no nl fr de eu.net uk au
  300. X- 
  301. X  !    -    -    -    -    -    -    -    -    -
  302. X  !    -    -    -    -    -    -    -    -    -
  303. X  ! Defaults for all the classes of widgets
  304. X--- 85,90 ----
  305. X***************
  306. X*** 502,508 ****
  307. X  Xarchie*settingsForm*ftpStripButton.fromVert:    ftpTypeButton
  308. X  Xarchie*settingsForm*ftpStripButton.fromHoriz:    ftpTraceButton
  309. X  Xarchie*settingsForm*ftpStripButton.horizDistance: 52
  310. X- Xarchie*settingsForm*ftpStripButton.fromVert:    ftpTypeButton
  311. X  Xarchie*settingsForm*ftpStripLabel.fromHoriz:    ftpStripButton
  312. X  Xarchie*settingsForm*ftpStripLabel.fromVert:    ftpTypeButton
  313. X  Xarchie*settingsForm*ftpStripLabel.font:    xarchieFont
  314. X--- 486,491 ----
  315. X***************
  316. X*** 734,741 ****
  317. X  Xarchie*aboutShell*aboutLabel5.label:    \ \ \ \ \ \ \ \ \ \ \ \ \ Prospero: info-prospero@isi.edu
  318. X  Xarchie*aboutShell*aboutLabel5.fromVert:    aboutLabel4
  319. X  
  320. X  Xarchie*aboutShell*aboutDoneButton.label:    Dismiss
  321. X! Xarchie*aboutShell*aboutDoneButton.fromVert:    aboutLabel5
  322. X  Xarchie*aboutShell*aboutDoneButton.translations:#override\n\
  323. X      <BtnDown>,<BtnUp>:    about-done() \n
  324. X  
  325. X--- 717,727 ----
  326. X  Xarchie*aboutShell*aboutLabel5.label:    \ \ \ \ \ \ \ \ \ \ \ \ \ Prospero: info-prospero@isi.edu
  327. X  Xarchie*aboutShell*aboutLabel5.fromVert:    aboutLabel4
  328. X  
  329. X+ Xarchie*aboutShell*aboutLabel6.label:    \ \ Archie servers: archie-admin@<archie-host>
  330. X+ Xarchie*aboutShell*aboutLabel6.fromVert:    aboutLabel5
  331. X+ 
  332. X  Xarchie*aboutShell*aboutDoneButton.label:    Dismiss
  333. X! Xarchie*aboutShell*aboutDoneButton.fromVert:    aboutLabel6
  334. X  Xarchie*aboutShell*aboutDoneButton.translations:#override\n\
  335. X      <BtnDown>,<BtnUp>:    about-done() \n
  336. X  
  337. X***************
  338. X*** 835,841 ****
  339. X  Xarchie*hostMenuItem9.label:    archie.ncu.edu.tw      (Taiwan)
  340. X  Xarchie*hostMenuItem10.label:    archie.nz              (New Zealand)
  341. X  Xarchie*hostMenuItem11.label:    archie.th-darmstadt.de (Germany)
  342. X! Xarchie*numHosts:               12
  343. X  Xarchie*hostMenu*leftMargin:    15
  344. X  ! These translations are for popups only
  345. X  Xarchie*hostMenu.translations:#override\n\
  346. X--- 821,828 ----
  347. X  Xarchie*hostMenuItem9.label:    archie.ncu.edu.tw      (Taiwan)
  348. X  Xarchie*hostMenuItem10.label:    archie.nz              (New Zealand)
  349. X  Xarchie*hostMenuItem11.label:    archie.th-darmstadt.de (Germany)
  350. X! Xarchie*hostMenuItem12.label:    archie.switch.ch       (Switzerland)
  351. X! Xarchie*numHosts:               13
  352. X  Xarchie*hostMenu*leftMargin:    15
  353. X  ! These translations are for popups only
  354. X  Xarchie*hostMenu.translations:#override\n\
  355. X*** ../xarchie-2.0.6/Xarchie.ad.h    Fri May 14 13:06:24 1993
  356. X--- Xarchie.ad.h    Wed Jun 30 15:15:48 1993
  357. X***************
  358. X*** 295,301 ****
  359. X  "Xarchie*settingsForm*ftpStripButton.fromVert:    ftpTypeButton",
  360. X  "Xarchie*settingsForm*ftpStripButton.fromHoriz:    ftpTraceButton",
  361. X  "Xarchie*settingsForm*ftpStripButton.horizDistance: 52",
  362. X- "Xarchie*settingsForm*ftpStripButton.fromVert:    ftpTypeButton",
  363. X  "Xarchie*settingsForm*ftpStripLabel.fromHoriz:    ftpStripButton",
  364. X  "Xarchie*settingsForm*ftpStripLabel.fromVert:    ftpTypeButton",
  365. X  "Xarchie*settingsForm*ftpStripLabel.font:    xarchieFont",
  366. X--- 295,300 ----
  367. X***************
  368. X*** 454,461 ****
  369. X  "Xarchie*aboutShell*aboutLabel4.vertDistance:    10",
  370. X  "Xarchie*aboutShell*aboutLabel5.label:    \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Prospero: info-prospero@isi.edu",
  371. X  "Xarchie*aboutShell*aboutLabel5.fromVert:    aboutLabel4",
  372. X  "Xarchie*aboutShell*aboutDoneButton.label:    Dismiss",
  373. X! "Xarchie*aboutShell*aboutDoneButton.fromVert:    aboutLabel5",
  374. X  "Xarchie*aboutShell*aboutDoneButton.translations:#override\\n\
  375. X      <BtnDown>,<BtnUp>:    about-done() \\n",
  376. X  "Xarchie*ftpTraceShell.title:        Xarchie Ftp Trace",
  377. X--- 453,462 ----
  378. X  "Xarchie*aboutShell*aboutLabel4.vertDistance:    10",
  379. X  "Xarchie*aboutShell*aboutLabel5.label:    \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Prospero: info-prospero@isi.edu",
  380. X  "Xarchie*aboutShell*aboutLabel5.fromVert:    aboutLabel4",
  381. X+ "Xarchie*aboutShell*aboutLabel6.label:                   Archie servers: archie-admin@<archie-host>",
  382. X+ "Xarchie*aboutShell*aboutLabel6.fromVert:    aboutLabel5",
  383. X  "Xarchie*aboutShell*aboutDoneButton.label:    Dismiss",
  384. X! "Xarchie*aboutShell*aboutDoneButton.fromVert:    aboutLabel6",
  385. X  "Xarchie*aboutShell*aboutDoneButton.translations:#override\\n\
  386. X      <BtnDown>,<BtnUp>:    about-done() \\n",
  387. X  "Xarchie*ftpTraceShell.title:        Xarchie Ftp Trace",
  388. X***************
  389. X*** 534,540 ****
  390. X  "Xarchie*hostMenuItem9.label:    archie.ncu.edu.tw      (Taiwan)",
  391. X  "Xarchie*hostMenuItem10.label:    archie.nz              (New Zealand)",
  392. X  "Xarchie*hostMenuItem11.label:    archie.th-darmstadt.de (Germany)",
  393. X! "Xarchie*numHosts:               12",
  394. X  "Xarchie*hostMenu*leftMargin:    15",
  395. X  "Xarchie*hostMenu.translations:#override\\n\
  396. X       <EnterWindow>:     highlight()             \\n\
  397. X--- 535,542 ----
  398. X  "Xarchie*hostMenuItem9.label:    archie.ncu.edu.tw      (Taiwan)",
  399. X  "Xarchie*hostMenuItem10.label:    archie.nz              (New Zealand)",
  400. X  "Xarchie*hostMenuItem11.label:    archie.th-darmstadt.de (Germany)",
  401. X! "Xarchie*hostMenuItem12.label:    archie.switch.ch       (Switzerland)",
  402. X! "Xarchie*numHosts:               13",
  403. X  "Xarchie*hostMenu*leftMargin:    15",
  404. X  "Xarchie*hostMenu.translations:#override\\n\
  405. X       <EnterWindow>:     highlight()             \\n\
  406. X*** ../xarchie-2.0.6/about.c    Fri May 14 10:34:46 1993
  407. X--- about.c    Wed Jun 30 15:07:48 1993
  408. X***************
  409. X*** 8,13 ****
  410. X--- 8,14 ----
  411. X   * 13 May 1993: Fixed array bound error in popupAboutPanel().
  412. X   *        Changed the way the version info is printed.
  413. X   *        Changed style of animation (spare time killer).
  414. X+  * 30 Jun 1993: Added one more line to About panel for "archie-admin" note.
  415. X   */
  416. X  #include <stdio.h>
  417. X  #include <X11/Intrinsic.h>
  418. X***************
  419. X*** 179,184 ****
  420. X--- 180,186 ----
  421. X                      form,args,1);
  422. X      (void)XtCreateManagedWidget("aboutLabel4",labelWidgetClass,form,NULL,0);
  423. X      (void)XtCreateManagedWidget("aboutLabel5",labelWidgetClass,form,NULL,0);
  424. X+     (void)XtCreateManagedWidget("aboutLabel6",labelWidgetClass,form,NULL,0);
  425. X      (void)XtCreateManagedWidget("aboutDoneButton",commandWidgetClass,
  426. X                  form,NULL,0);
  427. X      XtRealizeWidget(aboutShell);
  428. X*** ../xarchie-2.0.6/actions.c    Thu Apr 22 15:28:56 1993
  429. X--- actions.c    Wed Jun 30 15:01:04 1993
  430. X***************
  431. X*** 6,11 ****
  432. X--- 6,12 ----
  433. X   *
  434. X   * George Ferguson, ferguson@cs.rochester.edu, 2 Nov 1991.
  435. X   * Version 2.0: 23 Apr 1993.
  436. X+  * 30 Jun 1993: Use sindex() from support.c rather than strstr(3).
  437. X   */
  438. X  
  439. X  #include <stdio.h>
  440. X***************
  441. X*** 30,35 ****
  442. X--- 31,37 ----
  443. X  #include "debug.h"
  444. X  extern void abortDirsend();        /* dirsend.c */
  445. X  extern void ftpAbortTransfer();        /* ftp-actions.c */
  446. X+ extern char *sindex();            /* support.c (replaces strstr(3)) */
  447. X  
  448. X  /*
  449. X   * Functions defined here
  450. X***************
  451. X*** 123,129 ****
  452. X      case GfExactSubstr:
  453. X      case GfSubcase:
  454. X      case GfExactSubcase:
  455. X!         gif = (strstr(s,"gif") || strstr(s,"GIF"));
  456. X          break;
  457. X      case GfRegexp:
  458. X      case GfExactRegexp:
  459. X--- 125,131 ----
  460. X      case GfExactSubstr:
  461. X      case GfSubcase:
  462. X      case GfExactSubcase:
  463. X!         gif = (sindex(s,"gif") || sindex(s,"GIF"));
  464. X          break;
  465. X      case GfRegexp:
  466. X      case GfExactRegexp:
  467. X*** ../xarchie-2.0.6/fchooser.c    Fri May 14 10:58:41 1993
  468. X--- fchooser.c    Wed Jun 30 14:54:08 1993
  469. X***************
  470. X*** 20,25 ****
  471. X--- 20,26 ----
  472. X   * George Ferguson, ferguson@cs.rochester.edu, 23 Apr 1993.
  473. X   * 13 May 1993: Fixes for when FILECHOOSER not defined.
  474. X   * 14 May 1993: More of the same (find MAXPATHLEN), initialize dir.
  475. X+  * 30 Jun 1993: Encore umax fixes from Gerry.Tomlinson@newcastle.ac.uk.
  476. X   *
  477. X   */
  478. X  #include "config.h"
  479. X***************
  480. X*** 30,35 ****
  481. X--- 31,39 ----
  482. X  #include <stdio.h>
  483. X  #include <sys/types.h>
  484. X  #include <sys/stat.h>
  485. X+ #ifndef S_ISDIR
  486. X+ # define S_ISDIR(m) (m & S_IFDIR)    /* Encore umax */
  487. X+ #endif
  488. X  #include <X11/Intrinsic.h>
  489. X  #include <X11/StringDefs.h>
  490. X  #include <X11/keysym.h>
  491. X*** ../xarchie-2.0.6/ftp.c    Tue Jun  1 13:42:37 1993
  492. X--- ftp.c    Wed Jun 30 14:54:16 1993
  493. X***************
  494. X*** 38,46 ****
  495. X--- 38,50 ----
  496. X   *
  497. X   * 28 Apr 1993: Status mesage for bytes transferred was backwards.
  498. X   *  1 Jun 1993: Fixes for ISC. Are these needed for other SYS5?
  499. X+  * 30 Jun 1993: Fixes for Encore Umax (used cpp symbol "umax" as a guess).
  500. X   */
  501. X  #include <stdio.h>
  502. X  #include <errno.h>
  503. X+ #ifndef MSDOS
  504. X+ extern int errno;    /* Encore needs this despite <errno.h> */
  505. X+ #endif
  506. X  #include "config.h"
  507. X  #ifdef HAVE_SYS_PARAM_H
  508. X  #include <sys/param.h>
  509. X***************
  510. X*** 62,72 ****
  511. X   * Portable non-blocking I/O macros, I hope.
  512. X   *   hp300 : From Andy.Linton@comp.vuw.ac.nz
  513. X   *   sgi   : From amoss@cs.huji.ac.il
  514. X   */
  515. X  #if defined(hp300)
  516. X    /* Here's for BSD, maybe, but Sys5 can't tell this from EOF. */
  517. X  # include <fcntl.h>
  518. X! # define MAKE_NONBLOCKING(fd) fcntl(fd,F_SETFL,O_NDELAY)
  519. X  # define ITWOULDBLOCK EWOULDBLOCK
  520. X  #else
  521. X  #if defined(sgi)
  522. X--- 66,77 ----
  523. X   * Portable non-blocking I/O macros, I hope.
  524. X   *   hp300 : From Andy.Linton@comp.vuw.ac.nz
  525. X   *   sgi   : From amoss@cs.huji.ac.il
  526. X+  *   umax  : From Gerry.Tomlinson@newcastle.ac.uk
  527. X   */
  528. X  #if defined(hp300)
  529. X    /* Here's for BSD, maybe, but Sys5 can't tell this from EOF. */
  530. X  # include <fcntl.h>
  531. X! # define MAKE_BONBLOCKING(fd) fcntl(fd,F_SETFL,O_NDELAY)
  532. X  # define ITWOULDBLOCK EWOULDBLOCK
  533. X  #else
  534. X  #if defined(sgi)
  535. X***************
  536. X*** 74,85 ****
  537. X  # define MAKE_NONBLOCKING(fd) fcntl(fd,F_SETFL,O_NONBLOCK)
  538. X  # define ITWOULDBLOCK EWOULDBLOCK
  539. X  #else
  540. X    /* This is POSIX, the default, which uses EAGAIN. */
  541. X  # include <fcntl.h>
  542. X  # define MAKE_NONBLOCKING(fd) fcntl(fd,F_SETFL,O_NONBLOCK)
  543. X  # define ITWOULDBLOCK EAGAIN
  544. X! #endif
  545. X! #endif
  546. X  /*
  547. X   * Networking includes from Brendan Kehoe (dirsend.c)
  548. X   */
  549. X--- 79,95 ----
  550. X  # define MAKE_NONBLOCKING(fd) fcntl(fd,F_SETFL,O_NONBLOCK)
  551. X  # define ITWOULDBLOCK EWOULDBLOCK
  552. X  #else
  553. X+ #if defined(umax)
  554. X+ # define MAKE_NONBLOCKING(fd) fcntl(fd,F_SETFL,FNDELAY)
  555. X+ # define ITWOULDBLOCK EWOULDBLOCK
  556. X+ #else
  557. X    /* This is POSIX, the default, which uses EAGAIN. */
  558. X  # include <fcntl.h>
  559. X  # define MAKE_NONBLOCKING(fd) fcntl(fd,F_SETFL,O_NONBLOCK)
  560. X  # define ITWOULDBLOCK EAGAIN
  561. X! #endif /* umax */
  562. X! #endif /* sgi */
  563. X! #endif /* hp300 */
  564. X  /*
  565. X   * Networking includes from Brendan Kehoe (dirsend.c)
  566. X   */
  567. X*** ../xarchie-2.0.6/help-text1.h    Mon Jun  7 12:56:16 1993
  568. X--- help-text1.h    Wed Jun 30 15:16:09 1993
  569. X***************
  570. X*** 2,8 ****
  571. X  NULL,
  572. X  "NAME\n",
  573. X  "     xarchie - X11 browser interface  to\n",
  574. X! "     archie, version 2.0.6\n",
  575. X  "\n",
  576. X  NULL,
  577. X  "SYNOPSIS\n",
  578. X--- 2,8 ----
  579. X  NULL,
  580. X  "NAME\n",
  581. X  "     xarchie - X11 browser interface  to\n",
  582. X! "     archie, version 2.0.7\n",
  583. X  "\n",
  584. X  NULL,
  585. X  "SYNOPSIS\n",
  586. X***************
  587. X*** 2255,2265 ****
  588. X  "\n",
  589. X  NULL,
  590. X  " Reporting Bugs\n",
  591. X! "     If you  have  any  questions  about\n",
  592. X! "     Archie  itself,  write  to  archie-\n",
  593. X! "     l@cs.mcgill.ca. If you  have  ques-\n",
  594. X! "     tions   about  Prospero,  write  to\n",
  595. X! "     info-prospero@isi.edu.\n",
  596. X  "\n",
  597. X  "     If you have a problem, please  read\n",
  598. X  "     the  \"Known  Bugs\"  section  first,\n",
  599. X--- 2255,2270 ----
  600. X  "\n",
  601. X  NULL,
  602. X  " Reporting Bugs\n",
  603. X! "     If you have problems with or  ques-\n",
  604. X! "     tions  about  an  individual Archie\n",
  605. X! "     server site,  contact  archie-admin\n",
  606. X! "     at that site. If you have any ques-\n",
  607. X! "     tions about Archie itself, write to\n",
  608. X! "     info@bunyip.com.  If you have ques-\n",
  609. X! "     tions  about  Prospero,  write   to\n",
  610. X! "     info-prospero@isi.edu.  The  USENET\n",
  611. X! "     newsgroup  comp.archives.admin  may\n",
  612. X! "     also be helpful.\n",
  613. X  "\n",
  614. X  "     If you have a problem, please  read\n",
  615. X  "     the  \"Known  Bugs\"  section  first,\n",
  616. X***************
  617. X*** 2291,2297 ****
  618. X  "     are in charge of the Archie project\n",
  619. X  "     itself.  Individual archie servers,\n",
  620. X  "     however,  are maintained locally at\n",
  621. X! "     each server site.\n",
  622. X  "\n",
  623. X  NULL,
  624. X  "AUTHOR\n",
  625. X--- 2296,2303 ----
  626. X  "     are in charge of the Archie project\n",
  627. X  "     itself.  Individual archie servers,\n",
  628. X  "     however,  are maintained locally at\n",
  629. X! "     each    server    site     (archie-\n",
  630. X! "     admin@<server-host>).\n",
  631. X  "\n",
  632. X  NULL,
  633. X  "AUTHOR\n",
  634. X*** ../xarchie-2.0.6/help-text2.h    Mon Jun  7 12:56:17 1993
  635. X--- help-text2.h    Wed Jun 30 15:16:10 1993
  636. X***************
  637. X*** 109,114 ****
  638. X  ," Known Bugs"},{
  639. X  2256
  640. X  ," Reporting Bugs"},{
  641. X! 2296
  642. X  ,"AUTHOR"},{
  643. X  000,NULL}
  644. X--- 109,114 ----
  645. X  ," Known Bugs"},{
  646. X  2256
  647. X  ," Reporting Bugs"},{
  648. X! 2302
  649. X  ,"AUTHOR"},{
  650. X  000,NULL}
  651. X*** ../xarchie-2.0.6/m-settings.c    Thu Apr 22 15:41:12 1993
  652. X--- m-settings.c    Thu Jun 17 10:41:50 1993
  653. X***************
  654. X*** 435,440 ****
  655. X--- 435,446 ----
  656. X      setNiceMenuMark(appResources.niceLevel);
  657. X  }
  658. X  
  659. X+ /*
  660. X+  * This function is more omcplicated than the others, since the value
  661. X+  * of the archieHost resource (that we're getting passed here as the "host"
  662. X+  * parameter) is a prefix of the corresponding menu label, since after
  663. X+  * whitespace there can be informative garbage in the menu item.
  664. X+  */
  665. X  void
  666. X  setHostMenuMark(host)
  667. X  char *host;
  668. X***************
  669. X*** 441,452 ****
  670. X  {
  671. X      Arg args[1];
  672. X      char *str;
  673. X!     int i;
  674. X  
  675. X      for (i=0; i < appResources.numHosts; i++) {
  676. X      XtSetArg(args[0],XtNlabel,&str);
  677. X      XtGetValues((Widget)(hostMenuItems[i]),args,1);
  678. X!     if (strncmp(str,host,strlen(host)) == 0)
  679. X          break;
  680. X      }
  681. X      if (i < appResources.numHosts)
  682. X--- 447,462 ----
  683. X  {
  684. X      Arg args[1];
  685. X      char *str;
  686. X!     int i,l;
  687. X  
  688. X+     l = strlen(host);
  689. X      for (i=0; i < appResources.numHosts; i++) {
  690. X      XtSetArg(args[0],XtNlabel,&str);
  691. X      XtGetValues((Widget)(hostMenuItems[i]),args,1);
  692. X!     /* Given host must match the entire prefix up to whitespace (if any) */
  693. X!     if ((strlen(str) >= l) &&
  694. X!         (*(str+l) == '\0' || *(str+l) == ' ') &&
  695. X!         strncmp(str,host,l) == 0)
  696. X          break;
  697. X      }
  698. X      if (i < appResources.numHosts)
  699. X*** ../xarchie-2.0.6/types.c    Thu Apr 22 15:47:53 1993
  700. X--- types.c    Wed Jun 30 14:54:28 1993
  701. X***************
  702. X*** 6,11 ****
  703. X--- 6,12 ----
  704. X   * George Ferguson, ferguson@cs.rochester.edu, 12 Sep 1991.
  705. X   * Version 2.0: 23 Apr 1993: For pre-R5 systems, we include the string-
  706. X   *                     to-font-struct converter.
  707. X+  * 30 Jun 1993: Removed extra quotes in stringToSearchType().
  708. X   */
  709. X  
  710. X  #include <X11/IntrinsicP.h>
  711. X***************
  712. X*** 218,226 ****
  713. X      return(GfRegexp);
  714. X      if (strcmp(s,GfNExactSubstr) == 0)
  715. X      return(GfExactSubstr);
  716. X!     if (strcmp(s,"GfNExactSubcase") == 0)
  717. X      return(GfExactSubcase);
  718. X!     if (strcmp(s,"GfNExactRegexp") == 0)
  719. X      return(GfExactRegexp);
  720. X      return(GfError);
  721. X  }
  722. X--- 219,227 ----
  723. X      return(GfRegexp);
  724. X      if (strcmp(s,GfNExactSubstr) == 0)
  725. X      return(GfExactSubstr);
  726. X!     if (strcmp(s,GfNExactSubcase) == 0)
  727. X      return(GfExactSubcase);
  728. X!     if (strcmp(s,GfNExactRegexp) == 0)
  729. X      return(GfExactRegexp);
  730. X      return(GfError);
  731. X  }
  732. X*** ../xarchie-2.0.6/weight.c    Mon Jun  7 12:53:48 1993
  733. X--- weight.c    Wed Jun 30 14:54:45 1993
  734. X***************
  735. X*** 6,11 ****
  736. X--- 6,13 ----
  737. X   * 13 May 1993: Add "org" to US weights and make sure others have proper
  738. X   *        US lists.
  739. X   *  7 Jun 1993: Added weights for Norway, from janl@ifi.uio.no.
  740. X+  * 30 Jun 1993: Added weights for France, from Hugues.Leroy@irisa.fr
  741. X+  *              Added weights for Germany, Volker.Zink@inf-wiss.uni-konstanz.de
  742. X   */
  743. X  
  744. X  #include <stdio.h>
  745. X***************
  746. X*** 95,100 ****
  747. X--- 97,114 ----
  748. X  2   fi dk se\n\
  749. X  10  eu.net nl fr\n\
  750. X  20  edu com gov net de\n\
  751. X+ 100 au nz jp" },
  752. X+ /* For France, from Hugues.Leroy@irisa.fr */
  753. X+     { "fr", "1   fr\n\
  754. X+ 2   se fi dk no nl uk de eu.net\n\
  755. X+ 20  edu com gov net mil us org\n\
  756. X+ 100 au nz jp" },
  757. X+ /* For Germany, from Volker.Zink@inf-wiss.uni-konstanz.de, modified with
  758. X+    comments from liebe@hrz.th-darmstadt.de. */
  759. X+     { "de", "1   de\n\
  760. X+ 2   ch uk dk nl fr eu.net\n\
  761. X+ 10  se fi no\n\
  762. X+ 20  edu com gov net mil us\n\
  763. X  100 au nz jp" },
  764. X  };
  765. X  
  766. X*** ../xarchie-2.0.6/xarchie.man    Mon Jun  7 12:54:53 1993
  767. X--- xarchie.man    Wed Jun 30 15:15:39 1993
  768. X***************
  769. X*** 15,20 ****
  770. X--- 15,21 ----
  771. X  .\" Version 2.0: 23 Apr 1993
  772. X  .\" 28 Apr 1993: Changed default host to "archie.sura.net(1526)".
  773. X  .\" 13 May 1993: Added stuff about how hostMenu labels are parsed.
  774. X+ .\" 30 Jun 1993: Added archie-admin references.
  775. X  .\"
  776. X  .\" -----------------------------------------------------------------------
  777. X  .\" If formatting for Help, kill the header and footer before .TH
  778. X***************
  779. X*** 23,29 ****
  780. X  ..
  781. X  .de }F
  782. X  .. \}
  783. X! .TH XARCHIE 1 "7 Jun 1993" "U of Rochester"
  784. X  .\" If formatting for Help, set line length and tabs after .TH
  785. X  .if \n(XX \{\
  786. X  .nr LL 40n
  787. X--- 24,30 ----
  788. X  ..
  789. X  .de }F
  790. X  .. \}
  791. X! .TH XARCHIE 1 "30 Jun 1993" "U of Rochester"
  792. X  .\" If formatting for Help, set line length and tabs after .TH
  793. X  .if \n(XX \{\
  794. X  .nr LL 40n
  795. X***************
  796. X*** 32,38 ****
  797. X  .el .ta 4,8,12,16,20,24,28,32,36,40
  798. X  .\" Real manpage begins here
  799. X  .SH NAME
  800. X! xarchie \- X11 browser interface to archie, version 2.0.6
  801. X  .SH SYNOPSIS
  802. X  .na
  803. X  .in +8n
  804. X--- 33,39 ----
  805. X  .el .ta 4,8,12,16,20,24,28,32,36,40
  806. X  .\" Real manpage begins here
  807. X  .SH NAME
  808. X! xarchie \- X11 browser interface to archie, version 2.0.7
  809. X  .SH SYNOPSIS
  810. X  .na
  811. X  .in +8n
  812. X***************
  813. X*** 1687,1695 ****
  814. X  .\"----------------------------------------------------------
  815. X  .SH " Reporting Bugs"
  816. X  .PP
  817. X! If you have any questions about Archie itself, write to
  818. X! archie-l@cs.mcgill.ca. If you have questions about Prospero, write to
  819. X! info-prospero@isi.edu.
  820. X  .PP
  821. X  If you have a problem, please read the "Known Bugs" section first,
  822. X  then contact your local maintainer and/or refer to the PROBLEMS and
  823. X--- 1688,1698 ----
  824. X  .\"----------------------------------------------------------
  825. X  .SH " Reporting Bugs"
  826. X  .PP
  827. X! If you have problems with or questions about an individual Archie
  828. X! server site, contact archie-admin at that site. If you have any
  829. X! questions about Archie itself, write to info@bunyip.com. If you
  830. X! have questions about Prospero, write to info-prospero@isi.edu. The
  831. X! USENET newsgroup comp.archives.admin may also be helpful.
  832. X  .PP
  833. X  If you have a problem, please read the "Known Bugs" section first,
  834. X  then contact your local maintainer and/or refer to the PROBLEMS and
  835. X***************
  836. X*** 1707,1713 ****
  837. X  (bcn@isi.edu) is in charge of Prospero, and Alan Emtage and Peter
  838. X  Deutsch ({bajan,peterd}@bunyip.com) are in charge of the Archie
  839. X  project itself.  Individual archie servers, however, are maintained
  840. X! locally at each server site.
  841. X  .\"===========================================================
  842. X  .SH AUTHOR
  843. X  .PP
  844. X--- 1710,1716 ----
  845. X  (bcn@isi.edu) is in charge of Prospero, and Alan Emtage and Peter
  846. X  Deutsch ({bajan,peterd}@bunyip.com) are in charge of the Archie
  847. X  project itself.  Individual archie servers, however, are maintained
  848. X! locally at each server site (archie-admin@<server-host>).
  849. X  .\"===========================================================
  850. X  .SH AUTHOR
  851. X  .PP
  852. X*** ../xarchie-2.0.6/Ad2c/README    Mon Apr 19 16:38:54 1993
  853. X--- Ad2c/README    Thu Jun 17 15:30:02 1993
  854. X***************
  855. X*** 4,10 ****
  856. X           George Ferguson, ferguson@cs.rochester.edu
  857. X  
  858. X                   12 Nov 1990
  859. X!             Updated 8 Jul 1992
  860. X  
  861. X  DESCRIPTION:
  862. X  
  863. X--- 4,10 ----
  864. X           George Ferguson, ferguson@cs.rochester.edu
  865. X  
  866. X                   12 Nov 1990
  867. X!             Updated 19 Apr 1993
  868. X  
  869. X  DESCRIPTION:
  870. X  
  871. X*** ../xarchie-2.0.6/FWF/Dir/Directory.c    Thu Jan  7 12:41:32 1993
  872. X--- FWF/Dir/Directory.c    Wed Jun 30 14:11:55 1993
  873. X***************
  874. X*** 132,140 ****
  875. X--- 132,142 ----
  876. X          case S_IFLNK:
  877. X          DirEntryType(de) = F_TYPE_SYM_LINK;
  878. X          break;
  879. X+ #ifdef S_IFSOCK
  880. X          case S_IFSOCK:
  881. X          DirEntryType(de) = F_TYPE_SOCKET;
  882. X          break;
  883. X+ #endif
  884. X  #ifdef S_IFIFO
  885. X          case S_IFIFO:
  886. X          DirEntryType(de) = F_TYPE_FIFO;
  887. X*** ../xarchie-2.0.6/FWF/Dir/Directory.h    Mon Jun  7 12:48:02 1993
  888. X--- FWF/Dir/Directory.h    Wed Jun 30 14:11:16 1993
  889. X***************
  890. X*** 49,54 ****
  891. X--- 49,57 ----
  892. X  
  893. X  #include <stdio.h>
  894. X  #include <sys/param.h>
  895. X+ #ifndef MAXPATHLEN
  896. X+ # define MAXPATHLEN 1024
  897. X+ #endif
  898. X  #include <sys/types.h>
  899. X  #include <sys/stat.h>
  900. X  
  901. X*** ../xarchie-2.0.6/FWF/Dir/RegExp.c    Sat Nov 28 21:29:45 1992
  902. X--- FWF/Dir/RegExp.c    Thu Jun 17 10:57:30 1993
  903. X***************
  904. X*** 46,57 ****
  905. X  #include <RegExp.h>
  906. X  #include <regexp.h>
  907. X  
  908. X! void RegExpCompile(regexp,fsm_ptr,fsm_length)
  909. X! char *regexp,*fsm_ptr;
  910. X  int fsm_length;
  911. X  {
  912. X  #ifndef NO_REGEXP
  913. X!     compile(regexp,fsm_ptr,&(fsm_ptr[fsm_length]),'\0');
  914. X  #endif
  915. X  } /* End RegExpCompile */
  916. X  
  917. X--- 46,57 ----
  918. X  #include <RegExp.h>
  919. X  #include <regexp.h>
  920. X  
  921. X! void RegExpCompile(reg_exp,fsm_ptr,fsm_length)
  922. X! char *reg_exp,*fsm_ptr;
  923. X  int fsm_length;
  924. X  {
  925. X  #ifndef NO_REGEXP
  926. X!     compile(reg_exp,fsm_ptr,&(fsm_ptr[fsm_length]),'\0');
  927. X  #endif
  928. X  } /* End RegExpCompile */
  929. X
  930. END_OF_FILE
  931.   if test 29237 -ne `wc -c <'xarchie.p1'`; then
  932.     echo shar: \"'xarchie.p1'\" unpacked with wrong size!
  933.   fi
  934.   # end of 'xarchie.p1'
  935. fi
  936. echo shar: End of archive 1 \(of 1\).
  937. cp /dev/null ark1isdone
  938. MISSING=""
  939. for I in 1 ; do
  940.     if test ! -f ark${I}isdone ; then
  941.     MISSING="${MISSING} ${I}"
  942.     fi
  943. done
  944. if test "${MISSING}" = "" ; then
  945.     echo You have the archive.
  946.     rm -f ark[1-9]isdone
  947. else
  948.     echo You still must unpack the following archives:
  949.     echo "        " ${MISSING}
  950. fi
  951. exit 0
  952. exit 0 # Just in case...
  953. -- 
  954.   // chris@Sterling.COM           | Send comp.sources.x submissions to:
  955. \X/  Amiga - The only way to fly! |    sources-x@sterling.com
  956.  "It's intuitively obvious to the |
  957.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  958.