home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / xenix / sco / 2835 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  51.8 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!news.dell.com!natinst.com!balkan!chinacat!chip
  2. From: chip@chinacat.unicom.com (Chip Rosenthal)
  3. Newsgroups: comp.unix.xenix.sco
  4. Subject: Welcome to comp.unix.xenix.sco [monthly posting]
  5. Summary: answers to frequently asked questions
  6. Message-ID: <sco-xenix-920905@chinacat.unicom.com>
  7. Date: 6 Sep 92 00:20:10 GMT
  8. Expires: Thu, 5 Nov 1992 00:20:11 GMT
  9. Organization: Unicom Systems Development, Austin, TX
  10. Lines: 1248
  11. Supersedes: <sco-xenix-920807@chinacat.unicom.com>
  12. X-Faq: sco-xenix
  13.  
  14. Archive-name: sco-xenix
  15. Version: 1.33
  16.  
  17. @(#) sco-xenix 1.33 92/09/05 18:52:02
  18.  
  19. Welcome to comp.unix.xenix.sco.  This newsgroup is about the XENIX
  20. operating system from the Santa Cruz Operation (SCO).  If you have an
  21. SCO XENIX question, then you've come to the right place.
  22.  
  23. This is NOT the newsgroup for SCO UNIX or Open Desktop questions.
  24. Please use comp.unix.sysv386.  It is also NOT the right place for
  25. questions about XENIX implementations from other vendors.  Use
  26. comp.unix.xenix.misc.
  27.  
  28. Certain questions are asked frequently on the net.  Frequently asked
  29. questions (FAQs) get old and boring after a while.  We can stamp out
  30. FAQs in your lifetime!  Please review this message before posting your
  31. question to comp.unix.xenix.sco.
  32.  
  33. You should also review the FAQ postings in comp.unix.questions and
  34. news.announce.newusers.  These answer general questions, such as `How
  35. do I delete a file with funny characters in the name?' and `How can
  36. I change my shell prompt?'  C programmers should also check out the
  37. FAQ in comp.lang.c.
  38.  
  39. Whenever we talk about XENIX here, we really mean SCO XENIX System V.
  40. Our comments often won't apply to the other kinds of XENIX.  Also, be
  41. particularly careful if you use XENIX/286.  It's been ages since we've
  42. used it and some of our suggestions might not apply.
  43.  
  44. This message is maintained and posted monthly by Chip Rosenthal.  Your
  45. corrections, additions, and comments are encouraged.  Please mail them
  46. to chip@chinacat.unicom.com or uunet!chinacat!chip.  These questions
  47. and answers were written by Chip Rosenthal, Jeff Liebermann, Ronald
  48. Florence, Chip Salzenberg, and Ronald Khoo.
  49.  
  50.  
  51. ******************************************************************************
  52. ****************************  Questions Answered  ****************************
  53. ******************************************************************************
  54.  
  55.  
  56. ===> Product Questions:
  57.  
  58.     QA1.  What is the difference between UNIX and XENIX?
  59.     QA2.  What is the minimum system required to run XENIX?
  60.     QA3.  Should I buy UNIX or XENIX?
  61.     QA4.  What are the current XENIX versions?
  62.     QA5.  Where can I get XENIX fixes?
  63.     QA6.  I'm using an older XENIX/386 version.  What fixes do I need?
  64.     QA7.  Does SCO have a BBS?
  65.  
  66.  
  67. ===> General XENIX Questions:
  68.  
  69.     QB1.  Can't boot.  My system used to work.
  70.     QB2.  Configure(ADM) fails when I modify my system name.
  71.     QB3.  I upgraded XENIX.  Now I get `parity error' panics.
  72.     QB4.  Login fails without prompting for password.
  73.     QB5.  Can I use `gcc' instead of buying the SCO Development System?
  74.     QB6.  Program `foobar' dumps core with a stack overflow. [XENIX 286]
  75.     QB7.  Spell cannot initialize hash table.
  76.     QB8.  Will my laser printer work with the Text Processing Package?
  77.     QB9.  Where is crypt?
  78.  
  79.  
  80. ===> Disk and Filesystem Questions:
  81.  
  82.     QC1.  Can I use a disk bigger than 1024 cylinders?
  83.     QC2.  Why won't XENIX recognize my SCSI disk?
  84.     QC3.  Where is the `/u' filesystem I created?
  85.     QC4.  `WARNING!! - mounting: <usr> as <news>' message when booting.
  86.     QC5.  `POSSIBLE FILE SIZE ERROR' when running `fsck'.
  87.     QC6.  Is disk fragmentation curable?
  88.  
  89.  
  90. ===> Communications Questions:
  91.  
  92.     QD1.  How do I add more than 2 COM ports?
  93.     QD2.  Where is the `gettydefs' entry for 19200 serial lines?
  94.     QD3.  How can I have more mscreen(C) sessions?
  95.     QD4.  Upgraded to 2.3.4 and flow control broke with mscreen(C).
  96.     QD5.  Terminals act funny, modems drop characters, help!!
  97.     QD6.  Does XENIX support 16550A UARTs?
  98.     QD7.  How do I increase the number of `clists'?
  99.     QD8.  How do I change the 16550A trigger level?
  100.     QD9.  How do I adjust the `ttyhog' value?
  101.     QD10. Where can I find TCP/IP?  NFS?
  102.     QD11. BSD based uucp can't connect to my machine.
  103.     QD12. uucp truncates my system name to seven characters!
  104.     QD13. What is the uucp `windows' patch?
  105.     QD14. uucp gives `alarm' messages, eventually dies.
  106.  
  107.  
  108. ===> Display and Graphics Questions:
  109.  
  110.     QE1.  How can I do graphics under XENIX?  What programs are available?
  111.     QE2.  CGI graphics mangles grey scale on a mono VGA.
  112.     QE3.  CGI graphics fail on a LaserJet in landscape mode.
  113.     QE4.  How can I do a printscreen under XENIX?
  114.  
  115.  
  116. ===> XENIX and MS-DOS Interoperability Questions:
  117.  
  118.     QX1.  Can XENIX share a hard disk with MS-DOS?
  119.     QX2.  Can XENIX access MS-DOS disks?
  120.     QX3.  Can XENIX execute MS-DOS programs?
  121.     QX4.  Can MS-DOS execute XENIX programs?
  122.  
  123.  
  124. ===> The (in)Famous XENIX Cheat-Sheet:
  125.  
  126.     QZ1.  What the $%*&! is happening?
  127.  
  128.  
  129. ******************************************************************************
  130. ****************************  Product Questions  *****************************
  131. ******************************************************************************
  132.  
  133.  
  134. QA1.  What is the difference between UNIX and XENIX?
  135.  
  136.     XENIX is UNIX -- or at least one flavor of it.  In the late 70's,
  137.     Microsoft licensed the UNIX sources from AT&T and ported them to a
  138.     number of platforms.  In those days AT&T would license the UNIX sources
  139.     but not the UNIX name, thus each company had to invent their own name.
  140.     Microsoft picked XENIX.  Microsoft did not sell XENIX to end users.
  141.     Instead, they licensed the software to OEMs (Intel, Tandy, Altos, SCO,
  142.     etc.) who provided a finished end-user package.  Microsoft no longer
  143.     supports XENIX, and in fact never even offered a 286 or 386 version.
  144.  
  145.     Several UNIX implementations for the PC architecture have been tried
  146.     with varying levels of success.  SCO XENIX for the PC/XT was one.
  147.     Unfortunately, the PC/XT lacked hardware features required for robust
  148.     UNIX operations.  The PC/AT offered hardware memory protection, and
  149.     SCO XENIX/286 took advantage of it.  SCO XENIX/386 added demand
  150.     paged virtual memory.  These added features made multiuser PCs
  151.     viable, and SCO XENIX popular.
  152.  
  153.     SCO XENIX starts with a UNIX System III base, throws in several
  154.     Berkeley enhancements, and adds features to obtain conformance to
  155.     the System V Interface Definition (SVID).  Today, the bulk of the
  156.     code is from System V.  XENIX/386 even has capabilities to execute
  157.     UNIX programs.  However, it differs in many of the SVID `optional'
  158.     areas people tend to expect of a full System V.  For example, SCO
  159.     XENIX lacks a real `inittab'.  You need to go to a real System V
  160.     Release 3.2, such as SCO UNIX, for all these features.
  161.  
  162.  
  163. QA2.  What is the minimum system required to run XENIX?
  164.  
  165.     For a minimal single-user XENIX system, we recommend an 80386SX-16
  166.     processor, 2MB to 4MB RAM, and 40MB hard disk.  For the full XENIX
  167.     system (Run Time, Development, and Text Processing), consider an
  168.     80386DX-20 processor, 4MB RAM, and 80MB hard disk.  Additional
  169.     resources will be required to support additional users, large
  170.     applications, networking, or X windows.  XENIX/286 will run on a
  171.     PC/AT, but you will quickly become frustrated with its limitations,
  172.     especially if you are a programmer.
  173.  
  174.  
  175. QA3.  Should I buy UNIX or XENIX?
  176.  
  177.     If you are running XENIX now, don't throw it away and buy UNIX.
  178.     XENIX will be around for some time.  However, if you are new to
  179.     multi-user computing, you should consider UNIX System V Release
  180.     3.2 or Release 4.0.  XENIX is a mature product.  There will be
  181.     few future enhancements.  UNIX has more goodies and better
  182.     performance than XENIX.  UNIX runs XENIX binaries, so it will do
  183.     most anything XENIX can -- and more.  XENIX requires less memory
  184.     and disk space.  However, hardware prices are declining and UNIX
  185.     is now pretty stable, so these are not great advantages.
  186.  
  187.     On the other hand there are a number of XENIX enthusiasts who
  188.     wouldn't switch if you gave them a free copy of UNIX.  They would
  189.     gladly forgo the new features to avoid the bloat of System V.
  190.  
  191.  
  192. QA4.  What are the current XENIX versions?
  193.  
  194.         Package                 Version         `perms' file
  195.         ----------------------  --------------  ---------------------------
  196.         XENIX Runtime System    2.3.4           inst, dsmd, tpmd, rts, ext
  197.         XENIX Runtime (286)     2.3.2           inst, dsmd, tpmd, rts, ext
  198.         Development System(386) 2.3.1           soft
  199.         Development System(286) 2.2.1           soft
  200.         CGI                     1.1.0           cgi
  201.         Text Processing         2.3.0           text
  202.         Manual Pages            2.3.0           man
  203.         VP/ix                   1.2.0           vpix
  204.         TCP/IP Runtime          1.0.1           tcprt
  205.         TCP/IP Development      1.0.1           tcpdev
  206.         Streams Runtime         1.0.0           streamsrt
  207.         Streams Toolkit         1.0.0           streamstk
  208.         Int'l Supplement(386)   2.1.0           sup.os
  209.         Int'l Supplement(286)   2.0.0           sup.os
  210.  
  211.     The perms column lists files found in the /etc/perms directory.
  212.     The `#rel=' line in these files will tell you what version you
  213.     have.
  214.  
  215.  
  216. QA5.  Where can I get XENIX fixes?
  217.  
  218.     SCO provides Support Level Supplements (SLS) at no charge.  They
  219.     may be downloaded by anonymous uucp from SCO's `sosco' machine.
  220.     To retrieve a shopping list of available SLSs, add one of the
  221.     following to your `/usr/lib/uucp/Systems' file:
  222.  
  223.         # Telebit (PEP) modem
  224.         sosco Any ACU 19200 14084291786u gin:-BREAK-gin:-BREAK-gin: uusls
  225.         # Hayes V-Series modem
  226.         sosco Any ACU 19200 14084274470 gin:-BREAK-gin:-BREAK-gin: uusls
  227.         # 1200 or 2400 bps modem
  228.         sosco Any ACU 300-2400 14084253502 gin:-BREAK-gin:-BREAK-gin: uusls
  229.  
  230.     European folks might prefer to use `scolon' instead.  From within
  231.     the UK, try:
  232.  
  233.         scolon Any ACU 300-19200 0923210911u \
  234.                 gin:-BREAK-gin:-BREAK-gin: uusls word: bbsuucp
  235.  
  236.     Outside the UK, replace the leading zero with the country code.
  237.     A 9600bps Trailblazer answers this line.  Delete the `u' at the
  238.     end of the phone number if you aren't using a Telebit modem.
  239.  
  240.     In Germany, you can use:
  241.  
  242.         sosffm Any ACU 300-9600 069-50910736 \
  243.                 "" \r ogin:-BREAK-ogin: uusls sword: bbsuucp
  244.  
  245.     This modem does support V.32 transfers, but not PEP.
  246.  
  247.     Files on the European machines are as on `sosco' but tend to be
  248.     a week or so behind.  Also, replace `sosco' with `scolon' or
  249.     `sosffm' in the following examples.
  250.  
  251.     Add to your `/usr/lib/uucp/Permissions' file:
  252.  
  253.         # REQUEST files only - i.e. cannot send to sosco.
  254.         # rmail required to get bounced mail and error messages.
  255.         MACHINE=sosco SENDFILES=yes REQUEST=no COMMANDS=rmail:uucp \
  256.                 WRITE=/usr/spool/uucppublic:/tmp
  257.  
  258.     To retrieve an SLS listing to your machine as /tmp/info:
  259.  
  260.         uucp sosco\!/usr/spool/uucppublic/SLS/info /tmp/info
  261.  
  262.     This file also provides directions on retrieving, unarchiving,
  263.     and uncompressing the SLSs.  There is also a `descriptions' file
  264.     with additional details on the available SLSs.
  265.  
  266.     SLSs are also available on `uunet'.  For example, to get the `info'
  267.     file, run:
  268.  
  269.         uucp uunet\!~/vendor/sco/SLS/info /tmp/info
  270.  
  271.     Most of these machines also have Enhanced Feature Supplements (EFSs),
  272.     games and graphics programs, and new termcap and terminfo terminal
  273.     definitions in addition to SLS.  Look for an `info' or `README' file
  274.     one directory up from the `SLS' directory for more info.
  275.  
  276.  
  277. QA6.  I'm using an older XENIX/386 version.  What fixes do I need?
  278.  
  279.     Development System
  280.  
  281.     - 2.2.X or older    An upgrade to 2.3.1 must be purchased from SCO.
  282.  
  283.     - 2.3.1             Install `lng244'.
  284.  
  285.     Operating System
  286.  
  287.     - 2.2.X or older    An upgrade to 2.3.4 must be purchased from SCO.
  288.  
  289.     - 2.3.0 or 2.3.1    SCO would like you to purchase a 2.3.4 upgrade.
  290.                         The `xnx137' fix would get you to 2.3.2, but SCO
  291.                         does not provide it any longer.
  292.  
  293.     - 2.3.2             Install `xnx296a' to get to version 2.3.3.
  294.  
  295.     If you have VP/ix and installed update UFJ, then your kernel is
  296.     already at 2.3.3.  None the less, you still want `xnx296a'.  The
  297.     `xnx296a' update is also known as UFN, and replaces UFJ and UFM.
  298.     UFM was also known as the `xnx155b' update.
  299.  
  300.     You must install the development system before `xnx296a'.
  301.  
  302.     `xnx296a' provides you with most of the important fixes in 2.3.4.
  303.     You will lack some of the nice enhancements such as updated man
  304.     pages and the Korn shell.
  305.  
  306.     SCO preconfigures the kernel for a very minimal system.  You should
  307.     tune the kernel for your exact system configuration.  See the
  308.     "Tuning Kernel Parameters" chapter in the System Administrator's
  309.     Guide.
  310.  
  311.  
  312. QA7.  Does SCO have a BBS?
  313.  
  314.     Yes.  The SOS Support BBS is $95/year.  This is a good deal.  You
  315.     can:
  316.  
  317.         - download fixes, suggestions, and hints.
  318.         - keyword access to the support problems database.
  319.         - retrieve product info, release status, and hardware compatibility.
  320.         - get support via email.
  321.         - subscription to quarterly Discover newsletter.
  322.  
  323.     You can dial-in with a terminal program such as `cu' -- uucp is
  324.     not required.  Access is read-only, but most questions can be
  325.     answered by the support database.  SCO currently doesn't provide
  326.     SOS access to most overseas users.
  327.  
  328.     You might also consider joining the ``SCO Developer Alliance Associates
  329.     Program.''  This costs $100/year, and also provides access to the BBS.
  330.     Contact devrel@sco.com for additional information.
  331.  
  332.  
  333. ******************************************************************************
  334. *************************  General XENIX Questions  **************************
  335. ******************************************************************************
  336.  
  337.  
  338. QB1.  Can't boot.  My system used to work.
  339.  
  340.     Check the A: drive.  If there is a floppy in there your system
  341.     might spew garbage on the monitor or hang during boot.  If this
  342.     problem occurs right after rebuilding a new kernel, go read the
  343.     FAQ on disks bigger than 1024 cylinder.
  344.  
  345.  
  346. QB2.  Configure(ADM) fails when I modify my system name.
  347.  
  348.     If you select a site name of two, three, or four characters,
  349.     `configure' will fail with an error message:
  350.  
  351.         space.asm(XXX): error A2050: Value out of range
  352.  
  353.     If the development system is installed, there is a workaround.
  354.     Do the following:
  355.  
  356.         - cd /usr/sys/conf
  357.  
  358.         - Edit `xenixconf'.  Search for the `nodename' line and enter
  359.           the desired system name between the double quotes.  For
  360.           example, for machine name = `foo' this line should read:
  361.  
  362.               nodename             "foo"
  363.  
  364.         - Similarly, edit the `master' file and correct the `nodename'
  365.           line.  For machine name = `foo' it should read:
  366.  
  367.               nodename  NODE      "foo"
  368.  
  369.         - Run `make'.  This will rebuild the kernel data files and
  370.           then link a new kernel.
  371.  
  372.         - Run `./hdinstall' to install the new kernel.
  373.  
  374.     Reboot the system, and the new node name should be in effect.  To
  375.     verify this, run `uname -a' after rebooting.
  376.  
  377.     This bug has been fixed in 2.3.4.
  378.  
  379.  
  380. QB3.  I upgraded XENIX.  Now I get `parity error' panics.
  381.  
  382.     Starting with XENIX 2.3.3, memory parity errors are detected by
  383.     the kernel.  In previous versions, parity errors would cause the
  384.     system to go silently flaky, but continue running.  Now, when a
  385.     parity error occurs, the machine will panic saying:
  386.  
  387.         PANIC: memory failure - parity error
  388.  
  389.     If you get this error after installing an update, XENIX didn't
  390.     break your machine -- it's been broken all along.  The most likely
  391.     cause of this error truly is memory problems.  Run a good memory
  392.     diagnostic overnight to try to locate the problem.  Keep the cover
  393.     on the computer while running diagnostics; heat tends to push a
  394.     marginal memory chip into failure.
  395.  
  396.     This problem can also be caused by a marginal power supply.  XENIX
  397.     boxes often have more power hungry peripherals than your run of
  398.     the mill MS-DOS PC.  For example, suspect the power supply if the
  399.     panics occur as soon as the tape drive starts spinning.
  400.  
  401.  
  402. QB4.  Login fails without prompting for password.
  403.  
  404.     If /dev/tty is missing or incorrect, you will get a `Login incorrect'
  405.     message without ever being prompted for a password.  For security
  406.     reasons, the `login' program goes directly to /dev/tty to ensure
  407.     the password comes from the keyboard.  Your `tty' device should
  408.     look something like:
  409.  
  410.         crw-rw-rw-   2 bin      bin        3,  0 Oct 24 04:09 /dev/tty
  411.  
  412.     If necessary, use the `mknod' command to recreate it.
  413.  
  414.  
  415. QB5.  Can I use `gcc' instead of buying the SCO Development System?
  416.  
  417.     No.  It takes more than a compiler to produce executable programs.
  418.     You might be able to pick up bits and pieces (like `make' and
  419.     `yacc') from various places, but not the header files and libraries.
  420.     You can't compile programs without them, and the only way to get
  421.     them is with the Development System.
  422.  
  423.  
  424. QB6.  Program `foobar' dumps core with a stack overflow. [XENIX 286]
  425.  
  426.     XENIX/286 programs request a fixed amount of space for the stack
  427.     in the executable file header.  A program that exceeds this limit
  428.     will crash with a core dump.  To fix, change the header to ask
  429.     for more stack space.  You can recompile your programs with the
  430.     `-F' flag to increase the stack size.  You can change the stack
  431.     size of existing programs by running `fixhdr' with the `-F' flag.
  432.     This is not a problem on 80386 binaries that use a variable stack.
  433.  
  434.  
  435. QB7.  Spell cannot initialize hash table.
  436.  
  437.     The `spell' script (included in the optional Text Processing
  438.     package) uses an 8086 binary.  It needs to stuff a bunch of data
  439.     into a single 64K segment.  If you exceed this limit, you will
  440.     get an error saying something like:
  441.  
  442.         table = malloc(0xc848) fails
  443.         sbrk(0) = 0x3868
  444.         spell: cannot initialize hash table
  445.  
  446.     You can usually get enough space for `spell' to run by clearing
  447.     out your environment first.  To do this, add the following line
  448.     near the top of the `/usr/bin/spell' script:
  449.  
  450.         unset `env | sed -e '/^PATH=/d' -e '/^PS1=/d' -e 's/=.*//'`
  451.  
  452.  
  453. QB8.  Will my laser printer work with the Text Processing Package?
  454.  
  455.     XENIX `troff' is based on a version written long before the advent
  456.     of laser printers.  The only thing old troff understands is C/A/T
  457.     typesetters.  Chris Lewis's `psroff' allows old troff to work with
  458.     various devices, including Postscript and LaserJet printers.
  459.     Version 3.0 is available from the comp.sources.unix archives.
  460.  
  461.     For production work, consider purchasing a device independent
  462.     troff.  Some of the suppliers of `ditroff' are Elan, Image Network,
  463.     Leverage, and SoftQuad.
  464.  
  465.     Another alternative is the `groff' package by the Free Software
  466.     Foundation.  You can find it in any of the FSF archives -- but you
  467.     will need `g++' to compile it.  You will still need a backend program
  468.     to use a LaserJet with `groff'.  Some possibilities are `psroff'
  469.     and `dvi2xx' on ftp.wu-wien.ac.at.
  470.  
  471.  
  472. QB9.  Where is crypt?
  473.  
  474.     The DES encryption algorithm, the basis for `crypt', is categorized
  475.     by the US Government as munitions.  (Three cheers for the cold
  476.     war!)  SCO removes the crypt(S) procedure and crypt(C) command
  477.     from XENIX so it may be exported.  US domestic customers may
  478.     contact SCO to obtain SLS LNG190B.  If you simply need a crypt(S)
  479.     procedure to compile programs that do password checking, you may
  480.     get the SLS LNG255B `International Crypt SLS' from any of the
  481.     aforementioned archive sites.  This provides a crypt(S) procedure
  482.     that supports encryption but not decryption, and it does not
  483.     include the crypt(C) command.
  484.  
  485.  
  486. ******************************************************************************
  487. **********************  Disk and Filesystem Questions  ***********************
  488. ******************************************************************************
  489.  
  490.  
  491. QC1.  Can I use a disk bigger than 1024 cylinders?
  492.  
  493.     Yes.  However, your root filesystem cannot extend beyond the 1024th
  494.     cylinder, because that's as far as the BIOS can reach when booting
  495.     the system.  The BIOS is bypassed after XENIX boots, so cylinders
  496.     beyond 1024 can be accessed once XENIX is running.  It is not
  497.     necessary to use a sector translation mode controller to reduce
  498.     the number of cylinders.  The translation mode is very slow.
  499.     Early SCO documentation wrongly claimed large disks weren't
  500.     supported.  This is the source of confusion over this issue.
  501.  
  502.  
  503. QC2.  Why won't XENIX recognize my SCSI disk?
  504.  
  505.     Not all versions of XENIX support SCSI and those that do won't run
  506.     all SCSI adapters.  First, verify your N1 floppy says `Type: 386GT'
  507.     and not `Type: 386AT'.  The AT version of XENIX (now obsolete) does
  508.     not include any SCSI support.
  509.  
  510.     The GT version supports a limited number of SCSI host adapters.  The
  511.     Adaptec AHA-154x is supported.  We've also used compatibles such as
  512.     the Bustek BT-542B.  2.3.4 also supports WD1009V-SE1/2 and WD-7000-FASST2.
  513.     If you've got something different, you probably need to get a driver
  514.     from the board vendor.  The `SCO Hardware Compatibility Guide' (contact
  515.     SCO sales for one) should be consulted whenever you have any hardware
  516.     compatibility questions.
  517.  
  518.     Some typical installation mistakes are:
  519.  
  520.     - SCSI ID jumper for the root (boot) hard disk must be ID=0.
  521.     - The BIOS must be set for drive C:=NONE in the CMOS setup program.
  522.     - I/O port, memory address, or interrupt misconfiguration/conflict.
  523.     - Terminating resistors installed only at ends of ribbon cable.
  524.     - The parity jumper should be enabled on all drives and controllers.
  525.  
  526.     A word on terminating resistors:  Terminators must be installed on
  527.     the two devices at the end of the SCSI chain.  If you have no external
  528.     devices then one end of the chain will be the SCSI adapter -- so it
  529.     gets terminators.  The last device on the ribbon cable also needs
  530.     terminators.  The terminators must be removed from everything else on
  531.     the SCSI chain.
  532.  
  533.     Note:  If you are using XENIX 386GT 2.3.1-2.3.3 you should install
  534.     xnx252b for ISA or xnx150 for MCA.  This is an improved SCSI driver
  535.     that yields a significant performance improvement.
  536.  
  537.  
  538. QC3.  Where is the `/u' filesystem I created?
  539.  
  540.     When you create filesystems during the install procedure or with
  541.     `mkdev hd', the filesystem is initialized but it isn't configured
  542.     into the system.  To perform that final step you need to run `mkdev
  543.     fs'.  For example, if you created a `/u' filesystem, run:
  544.  
  545.         mkdev fs /dev/u /u
  546.  
  547.  
  548. QC4.  `WARNING!! - mounting: <usr> as <news>' message when booting.
  549.  
  550.     Due to a bug in the `mkdev fs' program, filesystems mounted below
  551.     the root directory are labeled wrong.  For example, if you mount
  552.     a device `/dev/news' onto directory `/usr/spool/news', then you
  553.     will get a warning message when going into multi-user mode.  That's
  554.     because `mkdev fs' labels the filesystem with the first component
  555.     in the pathname (`usr' in this example) when it really should be
  556.     the last component in the pathname (`news' in this example).
  557.  
  558.     This message is merely an annoyance and will not hamper system
  559.     operation.  To eliminate the warning, relabel the filesystem with
  560.     the last component of the mount directory.  For the above example,
  561.     you may change the label from `usr' to `news' by running the command:
  562.  
  563.         fsname -s news /dev/news
  564.  
  565.  
  566. QC5.  `POSSIBLE FILE SIZE ERROR' when running `fsck'.
  567.  
  568.     If `fsck' says `POSSIBLE FILE SIZE ERROR I=nnnn' don't panic.  It
  569.     almost always means `fsck' found a `sparse file', not a true
  570.     filesystem error.  A sparse file has holes in it.  They are created
  571.     when a program skips over sections of a file it is writing.  The
  572.     XENIX filesystem fills in those sections with zeros.  The XENIX
  573.     filesystem doesn't even both allocating disk blocks for the sections
  574.     full of zeros, thus creating a sparse file.  The complaint occurs
  575.     because `fsck' calculates the number of disk blocks needed to
  576.     store the file, counts up the number of disk blocks actually used
  577.     by the file, and complains that the two don't match.
  578.  
  579.     When you get a file size error from `fsck' you should note both
  580.     the `I=nnnn' inode number logged in the message and the filesystem
  581.     which was being checked.  You can see what the file is by running
  582.     the following command:
  583.  
  584.     ncheck -i <nnnn> <fsname>
  585.  
  586.     where <nnnn> is the number logged in the error message and <fsname>
  587.     is the pathname of the filesystem device, e.g. `/dev/u'.  Chances
  588.     are the file will either be a dbm(S) database file (in which case
  589.     ignore the complaint, it's expected) or a `core' dump (in which
  590.     case delete the `core' file).
  591.  
  592.  
  593. QC6.  Is disk fragmentation curable?
  594.  
  595.     Not easily.  However, the steps to slow down fragmentation are
  596.     pretty simple.
  597.  
  598.     XENIX maintains a list of available disk blocks.  As files are
  599.     deleted, the released blocks are appended to this free list.
  600.     Ideally, one would allocate adjacent blocks for new files.  However,
  601.     blocks are added to and removed from the free list without regard
  602.     for location.  Eventually, new files will be created with their
  603.     data blocks scattered all around the disk.  This fragmentation is
  604.     undesirable because it slows down disk accesses.
  605.  
  606.     To slow down the tendency towards fragmentation, periodically
  607.     reorder the blocks in the free list.  To do this, dismount the
  608.     filesystem (with `/etc/umount') and run `fsck -S'.  You will get
  609.     a message saying:
  610.  
  611.         FILE SYSTEM NOT MODIFIED, STILL DIRTY.
  612.  
  613.     Don't worry -- ignore that message.
  614.  
  615.     To determine how badly your filesystems are fragmented, run
  616.     `fsanalyze' by Michael J. Young, from comp.sources.misc.  You will
  617.     need patchlevel 3 to analyze XENIX filesystems.
  618.  
  619.     The conventional cure for filesystem fragmentation is:
  620.  
  621.     - Make a full backup of the filesystem.  Use `cpio' (or `afio' if
  622.       available).  `dump' and `volcopy' do an image backup that will
  623.       restore in a fragmented manner.  `tar' does not backup device
  624.       nodes, pipes, or directories.
  625.  
  626.     - Recreate an empty filesystem with `divvy' or `mkfs'.  `divvy'
  627.       is easier to use -- simply select the `create' option.  However,
  628.       `mkfs' will be required if you want a non-default number of
  629.       inodes.  Invoke `divvy' with:
  630.  
  631.         /etc/divvy -c 1 -b 1            # for 1st physical disk
  632.         /etc/divvy -c 1 -b 1 -p 1       # for 2nd physical disk
  633.  
  634.     - Reload the filesystem from the backup.
  635.  
  636.     - Regenerate the `lost+found' directory.  Run:
  637.  
  638.         # Substitute appropriate name for `foo'.
  639.         /etc/fsck /dev/foo
  640.         /etc/mount /dev/foo /foo
  641.         mkdir /foo/lost+found
  642.         for i in 1 2 3 4 5 6 7 8 ; do
  643.             for j in 1 2 3 4 5 6 7 8 ; do
  644.                 touch /foo/lost+found/x$i$j
  645.             done
  646.         done
  647.         rm /foo/lost+found/x??
  648.         /etc/umount /dev/foo
  649.  
  650.     Be very careful with this procedure.  We suggest you verify your
  651.     backup is readable before zapping the filesystem.  One mistake
  652.     (especially when running `mkfs' or `divvy') will trash everything.
  653.     The filesystem you trash may be your own.
  654.  
  655.  
  656. ******************************************************************************
  657. *************************  Communications Questions  *************************
  658. ******************************************************************************
  659.  
  660.  
  661. QD1.  How do I add more than 2 COM ports?
  662.  
  663.     Dumb serial cards (and internal modems) may be configured for XENIX
  664.     as COM3 and COM4 -- with one big caveat.  Each COM port requires its
  665.     own interrupt number.  If you have an unused IRQ and the Development
  666.     System, you may build additional COM ports into the kernel.  To
  667.     illustrate the procedure, we will add a COM3 configured as follows:
  668.  
  669.         I/O Addr: 0x3E8
  670.         IRQ:      5
  671.         device:   /dev/tty3a    Major=5, Minor=16
  672.                   /dev/tty3A    Major=5, Minor=144
  673.  
  674.     1.  Edit `/usr/sys/io/sioconf.c'.
  675.  
  676.         The two lines in this file that describe COM1 and COM2 are:
  677.  
  678.             {0,IBM_BOARD,  1,4,0,  (sd)0x3f8,0,     0,MCRBIT3}, /*ibm COM1*/
  679.             {1,IBM_BOARD,  1,3,8,  (sd)0x2f8,0,     0,MCRBIT3}, /*ibm COM2*/
  680.  
  681.         Add a line that says:
  682.  
  683.             {2,IBM_BOARD,  1,5,16, (sd)0x3e8,0,     0,MCRBIT3}, /*ibm COM3*/
  684.  
  685.         See `/usr/sys/io/sioconf.h' for details.
  686.  
  687.     2.  Edit `/usr/sys/conf/master'.
  688.  
  689.         The serial ports are defined by the line:
  690.  
  691.             sio     4    0577 104     sio   0   0   5   1   7   3   4  33  34
  692.  
  693.         The last four fields define the interrupt numbers used.  Change
  694.         the `33' to a `5' since COM3 will be on IRQ5.  For reference,
  695.         here is the mapping between IRQ lines and the master file
  696.         `magic numbers':
  697.  
  698.             IRQ0  0       IRQ4  4       IRQ8  30      IRQ12  34
  699.             IRQ1  1       IRQ5  5       IRQ9  31      IRQ13  35
  700.             IRQ2  31      IRQ6  6       IRQ10 32      IRQ14  36
  701.             IRQ3  3       IRQ7  7       IRQ11 33      IRQ15  37
  702.  
  703.     3.  Rebuild the kernel.  Run:
  704.  
  705.             cd /usr/sys/conf
  706.             make
  707.  
  708.         Do not use `link_xenix' here.  You need to run `make' to get
  709.         `sioconf.o' and the kernel data files rebuilt.
  710.  
  711.     4.  Install the new kernel.  Run:
  712.  
  713.             /usr/sys/conf/hdinstall
  714.  
  715.         This will make a backup of your current kernel to `/xenix.old'.
  716.  
  717.     5.  Create the device nodes.  Run:
  718.  
  719.             mknod /dev/tty3a c 5 16
  720.             mknod /dev/tty3A c 5 144
  721.  
  722.     Reboot your system, and the new serial port should be there.
  723.  
  724.  
  725. QD2.  Where is the `gettydefs' entry for 19200 serial lines?
  726.  
  727.     For historical reasons, terminal speeds of 19200 and 38400 are
  728.     called `EXTA' and `EXTB', not `B19200' and `B38400'.  Entries `n'
  729.     and `o' in the `/etc/gettydefs' file are for 19200 and 38400,
  730.     respectively.  Once logged in you can change the line speed with
  731.     the `stty' command:
  732.  
  733.         stty 9600               # set to 9600 bps (bits per second)
  734.         stty exta               # set to 19200 bps
  735.         stty extb               # set to 39400 bps
  736.  
  737.     A smart serial card is recommended for these two highest speeds.
  738.  
  739.  
  740. QD3.  How can I have more mscreen(C) sessions?
  741.  
  742.     The mscreen(C) facility provides multiple sessions from a serial terminal
  743.     by `multiplexing' your terminal (tty) line onto several pseudo-terminal
  744.     (pty) lines.  XENIX is shipped with eight ptys enabled, that provides
  745.     a system-wide limit of eight sessions through the mscreen(C) command.
  746.  
  747.     First off, you need to determine whether you are allocating mscreen(C)
  748.     sessions wisely.  For example, SCO ships an `/etc/mscreencap' file
  749.     that runs six sessions on a WY-60 terminal.  If you edit `mscreencap'
  750.     and cut this down to three you immediately double the number of people
  751.     who can run mscreen(C).
  752.  
  753.     You cannot increase this number beyond eight if you are running TCP/IP.
  754.     (More about this in a moment.)  If you are not running TCP/IP, then
  755.     you can increase the number of possible mscreen(C) sessions by:  first
  756.     creating more ptys in the kernel, second creating the device nodes
  757.     for the new ptys, and finally placing a `getty' upon each of these
  758.     new ptys.
  759.  
  760.     To create more ptys in the kernel, increase the `nspttys' kernel
  761.     parameter.  With XENIX 2.3.4, run the `configure' command interactively
  762.     and select the `Multiscreens' option.  For older versions of XENIX,
  763.     run `configure' manually.  For example, to provide sixteen ptys, run:
  764.  
  765.         cd /usr/sys/conf
  766.         ./configure nspttys=16
  767.  
  768.     Once `nspttys' is set, run `link_xenix' and `hdinstall' to build and
  769.     install a new kernel.
  770.  
  771.     Next, you need to create the device nodes in the /dev directory for
  772.     these additional ptys.  Unfortunately, mscreen(C) uses a very poor
  773.     naming strategy for ptys beyond the 8th.  Once you go beyond the
  774.     /dev/ttyp7 in the base XENIX distribution, mscreen(C) next looks for
  775.     not /dev/ttyp8, but rather /dev/ttyp01.  Therefore you should create
  776.     the eighth pty with the commands:
  777.  
  778.         cd /dev
  779.         mknod ttyp01 c 54 8
  780.         mknod ptyp01 c 55 8
  781.         chmod 666 ptyp01
  782.         chmod 644 ttyp01
  783.  
  784.     You might notice that these names are the same ones used by `rlogind'
  785.     and `telnetd' under SCO TCP/IP.  Unfortunately, to use these ptys for
  786.     mscreen(C) you need to place a `getty' on them -- but if you do then
  787.     rlogin/telnet will break.  Those running TCP/IP (and not weak of heart)
  788.     can try editing the `/dev/ttyp' string in the `mscreen' binary and
  789.     totally rename the pty devices.
  790.  
  791.     Finally, edit `/etc/ttys' (and `/etc/ttytype') to tell them about
  792.     the new pty lines, and run `enable' upon each of the lines.
  793.  
  794.  
  795. QD4.  Upgraded to 2.3.4 and flow control broke with mscreen(C).
  796.  
  797.     The 2.3.4 version of mscreen(C) was changed to run the tty line totally
  798.     raw.  This is required so that the ^S and ^Q keys are passed onto
  799.     programs that need them, such as `emacs' and Foxbase.  An unfortunate
  800.     side effect of handling flow control on the pty side rather than the
  801.     tty side is that response to flow control is a lot more sluggish.  Now,
  802.     when you hit ^S you might get another screenful of data before the
  803.     display actually freezes.
  804.  
  805.     If you never run any applications that require full 8-bit transparency,
  806.     one way to make flow control more responsive is to rename `mscreen'
  807.     to `/usr/bin/mscreen.sco' and install the following script in its
  808.     place:
  809.  
  810.         :
  811.         tty=`tty`
  812.         ( sleep 5 ; stty ixon <$tty ) &
  813.         exec mscreen.sco
  814.  
  815.  
  816. QD5.  Terminals act funny, modems drop characters, help!!
  817.  
  818.     If you are losing characters on your serial lines, consider the
  819.     following steps:
  820.  
  821.     * Ensure that flow control is working right.
  822.  
  823.     * If you are running dumb COM ports, either upgrade the UART chips
  824.       to 16550As or switch to a smart serial card.
  825.  
  826.     * If you have a lot of users or lots of high speed data lines,
  827.       increase the number of `clist' buffers in the kernel.
  828.  
  829.     * If you upgraded to 16550A UARTs and this helped but did not
  830.       solve the problem, then adjust the FIFO trigger level.
  831.  
  832.     * If you are running high speed lines on a loaded system, adjust
  833.       the `ttyhog' value.
  834.  
  835.     When diagnosing serial problems, start at the top of this list
  836.     and work down.  If your flow control is broke, it will do no good
  837.     to go poking around inside your XENIX kernel.
  838.  
  839.  
  840. QD6.  Does XENIX support 16550A UARTs?
  841.  
  842.     The guts of a standard COM port is a UART (universal asynchronous
  843.     receiver/transmitter) chip.  Most serial ports use the 16450 or
  844.     an equivalent chip.  The 16550A is a pin-compatible, drop in
  845.     replacement which adds 16-characters of on-chip FIFO buffering.
  846.     The FIFOs reduce system loading and increase performance.
  847.  
  848.     Starting with 2.3.4, the `sio' driver recognizes 16550A UARTs and
  849.     enables the on-chip FIFOs.  Older versions of XENIX merely treat
  850.     this chip as an expensive 16450.  You can get 16550A support with
  851.     any version of XENIX by installing the FAS driver written by Uwe
  852.     Doering and based upon Jim Murray's `asy' driver.  FAS was published
  853.     in alt.sources, and is available at most reputable archive sites.
  854.  
  855.     We recommend sticking with the National Semiconductor NS16550A.
  856.     Many manufactures make usable 16450 clones, but some of the 16550
  857.     compatible chips aren't so compatible.  Also, older versions of
  858.     the 16550 are known to be broken.  Ensure yours have an `A' suffix.
  859.  
  860.  
  861. QD7.  How do I increase the number of `clists'?
  862.  
  863.     XENIX buffers terminal characters in data structures called
  864.     `clists'.  There is a fixed pool of clists on the system, and when
  865.     that supply is exhausted incoming characters are dropped.  Therefore,
  866.     the more active users you have on your system, the larger this
  867.     pool of clists should be.  The default configuration is 100 clists.
  868.     Each terminal line requires an average of 5 to 10 clists.  High
  869.     speed modems need more.  A conservative strategy would be to
  870.     allocate 15 clists per active terminal.  For example, if you have
  871.     16 serial ports and 4 console screens active at once, allocate
  872.     (16+4)*15 or 300 clists.
  873.  
  874.     To see the number of clists on your system, login as root and run:
  875.  
  876.         cd /usr/sys/conf
  877.         ./configure -y NCLIST
  878.  
  879.     To change the number of clists, say to 300, login as root and run:
  880.  
  881.         cd /usr/sys/conf
  882.         ./configure NCLIST=300
  883.  
  884.     then rebuild and install a new kernel and reboot.
  885.  
  886.  
  887. QD8.  How do I change the 16550A trigger level?
  888.  
  889.     If installing a 16550A UART helped but didn't totally fix a lost
  890.     character problem, and your system is heavily loaded, then there
  891.     is something else you can try.  If you installed a 16550A and
  892.     there was no effect at all, then skip this -- it won't help.
  893.  
  894.     The XENIX `sio' driver initializes the 16550A with a trigger level
  895.     of 14.  This means that under continual data streams the UART will
  896.     wait until 14 characters accumulate before telling XENIX to come
  897.     get them.  This gives the system two character times to get in
  898.     and service the COM port.  If XENIX does not service the port in
  899.     that time the 16-character buffer will overflow and and characters
  900.     will be dropped.  This might happen on a heavily loaded system.
  901.  
  902.     The trigger level is initialized at boot time from the 16-byte
  903.     `sio_fifoctl[]' array.  This array specifies the UART control
  904.     register initialization values for device minor numbers 0 through
  905.     15.  Or more exactly, the minor number is ANDed with 0x0F to get
  906.     the index into this array.  For example, the initialization for
  907.     /dev/tty2a (minor=8) is in `sio_fifoctl[8]'.  The possible values
  908.     are as follows:
  909.  
  910.         sio_fifoctl:    0xCF    0x8F    0x4F    0x0F
  911.         trigger level:   14      8       4       1
  912.  
  913.     The standard value is 0xCF.  A smaller value will notify the system
  914.     earlier that characters are waiting, thus providing the system
  915.     more time to service the port, but increasing the number of
  916.     interrupts generated by the port.
  917.  
  918.     As an example, here is how to change the trigger level for /dev/tty2a
  919.     (and /dev/tty2A) to 8 characters (code=0x8F):
  920.  
  921.         cp /xenix /xenix.save           # make a backup!
  922.         adb -w /xenix                   # use "/etc/_fst" if no "adb"
  923.         * sio_fifoctl+8/x
  924.         sio_fifoctl+0x8:        0xcfcf
  925.                                   | | 
  926.                                   | `---- This is the 8-bit value for the
  927.                                   |          port we want (minor=8).
  928.                                   |
  929.                                   `------ This is the 8-bit value for the
  930.                                           next port (minor=9).
  931.         * sio_fifoctl+0x8/w 0xcf8f
  932.         sio_fifoctl+0x8:        0xcfcf= 0xcf8f
  933.         * $q
  934.  
  935.  
  936. QD9.  How do I adjust the `ttyhog' value?
  937.  
  938.     Since XENIX has a fixed pool of clists, the kernel tries to prevent
  939.     one tty from hogging all of them.  The limit is defined by `ttyhog',
  940.     and defaults to 256 (0x100 hex).  This limit might be too low if
  941.     you've got some particularly fast devices on a particularly slow
  942.     system.  To change the `ttyhog' value you must patch the kernel
  943.     image.  The following increases `ttyhog' to 512 (0x200 hex).
  944.  
  945.         cp /xenix /xenix.save           # make a backup!
  946.         adb -w /xenix                   # use "/etc/_fst" if no "adb"
  947.         * ttyhog/x
  948.         _ttyhog:        0x100
  949.         * ttyhog/w 0x200
  950.         _ttyhog:        0x100=  0x200
  951.         * $q
  952.  
  953.  
  954. QD10.  Where can I find TCP/IP?  NFS?
  955.  
  956.     TCP/IP = many places.  NFS = forget it.
  957.  
  958.     Some TCP/IP vendors are SCO, Novell (the old `Excelan Lan Workplace'
  959.     package), and Network Research Corp.  Our preference is for the
  960.     SCO package.  It is offered in two pieces:  the runtime system
  961.     and the development package.  Please note that you need at least
  962.     the SCO Streams Runtime option before installing TCP/IP.  Many of
  963.     the BSD4.3 networking utilities are provided, and the socket
  964.     interface follows the BSD4.3 model.
  965.  
  966.     NFS for XENIX is not and will not be available.  Newer versions
  967.     of UNIX provide either a `vnode' (BSD UNIX) or `filesystem switch'
  968.     (System V 3.2 and beyond) mechanism, that supports new filesystem
  969.     types.  With XENIX, the filesystem support must be coded right
  970.     into the kernel.  The task of merging NFS code with VP/ix hacks,
  971.     XENIX-net hacks, etc. is more than can be justified.
  972.  
  973.  
  974. QD11.  BSD based uucp can't connect to my machine.
  975.  
  976.     BSD based uucp sends even parity.  XENIX uucp expects no parity.
  977.     Add:
  978.  
  979.         "" P_ZERO
  980.  
  981.     to the chat script in their (not your) `Systems' or `L.sys' file.
  982.     For example, the following works on a Sun 3:
  983.  
  984.         xnxbox Any uucp 19200 5553333 "" P_ZERO "" \r in:--in: nuucp
  985.  
  986.  
  987. QD12.  uucp truncates my system name to seven characters!
  988.  
  989.     This misfeature was introduced in the xnx155b supplement.  The
  990.     story we hear is that SCO broke their `uucp' to cater to systems
  991.     that choke on long system names.  There is a workaround.  For
  992.     system name = `verylongname', add to every record in the
  993.     /usr/lib/uucp/Permissions file:
  994.  
  995.         MYNAME=verylongname
  996.  
  997.     Next, rename /usr/bin/uuname to /usr/bin/uuname.sco.  Replace
  998.     /usr/bin/uuname with:
  999.  
  1000.         :
  1001.         if [ $# -ne 1 -o "X$1" != "X-l" ] ; then
  1002.             exec /usr/bin/uuname.sco $@
  1003.             exit 1
  1004.         fi
  1005.         head -1 /etc/systemid
  1006.         exit $?
  1007.  
  1008.     This allows programs using `uuname' to receive the correct,
  1009.     untruncated name.
  1010.  
  1011.  
  1012. QD13.  What is the uucp `windows' patch?
  1013.  
  1014.     uucp transmits data in packets, usually 64 bytes apiece.  An
  1015.     acknowledgement is required for every packet sent -- but not
  1016.     immediately.  A window of unacknowledged packets is allowed.  The
  1017.     default window size is three, that means `uucico' won't stop
  1018.     sending unless it falls more than three packets behind.  A three
  1019.     packet window isn't big enough for very fast media and long delay
  1020.     media.  The `uucico' binary can be patched to increase the window
  1021.     size by the following manual procedure:
  1022.  
  1023.         cd /usr/lib/uucp
  1024.         cp uucico uucico.old            # make a backup copy!!
  1025.         adb -w uucico
  1026.         * windows/x                     # display windows value
  1027.         _windows:       0x3
  1028.         * windows/w 7                   # change it to seven
  1029.         _windows:       0x3=    0x7
  1030.         * $q                            # done
  1031.  
  1032.     If you have XENIX 2.3.4 but not the Development System, use
  1033.     `/etc/_fst' instead of `adb'.  If you can't find adb on your
  1034.     system, look on the N02 disk.
  1035.  
  1036.     This change increases the window size to seven -- the maximum
  1037.     possible.  A similar change must be performed on the remote system's
  1038.     uucico because the actual window size is negotiated as part of
  1039.     the protocol startup.
  1040.  
  1041.  
  1042. QD14.  uucp gives `alarm' messages, eventually dies.
  1043.  
  1044.     If you run uucp in debugging mode (`uutry -x9') and see it get
  1045.     stuck like:
  1046.  
  1047.         alarm 1
  1048.         send 37777777621
  1049.         alarm 2
  1050.         send 37777777621
  1051.         alarm 3
  1052.         send 37777777621
  1053.         alarm 4
  1054.         send 37777777621
  1055.  
  1056.     and eventually die, this means your system got jammed waiting for
  1057.     a response that never came.  The most common cause of this problem
  1058.     running uucp across a modem with XON/XOFF flow control enabled
  1059.     (e.g. a Telebit modem with S58=3).  You can't do that; you must
  1060.     run with no flow control or RTS/CTS handshaking (on a Telebit that
  1061.     would be S58=0 or S58=2, respectively).  Other possible causes of
  1062.     this problem are serial cards with broken handshaking or running
  1063.     out of clists.
  1064.  
  1065.  
  1066. ******************************************************************************
  1067. **********************  Display and Graphics Questions  **********************
  1068. ******************************************************************************
  1069.  
  1070.  
  1071. QE1.  How can I do graphics under XENIX?  What programs are available?
  1072.  
  1073.     There are two approaches to graphics programming.  At the very
  1074.     lowest level, the screen(HW) manual page describes ioctl() codes
  1075.     to access the video display memory and controller.  Device-independent
  1076.     graphics is provided by the Computer Graphics Interface (CGI)
  1077.     package included with the XENIX Development System.  CGI drivers
  1078.     are provided for VGA, EGA, and Hercules displays; Epson, LaserJet,
  1079.     and Postscript printers; and HP plotters.  Several programs have
  1080.     been posted to the net that run under CGI, such as gnuplot,
  1081.     starchart, and gif.  See comp.sources.misc.
  1082.  
  1083.  
  1084. QE2.  CGI graphics mangles grey scale on a mono VGA.
  1085.  
  1086.     SCO fixed their monochrome VGA driver in version 2.3.3.   The
  1087.     default color mapping in CGI maps many colors with the identical
  1088.     total intensity. They appear as the same shade grey-scale display.
  1089.     Try using the CGI functions vs_color() and/or vsc_table() to create
  1090.     a color map that works with your display.  Try vsf_style() to
  1091.     create hatching or other fill-patterns in place of colors.
  1092.  
  1093.  
  1094. QE3.  CGI graphics fail on a LaserJet in landscape mode.
  1095.  
  1096.     A bug in the CGI 1.1.0 LaserJet driver causes all output to
  1097.     appear on a single line.  In landscape mode the driver puts out
  1098.     a spurious escape sequence `\033&a864V' that forces all output
  1099.     to the same position on the page.  You can either remove the
  1100.     offending escape sequence from the driver with a binary editor
  1101.     (keep a backup copy), or use a filter to clobber that sequence
  1102.     from the output.
  1103.  
  1104.  
  1105. QE4.  How can I do a printscreen under XENIX?
  1106.  
  1107.     MS-DOS users can produce a screen printout with one keystroke.
  1108.     XENIX does not offer this builtin capability.  SCO's MultiView
  1109.     product provides this.  Also, it can be simulated with the following
  1110.     script:
  1111.  
  1112.         :
  1113.         # @(#) prtscrn     Print Screen
  1114.         # execute from cu as ~!prtscrn
  1115.         oldstty=`stty -g`               # save stty
  1116.         stty -echo ixon ixoff -ixany    # no echo
  1117.         /bin/echo '\033[2i\c'           # send screen to host
  1118.         # grab 24 lines, clean up trailing blanks, print it
  1119.         sed -e 's/ *$//' -e 24q | lp
  1120.         stty $oldstty                   # put stty back when done.
  1121.  
  1122.     Another approach is the `prtscrn' program by Chip Rosenthal.  It
  1123.     grabs the contents of any console screen and sends it to standard
  1124.     output.  See comp.sources.misc.
  1125.  
  1126.  
  1127. ******************************************************************************
  1128. ***************  XENIX and MS-DOS Interoperability Questions  ****************
  1129. ******************************************************************************
  1130.  
  1131.  
  1132. QX1.  Can XENIX share a hard disk with MS-DOS?
  1133.  
  1134.     Yes.  You must:
  1135.  
  1136.         - Install MS-DOS 3.2 bootable partition as the FIRST partition.
  1137.  
  1138.         - Install XENIX bootable as the next partition.
  1139.  
  1140.         - Select XENIX as the `active' partition.
  1141.  
  1142.     At the
  1143.  
  1144.         Boot
  1145.         :
  1146.  
  1147.     prompt either type `dos' for MS-DOS boot or press ENTER for XENIX.
  1148.  
  1149.     If you create any other type of MS-DOS partition (e.g. one of the
  1150.     new larger sized MS-DOS 5.0 partitions) or forget to create the
  1151.     MS-DOS partition before loading XENIX, then you can still access
  1152.     the MS-DOS partition by booting from a floppy disk.
  1153.  
  1154.  
  1155. QX2.  Can XENIX access MS-DOS disks?
  1156.  
  1157.     Yes, with limitations.  The commands on the `dos(C)' manual page
  1158.     provide access to MS-DOS disks (floppy and fixed) under XENIX.
  1159.     The limitation is that only conventional MS-DOS 3.2 hard disk
  1160.     partitions can be recognized.  Extended MS-DOS partitions cannot.
  1161.  
  1162.     If you run into problems with the dos(C) commands, check that
  1163.     `/etc/default/msdos' provides proper aliases for the A:, B:, etc.
  1164.     devices.  Also, if root can access the MS-DOS fixed disk but users
  1165.     can't, check the permissions on /dev/hd0d (the XENIX name of the
  1166.     MS-DOS partition on the first fixed disk).
  1167.  
  1168.     The `mtools' package by Emmet Gray in comp.sources.misc provides
  1169.     better handling of MS-DOS devices under XENIX.  Modify the
  1170.     `devices.c' file to understand XENIX device naming.
  1171.  
  1172.         #ifdef M_XENIX
  1173.         struct device devices[] = {
  1174.             {'A', "/dev/install",  0L, 12, 0, (int (*) ()) 0, 0, 0, 0},
  1175.             {'B', "/dev/install1", 0L, 12, 0, (int (*) ()) 0, 0, 0, 0},
  1176.             {'C', "/dev/hd0d",     0L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  1177.             {'D', "/dev/hd1d",     0L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  1178.             {'\0', (char *) NULL,  0L,  0, 0, (int (*) ()) 0, 0, 0, 0}
  1179.         };
  1180.         #endif /* M_XENIX */
  1181.  
  1182.     If you assign `/dev/install' to the `A' drive, you don't need to
  1183.     worry about disk density when reading and writing.  However, you
  1184.     need to specify the full device name when formatting.  For example,
  1185.     to format a high-density disk in drive A: you must specify the
  1186.     full device name:
  1187.  
  1188.         dosformat /dev/fd096ds15
  1189.  
  1190.  
  1191. QX3.  Can XENIX execute MS-DOS programs?
  1192.  
  1193.     Yes.  You must purchase SCO VP/ix.  VP/ix emulates an 8086 PC/XT
  1194.     running MS-DOS.  The compatibility provided by VP/ix is fair with
  1195.     a significant performance penalty.  VP/ix will not run programs
  1196.     that use 80286 or 80386 instruction codes.  VP/ix is not available
  1197.     for XENIX/286.
  1198.  
  1199.  
  1200. QX4.  Can MS-DOS execute XENIX programs?
  1201.  
  1202.     No.  With the XENIX Development System, you can compile programs
  1203.     to execute under MS-DOS with the `-dos' command line switch.
  1204.  
  1205.  
  1206. ******************************************************************************
  1207. *********************  The (in)Famous XENIX Cheat-Sheet  *********************
  1208. ******************************************************************************
  1209.  
  1210.  
  1211. QZ1.  What the $%*&! is happening?
  1212.  
  1213.     Who am I?                           /usr/bin/who am i
  1214.     Where am I?                         /bin/pwd
  1215.     What am I doing?                    /bin/ps -f
  1216.     Am I having fun yet?                /usr/games/worms -R
  1217.     What's my user/group id?            /usr/bin/id
  1218.     Who did I login as?                 /usr/bin/logname
  1219.     What's my terminal?                 /bin/tty
  1220.     What are my terminal parameters?    /bin/stty -a
  1221.     Is terminal flow control working?   /usr/games/stars
  1222.     What is my current crontab file?    /usr/bin/crontab -l
  1223.     Do I have uucp jobs queued?         /usr/bin/uustat
  1224.     What is the system doing?           /usr/bin/w
  1225.     How is the system running?          /usr/bin/vmstat 10
  1226.     Has the system been swapping?       /usr/bin/vmstat -s
  1227.     Open files, inodes, processes?      /bin/pstat | grep '^[0-9]'
  1228.     What are the kernel parameters?     /usr/sys/conf/configure -x
  1229.     What versions are installed?        egrep "#prd|#set|#rel" /etc/perms/*
  1230.     What are the hardware settings?     /etc/hwconfig -h
  1231.     Is /etc/passwd correct?             /etc/pwcheck
  1232.     Is /etc/group correct?              /etc/grpcheck
  1233.     Is /etc/gettydefs correct?          /etc/getty -c /etc/gettydefs
  1234.     Do all files have owners?           /usr/bin/quot
  1235.     Who is using all the disk space?    /usr/bin/quot
  1236.     When did joe last login?            /usr/bin/last joe
  1237.     What files are owned by UID=944?    find / -user 944 -exec l -d {} \;
  1238.     Are file perms/owners set OK?       cd / ;
  1239.                                           /etc/fixperm -n /etc/perms/rts
  1240.     How about perms on uucp files?      cd / ;
  1241.                                           /etc/fixperm -nd UUCP /etc/perms/rts
  1242.     Check uucp file consistency.        /usr/lib/uucp/uucheck
  1243.     What are uucp access permissions?   /usr/lib/uucp/uucheck -v
  1244.     What is the print spooler doing?    /usr/bin/lpstat -t
  1245.     Stop the scheduler.                 /usr/lib/lpshut
  1246.     Restart a printer.                  /usr/lib/accept printer_name ;
  1247.                                           /usr/bin/enable printer_name
  1248.  
  1249.     [Following apply only if TCP/IP is installed.]
  1250.  
  1251.     Where am I?                         /usr/bin/hostname
  1252.     Is system foo alive?                /usr/bin/ping foo
  1253.     What machines are connected?        /usr/bin/netstat
  1254.     How is the network doing?           /usr/bin/netstat 10
  1255.     Where are the packets going?        /usr/bin/netstat -r
  1256.     Network not work?                   /usr/bin/netstat -s
  1257.  
  1258.     [Thanks to Jeff Liebermann.]
  1259.  
  1260.  
  1261. [ end of sco-xenix 1.33 ]
  1262.