home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / 3b1 / 4364 < prev    next >
Encoding:
Text File  |  1993-01-23  |  9.2 KB  |  185 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!ceilidh!dnichols
  3. From: dnichols@d-and-d.com (DoN. Nichols)
  4. Subject: Re: Taylor uucp 1.4 gamma on 3B1 with TCP (long)
  5. Message-ID: <1993Jan23.050509.7515@d-and-d.com>
  6. Sender: usenet@d-and-d.com (Usenet)
  7. Nntp-Posting-Host: shindig
  8. Organization: D and D Data, Vienna VA
  9. References: <1993Jan19.054921.1557@ohare.Chicago.COM> <1993Jan20.045619.1333@d-and-d.com> <1993Jan21.123039.8504@ohare.Chicago.COM>
  10. Date: Sat, 23 Jan 1993 05:05:09 GMT
  11. Lines: 172
  12.  
  13. In article <1993Jan21.123039.8504@ohare.Chicago.COM> kls@ohare.Chicago.COM (Karl Swartz) writes:
  14. >In article <1993Jan20.045619.1333@d-and-d.com> dnichols@d-and-d.com (DoN. Nichols) writes:
  15. >
  16. >>What do you have against nntp?
  17. >
  18. >I never said I have anything against it, and I thought I was fairly
  19. >unambiguous about why I chose the path I did -- getting NNTP going
  20. >would seem to be a lot more work than getting Taylor uucp up, and
  21. >still doesn't even address the issue of mail.  Consider that with
  22. >uucp I simply replace one package -- in fact, since I'm only using
  23. >Taylor's uucico at present (with the HDB utilities) it's not even
  24. >the whole shebang.
  25. >
  26. >By going to NNTP, I have to build NNTP (client and server), then
  27. >rebuild C news with it, then rebuild trn with it, and worry about
  28. >breaking my newsfeed.  Then I have to knock together the scripts to
  29. >deal with batching NNTP stuff, which I could steal from work but don't
  30. >otherwise need here since I've got a bunch of uucp feeds.  Quite a bit
  31. >of effort for one special case.
  32.  
  33.     O.K.  I'm just using nntp so multiple machines here in the house can
  34. read news from a single machine (which doesn't get loaded with running
  35. X11R5, and which has the big disks.)  I don't use it as a news transport
  36. mechanism, just a reader extension, because my feeds are all uucp.  Since I
  37. can't NFS mount the news spool directory on the 3B1s, and didn't want to
  38. duplicate the disk space utilization, I considered the nntp to be the best
  39. for *my* use.  (I acutally brought it up and tested it on the Suns, while
  40. the 3B1 was my prime netnews machine, with the 3B1 doing a feed via rsh to
  41. the Sun (no need for nntp or uucp there, there is the viarsh option in the
  42. transport mechanisms avaailble to C-news.))  Once everything was working
  43. smoothly, I did a name transplant between the two machines, and so ceilidh
  44. became a Sun 3/140 instead of a 7300, and my feeds didn't see the difference
  45. (unless they were looking at transfer speed of the uucp.)  Perhaps you can
  46. use something like viarsh (which worked well between the 7300 and the Sun-3
  47. for me.)
  48.  
  49. >And then there's still Smail and SMTP to deal with when I'm done with
  50. >news.
  51.  
  52.     Though there is a workable sendmail with the WIN/TCP software
  53. package.  My major problem with it was lack of good documentation, and lack
  54. of a good starting sendmail.cf for *my* setup, which was multiple machines
  55. etherneted together at home, and everybody else is a uucp connection through
  56. uunet at present (earlier thorugh a friend's system).  I could never manage
  57. to convince it that something with an '@' in it could be reached via any
  58. other route than the ethernet (which was, of course, no help).  With the
  59. Suns running SunOs 4.1.1, and example starting points both for the mail hub,
  60. and for the client machines, I was able (with some delving into the fairly
  61. good documentation that comes in the docu-crate for 4.1.1) to get it working
  62. correctly.  (I probably could do the same for the 3b1, now, but there is no
  63. motivation, since it is just another client machine.)
  64.  
  65.     [ ... ]
  66.  
  67. >>One advantage of nntp over what you appear to be describing is that
  68. >>nntp needs a news spool directory only on *one* machine.
  69. >
  70. >Did I say the two had identical feeds?  I don't believe I did.  One
  71. >machine carries a full feed, distributing all or parts of it along to
  72. >other machines (including my second machine) and then getting rid of
  73. >it to make room for the next wave as quickly as possible.  The other
  74. >gets a small feed of stuff I really want, and keeps it around as long
  75. >as I need.  If I read news on the primary machine it'd miss most of
  76. >the discussions I might be interested in, not to mention the problem
  77. >of falling asleep because the thing is so damned slow.
  78.  
  79.     O.K.  under these circumstances, I can see why you wouldn't want to
  80. bother with nntp.  I was assuming the condition of one machine with the
  81. major disk farm, and smaller client machines without enough disk to really
  82. want to do news spooling on them.  Also, I was assuming that all news would
  83. have to be retained on the primary incoming machine, rather than offloading
  84. carefully selected portions to another machine.
  85.  
  86. >At work I have a SPARCstation 2 with 4.5 GB of disk dedicated solely
  87. >to news, which not only has enough space to keep articles for a decent
  88. >period of time but also is fast enough to handle it all and also do a
  89. >reasonable job of serving user requests for news.  It's great for all
  90. >of the NNTP clients we have.  It's also not relavent to my 3B1 setup.
  91.  
  92.     A Sun-3 with adequate disk does a reasonable job of being a nntp
  93. server, as long as there is adquate memory so swapping is not to likely to
  94. occur.
  95.  
  96. >>I have not ried to do the compile of taylor uucp ...
  97. >
  98. >Another reason for trying Taylor is that it is supposed to be quite a
  99. >bit more efficient in using CPU cycles than other uucps.  If this can
  100. >eke a bit more throughput out of the Telebits before I get 386BSD up
  101. >and running, great!
  102.  
  103.     That improved throughput is quite adequate reason to use it on the
  104. 3b1, which needs all the help that it can get at high baud rates (the serial
  105. port drivers are a prime problem, which you will be bypassing by using the
  106. ethernet.
  107.  
  108. >>    My experience with the WIN/TCP include files was that when one of
  109. >>the include files which came with that package bears the same name as one in
  110. >>the standard include directory tree, it usually will include that one by
  111. >>explicit path, so the two are combined effectively into a single include
  112. >>file.  There may be cases where this doesn't happen that you have
  113. >>encountered that did not get in my way.
  114. >
  115. >First one in my notes is <errno.h>.  There is a Wollongong version and
  116. >it does not include the standard version, though both do include the
  117. >standard <sys/errno.h>.  The standard <errno.h> has
  118. >
  119. >    extern int errno;
  120. >
  121. >while the Wollongong one does not.  Ding!
  122. >
  123. >Same goes for <signal.h>; in this case the missing define is
  124. >
  125. >    extern (*signal())();
  126.  
  127.     I hadn't noticed these, but you are correct.  Perhaps the programs
  128. which I have compiled expected the declarations above to not be present in
  129. the header files, and so did the declarations on their own.  (That may be
  130. the case in the stock BSD, though I haven't had access to a stock BSD to
  131. check that out.)  In any case, the declarations *are* present in the SunOs
  132. 4.1.2 that I just checked.
  133.  
  134. >And then there's <sys/wait.h> -- the Wollongong version is essentially
  135. >a no-op, so if you get that turkey you'll be missing all the stuff in
  136. >the standard version.
  137.  
  138.     You're right - perhaps that should be changed to include
  139. <sys/wait.h>.
  140.  
  141.     [ ... ]
  142.  
  143. >>Of course, this is a bit of a problem with gcc, because the
  144. >>fixincludes script didn't know about the WIN/TCP headers, so it
  145. >>didn't sanitize them for gcc compatability.
  146. >
  147. >Eh?  I didn't know about the fixincludes script either!  Was this with
  148. >gcc 2.x or with 1.40?  I just checked and it isn't in the gcc 1.40
  149. >package I got.
  150.  
  151.     Was that the source package, or a pre-compiled one?  The
  152. pre-compiled version has a set of headers in /usr/local/lib/<whatever> which
  153. were generated by the fixincludes.  Essentially, it adapts them so you don't
  154. need to use the -traditional flag on the compiler for most things.  I
  155. believe that it was as far back as the 1.37 or so - I never had access to
  156. any earlier versions (or at least no reason to try for access, with the
  157. later ones already out.)  Fixincludes takes almost longer than the one stage
  158. of the compilation - perhaps longer - on a SPARC machine running 4.1.1.
  159. What it does is build a tree in the appropriate location of /usr/local/lib
  160. (where is deemed appropriate has fluctuated violently up till around 2.1.1
  161. or so), which is a copy of everything in /usr/include/* (but it misses
  162. things like /usr/5include on the Sun).  It then checks the contents of each
  163. subdirectory in the copies, fixes those that it recognizes as needing
  164. fixing, and then removes any that didn't need fixing, so the compiler falls
  165. through to the stock /usr/include/* for everything that hasn't been
  166. changed.  You *can* run the compiler without this stage of operations, but
  167. you need the -traditional flag for almost everything.  Without it, the
  168. default return types of certain functions and their arguments is wrong.
  169. Since gcc passes other sizes than the default double, int, and pointer as
  170. return values from functions, it needs to declare return types which would
  171. otherwise be incorrect with gcc's assumptions when using the stock libs.
  172.  
  173.     Anyway, you had a much firmer grasp of just what you needed and why
  174. than I was able to glean from your article, though that could have been a
  175. factor of me being too sleepy (as I am again :-)
  176.  
  177.     Goodnight
  178.         DoN.
  179.  
  180. -- 
  181.  Email:   <dnichols@d-and-d.com>  |  ...!uunet!ceilidh!dnichols 
  182.          <dnichols@ceilidh.beartrack.com>
  183.  Donald Nichols (DoN.)  |   Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
  184.     --- Black Holes are where God is dividing by zero ---
  185.