home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / unix_c / intrnxsw.txt < prev    next >
Encoding:
Text File  |  1992-04-23  |  15.2 KB  |  378 lines

  1. You are looking at PD6:<UNIX-C>000-INTRO-UNIX-SW.TXT, last updated 10-Jun-91.
  2.  
  3. What is UNIX-SW?
  4. ----------------
  5. The UNIX-SW mailing list is a vehicle for announcing the availability of new
  6. software which runs under the UNIX Operating System.  Most of this software
  7. is written either in C or as shell scripts, but there are a few things
  8. written in other languages such as Pascal.
  9.  
  10. The software repository for UNIX-SW lives on the host WSMR-SIMTEL20.ARMY.MIL,
  11. a DECSYSTEM-20 machine running TOPS-20, located at White Sands Missile Range,
  12. New Mexico.  The machine is a host on the Defense Data Network, and hence
  13. gives users located on other hosts the capability of directly transferring
  14. this software via the file transfer protocol (FTP).  There is presently no
  15. UUCP access to the machine, but this may be changing sometime in the near
  16. future.
  17.  
  18. UNIX-SW is not intended as a forum for discussing the software in the
  19. repository; this is best done by conversing via mail directly with the
  20. authors or contributors of the software.  The mailing list's sole purpose is
  21. for the coordinator of the list to send out (probably more or less on a
  22. monthly basis) lists of software in the repository.
  23.  
  24. To Subscribe to UNIX-SW
  25. -----------------------
  26. If you would like to be added to the UNIX-SW mailing list, send a message to
  27. UNIX-SW-REQUEST@WSMR-SIMTEL20.ARMY.MIL.  If you do not have an Internet mail
  28. path (i.e. you're a UUCP site) please include a path to you through a site
  29. such as UUNET.UU.NET or UCBVAX.BERKELEY.EDU.  This will insure that mail can
  30. be delivered to you.
  31.  
  32. Similarly, to be deleted from the list, change your address, and so on, you
  33. should send mail to UNIX-SW-REQUEST@WSMR-SIMTEL20.ARMY.MIL.
  34.  
  35. Mail archives of previous messages to UNIX-SW, should you need to look at
  36. them, are stored on WSMR-SIMTEL20.ARMY.MIL as files with names like
  37. PD2:<ARCHIVES.UNIX-SW>yymm.n-TXT, where "n" increments when the file exceeds
  38. 150 disk pages.
  39.  
  40. A Quick Introduction to TOPS-20 File Specifications
  41. ---------------------------------------------------
  42. The items comprising a TOPS-20 file specification are organized from the most
  43. general to the most specific.  The most common form of a file specification
  44. is:
  45.  
  46.         dev:<dir>name.type.gen
  47. where:
  48.         dev:    is a device name, a file structure name, or a
  49.                 defined logical name.
  50.         <dir>   is a directory name.  You must always include
  51.                 the angle brackets around a directory name.
  52.         name    is a file name.
  53.         .typ    is a file type.
  54.         .gen    is a generation number.
  55.  
  56.   Device Names - DEV:
  57.   -------------------
  58.   A device name designates the storage device or file structure that
  59.   contains, or will contain, the file.  A device name consists of alphabetic
  60.   characters that indicate the type of device, a number that specifies a
  61.   particular device, and a colon that identifies the name as a device name.
  62.   Examples of a device name are:
  63.  
  64.         PS:  DSK:  TTY:  MTA1:  and  LPT:
  65.  
  66.   If you omit a device name from a file specification, the system uses your
  67.   currently connected file structure as a default.
  68.  
  69.   => The device name for the UNIX-SW repository is PD6:
  70.  
  71.   Directory Names - <dir>
  72.   -----------------------
  73.   A directory name consists of up to 39 alphanumeric characters including
  74.   hyphen, dollar sign, and underline.  Directory names are always enclosed in
  75.   brackets.  Examples of directory names are:
  76.  
  77.         <BUORKE>   <FOWLER>   <TEST-PROCEDURES-LIBRARY>
  78.  
  79.    (You may use square brackets "[]" in place of angle brackets if you wish.)
  80.  
  81.    => The top-level directory for all the UNIX-SW software is called <UNIX-C>
  82.  
  83.    A directory may have subdirectories in it.  Subdirectories are named by
  84.    separating their names from their parents' with periods.  Some examples
  85.    are:
  86.  
  87.     <UNIX-SW.TAPES>   <UNIX-SW.LANGUAGES>   <UNIX-SW.LANGUAGES.FORTRAN>
  88.  
  89.    File Names - NAME
  90.    -----------------
  91.    Each file has a name consisting of up to 39 alphanumeric characters,
  92.    including hyphen, dollar sign, and underline.  Examples of file names are:
  93.  
  94.         TEST  LINDRW  SPCWAR  LEM
  95.  
  96.    File Types - .TYP
  97.    -----------------
  98.    When you want to indicate the contents of a file or give the same file
  99.    name to more than one file, specify a file type consisting of a period
  100.    followed by up to three alphanumeric characters, including hyphen, dollar
  101.    sign, and underline.
  102.  
  103.    => The more common file types used in the UNIX-SW repository are:
  104.  
  105.     .ARC        A file compressed with the "arc" program.
  106.     .C        A C language source file
  107.     .SH        A shell script
  108.     .TAR        A "tar" archive
  109.     .TXT        An ordinary text file
  110.  
  111.    => If the file type is .DIRECTORY, then the name represents a subdirectory
  112.       of the current directory and can be cd'ed to (see next section).
  113.  
  114.    => If the file type ends in "-Z", e.g. .TAR-Z, it has been compressed
  115.       with the "compress" program.
  116.  
  117.    Generation Numbers - .GEN
  118.    -------------------------
  119.    A generation number reflects approximately the number of times a file has
  120.    been modified.  Generally only one version of a file will be stored in the
  121.    repository.  However, if you find multiple versions of a file and would
  122.    like an earlier version, specify the generation number explicitly.  If you
  123.    do not specify a generation number, the highest generation will be used.
  124.  
  125. Transferring Files With FTP
  126. ---------------------------
  127. To transfer files from the UNIX-SW repository, you should first use your
  128. local FTP program ("ftp" on most UNIX systems) to connect to the host
  129. WSMR-SIMTEL20.ARMY.MIL.  When you are prompted for a login name enter
  130. "anonymous".  When prompted for a password, enter "guest".  You are now
  131. logged in, and can begin transferring files.  Example using 4.2BSD FTP:
  132.  
  133.    % ftp simtel20.army.mil
  134.    Connected to simtel20.army.mil.
  135.    220 WSMR-SIMTEL20.ARMY.MIL FTP Server Process 5Z(50)-7 at Sun 14-Feb-88
  136.    Name (simtel20.army.mil:davy): anonymous
  137.    Password (simtel20.army.mil:anonymous): guest    ; password not echoed
  138.    331 User name ok. Password, please.
  139.    230 User ANONYMOUS logged in at Sun 14-Feb-88 15:48-MST, job 13. 
  140.    ftp>
  141.  
  142. The simplest way to transfer files, that is, the method which saves you the
  143. most typing, is to change directories into the directory you want to retrieve
  144. files from.  For starters, you can say:
  145.  
  146.     ftp> cd "pd6:<unix-c>"
  147.     250 Connected to PD6:<UNIX-C>.
  148.     ftp>
  149.  
  150. Note the quotes around the directory name; these are necessary in some
  151. versions of FTP to prevent the local program from interpreting the "<"
  152. and ">" as input and output redirection commands.  Also note that you
  153. can use lower case letters; TOPS-20 does not distinguish case in file
  154. and directory names.
  155.  
  156. Now, to obtain a list of the files contained in the directory, you can use
  157. the "dir" command:
  158.  
  159.     ftp> dir
  160.     200 Port 6.246 at host 128.46.130.83 accepted.
  161.     150 List started.
  162.     PD6:<UNIX-C>
  163.     000-INTRO-UNIX-SW.TXT.1
  164.     000-MASTER-INDEX.TXT.6
  165.     [deleted for brevity]
  166.     EDITORS.DIRECTORY.1
  167.     LANGUAGES.DIRECTORY.1
  168.     [deleted for brevity]
  169.     UNIX-C.ARC.80131
  170.     UNIX-C.CRCLST.80131
  171.     [deleted for brevity]
  172.     226 Transfer completed.
  173.     669 bytes received in 0.08 seconds (8.2 Kbytes/s)
  174.     ftp>
  175.  
  176. Now, suppose you want to go into one of the subdirectories you see (and in
  177. this case we will assume a subdirectory of that directory also).  You would
  178. type:
  179.  
  180.     ftp> cd "pd6:<unix-c.languages.c>"
  181.     250 Connected to PD6:<UNIX-C.LANGUAGES.C>.
  182.     ftp>
  183.  
  184. Note that the directory name starts with "unix-c", but that we can omit the
  185. "pd6:" since we are already there.  If you had not done the initial "cd"
  186. above, you would have to specify "pd6:" also.
  187.  
  188. Now we can do another "dir" command:
  189.  
  190.     ftp> dir
  191.     200 Port 6.247 at host 128.46.130.83 accepted.
  192.     150 List started.
  193.     PD6:<UNIX-C.LANGUAGES.C>
  194.     ARITHPARSE.TAR-Z.1
  195.     [deleted for brevity]
  196.     VSTR.TAR-Z.1
  197.     XCP.C.1
  198.     226 Transfer completed.
  199.     737 bytes received in 1.24 seconds (0.58 Kbytes/s)
  200.     ftp>
  201.  
  202. Finally, suppose we want to get the file XCP.C onto our machine, and call it
  203. "foobar.c".  We would type:
  204.  
  205.     ftp> get xcp.c foobar.c
  206.     200 Port 6.248 at host 128.46.130.83 accepted.
  207.     150 ASCII retrieve of <UNIX-C.LANGUAGES.C>XCP.C.1 started.
  208.     226 Transfer completed. 8401 (8) bytes transferred.
  209.     8401 bytes received in 6.58 seconds (1.2 Kbytes/s)
  210.     ftp>
  211.  
  212. Note that we didn't bother with the generation number (in this case, .1);
  213. unless you want an earlier generation of a file, it is not necessary.
  214.  
  215. And finally, to terminate the FTP session, use the "quit" command:
  216.  
  217.     ftp> quit
  218.     221 QUIT command received. Goodbye.
  219.     %
  220.  
  221. Specifics on Transferring Files
  222. -------------------------------
  223. Most of the files in the UNIX-SW repository are compressed "tar" files.
  224. Their file type will be ".TAR-Z".  Other files, whose names end in
  225. ".TXT", ".C", etc. can be transferred in ASCII mode with FTP.  But
  226. compressed files cannot be transferred this way, because they contain
  227. binary data.
  228.  
  229. To transfer these files, you need to do something special before you use the
  230. FTP "get" command:
  231.  
  232.     - If you are on a TOPS-10, TENEX, TOPS-20, or ITS system, you can use
  233.       "image" or "paged" mode for ALL files you transfer.
  234.  
  235.     - If you are on a UNIX system, you should use "ascii" mode for ASCII
  236.       files, and "tenex" mode for binary files.  To do this, you can
  237.       enter:
  238.  
  239.           ftp> type ascii        for ASCII files, and
  240.  
  241.         ftp> type l 8        (that's lower-case-L 8) or
  242.         ftp> type tenex        for BINARY files
  243.  
  244.     - On MULTICS, you can use "ascii" mode for ASCII files, but binary
  245.       files require that you enter:
  246.  
  247.           user_ftp: !quote "type l 8"
  248.  
  249.       This will store the file with one 8-bit byte per 9-bit word.
  250.  
  251. If you cannot use "tenex" mode and have to use "binary" mode (which is "type
  252. l 32"), you should get a copy of PD6:<UNIX-C.UTILS>BINTNX.C or BINTNXVMS.C.
  253. These programs convert files transferred in "binary" format to "tenex"
  254. format, like they should be.
  255.  
  256. Handy Files to Know About
  257. -------------------------
  258. The following files may prove useful to you:
  259.  
  260. PD6:<UNIX-C>000-MASTER-INDEX.TXT
  261.     The master index of all files in the repository, including short
  262.     descriptions of what each one contains.
  263.  
  264. PD6:<UNIX-C>000-INTRO-UNIX-SW.TXT
  265.     This file.  Check it from time to time for any new information
  266.     about the repository.
  267.  
  268. PD6:<UNIX-C>NEW-ADDITIONS.TXT
  269.     A listing in the same format as the *-INDEX.TXT files of additions
  270.     to the repository since the last UNIX-SW mailing.  These additions
  271.     will also be represented in the *-INDEX.TXT files.  This is the
  272.     file which will be sent out to the UNIX-SW mailing list from
  273.     time to time (probably monthly or bi-monthly).
  274.  
  275. PD6:<UNIX-C>UNIX-C.CRCLST
  276.     A listing of all the files and directories in the archive,
  277.     their sizes in bytes, and a 16-bit CRC checksum.
  278.  
  279. PD6:<UNIX-C>UNIX-C.ARC
  280.     The same as UNIX-C.CRCLST, except compressed with the ARC utility.
  281.     Sources for ARC can be found in the directory PD6:<UNIX-C.ARC-PROGS>.
  282.  
  283. PD6:<UNIX-C.subdir>000-INDEX.TXT
  284.     A file like 000-MASTER-INDEX.TXT, except for the files in this
  285.     subdirectory only.
  286.  
  287. Directories in the Respository
  288. ------------------------------
  289. The directories presently in the repository are as follows.  See the file
  290. 000-INDEX.TXT within each directory for a list of what it contains, or see
  291. the file PD6:<UNIX-C>000-MASTER-INDEX.TXT for a complete listing.
  292.  
  293. ARC-PROGS    - Software which implements the ARC library/archive utility
  294.           popular in the personal computer areas.
  295. BENCHMARKS    - Various programs for benchmarking UNIX and other systems.
  296. CALENDARS    - Programs for producing calendars, converting to and from
  297.           various date formats, reminder services, etc.
  298. CKERMIT        - The source for the latest UNIX versions of the KERMIT file
  299.           transfer protocol.
  300. CPM        - Utilities for moving data between UNIX and CP/M systems.
  301. DATABASE    - Database utilities.
  302. DIR-MGMT    - Tools for managing directory hierarchies.
  303. EDITORS        - Text editors.  GNU EMACS is stored in the GNU directory.
  304. FILE-MGMT    - Tools for manipulating files.
  305. GNU        - Software from Richard Stallman's GNU project.
  306. GRAPHICS    - Programs to do graphics, image processing, etc.
  307. INFO        - Miscellaneous text files that provide information about all
  308.           sorts of things.
  309. KERNEL        - Device drivers, system calls, and other things related to
  310.           the UNIX kernel.
  311. LANGUAGES    - Compileres, interpreters, cross-referencers, and subroutine
  312.           libraries for various programming languages, including Ada,
  313.           assembler, BASIC, C, Forth, FORTRAN, FP, LISP, LOGO,
  314.           Modula-2, OPS5, Pascal, and Smalltalk.
  315. MACINTOSH    - Software for moving data between UNIX systems and Apple
  316.           Macintoshes.
  317. MAIL        - Programs for manipulating and delivering electronic mail.
  318. NETWORKS    - Programs for dealing with networks such as TCP/IP.  UUCP
  319.           stuff is in the TELECOM directory.
  320. PRINTERS    - Device drivers and output filters for line printers, laser
  321.           printers, and so on.  Many programs here can be used to
  322.           convert from one format to another.
  323. SYSADMIN    - Tools for system administration.
  324. TAPES        - Programs for reading and writing magnetic tapes, performing
  325.           file system backups, etc.
  326. TELECOM        - Programs related to telecommunications, including stuff for
  327.           maintaining UUCP.
  328. TEXTPROC    - Tools for text processing - text formatters, spelling
  329.           checkers, etc.
  330. USENET        - Tools for sending, reading, and administering the USENET
  331.           network news.
  332. UTILS        - Miscellaneous utility programs that don't really fit into
  333.           one of the other categories.
  334. WINDOWS        - Windowing systems.
  335. XYZMODEM    - Programs which implement the XMODEM (and YMODEM and ZMODEM)
  336.           file transfer protocol.
  337.  
  338. Submitting Software to UNIX-SW
  339. ------------------------------
  340. If you have a program you'd like to submit to the repository, please send a
  341. message to UNIX-SW-REQUEST@WSMR-SIMTEL20.ARMY.MIL.  In the message, describe
  342. the program, what version(s) of UNIX it runs on, what it's for, and so on.
  343. I'll accept almost anything, but certain things such as games programs or
  344. programs which we already have a zillion versions of may be rejected.
  345.  
  346. Once I have decided to accept your software, I will make arrangements with
  347. you to place it into the repository.  This can be done any number of ways
  348. from having you send it to me via mail, to you FTPing it to a special
  349. directory on SIMTEL20, to me FTPing it from you and putting it in the
  350. repository myself.  This is best worked out on a case-by-case basis, I think.
  351.  
  352. The Obligatory Cover-Our-Behinds Statement
  353. ------------------------------------------
  354. All the software in the UNIX-SW repository is provided AS IS with NO
  355. WARRANTY.  We cannot guarantee that it is good for any particular purpose, or
  356. even that it works.
  357.  
  358. I make an attempt to examine the software submitted to me to at least make
  359. sure it doesn't contain Trojan horses and what-have-you, and the moderator of
  360. comp.sources.unix, where a lot of this stuff comes from, also does this.
  361. But, as with all free software written by strangers, MAKE SURE YOU KNOW WHAT
  362. YOU'RE INSTALLING BEFORE YOU INSTALL IT!
  363.  
  364. Final Comments
  365. --------------
  366. I hope you find the software in the repository useful.  I know that before I
  367. took over as coordinator I found programs I needed several times, saving
  368. myself a great deal of time.  This is why I took over the coordination of the
  369. archive when I was asked; I believe something this useful should not fall
  370. apart just because nobody has time to take care of it.
  371.  
  372. If you have any questions, comments, or suggestions, please feel free to send
  373. me some mail.
  374.  
  375. John Pliler
  376. UNIX-SW Coordinator
  377. JPLILER@WSMR-SIMTEL20.ARMY.MIL, UNIX-SW-REQUEST@WSMR-SIMTEL20.ARMY.MIL
  378.