home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / misc / volume14 / v14welc.ome
Encoding:
Internet Message Format  |  1991-08-27  |  23.1 KB

  1. From bacchus.pa.dec.com!decwrl!elroy.jpl.nasa.gov!usc!cs.utexas.edu!uunet!allbery Sun Jul 15 17:02:12 PDT 1990
  2. Article 1717 of comp.sources.misc:
  3. Path: bacchus.pa.dec.com!decwrl!elroy.jpl.nasa.gov!usc!cs.utexas.edu!uunet!allbery
  4. From: comp-sources-misc-request@uunet.UU.NET (Brandon S. Allbery)
  5. Newsgroups: comp.sources.misc
  6. Subject: v14INF1: Welcome to comp.sources.misc! (Last changed: 3/10/90)
  7. Message-ID: <97619@uunet.UU.NET>
  8. Date: 15 Jul 90 23:02:45 GMT
  9. Expires: 26 Aug 90 23:02:45 GMT
  10. Sender: allbery@uunet.UU.NET
  11. Organization: UUNET Communications Services, Arlington, VA
  12. Lines: 438
  13. Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  14.  
  15. Posting-number: Volume 14, Administrivia 1
  16. Submitted-by: comp-sources-misc-request@uunet.UU.NET (Brandon S. Allbery)
  17. Archive-name: v14welcome
  18.  
  19. This is the first of five(!) messages comprising the periodic Welcome! posting
  20. for comp.sources.misc.  Hopefully, any questions you have will be answered
  21. here; if they are not, send mail to me (comp-sources-misc-request@<backbone>),
  22. the moderator.
  23.  
  24.  
  25.                 > Introduction <
  26.  
  27. Comp.sources.misc is sort of a "catch-all" sources group.  The intent is that
  28. small sources, non-Un*x sources for which no newsgroup exists, and sources
  29. which the moderators of comp.sources.unix and comp.sources.games will not
  30. accept can be sent here.  This does not mean that large Un*x sources will not
  31. be accepted, but they will probably gain a wider distribution if they are sent
  32. to comp.sources.unix.  They also slow down the flow of sources through this
  33. newsgroup to some extent.
  34.  
  35. As a result, the group will be run in an informal fashion.  In general, *any*
  36. program source code will be accepted, but discussion and "sources wanted"
  37. requests will be discarded with a message back to the sender advising him/her
  38. to post to the correct newsgroup.  Please do not send either to me, they don't
  39. belong here.)
  40.  
  41. This newsgroup isn't intended to be a high-volume one, since the "big" stuff
  42. should be sent elsewhere.  Of course, if I'm sent a 50-part submission like
  43. jetroff, the volume goes up a bit....  However, it is to be hoped that people
  44. still have the desire to post their favorite prompt generators, integer square
  45. root algorithms, etc.
  46.  
  47.  
  48.                 > Why moderated? <
  49.  
  50. The moderated comp.sources.misc replaced the unmoderated net.sources in May
  51. 1987.  This was done by the Usenet backbone in response to the observed fact
  52. that net.sources was largely NON-sources by number of articles.  Mail I have
  53. received indicates that the majority of people are willing to trade the small
  54. delays (mainly caused by network delays in mail) for having a source group
  55. that isn't full of noise.
  56.  
  57. As stated above, the only reason a submission will be rejected is if it is a
  58. non-source.  I, as the moderator, am striving to get things out as quickly as
  59. possible while not posting non-sources; testing is not done.  If it's
  60. something that's worth testing, it probably belongs in comp.sources.unix
  61. instead.  (Send submissions to comp-sources-unix@<backbone> in that case.)
  62. Testing may be done in the future, but shuffling sources between machines to
  63. test it can be difficult and trying, and in any case if it wants e.g. a Sun
  64. console there's not a whole lot I can do about it.
  65.  
  66.  
  67.             > Why comp.sources.misc? <
  68.  
  69. There are three choices for sources newsgroups, not counting local sources
  70. groups (fl.sources) or groups for specific systems (comp.sys.sun, et al.).
  71. Choosing between them can be somewhat difficult for the novice, and even for
  72. seasoned sources posters with unusual submissions.  Here, then, is a
  73. discussion of the various "primary" sources groups, their advantages and
  74. disadvantages, and a crude attempt at quantifying when to use them.
  75.  
  76. First off is comp.sources.unix, the major sources group.  It is rather
  77. unfortunately named, but don't let that stop you from trying to submit
  78. something if it fits the group's guidelines otherwise.  The benefits you'll
  79. get are testing of source on at least some machines before posting and
  80. guaranteed archiving at many Internet and UUCP sites.  The problem is that
  81. smaller postings aren't usually accepted, especially if they don't come with a
  82. Makefile and README file -- and sometimes the moderator declares a moratorium
  83. on certain types of postings, like text editors.  Trying doesn't hurt,
  84. however; if the moderator rejects something, he dumps it into the c.s.misc
  85. mailbox.  I should also note that the current policy of comp.sources.unix is
  86. not to accept "shareware" programs, programs which request or require a fee to
  87. the author for continued use.
  88.  
  89. For small sources and beta copies of programs (which probably should not be
  90. archived, in favor of the production release), one might choose alt.sources.
  91. It has one major advantage over the other possibilities:  there is no
  92. moderation, meaning no delays and no rules for formatting.  You're free to
  93. just pipe a source file to inews if the fit takes you (not that I recommend
  94. it).  But it also has one major disadvantage:  since the group isn't
  95. moderated, there is nothing preventing people from starting up discussions
  96. ranging from source code topics to why EUnet works the way it does.  This, if
  97. you'll recall, is what caused comp.sources.misc to be created in the first
  98. place; although it seems that at least some people have benefitted from the
  99. lesson and have started to work harder to prevent its happening to
  100. alt.sources.  Another disadvantage is that, being an "alt" group, it doesn't
  101. get as wide a distribution as the "mainstream" Usenet.  (For further
  102. information on the "alt" hierarchy, see the "Alternative Newsgroup
  103. Hierarchies" document posted once a month by Gene Spafford in news.lists.)
  104.  
  105. And then there's this group, comp.sources.misc.  The original charter called
  106. for moderation solely to reject non-source postings, nothing more; the intent
  107. was to provide net.sources without the noise.  This changed rather quickly,
  108. as I adopted a policy of letting the group be controlled more by its users
  109. (submitters, readers, archivers) than by "moderative fiat", to coin a
  110. phrase.  The policy worked quite well, but caused the newsgroup to drift
  111. closer to the style of a regular moderated sources group.  The advantages of
  112. posting here are that archiving is almost as widespread as that of
  113. comp.sources.unix, that anything that is source code can be posted, and that
  114. it's guaranteed not to be lost in "where are our Soviet friends?" postings;
  115. the disadvantages are that there is a delay caused by having to filter stuff
  116. through me, the moderator, and that submissions that aren't in the de-facto
  117. "standard" format will get held up while I make them so.
  118.  
  119. So which do you choose?  While there are no hard rules, there does seem to be
  120. an evolving rationale for the use of the groups:  tiny programs and beta-test
  121. copies of larger programs are often sent to alt.sources, small "released"
  122. programs or beta-test copies of major programs often go to comp.sources.misc,
  123. and released major programs usually go to comp.sources.unix.
  124.  
  125. There are, of course, other alternatives.  Games usually are sent to
  126. comp.sources.games regardless of their size, and programs which are specific
  127. to a particular computer might be better off in a specialized sources group
  128. like comp.sources.sun.  However, it's up to the submitter to decide to which
  129. newsgroup a submission should be sent.
  130.  
  131.  
  132.           > Guidelines for fast processing of submissions <
  133.  
  134. The readers of this newsgroup would prefer that posters follow certain
  135. guidelines.  Not following these guidelines may result in long delays, since
  136. some things *must* be fixed for news to accept the submission, and others
  137. fixed so that I can spend time processing submissions rather than responding
  138. to flames.  ;-)
  139.  
  140. First, uuencoded postings are frowned upon.  If at all possible, binary data
  141. files should be translated to an ASCII format that is usable by others.  If
  142. it's not possible, consider sending the machine-dependent parts of the
  143. posting to another newsgroup.  If all else fails, it will be accepted if it
  144. is not the only component of the submission; otherwise, it may be better to
  145. announce the availability of the item via anonymous FTP, UUCP, FTAM, etc
  146.  
  147. A corollary of the above rule is that uuencoded (ABEd, btoa'd, BinHexed, ...)
  148. compressed (packed, ...) archives are not acceptable regardless of the
  149. compression and/or archiving method used.  Not everyone has ARC, PKZIP, ZOO,
  150. StuffIt, or even cpio or tar and the "compress" program.
  151.  
  152. The second rule is that "shell archives" as created by "shar", "cshar",
  153. "bundle", etc. be used to package files.  Preferably, use cshar:  it guards
  154. against mangling by older news programs, Bitnet mailers, etc.  I must repack
  155. non-shar'ed submissions so that they have a better chance of surviving older
  156. mail/news systems and inter-network gateways.
  157.  
  158. Third, a Subject: header should *always* be included in a submission.
  159. Certain large postings in the past have arrived sans Subject:; not only does
  160. this force me to make one up for the archive list, but (more importantly)
  161. inews, the driving program for the Usenet news system, will not accept
  162. articles which lack a subject line.  (Yes, I know about C news.  Do *you*
  163. know about RFC1033?)
  164.  
  165. Fourth:  The proper submission address for ANY moderated newsgroup is of the
  166. form:
  167.  
  168.             newsgroup-name@backbone-site
  169.  
  170. The newsgroup name uses hyphens as separators, not periods (sendmail does not
  171. appreciate the periods); "comp-sources-misc" is an example.  Backbone sites
  172. are the major news feeds (excepting att.att.com, which does not pass mail)
  173. which serve large areas.  Be warned that some backbone sites may use
  174. "sources-misc" instead of "comp-sources-misc"; there was some confusion about
  175. it at the inception of the group.
  176.  
  177. Newsgroup-related mail that is *not* a submission should be sent to the same
  178. address as above, with "-request" added to the newsgroup name; for example,
  179. "comp-sources-misc-request@uunet.uu.net".  Please do not send them to the
  180. submission address.
  181.  
  182. Please do NOT send sources to *any* of my regular mailboxes.  This will cause
  183. possibly long delays while I reroute the mail to the proper address (which
  184. may well be on another machine) -- and since I use MH on most machines and
  185. UUNET doesn't have MH, I have to do extra work to unpack the forwards on
  186. UUNET.  Note that since ncoast's free disk space is never large, it is
  187. possible for large submissions sent to my mailbox on ncoast to be lost along
  188. with any other submissions or ordinary news and mail traffic.
  189.  
  190. Please do not package executable programs and sources in the same
  191. submission.  Executable binary programs are inherently system-dependent, and
  192. therefore should be posted to a system-specific "binaries" group.  And, as a
  193. special case, Un*x executables should NEVER be posted to the Usenet.
  194.  
  195.  
  196.                > Special services <
  197.  
  198. Now, after all the "thou shalt/thou shalt not"'s, here's some optional
  199. services to compensate for some of the restrictions outlined above.
  200.  
  201. One way to solve the problem of an announcement not going out the same day as
  202. the posting it announces is to send the announcement to me -- under separate
  203. cover, please, it slows things down if I have to break a submission apart to
  204. get at the file -- with instructions as to where it should be posted, and I
  205. will insure that both go out the same day, if possible.  (If one of the other
  206. newsgroups is also moderated, there's not a whole lot I can do about it.) The
  207. same goes for binaries and/or other material associated with a source; send
  208. it under separate cover and tell me what to do with it, and I will try to
  209. arrange for them to all go out at the same time.
  210.  
  211. To help avoid the longer delays and possible network difficulties between the
  212. main comp.sources.misc receiving address and sites in Australia,
  213. john@basser.cs.su.oz.au acts as a sub-moderator for our friends "down
  214. under".  It's not required to send sources to him, but the submission will be
  215. seen by your neighbors that much more quickly if it doesn't have to cross the
  216. ocean twice.  It also saves on the bills incurred by all that trans-oceanic
  217. data transfer, which might not matter to you but *does* matter to your site
  218. admin and to the Australian gateway maintainers.
  219.  
  220.  
  221.                > Patches to sources <
  222.  
  223. There are now de-facto guidelines for the handling of "patches" (fixes) to
  224. source postings in moderated newsgroups.  Unfortunately, I'm still working on
  225. implementing them.  I hope to have them working soon.
  226.  
  227. Patches to source programs should be posted to comp.bugs.misc (no, the group
  228. is *not* directly related to comp.sources.misc!); official patches should be
  229. sent out only by the author of the original program (unless special
  230. arrangements are made with the author) and should also be sent to
  231. comp.sources.misc.  They should be posted as "context diffs", if at all
  232. possible; Berkeley-based systems have the "-c" option to the "diff" command
  233. to do this, and for AT&T-based systems there are commands available to
  234. translate "diff" output to context diffs.  Check the Indexes to
  235. comp.sources.misc and comp.sources.unix.  The use of context diffs allows
  236. patches to be applied to sources which have had local modifications to aid
  237. porting, etc.
  238.  
  239. Official patches will be posted as "archname/patchNN".  Single-part submissions
  240. are treated as multi-part submissions for this purpose, with a single "part01"
  241. component.  At present, there is no special header line for patches, but a
  242. Patch-to: header will be implemented in the near(?) future to aid in locating
  243. the submission to which a given patch applies.
  244.  
  245. Patches are applied with the "patch" program.  It is also possible to apply
  246. patches by hand, if the "patch" program is not available; it's advisable to
  247. look for "patch2" in the comp.sources.unix archives, however.
  248.  
  249. In the future, I will be adding automatic version tracking to the archive
  250. mechanism as well.
  251.  
  252.  
  253.                   > Archiving <
  254.  
  255. UUNET is now (at least, for the moment) an archive site, so the contents of
  256. this newsgroup all the way back to volume 3 are available.  (Volumes 1 and
  257. 2 are not available on uunet or any other site except LLNL, and nothing from
  258. April and May 1987 was ever archived.)  I add archive headers to posted
  259. submissions, suitable for manual or automatic archiving and archive retrieval.
  260. The archive Index is posted each month as part of the Welcome! posting; it
  261. should follow this posting.
  262.  
  263. The format of the archive header is:
  264.  
  265.     Posting-number: Volume 2, Issue 45
  266.     Submitted-by: "user-full-name" <address>
  267.     Archive-name: name
  268.  
  269. For administrative postings, the Posting-number: header looks like
  270.  
  271.     Comp.sources.misc: Volume 2, Administrivia 2
  272.  
  273. These headers are often referred to as an "auxiliary" header, since it is
  274. considered to be part of the message body by the news-posting software.
  275.  
  276. Each posting has an Archive-Name, which is a single word of (generally) 6-8
  277. letters which tries to be somewhat descriptive.  You may want to use this
  278. instead of the volume/issue number.  However, the local article number should
  279. *not* be used; it is dependent on the order in which articles are received
  280. and when your local system began receiving them, and is guaranteed not to
  281. match the numbers on uunet, ncoast, or many other systems.
  282.  
  283. Prior to January 1, 1988, a different archive header system was used.  At the
  284. time, it was not expected that comp.sources.misc would be welded into the
  285. then-evolving standard for sources archiving.  (Read:  I was still trying to
  286. cling to the last remnants of the group's original charter....)  There was
  287. only one special header line, and it resided in the main header.  It looked
  288. like
  289.  
  290.     X-Archive: yymm/nn
  291.  
  292. where "yymm" was the year and month of the submission date and "nn" was a
  293. sequence number.  This must be used to retrieve submissions from 1987.
  294.  
  295. Submissions prior to July, 1987 have no archiving information at all.  At the
  296. time, the group's original charter was in full force, and archiving was not
  297. considered to be important.  These articles may also be assigned archive
  298. headers in the future, but for now the only way to retrieve these postings is
  299. to search each individual file.
  300.  
  301. A list of archive sites is included in the second part of this posting.  It
  302. should be noted that this newsgroup is *not* gatewayed to WSMR-SIMTEL20; if
  303. it is for some reason important to have a submission archived there, use
  304. comp.sources.unix or a specialized sources group.
  305.  
  306.  
  307.            > Okay, so how do I get at archived submissions? <
  308.  
  309. It varies.  Moreover, it is likely to be changing in many cases, as larger
  310. UUCP sites gain direct Internet access and the Internet itself moves (slowly)
  311. to OSI (GOSIP) compliance; and arrangements outside the U.S. are pretty much
  312. outside my control and knowledge.
  313.  
  314.  
  315.                    > Using "ftp" <
  316.  
  317. If an archive site provides "anonymous FTP" access, sites directly on the
  318. Internet (that is, sites possessing an IP address, which looks like four
  319. small numbers separated with periods) can use the "ftp" program to get at
  320. sources.  Sites which aren't on the Internet (more properly, the NSFnet) can
  321. not use ftp to retrieve this information.  And no, having the ftp program
  322. does not mean that you can access NSFnet:  there are many systems which use
  323. TCP/IP over local networks only, and at least one brand of system which has a
  324. program called "ftp" that has nothing to do with the Internet at all.
  325.  
  326. You should check with a local system administrator to find out the details of
  327. using ftp.  On most systems and to most archive sites, the following will
  328. work:  type the command "ftp system.domain" (example:  "ftp uunet.uu.net" --
  329. case does not matter), enter "anonymous" when it asks for a user name, and
  330. enter *your* Internet address for the password.  If "ftp" says that the
  331. system doesn't exist, check your spelling -- if the system name is spelled
  332. correctly, look for an IP address for the archive site and badger your system
  333. adminsitrator to install a version of ftp which knows about nameservers.  You
  334. should also be warned that some systems (like uunet) will not accept FTP
  335. connections from sites not registered with a nameserver.
  336.  
  337. Once you are logged in to the archive system, you will get a prompt that
  338. looks like "ftp>".  (It may not be identical, since it is possible to change
  339. the ftp prompt with a command in many versions of ftp.)  At this point, you
  340. can use "cd" to change directories, "ls" or "dir" to list files, and "get" to
  341. retrieve them.  For sources archives, it is not necessary to worry about file
  342. types unless the files are compressed; in that case, you must use the
  343. "binary" command for Unix or VMS hosts and "tenex" on Tenex (TOPS-10, TENEX,
  344. TOPS-20/TWENEX) hosts.  *** Not switching the file type can result in a
  345. garbled file, especially on Tenex hosts, which do not store binary data the
  346. same way as Unix hosts. ***  To disconnect from the archive site, enter the
  347. "bye" command.
  348.  
  349.  
  350.                 > Using UUCP <
  351.  
  352. UUCP archives aren't quite as standardized as FTP archives; check the archive
  353. list for the user name and password to use, and ask your system administrator
  354. to arrange to be able to poll the archive site.  (If s/he refuses, you are
  355. stuck.)
  356.  
  357. The "uucp" command is used to request files from a UUCP archive.  Unlike FTP,
  358. UUCP does not (usually) do the transfer immediately; this is because most
  359. UUCP sites must be called over phone lines, so long-distance calls will
  360. usually be made in the early morning hours.
  361.  
  362. Since you can't look around in the archives, you must know the pathname of
  363. the article to be retrieved.  Most archives have an index file available via
  364. FTP; check the archive list in the next posting.  It's a good idea to
  365. retrieve this file before getting anything from the archive, since things can
  366. move around without warning.
  367.  
  368. The command to retrieve a submission looks like
  369.  
  370.               uucp -r archivesite!path/to/file
  371.  
  372. "archivesite" is the name of the archive site, and "path/to/file" is the
  373. pathname listed in the archive index for that site.  Please be warned that
  374. for security reasons, it is not usually possible to specify wildcards (?, *,
  375. [], or ~name) in the pathname.  Also, while more recent versions of uucp
  376. allow a uucp command to traverse multiple systems (uucp -r
  377. systemA!systemB!file), for security reasons this is usually disabled.  In
  378. both cases you won't find out until after the archive site has been called.
  379.  
  380.  
  381.                  > Mail archives <
  382.  
  383. Some archive sites have mail servers that will accept mail from you and mail
  384. back files from the archive.  There are no standards here; however, it's
  385. usually safe to mail a message containing the single word "help" to the mail
  386. server.  Check the archive list for more information.
  387.  
  388.  
  389.                  > Other archives <
  390.  
  391. I know that there are equivalent commands for OSI-compatible networks (FTAM),
  392. CSNet and Bitnet; I do not know how to use them.  Check with your system
  393. administrator first for local commands, then send mail to the archive
  394. maintainer on the archive site.
  395.  
  396.  
  397.            > Now that I have an article, how do I use it? <
  398.  
  399. If it came from an archive site, it may be compressed; if it was sent by a
  400. mail server, it may also be uuencoded.  Compressed files have an extension of
  401. ".Z".  Uuencoded files can be recognized by a line saying "begin 666
  402. filename", followed by lines of what looks like random gobbledygook.  (If a
  403. mail server splits a file into multiple parts, you may just have the
  404. gobbledygook.  In this case, the server will include a message saying which
  405. part of the file it is, and will tell you how to combine them.)
  406.  
  407. To extract a uuencoded file, give the command "uudecode filename".  This will
  408. create a (binary, usually compressed) file in the current directory.
  409.  
  410. To extract a compressed file, give the command "uncompress filename".  The
  411. ".Z" extension will be removed from the file.  The original, compressed file
  412. will be removed as part of this operation.
  413.  
  414. After doing this, you should be left with a news article exactly as it is
  415. stored in the news spool directories.  This file will contain a news header,
  416. a description (usually), and a "shell archive" ("shar").  Move to an empty
  417. directory (important!) and unpack the archive.  Some systems have a command
  418. "unshar" to unpack these files; if yours does, use it.  Otherwise, you can
  419. use an editor to remove the header, then just say "sh filename".  I use a
  420. small (one line) shell script:
  421.  
  422.             sed '1,/^[#:]/d' $1 | sh
  423.  
  424. which will handle anything (I hope!) in the comp.sources.misc archives.  I do
  425. attempt to confirm that a shell archive contains nothing dangerous, but if
  426. you unpack as root and the archive removes your /etc directory or something
  427. equally unpleasant, I don't want to hear about it.  Unpack shell archives as
  428. an unprivileged user.
  429.  
  430. Once you've unpacked the archive, you're on your own.  Keep the header from
  431. the submission handy, in case you can't figure out what's going on; the
  432. address in the "Submitted-by:" line can be used to contact the author of the
  433. program.
  434.  
  435.  
  436.                > Closing words <
  437.  
  438. Following this message should be a "shar" file containing the archive list
  439. and an index for each volume of the archives.  More information on archives
  440. is included within the posting, with specifics and contacts for known archive
  441. sites.  If your site archives comp.sources.misc, please let me know -- it's
  442. always nice to know who's keeping it, and I don't know of many archive sites
  443. outside the U.S. as yet.
  444.  
  445. You now know enough (I hope) to be able to get some use out of this
  446. newsgroup.  If you have any questions or suggestions, send them to the
  447. request address mentioned earlier in this article; I also participate in
  448. discussions about moderated sources newsgroups in comp.sources.d.
  449.  
  450. Have fun and happy hacking!
  451.  
  452. ++Brandon, your friendly neighborhood comp.sources.misc moderator.
  453.  
  454.  
  455.