home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / infoguide / advanced / unix / unix-faq-part6 < prev    next >
Text File  |  1997-12-01  |  37KB  |  869 lines

  1. Archive-name: unix-faq/faq/part6
  2. Version: $Id: part6,v 2.4 1994/01/14 14:58:06 tmatimar Exp $
  3.  
  4. These seven articles contain the answers to some Frequently Asked
  5. Questions often seen in comp.unix.questions and comp.unix.shell.
  6. Please don't ask these questions again, they've been answered plenty
  7. of times already - and please don't flame someone just because they may
  8. not have read this particular posting.  Thank you.
  9.  
  10. This collection of documents is Copyright (c) 1994, Ted Timar.
  11. All rights reserved.  Permission to distribute the collection is
  12. hereby granted providing that distribution is electronic, no money
  13. is involved, reasonable attempts are made to use the latest version
  14. and all credits and this copyright notice are maintained.
  15. Other requests for distribution will be considered.
  16.  
  17. All information here has been contributed with good intentions, but
  18. none of it is guaranteed either by the contributors or myself to be
  19. accurate.  The users of this information take all responsibility for
  20. any damage that may occur.
  21.  
  22. Many FAQs, including this one, are available on the archive site
  23. rtfm.mit.edu in the directory pub/usenet/news.answers.
  24. The name under which a FAQ is archived appears in the "Archive-Name:"
  25. line at the top of the article.  This FAQ is archived as
  26. "unix-faq/faq/part[1-7]".
  27.  
  28. These articles are divided approximately as follows:
  29.  
  30.       1.*) General questions.
  31.       2.*) Relatively basic questions, likely to be asked by beginners.
  32.       3.*) Intermediate questions.
  33.       4.*) Advanced questions, likely to be asked by people who thought
  34.            they already knew all of the answers.
  35.       5.*) Questions pertaining to the various shells, and the differences.
  36.       6.*) An overview of Unix variants.
  37.       7.*) An comparison of configuration management systems (RCS, SCCS).
  38.  
  39. This article includes answers to:
  40.  
  41.       6.1)  Disclaimer, introduction and acknowledgements.
  42.       6.2)  A very brief look at Unix history.
  43.       6.3)  Main Unix flavors.
  44.       6.4)  Unix Standards.
  45.       6.5)  Identifying your Unix flavor.
  46.       6.6)  Brief notes on some well-known (commercial/PD) Unices.
  47.       6.7)  Real-time Unices.
  48.       6.8)  Unix glossary.
  49.  
  50. If you're looking for the answer to, say, question 6.5, and want to skip
  51. everything else, you can search ahead for the regular expression "^6.5)".
  52.  
  53. While these are all legitimate questions, they seem to crop up in
  54. comp.unix.questions or comp.unix.shell on an annual basis, usually
  55. followed by plenty of replies (only some of which are correct) and then
  56. a period of griping about how the same questions keep coming up.  You
  57. may also like to read the monthly article "Answers to Frequently Asked
  58. Questions" in the newsgroup "news.announce.newusers", which will tell
  59. you what "UNIX" stands for.
  60.  
  61. With the variety of Unix systems in the world, it's hard to guarantee
  62. that these answers will work everywhere.  Read your local manual pages
  63. before trying anything suggested here.  If you have suggestions or
  64. corrections for any of these answers, please send them to to
  65. tmatimar@empress.com.
  66.  
  67. ----------------------------------------------------------------------
  68.  
  69. Subject: Disclaimer, introduction and acknowledgements.
  70. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  71. Date: Wed Nov 17 11:21:35 EST 1993
  72. X-Version: 2.5
  73.  
  74. 6.1)  Disclaimer, introduction and acknowledgements.
  75.  
  76.       The following is offered with no guarantee as to accuracy or
  77.       completeness.  I have done what I can in the time available,
  78.       often with conflicting information, and it still is very much work
  79.       in progress.  I hope to keep improving this summary.  Comments and
  80.       corrections welcome:  lew@bnr.ca.
  81.  
  82.       First a short definition.  By Unix we mean an operating system
  83.       typically written in C, with a hierarchical file system,
  84.       integration of file and device I/O, whose system call interface
  85.       includes services such as fork(), pipe(), and whose user
  86.       interface includes tools such as cc, troff, grep, awk, and a
  87.       choice of shell.  Note that UNIX is a registered trademark of USL
  88.       (AT&T), but will be used here in its generic sense.
  89.  
  90.       Most Unices (the more common plural form) are derived more or
  91.       less directly from AT&T code (some code from the first C version
  92.       is presumably still left in most), but there are also clones
  93.       (i.e. Unix-compatible systems with no AT&T code).
  94.  
  95.       In addition, there are also Unix-like environments (e.g. VOS)
  96.       sitting on top of other OSs, and OSs inspired from Unix (yes,
  97.       even DOS!).  These are not covered here.  Little on real-time
  98.       Unices yet (although more is planned).
  99.  
  100.       Unix comes in an incredible variety of flavors.  This is to a
  101.       large extent due to availability of sources and the ease of
  102.       porting and modifying Unix.  Typically, a vendor of Unix will
  103.       start with one basic flavor (see below), take ideas/code from the
  104.       other major flavor, add and change many things, etc.  This
  105.       results in yet another new Unix flavor.  Today, there are
  106.       literally hundreds of Unices available, the closest thing to
  107.       standard Unix being (by definition) System V.
  108.  
  109.       This answer was put together mostly from information on the net
  110.       and email.  Some specific sources are also mentioned in the
  111.       appropriate sections.
  112.  
  113.       Acknowledgements: (in addition to references): pat@bnr.ca,
  114.       guy@auspex.com, pen@lysator.liu.se, mikes@ingres.com,
  115.       mjd@saul.cis.upenn.edu, root%candle.uucp@ls.com, ee@atbull.bull.co.at,
  116.       Aaron_Dailey@stortek.com, ralph@dci.pinetree.org, sbdah@mcshh.hanse.de,
  117.       macmach@andrew.cmu.edu, jwa@alw.nih.gov [4.4BSD], roeber@axpvms.cern.ch,
  118.       bob@pta.pyramid.com.au, bad@flatlin.ka.sub.org, m5@vail.tivoli.com,
  119.       dan@fch.wimsey.bc.ca, jlbrand@uswnvg.com, jpazer@usl.com,
  120.       ym@satelnet.org, merritt@gendev.slc.paramax.com, many that I forgot,
  121.       and all the other folks whose posts I read. Many thanks!
  122.  
  123. ------------------------------
  124.  
  125. Subject: A very brief look at Unix history.
  126. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  127. Date: Wed Nov 17 11:21:35 EST 1993
  128. X-Version: 2.5
  129.  
  130. 6.2)  A very brief look at Unix history.
  131.  
  132.       Unix history goes back to 1969 and the famous "little-used PDP-7
  133.       in a corner" on which Ken Thompson, Dennis Ritchie (the R in K&R)
  134.       and others started work on what was to become Unix.  The name
  135.       "Unix" was intended as a pun on Multics (and was written "Unics"
  136.       at first -- UNiplexed Information and Computing System).
  137.  
  138.       For the first 10 years, Unix development was essentially confined
  139.       to Bell Labs.  These initial versions were labeled "Version n" or
  140.       "Nth Edition" (of the manuals), and were for DEC's PDP-11 (16
  141.       bits) and later VAXen (32 bits).  Some significant versions
  142.       include:
  143.  
  144.       V1 (1971):  1st Unix version, in assembler on a PDP-11/20.
  145.          Included file system, fork(), roff, ed.  Was used as a text
  146.          processing tool for preparation of patents.  Pipe() appeared
  147.          first in V2!
  148.  
  149.       V4 (1973):  Rewritten in C, which is probably the most
  150.          significant event in this OS's history: it means Unix can be
  151.          ported to a new hardware in months, and changes are easy.  The
  152.          C language was originally designed for the Unix operating
  153.          system, and hence there is a strong synergy between C and Unix.
  154.  
  155.       V6 (1975):  First version of Unix widely available outside
  156.          Bell Labs (esp.  in universities).  This was also the start of
  157.          Unix diversity and popularity.  1.xBSD (PDP-11) was derived
  158.          from this version.  J. Lions published "A commentary on the
  159.          Unix Operating System" based on V6.
  160.  
  161.       V7 (1979):  For many, this is the "last true Unix", an
  162.          "improvement over all preceding and following Unices"
  163.          [Bourne].  It included full K&R C, uucp, Bourne shell.  V7 was
  164.          ported to the VAX as 32V.  The V7 kernel was a mere 40
  165.          Kbytes!
  166.  
  167.          Here (for reference) are the system calls of V7:
  168.             _exit, access, acct, alarm, brk, chdir, chmod, chown,
  169.             chroot, close, creat, dup, dup2, exec*, exit, fork, fstat,
  170.             ftime, getegid, geteuid, getgid, getpid, getuid, gtty,
  171.             indir, ioctl, kill, link, lock, lseek, mknod, mount,
  172.             mpxcall, nice, open, pause, phys, pipe, pkoff, pkon,
  173.             profil, ptrace, read, sbrk, setgid, setuid, signal, stat,
  174.             stime, stty, sync, tell, time, times, umask, umount,
  175.             unlink, utime, wait, write.
  176.  
  177.       These Vn versions were developed by the Computer Research Group
  178.       (CRG) of Bell Labs.  Another group, the Unix System Group (USG),
  179.       was responsible for support.  A third group at Bell Labs was also
  180.       involved in Unix development, the Programmer's WorkBench (PWB),
  181.       to which we owe, for example, sccs, named pipes and other
  182.       important ideas.  Both groups were merged into Unix System
  183.       Development Lab in 1983.
  184.  
  185.       Another variant of Unix was CB Unix (Columbus Unix) from the Columbus
  186.       branch of Bell Labs, responsible of Operations Support Systems. Its
  187.       main contribution was parts of SV IPC.
  188.  
  189.       Work on Unix continued at Bell Labs in the 1980s.  The V series
  190.       was further developed by the CRG (Stroustrup mentions V10 in the
  191.       2nd edition of his book on C++), but we don't seem to hear much
  192.       about this otherwise.  The company now responsible for Unix
  193.       (System V) is called Unix System Laboratories (USL) and is
  194.       majority-owned by AT&T.  Novell has bought USL (early 93)?!
  195.       Novell has given rights to the "UNIX" trademark to X/Open (late 93).
  196.  
  197.       But much happened to Unix outside AT&T, especially at Berkeley
  198.       (where the other major flavor comes from).  Vendors (esp. of
  199.       workstations) also contributed much (e.g. Sun's NFS).
  200.  
  201.       The book "Life with Unix" by Don Libes and Sandy Ressler is
  202.       fascinating reading for anyone interested in Unix, and covers a
  203.       lot of the history, interactions, etc..  Much in the present
  204.       section is summarized from this book.
  205.  
  206. ------------------------------
  207.  
  208. Subject: Main Unix flavors.
  209. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  210. Date: Wed Nov 17 11:21:35 EST 1993
  211. X-Version: 2.5
  212.  
  213. 6.3)  Main Unix flavors.
  214.  
  215.       Until recently, there were basically two main flavors of Unix:
  216.       System V (five) from AT&T, and the Berkeley Software Distribution
  217.       (BSD).  SVR4 is essentially a merge of these two flavors.  End
  218.       '91, OSF/1 from the Open Software Foundation was released (as a
  219.       direct competitor to System V) and may (future will tell) change
  220.       this picture.
  221.  
  222.       The following lists the main releases and features of System V,
  223.       BSD and OSF/1.
  224.  
  225.       System V from AT&T.  Typical of Intel hardware.  Most often
  226.          ported Unix, typically with BSD enhancements (csh, job
  227.          control, termcap, curses, vi, symbolic links).  System V
  228.          evolution is now overseen by Unix International (UI).  UI
  229.          members include AT&T, Sun, ....
  230.          Newsgroup: comp.unix.sysv[23]86.  Main releases:
  231.  
  232.          - System III (1982): first commercial Unix from AT&T
  233.            - FIFOs (named pipes)  (later?)
  234.  
  235.          - System V (1983):
  236.            - IPC package (shm, msg, sem)
  237.  
  238.          - SVR2 (1984):
  239.            - shell functions (sh)
  240.            - SVID (System V Interface Definition)
  241.  
  242.          - SVR3 (1986) for ? platforms:
  243.            - STREAMS (inspired by V8), poll(), TLI (network software)
  244.            - RFS
  245.            - shared libs
  246.            - SVID 2
  247.            - demand paging (if hardware supports)
  248.  
  249.          - SVR3.2:
  250.            - merge with Xenix (Intel 80386)
  251.            - networking
  252.  
  253.          - SVR4 (1988), mainstream of Unix implementations, merge of
  254.            System V, BSD, and SunOS.
  255.            - From SVR3: sysadmin, terminal I/F, printer (from BSD?),
  256.              RFS, STREAMS, uucp
  257.            - From BSD: FFS, TCP/IP, sockets, select(), csh
  258.            - From SunOS: NFS, OpenLook GUI, X11/NeWS, virtual memory
  259.              subsystem with memory-mapped files, shared libraries
  260.              (!= SVR3 ones?)
  261.            - ksh
  262.            - ANSI C
  263.            - Internationalization (8-bit clean)
  264.            - ABI (Application Binary Interface -- routines instead of traps)
  265.            - POSIX, X/Open, SVID3
  266.  
  267.          - SVR4.1
  268.            - async I/O (from SunOS?)
  269.  
  270.          - SVR4.2 (based on SVR4.1ES)
  271.            - Veritas FS, ACLs
  272.            - Dynamically loadable kernel modules
  273.  
  274.          - Future:
  275.            - SVR4 MP (multiprocessor)
  276.            - Use of Chorus microkernel?
  277.  
  278.       Berkeley Software Distribution (BSD).  Typical of VAXen, RISCs,
  279.          many workstations.  More dynamic, research versions now than
  280.          System V.  BSD is responsible for much of the popularity of
  281.          Unix.  Most enhancements to Unix started here.  The group
  282.          responsible at UCB (University of California at Berkeley) is
  283.          the Computer System Research Group (CSRG).  They closed down
  284.          in 1992.  Newsgroup: comp.unix.bsd.  Main releases:
  285.  
  286.          (much reorganized wrt dates and releases, hope it's converging)
  287.  
  288.          - 2.xBSD (1978) for PDP-11, still of significance? (2.11BSD
  289.            was released in 1992!).
  290.            - csh
  291.  
  292.          - 3BSD (1978):
  293.            - virtual memory
  294.  
  295.          - 4.?BSD:
  296.            - termcap, curses
  297.            - vi
  298.  
  299.          - 4.0BSD (1980):
  300.  
  301.          - 4.1BSD (?): base of later AT&T CRG versions
  302.            - job control
  303.            - automatic kernel config
  304.            - vfork()
  305.  
  306.          - 4.2BSD (1983):
  307.            - TCP/IP, sockets, ethernet
  308.            - UFS: long file names, symbolic links
  309.            - new reliable signals (4.1 reliable signals now in SVR3)
  310.            - select()
  311.  
  312.          - 4.3BSD (1986) for VAX, ?:
  313.          - 4.3 Tahoe (1988): 4.3BSD with sources, support for Tahoe
  314.            (32-bit supermini)
  315.            - Fat FFS
  316.            - New TCP algorithms
  317.          - 4.3 Reno (1990) for VAX, Tahoe, HP 9000/300:
  318.            - most of P1003.1
  319.            - NFS (from Sun)
  320.            - MFS (memory file system)
  321.            - OSI: TP4, CLNP, ISODE's FTAM, VT and X.500;  SLIP
  322.            - Kerberos
  323.  
  324.          - Net1 (?) and Net2 (June 1991) tapes: that portion of BSD which
  325.            requires no USL copyright
  326.  
  327.          - 4.4BSD (alpha June 1992) for HP 9000/300, Sparc, 386, DEC, others;
  328.            neither VAX nor Tahoe; two versions, lite (~Net2 contents plus,
  329.            fixes and new architectures) and encumbered (everything, requires
  330.            USL license):
  331.            - new virtual memory system (VMS) based on Mach 2.5
  332.            - virtual filesystem interface, log-structured filesystem, size
  333.              of local filesystem up to 2^63, NFS (freely redistributable,
  334.              works with Sun's, over UDP or TCP)
  335.            - ISO/OSI networking support (based on ISODE): TP4/CLNP/802.3 and
  336.              TP0/CONS/X.25, session and above in user space;  FTAM, VT, X.500.
  337.            - most of POSIX.1 (esp. new terminal driver a la SV), much of
  338.              POSIX.2, improved job control; ANSI C headers
  339.            - Kerberos integrated with much of the system (incl. NFS)
  340.            - TCP/IP enhancements (incl. header prediction, SLIP)
  341.            - important kernel changes (new system call convention, ...)
  342.            - other improvements: FIFOs, byte-range file locking
  343.            Official 4.4BSD release was expected within 6 months of above.
  344.  
  345.       The Open Software Foundation (OSF) released its Unix called OSF/1
  346.          end of 1991.  Still requires an SVR2 license.
  347.          Compatible/compliant with SVID 2 (and 3 coming), POSIX,
  348.          X/Open, etc..  OSF members include Apollo, Dec, HP, IBM, ....
  349.  
  350.          - OSF/1 (1991):
  351.            - based on Mach 2.5 kernel
  352.            - symmetric multiprocessing, parallelized kernel, threads
  353.            - logical volumes, disk mirroring, UFS (native), S5 FS, NFS
  354.            - enhanced security (B1 with some B2, B3; or C2), 4.3BSD admin
  355.            - STREAMS, TLI/XTI, sockets
  356.            - shared libs, dynamic loader (incl. kernel)
  357.            - Motif GUI
  358.  
  359.          - Future:
  360.            - OSF/1 MK (mikrokernel) based on Mach 3.0
  361.  
  362.       This list of major flavors should probably also include Xenix
  363.       (Microsoft) which has been the basis for many ports.  Derived from V7,
  364.       S III and finally System V, it is similar externally but significantly
  365.       changed internally (performance-tuned for micros).
  366.  
  367.  
  368.       Two very good books describe the internals of the two main flavors.
  369.       These are:
  370.       - System V: "Design of the Unix Operating SYstem", M.J. Bach.
  371.       - BSD: "Design and Implementation of the 4.3BSD Unix Operating System",
  372.         Leffler, McKusick, Karels, Quaterman.
  373.       For a good introduction to OSF/1 (not quite as technical as the
  374.       previous two), see: "Guide to OSF/1, A Technical Synopsis",
  375.       published by O'Reilly.  On SunOS, "Virtual Memory Architecture in
  376.       SunOS" and "Shared Libraries in SunOS" in Summer 1989 USENIX
  377.       Proceedings.
  378.  
  379.       A good set of articles on where Unix is going is "Unix Variants"
  380.       in the Apr 92 issue of Unix Review.  Other good sources of
  381.       information include the bsd-faq file, and many of the newsgroups
  382.       mentioned in the text.
  383.  
  384. ------------------------------
  385.  
  386. Subject: Unix Standards.
  387. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  388. Date: Wed Nov 17 11:21:35 EST 1993
  389. X-Version: 2.5
  390.  
  391. 6.4)  Unix Standards.
  392.  
  393.       This section briefly describes the more important standards
  394.       relevant to Unix.
  395.  
  396.       - IEEE:
  397.         - 802.x (LAN) standards (LLC, ethernet, token ring, token bus)
  398.         - POSIX (ISO 9945?): Portable Operating System I/F (Unix, VMS
  399.           and OS/2!) (only ? have been finalized at this point)
  400.           - 1003.1:  library procedures (mostly system calls) -- roughly V7
  401.                      except for signals and terminal I/F (1990)
  402.           - 1003.2:  shell and utilities
  403.           - 1003.3:  test methods and conformance
  404.           - 1003.4:  real-time: binary semaphores, process memory
  405.                      locking, memory-mapped files, shared memory,
  406.                      priority scheduling, real-time signals, clocks and
  407.                      timers, IPC message passing, synchronized I/O,
  408.                      asynchronous I/O, real-time files
  409.           - 1003.5:  Ada language bindings
  410.           - 1003.6:  security
  411.           - 1003.7:  system admin (incl. printing)
  412.           - 1003.8:  transparent file access
  413.           - 1003.9:  FORTRAN language bindings
  414.           - 1003.10: super computing
  415.           - 1003.12: protocol-independent I/Fs
  416.           - 1003.13: real-time profiles
  417.           - 1003.15: supercomputing batch I/Fs
  418.           - 1003.16: C-language bindings (?)
  419.           - 1003.17: directory services
  420.           - 1003.18: POSIX standardized profile
  421.           - 1003.19: FORTRAN 90 language bindings
  422.  
  423.       - X/Open (consortium of vendors, founded 1984):
  424.         - X/Open Portability Guides (XPGn):
  425.           - XPG2 (1987), strong SV influence
  426.             Vol 1:  commands and utilities
  427.             Vol 2:  system calls and libraries
  428.             Vol 3:  terminal I/F (curses, termio), IPC (SV),
  429.                     internationalization
  430.             Vol 4:  programming languages (C, COBOL!)
  431.             Vol 5:  data management (ISAM, SQL)
  432.           - XPG3 (1989) adds: X11 API
  433.           - XPG4 (1992) adds: XTI?   22 components
  434.         - XOM series of interfaces:
  435.           - XOM (X/Open Object Management) generic I/F mechanisms for
  436.             following
  437.           - XDS (X/Open Directory Service)
  438.           - XMH (X/Open Mail ??)
  439.           - XMP (X/Open Management Protocols) -- not Bull's CM API?
  440.         - X/Open now has the rights to the "UNIX" trademark (late 93);
  441.         - "Spec 1170"
  442.           - This specification is being prepared describing a common API
  443.             which vendors wanting to use the name "UNIX" will have to comply
  444.             with (when test suites are available). Merge of SVID3, OSF's AES
  445.             and other stuff.
  446.  
  447.       - AT&T
  448.         - System V Interface Definition (SVID)
  449.           - SVID1 (1985, SVR2)
  450.             Vol 1:  system calls and libraries (similar to XPG2.1)
  451.           - SVID2 (1986, SVR3)
  452.             Vol 1:  system calls and libraries (base, kernel extensions)
  453.             Vol 2:  commands and utilities (base, advanced, admin, software
  454.                     development), terminal I/F
  455.             Vol 3:  terminal I/F (again), STREAMS and TLI, RFS
  456.           - SVID3 (19??, SVR4) adds
  457.             Vol 4:  ??  &c
  458.         - APIs
  459.           - Transport Library Interface (TLI)
  460.           - ACSE/Presentation Library Interface (APLI)
  461.  
  462. ------------------------------
  463.  
  464. Subject: Identifying your Unix flavor.
  465. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  466. Date: Wed Nov 17 11:21:35 EST 1993
  467. X-Version: 2.5
  468.  
  469. 6.5)  Identifying your Unix flavor.
  470.  
  471.       This section lists a number of things you can look at in
  472.       attempting to identify the base flavor of your Unix.  Given the
  473.       significant exchange of code and ideas between the various
  474.       flavors and the many changes made by vendors, any statement such
  475.       as "this Unix is an SVR2" is at best a statistical statement
  476.       (except for some SVRn ports).  Also many Unices offer most of
  477.       both worlds (either mixed as in SunOS or strictly separated as in
  478.       Apollo?).  So this section is perhaps not very useful...
  479.  
  480.       The list of features in previous sections can also help.  For
  481.       example, if a system has a poll(2) but no select(2), it is highly
  482.       probable that it is derived from SVR3.  Also the name of the OS
  483.       can provide a clue, as well as the logon message (e.g.  SGI's
  484.       "Irix SVR3.3.2") or the output of "uname -a" command.  Available
  485.       commands can also provide hints but this is probably less
  486.       reliable than kernel features.  For example, the type of terminal
  487.       initialization (inittab or ttys) is a more reliable indicator
  488.       than the print subsystem.
  489.  
  490.       Feature           Typical in SVRx         Typical in xBSD
  491.  
  492.       kernel name       /unix                   /vmunix
  493.       terminal init     /etc/inittab            /etc/ttys (only getty to 4.3)
  494.       boot init         /etc/rc.d directories   /etc/rc.* files
  495.       mounted FSs       /etc/mnttab             /etc/mtab
  496.       usual shell       sh, ksh                 csh, #! hack
  497.       native FS         S5 (blk: 512-2K)        UFS (blk: 4K-8K)
  498.                         file names <= 14 bytes  file names < 255 bytes
  499.       groups            need newgrp(1)          automatic membership
  500.                         SVR4: multiple groups
  501.       print subsystem   lp, lpstat, cancel      lpr, lpq, lprm (lpd daemon) ??
  502.       terminal control  termio, terminfo,       termios (sgtty before 4.3reno)
  503.                         SVR4: termios (POSIX)   termcap
  504.       job control       >= SVR4                 yes
  505.       ps command        ps -ef                  ps -aux
  506.       multiple wait     poll                    select
  507.       string fcns       memset, memcpy          bzero, bcopy
  508.       process mapping   /proc  (SVR4)
  509.  
  510. ------------------------------
  511.  
  512. Subject: Brief notes on some well-known (commercial/PD) Unices.
  513. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  514. Date: Wed Nov 17 11:21:35 EST 1993
  515. X-Version: 2.5
  516.  
  517. 6.6)  Brief notes on some well-known (commercial/PD) Unices.
  518.  
  519.       (I am not at all satisfied with this section, unfortunately I
  520.       have neither the time nor the documents to make it much better
  521.       (wrt contents).  Should only list Unices known by a reasonably
  522.       wide audience.  Small and non-US Unices welcome, e.g. Eurix.  In
  523.       need of reformatting)
  524.  
  525.       This section lists (in alphabetical order) some of the better
  526.       known Unices along with a brief description of their nature.
  527.  
  528.       AIX:  IBM's Unix, based on SVR2 (later up to SVR3.2?) with varying
  529.          degrees of BSD extensions, for various hardwares.  Proprietary
  530.          system admin (SMIT).  Both 850 and Latin-1 CPs.  Quite
  531.          different from most Unices and among themselves.
  532.          Newsgroup: comp.unix.aix.
  533.          - 1.x (for 386 PS/2)
  534.          - 2.x (for PC RTs)
  535.          - 3.x (for RS/6000), paging kernel, logical volume manager, i18n;
  536.            3.2 adds TLI/STREAMS.  SV-based with many enhancements.
  537.          - AIX/ESA, runs native on S/370 and S/390 mainframes, based on OSF/1.
  538.          AIX was to have been base for OSF/1 until Mach was chosen instead.
  539.          I hope this subsection is converging :-)
  540.  
  541.       AOS (IBM):  4.3BSD port to IBM PC RT (for educational institutes).
  542.          Don't confuse with DG's proprietary OS of same name.
  543.  
  544.       Arix:  SV
  545.  
  546.       A/UX (Apple): SV with Berkeley enhancements, NFS, Mac GUI.  System 6
  547.          (later System 7) runs as guest of A/UX (opposite of MachTen).
  548.          Newsgroup: comp.unix.aux.
  549.          - 2.0:  SVR2 with 4.2BSD, system 6 Mac applications.
  550.          - 3.0 (1992): SVR2.2 with 4.3BSD and SVR3/4 extensions; X11R4,
  551.            MacX, TCP/IP, NFS, NIS, RPC/XDR, various shells, UFS or S5FS.
  552.            System 7 applications.
  553.          - 4.0 will have/be OSF/1.
  554.  
  555.       BOS for Bull's DPX/2 (680x0)
  556.          - V1 (1990): SVR3 with BSD extensions (FFS, select, sockets),
  557.            symmetric MP, X11R3
  558.          - V2 (1991): adds job control, disk mirroring, C2 security,
  559.            DCE extensions
  560.  
  561.       386BSD: Jolitz's port of Net2 software.  Posix, 32-bit, still in alpha.
  562.  
  563.       BSD/386 (80386):  from BSDI, with source (augmented Net2 software)
  564.          Newsgroup: comp.unix.bsd.
  565.  
  566.       Chorus/MiXV:  Unix SVR3.2 (SVR4) over Chorus nucleus, ABI/BCS.
  567.  
  568.       Coherent (80286):  Unix clone compatible with V7, some SVR2 (IPC).
  569.          V4.0 is 32-bit.  Newsgroup: comp.os.coherent
  570.  
  571.       Consensys: SVR4.2
  572.  
  573.       CTIX: SV-based, from Convergent
  574.  
  575.       D-NIX:  SV
  576.  
  577.       DC/OSx (Pyramid):  SVR4.
  578.  
  579.       DELL UNIX [DELL Computer Corp.]: SVR4
  580.  
  581.       DomainIX: see DomainOS below.
  582.  
  583.       DomainOS (Apollo, now HP): proprietary OS; layered on top is BSD4.3 and
  584.          SVR3 (a process can use either, neither or both).  Development now
  585.          stopped, some features now in OSF/1 (and NT).  Now at SR10.4.
  586.          Name for SR9.* was DomainIX.  Newsgroup: comp.sys.apollo.
  587.  
  588.       DVIX (NT's DVS):  SVR2
  589.  
  590.       DYNIX (Sequent): 4.2BSD-based
  591.  
  592.       DYNIX/PTX: SVR3-based
  593.  
  594.       Esix (80386):  pure SVR4, X11, OpenLook (NeWS), Xview
  595.  
  596.       Eurix (80?86):  SVR3.2 (Germany)
  597.  
  598.       FTX: Stratus fault-tolerant OS (68K or i860-i960 hardware)
  599.  
  600.       Generics UNIX (80386): SVR4.03 (Germany)
  601.  
  602.       GNU Hurd (?):  vaporware from the Free Software Foundation (FSF):
  603.          Unix emulator over Mach 3.0 kernel.  Many GNU tools are very
  604.          popular (emacs) and used in the PD Unices.
  605.  
  606.       HP-UX (HP):  old from S III (SVRx), now SVR2 (4.2BSD?) with SV utilities
  607.          (they have trouble making up their minds).
  608.          - 6.5: SVR2
  609.          - 7.0: SVR3.2, symlinks
  610.          - 7.5
  611.          - 8.0: BSD based? for HP-9000 CISC (300/400) and RISC (800/700),
  612.            shared libs
  613.          - 9.0: includes DCE
  614.  
  615.       Interactive SVR3.2 (80x86): pure SVR3.  Interactive has been bought
  616.          by Sun; will their system survive Solaris?
  617.  
  618.       Idris:  first Unix clone by Whitesmith.
  619.          - 4D
  620.  
  621.       Irix (SGI):  SVR3.2, much BSD.  Newsgroup: comp.sys.sgi.
  622.  
  623.       Linux (80386):  PD Unix, conforms to POSIX.  Available with sources.
  624.          Compatible with SVR3.2?  Newsgroup: comp.os.linux
  625.  
  626.       MachTen, Tenon Intersystems:  runs as a guest of System 6, no memory
  627.          protection, 4.3BSD environment with TCP, NFS.
  628.  
  629.       MacMach (Mac II): 4.3BSD over Mach 3.0 microkernel, X11, Motif, GNU
  630.          software, sources, experimental System 7 as Mach task.  Complete
  631.          with all sources (need Unix license).
  632.  
  633.       Mach386: from Mt Xinu.  Based on Mach 2.5, with 4.3BSD-Tahoe
  634.          enhancements.  Also 2.6 MSD (Mach Source Distribution).
  635.  
  636.       Microport (80x86):  pure SVR4, X11, OpenLook GUI
  637.  
  638.       Minix (80x86, Atari, Amiga, Mac):  Unix clone compatible with V7.
  639.          Sold with sources.  Being POSIXified (sp?).  Newsgroup: comp.os.minix.
  640.  
  641.       MipsOS:  SVish (RISC/OS, now dropped, was BSDish)
  642.  
  643.       more/BSD (VAX, HP 9000/300):  Mt Xinu's Unix, based on 4.3BSD-Tahoe.
  644.          Newsgroup: comp.os.xinu?
  645.  
  646.       NCR UNIX: SVR4 (4.2?)
  647.  
  648.       Net/2 tape (from Berkeley, 1991): BSD Unix, essentially compatible with
  649.          4.3BSD, includes only sources free of AT&T code, no low-level code.
  650.          See 386BSD and BSD/386 above.
  651.  
  652.       NetBSD: much improved release of 386BSD (more stable and complete).
  653.          Ported to [34]86, MIPS, Amiga, Sun, Mac. What is relation to Net/2?
  654.  
  655.       NextStep (Next):  BSD4.3 over Mach kernel, own GUI.
  656.          - 1.x, 2.0 (old)
  657.          - 2.1 (current)
  658.          - 2.2 (support for NeXT Turbo machines)
  659.          - 3.0 (now shipping, optimized for 68040 machines)
  660.          - 3.1 (to be announced)
  661.          - NeXTSTEP 486 Beta release is scheduled for the 4th quarter 1992.
  662.  
  663.       NEWS-OS (Sony)
  664.          - 3.2
  665.  
  666.       OSF/1 (DEC): DEC's port of OSF/1.  I think this is now (4/93) available
  667.          on DEC's latest Alpha AXP (64-bit machine).
  668.  
  669.       OSx (Pyramid): Dualport of both SysV.3 and BSD4.3.
  670.  
  671.       PC-IX (IBM 8086):  SV
  672.  
  673.       Plan 9 (AT&T): announced 1992, complete rewrite, not clear how close to
  674.          Unix it is.  Key points: distributed, very small, various hardwares
  675.          (Sun, Mips, Next, SGI, generic hobbit, 680x0, PCs), C (not C++ as
  676.          rumors had it), new compiler, "8 1/2" window system (also very
  677.          small), 16-bit Unicode, CPU/file servers over high speed nets.
  678.  
  679.       PowerOpen: announced Unix which is to run on the PowerPC chip (from
  680.          IBM, Apple and Motorola).  Mac UI, compatibility to AIX.
  681.  
  682.       SCO Xenix (80x86): Versions for XT (not robust!), 286, 386 (with demand
  683.          paging).  Today bulk of code is from System V.  Stable product.
  684.  
  685.       SCO Unix (80x86):  SVR3.2
  686.  
  687.       Sinix [Siemens]: System V base.
  688.  
  689.       Solaris (Sparc, 80386):
  690.          - 1.0:  essentially same as SunOS 4.1.1, with OpenWindows 2.0 and
  691.            DeskSet utilities.
  692.          - 1.0.1:  SunOS 4.1.2 with multiprocessing (kernel not multithreaded);
  693.            not for 386
  694.          - 2.0: (initially announced as SunOS 5.0 in 1988) based on SVR4
  695.            (with symmetric MP?), will include support for 386; with
  696.            OpenWindows 3.0 (X11R4) and OpenLook, DeskSet, ONC, NIS.  Both
  697.            a.out (BSD) and elf (SVR4) formats.  Kerberos support.  Compilers
  698.            unbundled!
  699.  
  700.       SunOS (680x0, Sparc, i386):  based on 4.3BSD, includes much from
  701.          System V.  Main Sun achievements: NFS (1984), SunView (1985), NeWS
  702.          (1986, postscript imaging, now in OpenWindows), OpenLook GUI standard,
  703.          OpenWindows (NeWS, X11, SunView!).  Newsgroup: comp.sys.sun.*.
  704.          - 3.x:  SV IPC package, FIFOs
  705.          - 4.0.3: lightweight processes, new virtual mem, shared libs
  706.          - 4.1: STREAMS & TLI, 8-bit clean?, async I/O, ms-dos file system
  707.          (continues as Solaris -- see above).
  708.  
  709.       UHC (80x86): pure SVR4, X11, Motif
  710.  
  711.       Ultrix (DEC):  based on 4.2BSD with much of 4.3.
  712.          Newsgroup: comp.unix.ultrix.
  713.          - 3.1, 4.0
  714.  
  715.       UNICOS (Cray):  System V base.  Newsgroup: comp.unix.cray
  716.          - 5.x, 6,x, 7.0
  717.  
  718.       UTEK (Tektronix)
  719.          - 4.0
  720.  
  721.       Xenix (80x86):  1st Unix on Intel hardware, based on SVR2 (previously on
  722.          S III and even V7).  Newsgroup: comp.unix.xenix.
  723.  
  724.       3B1 (680x0): SV-based, done by Convergent for AT&T.
  725.          Newsgroup: comp.sys.3b1.
  726.  
  727. ------------------------------
  728.  
  729. Subject: Real-time Unices.
  730. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  731. Date: Wed Nov 17 11:21:35 EST 1993
  732. X-Version: 2.5
  733.  
  734. 6.7)  Real-time Unices.
  735.  
  736.       WARNING: this section is badly in need of work. It's full of errors,
  737.       and it's incomplete. I hope to have time to look at it this winter
  738.       (was "this fall"). I doubt all of following are Unices -- input is
  739.       welcome. The list also includes more common Unices with real-time
  740.       features, and some non-Unix systems with Unix-like APIs. I don't
  741.       suppose the latter really belong here, but having collected some notes,
  742.       I'm hesitant to junk them. See also comp.realtime.
  743.  
  744.       Concurrent OS (Concurrent): real Unix, significantly modifed by
  745.          Concurrent.
  746.  
  747.       EP/LX (Control Data): port of LynxOS to R3000. Formerly called TC/IX.
  748.  
  749.       LynxOS (Lynx Real-Time Systems, Inc): Berkeley and SV compatibility,
  750.          ground-up rewrite (proprietary), predates SVR4. Is not UNIX, but
  751.          supports much of the UNIX I/Fs. Fully preemptive, fixed priorities.
  752.  
  753.       MiX: microkernel implementation of SVR4 offered by Chorus.
  754.  
  755.       Motorola SVR4 has real-time capabilities.
  756.  
  757.       QNX (Quantum Software): unix-compatible real real-time OS.
  758.  
  759.       RTU (Concurrent), for 68K boxes
  760.  
  761.       Solaris 2 has real-time capabilities?
  762.  
  763.       Stellix (Stardent); it's Unix, but is it real-time?
  764.  
  765.       Venix/386: Interactive SVR3.2 with real-time extensions.
  766.  
  767.       VMEexec (Motorola): not Unix, but also shares some I/Fs with Unix.
  768.  
  769.       VxWorks (Wind River Systems): Little in common with Unix, has some I/Fs
  770.          in common with Unix (but not the file system). Newsgroup:
  771.          comp.os.vxworks.
  772.  
  773.         (know nothing about)
  774.  
  775.       Convex RTS
  776.  
  777.       REAL/IX (AEG)
  778.  
  779.       Sorix (Siemens)
  780.  
  781.       System V/86 (Motorola)
  782.  
  783.       TC/IX (CCD)
  784.  
  785.       Velocity (Ready Systems):
  786.  
  787.  
  788. ------------------------------
  789.  
  790. Subject: Unix glossary.
  791. >From: "Pierre (P.) Lewis" <lew@bnr.ca>
  792. Date: Wed Nov 17 11:21:35 EST 1993
  793. X-Version: 2.5
  794.  
  795. 6.8)  Unix glossary.
  796.  
  797.       This section provides short definitions of various concepts and
  798.       components of (or related to) Unix systems.
  799.  
  800.       Chorus: message-passing microkernel, may form basis for a future release
  801.          of SV.  Chorus already have SVR4 running on top (binary-compatible).
  802.  
  803.       COSE (Common Open Software Environment) [Sun, HP, IBM]: common look and
  804.          feel (Motif), common API.  Reaction against Windows NT.
  805.  
  806.       DCE (Distributed Computing Environment, from OSF): Includes RPC (Apollo's
  807.          NCS), directory service (local based on DNS, global on X.500), time,
  808.          security, and threads services, DFS (distrib. file system), ....
  809.          OS-independent.
  810.  
  811.       DME (Distributed Management Environment, from OSF):  future.
  812.  
  813.       FFS (Fast File System): from Berkeley, 1983.  Equivalent (exact?) of
  814.          UFS in SunOS.  Has notions such as cylinder groups, fragments.
  815.  
  816.       Mach: modern kernels from CMU (Carnegie Mellon University) on which many
  817.          Unices and other OSs are based (e.g. OSF/1, MacMach, ...):
  818.          - 2.5: monolithic kernel with 4.2BSD
  819.          - 3.0: microkernel with BSD Unix server in user space (and other OSs,
  820.            e.g. MS-DOS)
  821.          Newsgroup: comp.os.mach
  822.  
  823.       MFS (Memory File System):
  824.  
  825.       NeWS (Network extensible Window System), from Sun?: PostScript-based,
  826.          networked, toolkits (and even clients) loaded in server.  Part of
  827.          OpenWindows.
  828.  
  829.       NFS (Network File System):  contributed by Sun to BSD, stateless server
  830.  
  831.       ONC (Open Network Computing): from Sun(?), includes RPC, name service
  832.          (NIS aka YP), NFS, ... (found in many Unices, other OSs).
  833.  
  834.       RFS (Remote File System):  SV, stateful server, incompatible with NFS
  835.  
  836.       RPC (Remote Procedure Call): high-level IPC (inter-process communication)
  837.          mechanism.  Two flavors.
  838.          - ONC: Over TCP or UDP (later OSI), uses XDR to encode data.
  839.          - DCE: has a different RPC mechanism (based on Apollo's NCS)
  840.  
  841.       S5 FS:  System V's native file system, blocks 512 to 2K.
  842.  
  843.       sockets:  BSD interface mechanism to networks (compare TLI).
  844.  
  845.       STREAMS:  a message-passing kernel mechanism, initially in SVR3, which
  846.          provides a very good interface for protocol development.
  847.  
  848.       TFS (Translucent File System): Sun, COW applied to files.
  849.  
  850.       TLI (Transport Library Interface):  SV's interface to transport services
  851.          (TCP, OSI).  UI has also defined an APLI (ACSE/Presentation Library
  852.          Interface)
  853.  
  854.       UFS (?): BSD's native file system as seen in SunOS, blocks 4K to 8K,
  855.          cylinder groups, fragments.
  856.  
  857.       XTI (X/Open Transport Interface):  TLI with enhancements
  858.  
  859.       X11: pixel-oriented window system from MIT.
  860.  
  861. ------------------------------
  862.  
  863. End of unix/faq Digest part 6 of 7
  864. **********************************
  865.  
  866. -- 
  867. Ted Timar - tmatimar@empress.com
  868. Empress Software, 3100 Steeles Ave E, Markham, Ont., Canada L3R 8T3
  869.