home *** CD-ROM | disk | FTP | other *** search
/ ftp.mayn.de / ftp.mayn.de-pub.zip / ftp.mayn.de-pub / apple / apple_unix / FAQ.aux < prev    next >
Text File  |  2017-03-06  |  173KB  |  3,762 lines

  1. Last-modified: Mon Dec 13 12:34:40 EST 1999
  2.  
  3.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  4.  
  5.  
  6. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 1 OF 4 //////////////////////
  7.  
  8. FAQ for A/UX
  9. ============
  10.  
  11. This FAQ list is intended to cut down on the number of "often asked questions"
  12. that make the rounds here on comp.unix.aux. Also included you'll find a few
  13. words of wisdom as well as some general information for the A/UX community.
  14. This list assumes that you are familiar with Unix (to some extent) but are
  15. curious about A/UX's eccentricities. The list will concentrate on A/UX 3.x.x
  16. but may also have info about previous versions. If you don't understand
  17. something in the FAQ List, and a "Point of Contact" isn't specified, then
  18. contact me and I'll attempt to help or else point you to someone who can.
  19. In any case, let me know how I can make the list more clear.
  20.  
  21. You'll notice jagubox.gsfc.nasa.gov mentioned alot here. You can access files
  22. on jagubox either using 'ftp' (jagubox runs the WUARCHIVE-FTPD server),
  23. 'gopher' or a WWW-client (jagubox's URL is "http://jagubox.gsfc.nasa.gov").
  24. <<ED: Note that the gopher-server will be down for awhile >>
  25.  
  26. This FAQ is written in a format that EasyView (for the Mac) can understand and
  27. make use of. EasyView provides a very nice front-end for viewing, browsing and
  28. reading the FAQ. EasyView is available on jagubox.gsfc.nasa.gov.
  29.  
  30. The list will be posted every other Tuesday on comp.unix.aux as well as on
  31. news.answers and comp.answers. It is also available on jagubox.gsfc.nasa.gov.
  32.  
  33. There is a frozen FAQ that deals with A/UX 2.0.1 which is available on jagubox
  34. (FAQ.aux.201). This FAQ will be posted monthly (or so) on comp.unix.aux.
  35.  
  36. This FAQ will focus on A/UX 3.1.1, but will also refer to 3.1, 3.0.2 and
  37. 3.0.1. Bugs and things "broken" in 3.0.1 but fixed in 3.0.2 (and later)
  38. or "broken" in 3.1 but fixed in 3.1.1 won't necessarily be mentioned, since
  39. the 3.0.1->3.0.2 and 3.1->3.1.1 fixes (the AWS "Tune-Up" disks, v1.0 and v2.0)
  40. are free and readily available.
  41.  
  42. This FAQ is "copyrighted" in the same sense that all other FAQs are copy-
  43. righted: the FAQ may be _freely_ redistributed as long as the author's/editor's
  44. name and this notice is included. If contents of this FAQ are to be published,
  45. then you should ask the author's/editor's permission to do so.
  46.  
  47. Send your additions|modifications to Jim Jagielski (jim@jagubox.gsfc.nasa.gov)
  48. (editor's notes are included as <<ED: ...>>). I will tend to refer to myself
  49. in the 3rd person in the Q&A section.
  50.  
  51. =============================
  52. **** Significant Changes ****
  53. -----------------------------
  54.  
  55. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  56. |Significant changes/additions since last posting:
  57. |   Changes signified by "|" in 1st column;
  58. |   Additions by "+" in the 1st column;
  59. |   Deletions by "-" in the 1st column (the line will be
  60. |    deleted in the next posting)
  61. |
  62. + ssh/sshd suite added
  63. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  64.  
  65.  
  66. ============================
  67. **** TABLE OF CONTENTS: ****
  68. ----------------------------
  69.  
  70. o List of Contributors to A/UX FAQ List
  71. o List of anon-ftp archives for A/UX
  72. o List of security-related issues
  73. o List of known bugs and patches under A/UX 3.x.x
  74. o List of ported software
  75. o Hints and Words Of Wisdom
  76. o Q&A-
  77.    GENERAL QUESTIONS:
  78.    G.01)  What's A/UX? Is it any good?
  79.    G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  80.    G.03)  What's new about A/UX 3.x.x?
  81.    G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  82.    G.05)  How can I order A/UX?
  83.    G.06)  What's the upgrade path for A/UX 3.0.2?
  84.    G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  85.    G.08)  How can I report bugs that I find?
  86.    G.09)  What's the word on A/UX 3.1 and 3.1.1?
  87.    G.10)  What's the future of A/UX with the PowerMacs?
  88.    G.11)  I can't use A/UX. What UNIX alternatives are there?
  89.  
  90.    ADMINISTRATION ISSUES:
  91.    A.01)  How come my Login screen is gray, not color?
  92.    A.02)  How come my Login ScreenSaver doesn't see both my monitors?
  93.    A.03)  Even though I have lot's of swap space and only a little bit is
  94.           being used, I STILL get a lot of messages saying that my swap
  95.           space is running low. What's the buzz?
  96.    A.04)  How can I copy a complete file system from one disk|partition to
  97.           another?
  98.    A.05)  What's with UUCP?
  99.    A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  100.           but it doesn't work.
  101.    A.07)  How come when I do a 'df' as a regular user, it shows me a different
  102.           number of free blocks compared to when I run it as 'root'?
  103.    A.08)  Does A/UX LocalTalk support IP?
  104.    A.09)  How do I get MPW 3.1 to work? It hangs my system...
  105.    A.10)  Can I refer to a file on my Mac system from within A/UX?
  106.    A.11)  How can I adjust the amount of virtual memory Finder uses?
  107. !  A.12)  Is there an archive of comp.unix.aux out there somewhere?
  108.    A.13)  How come I can't use color under X?
  109.    A.14)  Using the command shell interface, I'm trying to access some Mac
  110.           files (that have strange names) but I can't; the program returns an
  111.           error message I can't access the file. What's going on?
  112.    A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  113.           hard disk. Well, it doesn't on mine!
  114.    A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  115.           how can I get it?
  116.    A.17)  How can I configure CAP under A/UX?
  117.    A.18)  What are some good books about A/UX?
  118.    A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  119.           error message and A/UX won't boot. What can I do?
  120.    A.20)  Is traceroute available for A/UX?
  121.    A.21)  What is KEEPALIVE and how can I use it?
  122.    A.22)  What does this 'panic' message mean...?
  123.    A.23)  How often does A/UX sync the file system?
  124.    A.24)  What is 'catsearchd'?
  125.    A.25)  Is there any way to make AppleDouble file formats the default,
  126.           rather than AppleSingle?
  127.    A.26)  Is there a way to update the 'whatis' database?
  128.    A.27)  Does A/UX support Virtual Interfaces?
  129.  
  130.    MAC-EMULATION QUESTIONS:
  131.    M.01)  What Mac applications are compatible with A/UX?
  132.    M.02)  What screen-savers are compatible with A/UX?
  133.    M.03)  My MacOS partition mounts fine under MacOS but it doesn't show
  134.           up under A/UX... Why?
  135.    M.04)  I have MacsBug installed. How can I trigger it?
  136.    M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  137.           up; how can I unfreeze it? Should I hit the Interrupt switch?
  138.    M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use
  139.           Phase 1 under A/UX?
  140.    M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  141.           Also, sometimes things get transfered fine, othertimes not. What's
  142.           going on?
  143.    M.08)  Do I install CDEVs and Extensions in the System Folder on
  144.           MacPartition or on the "/" A/UX disk.
  145.    M.09)  I heard that A/UX requires a special version of System 7 to boot...
  146.           Is this true?
  147.    M.10)  After the Mac environment crashes (or when I use MacsBug), the
  148.           Desktop gets all screwed up... Argg!!
  149.    M.11)  My MacOS partition(s) only show up on the Desktop when I login
  150.           as root. Why?
  151.    M.12)  For some reason, my CommandShell only responds to a keyboard
  152.           event after it receives a second event. For example, typing "a"
  153.           won't show until I type something else or click the mouse.
  154.           What gives?
  155.    M.13)  Can A/UX 3.x.x run System 7.1?
  156.    M.14)  What version of AppleTalk does A/UX run?
  157.    M.15)  I've just installed MacTCP 2.0.2|4|6 on A/UX and nothing works!
  158.           What's going on?
  159.    M.16)  Does the LaserWriter Bridge s/w work under A/UX?
  160.    M.17)  My /etc/fidd processes refused to run and dumps core. Help!
  161.  
  162.    DEVICES AND PERIPHERALS:
  163.    D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  164.    D.02)  I have an EtherNet card that works fine under the Macintosh OS
  165.           but not under A/UX. Why?
  166.    D.03)  Can I use my scanner under A/UX?
  167.    D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to
  168.           work. I keep on getting a "more data than device expected" error
  169.           message. What's wrong?
  170.    D.05)  What 3-button mice work under A/UX (and X)?
  171.    D.06)  Is it worth getting a cache card for the IIci?
  172.    D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  173.    D.08)  Which serial cards work under A/UX?
  174.    D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print
  175.           something to it through 'lpr', the first line of the page is cut
  176.           off. Why?
  177.    D.10)  I'm trying to access my tape drive using 'tc' (with something like
  178.           "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  179.    D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  180.    D.12)  I've tried to install the CD Remote extension to A/UX so that
  181.           I can play audio CD's, but it doesn't work...
  182.    D.13)  What UNIX CD-ROM formats does A/UX support?
  183.    D.14)  How can I add printers other than those available in Chooser?
  184.    D.15)  What 3rd party accelerators are compatible with A/UX?
  185.    D.16)  Will the old serial HP DeskWriter work under A/UX?
  186.    D.17)  How can I use a HP DeskWriter under A/UX?
  187.    D.18)  Does A/UX support 24-bit color?
  188.    D.19)  What's the specifics on the AWS95 PDS Card?
  189.    D.20)  What are the specifics of SCSI under A/UX?
  190.    D.21)  I can't get my LaserJet 4M to work reliably. Help!
  191.    D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  192.    D.23)  How can I increase the number of inodes when creating a new
  193.           file system?
  194.    D.24)  Can I use my Zip Drive under A/UX?
  195.  
  196.    PORTING AND PROGRAMMING
  197.    P.01)  How come rn|elm|less|etc... act weird concerning signals?
  198.    P.02)  Is X11R5 available for A/UX?
  199.    P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  200.           I'll miss out on all the neat Gnu-stuff like gcc?
  201.    P.04)  I've ported Elm (or other mail reader) and it doesn't seem to
  202.           work... Why?
  203.    P.05)  What languages are available for A/UX?
  204.    P.06)  Is OSF/Motif available for A/UX?
  205.    P.07)  While trying to port some software, the Makefile looks
  206.           for a program called 'ranlib' and dies when it can't
  207.           find it. What is it and where can I get it.
  208.    P.08)  When compiling, I get the message that 'setlocale' is
  209.           an "undefined symbol"... what's going on?
  210.    P.09)  How in the world do I use nlist()?
  211.  
  212.    COMMUNICATION:
  213.    C.01)  I'm unable to start a getty process on a built-in serial port. When
  214.           I use 'setport' to enable the port, I get a "no such device" error.
  215.           Configuring /etc/inittab to respawn getty on the port has no effect.
  216.    C.02)  I am using and depending on /etc/hosts to do all my hostname
  217.           resolving (i.e. not using named or /etc/resolv.conf). How come I
  218.           can't mail to other hosts, but I can ping|ftp|etc... them?
  219.    C.03)  When I try to mail something, I get the following error message:
  220.           "Cannot read frozen config file: not a typewriter". What's wrong?
  221.    C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  222.           on tty0?
  223.    C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  224.           there, and they can't talk to me?
  225.    C.06)  How can I convince A/UX to forward IP packets?
  226.    C.07)  Is PPP available for A/UX?
  227.    C.08)  How can I change the MTU value for CSlip?
  228.    C.09)  I'm having trouble having Solaris 2.4 NFS clients access my
  229.           NFS server!
  230.    C.10)  I'm running a busy web-server and clients are getting lots of
  231.           'Connection Refused' messages... Why?
  232.  
  233.    ERRORS EXPLAINED:
  234.    E.01)  How do I keep command lines that I edit with "backspace" from
  235.           erasing the prompt?
  236.    E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  237.           a fatal server error. Why?
  238.    E.03)  I keep on getting the following error message on the Console:
  239.           "fcntl: local lock manager not registered". What's going on?
  240.    E.04)  When I try to startup 'xterm', I get the following error
  241.           message: "xterm: no available ptys"... What gives?
  242.    E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  243.           these commands, they get a "no mem" error message. What's wrong?
  244.  
  245.  
  246. ===============================================
  247. **** List of Contributors to A/UX FAQ List ****
  248. -----------------------------------------------
  249.  
  250. The editor would like to thank all the various people who have contributed
  251. to the A/UX FAQ List (both those that submitted questions as well as those
  252. who submitted answers). Also included under the Q&A section are the relevant
  253. people to contact if you have specific questions about specific A/UX items.
  254. If I've left you out, PLEASE E-mail me!
  255.  
  256.   Brian Bechtel           (blob@apple.com)
  257.   Greg Berryman           (gpb@gpb-mac.sps.mot.com)
  258.   Nick Beser              (beser@aplcomm.jhuapl.edu)
  259.   Peter Brewer            (brewer@hamlet.umd.edu)
  260.   Manuel Bouyssou         (manuel@apple.com)
  261.   John Coolidge           (coolidge@apple.com)
  262.   Bob Denny               (denny@alisa.com)
  263.   Eric Dittman            (dittman@skitzo.dseg.ti.com)
  264.   John Dundas III         (dundas@salt.jpl.nasa.gov)
  265.   Thomas Eberhardt
  266.   Rick Ewing              (ewing@vhp.vanderbilt.edu)
  267.   Ron Flax                (ron@afsg.apple.com)
  268.   Marcelo Gallardo        (marcelo@deadzone.princeton.edu)
  269.   Ben Goren               (ben@tux.fa.asu.edu)
  270.   James Gritton           (gritton@byu.edu)
  271.   Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  272.   Chris Johnson           (cjohnson@brl.mil)
  273.   Bill Johnston           (johnston@me.udel.edu)
  274.   Ron Johnston            (johnston@apple.com)
  275.   Bob Kirby               (kirby@esl.com)
  276.   Nicolas Lenz            (nlenz@sdcc13.UCSD.EDU)
  277.   Darrell Pfeifer         (pfeifer@camins.camosun.bc.ca)
  278.   Phillip Porch           (root@theporch.com)
  279.   Wes Price               (ww2@bullwinkle.ssc.gov)
  280.   Alexis Rosen            (alexis@panix.com)
  281.   Eric Rosen              (eric@cse.ucsc.edu)
  282.   Craig Ruff              (cruff@ncar.ucar.edu)
  283.   Jim Ryan                (jryan@adobe.com)
  284.   Paul Sander             (paul@sander.uucp)
  285.   Kent Sandvik            (ksand@apple.com)
  286.   Jon Stevens             (root@dolphin.csudh.edu)
  287.   Craig Struble           (cstruble@gnu.ai.mit.edu)
  288.   Richard Todd            (rmtodd@servalan.servalan.com)
  289.   Chuq Von Rospach        (chuq@apple.com)
  290.   Jon W{tte               (d88-jwa@nada.kth.se)
  291.   Earl Wallace            (earlw@macaux.aux.apple.com)
  292.   Herb Weiner             (herbw@wiskit.com)
  293.   Bill Woodcock           (woody@zocalo.com)
  294.  
  295.  
  296. =================================================
  297. **** List of anonymous ftp archives for A/UX ****
  298. -------------------------------------------------
  299.  
  300. The following sites have A/UX related archives and materials available via
  301. anonymous ftp (see below for more information):
  302.  
  303. abs.apple.com                      (130.43.1.101)
  304.     Meant to be the central server for _all_ Apple Business Systems
  305.     products, including A/UX, AWS, MAE, etc...
  306.  
  307. afsg.apple.com                     (130.43.50.2)
  308.     ports and hacks for A/UX
  309.  
  310. dolphin.csudh.edu                  (155.135.16.1)
  311.     neat A/UX stuff
  312.  
  313. dunkin.Princeton.EDU               (128.112.64.39)
  314.     mirror of jagubox.gsfc.nasa.gov
  315.  
  316. ftp.amug.org
  317.     mirror of jagubox and other goodies
  318.  
  319. ftp.fenk.wau.nl                    (137.224.129.4)
  320.     mirror of jagubox.gsfc.nasa.gov
  321.  
  322. ftp.support.apple.com              (130.43.6.3)
  323.     main FTP server for Apple.
  324.  
  325. ftp1.jaguNET.com                   (206.156.208.7)
  326.     various A/UX goodies
  327.  
  328. jagubox.gsfc.nasa.gov              (128.183.44.1)
  329.     FAQ List;
  330.     bunch of ports, utilities, new mini-inews (1.6);
  331.     Apple fixes (in ~ftp/pub/aux/Apple.fixes)
  332.     ***       jagubox also runs a gopherd-server as well      ***
  333.     *** and a WWW-httpd server "http://jagubox.gsfc.nasa.gov" ***
  334.  
  335. nada.kth.se                        (130.237.222.71)
  336.     mirror of A/UX items from:
  337.        afsg.apple.com
  338.        jagubox.gsfc.nasa.gov
  339.        wuarchive.wustl.edu
  340.  
  341. rascal.ics.utexas.edu              (128.83.138.20)
  342.     misc. ports;
  343.     Mac applications, CDEVs, etc...;
  344.  
  345. redstar.dcs.qmw.ac.uk              (192.135.231.4)
  346.     IIci benchmarking results;
  347.  
  348. wc208.residence.gatech.edu         (199.77.224.208)
  349.     copies of various A/UX ports
  350.  
  351. wuarchive.wustl.edu                (128.252.135.4)
  352.     ports, GNU stuff; (look in systems/aux)
  353.  
  354.  
  355. =======================================
  356. *** List of security-related issues ***
  357. ---------------------------------------
  358.  
  359. No system is 100% secure. To this end, it makes sense to make each one as
  360. secure as possible, including A/UX.
  361.  
  362. ~~~~~~~~~~~~~~~~~~~~~~
  363. Permissive Permissions
  364. ~~~~~~~~~~~~~~~~~~~~~~
  365.  
  366.   o The default distribution of A/UX has some files with somewhat permissive
  367.     permissions. These should be changed to avoid problems. These files and
  368.     the recommended modes, owners and groups are as follows:
  369.  
  370.       -rwsr-xr-x   1 root     sys        /bin/ps
  371.       -rwxr-sr-x   1 bin      sys        /bin/pstat
  372.       -rwxr-xr-x   1 bin      bin        /etc/ncheck
  373.       -rwxr-sr-x   1 bin      sys        /usr/bin/lav
  374.       -rwxr-xr-x   1 bin      bin        /usr/bin/X11/xterm
  375.       -rwxr-sr-x   1 bin      sys        /usr/etc/ncstats
  376.       -rwxr-sr-x   1 bin      sys        /usr/etc/nfsstat
  377.       -rwxr-xr-x   1 bin      bin        /usr/etc/rpcinfo
  378.       -rwxr-x---   1 adm      adm        /usr/lib/acct/diskusg
  379.       drwxr-xr-x  21 root     sys        /etc 
  380.  
  381.     (The removal of SUID-to-root from 'diskusg' means that the cron 'adm'
  382.     accounting package [all the /usr/lib/acct/* stuff] will need to be run by
  383.     'root' instead)
  384.  
  385.     To make changing the user, group and permissions of these files a little
  386.     easier, Jim Jagielski has hacked together an ugly little 'ksh' script
  387.     that does it for you. The info required is self contained in the script
  388.     itself and it's easy to add more entries as required. Look for the script
  389.     on jagubox.gsfc.nasa.gov under "/pub/aux/Security/better.perms".
  390.  
  391.  o  Also, to close things a little tighter, remove all permissions for
  392.     "others" ('chmod o-rwx') for all files in:
  393.  
  394.       /usr/lib/acct
  395.       /usr/lib/cron
  396.     
  397.   o Only trusted users should be allowed to use 'lpr'. Remove execute
  398.     priviledges for OTHERS and then change '/etc/groups' to make _only_
  399.     trusted users as members of group 'daemon'. If you want, you can dump
  400.     'lpr/lpd' and use 'lp/lpsched'.
  401.  
  402.   o You may want to consider if you really want the 'lp'|'lpr' admini-
  403.     stration programs (such as 'lpadmin', 'lpmove' etc...) executable by
  404.     all. If not, then remove that mode from them ('chmod o-rwx').
  405.  
  406.   o Under 3.x.x, make sure that all files in /dev/scsi are mode 600 with
  407.     owner 'root' and group 'sys'... Get the new 'devscsi' file (available on
  408.     jagubox) to replace what's in /etc/install.d/init.d.
  409.  
  410.   o A/UX also has the 'expreserve' problem. This program (actually called
  411.     'ex3.9preserve' under A/UX) is used by 'vi'|'ex' to "save" canceled
  412.     or killed edit sessions. 'expreserve' saves a copy of the buffer in
  413.     the "/usr/preserve" directory. The program is SUID to root since the
  414.     directory is owned by root, but any other user would do just fine. There's
  415.     also no real need for it to be SUID either. To preserve the use of
  416.     'expreserve' you'll need to create a new user whose sole existance is to
  417.     own "/usr/preserve" and 'ex3.9preserve'.
  418.  
  419.       : Create a new user on the system. Make it totally unused. eg:
  420.  
  421.          /etc/passwd:
  422.            preserve:* void *:33:33:secure preserve:/usr/preserve:/bin/noshell
  423.  
  424.          /etc/group
  425.            preserve:* void *:33:preserve
  426.     
  427.       : Now change the owner and group of /usr/lib/ex3.9preserve and
  428.         /usr/preserve to the above user. Change the mode of 'ex3.9preserve' to
  429.         2111 and 'preserve' to 775:
  430.  
  431.           ---x--s--x   1 preserve  preserve  /usr/lib/ex3.9preserve
  432.           drwxrwxr-x   2 preserve preserve     512 Mar  4 15:46 /usr/preserve
  433.  
  434.     ...and you're done. Now vi/expreserve can write in /usr/preserve but no
  435.     root security hole exists! If this is too much work, then you can just
  436.     remove the SUID bit for 'expreserve'; this will close the hole, but killed
  437.     editting sessions won't be saved (except for root).
  438.  
  439.     (***NOTE*** Replacing 'sh' with the "fixed" version described below
  440.      fixes this hole. Still, having 'expreserve' SUID to root goes against
  441.      the ideal of running programs with the least priviledges possible.)
  442.  
  443.   o The '/lib/librmt.a' library has write permissions for all users. You
  444.     should remove it (the write permissions, that is, not the file ;) ):
  445.  
  446.       -rw-r--r--   1 root     bin        14734 Mar 23  1993 /lib/librmt.a
  447.  
  448.   o Why not create a group called 'wheel' and make /bin/su mode 4750 with
  449.     owner 'root' and group 'wheel'. Then, only make trusted users with
  450.     the need to use 'su' as members of 'wheel'.
  451.  
  452.   o Make sure that 'bin' has a void password and '/bin/false' as it's
  453.     login shell.
  454.  
  455.   o The shadow-passwd suite has been ported to A/UX. Basically, this package
  456.     moves the encrypted passwds from world-readble /etc/passwd to root-only-
  457.     readable /ec/shadow, thus greatly increasing security. Some daemons, such
  458.     as popper and wu-ftpd will need to be recompiled. Use it!
  459.  
  460. ~~~~~~~~~~~~~~~~~~~~~~~~~
  461. Other "Gotcha's" and Info
  462. ~~~~~~~~~~~~~~~~~~~~~~~~~
  463.  
  464.   o One definate improvement you should make to your A/UX system is to
  465.     obtain (from jagubox and other A/UX mirror sites) and install the
  466.     'uwrap' program. 'uwrap' is a wrapper specfically designed to
  467.     wrap and protect /etc/init from the SIGURG signal. It can also
  468.     be used to wrap other programs and processes as well if desired.
  469.     Programs linked with -lbsd or -lposix or those compiled with
  470.     'set42sig()' do not require SIGURG protection (and since /etc/init
  471.     exec's all other processes, unless processes use SysV signals
  472.     _and_ reset SIGURG to SIG_DFL, they will also be protected as
  473.     well).
  474.  
  475.   o There is a replacement version of rpc.statd for A/UX 3.1 (3.1.1)
  476.     available on ftp.support.apple.com, in
  477.     /pub/apple_sw_updates/US/Unix/A_UX/supported/3.x that addresses and
  478.     fixes the vulnerability described in CERT Advisory CA-06.09.
  479.     Get It!
  480.  
  481.   o A number of holes are due to some "wrong" things that '/bin/sh' does
  482.     concerning IFS. To fix this, Apple has released a "corrected" version
  483.     of 'sh' that resets IFS to it's default value before executing a script.
  484.     This fixes some holes that exist in SUID programs that call 'system()'
  485.     or 'popen()' to execute some commands. This replacement version of
  486.     'sh' is available both on aux.support.apple.com and jagubox.gsfc.nasa.gov.
  487.     To install it, follow these directions (assuming you are located in the
  488.     directory where the new 'sh' is located):
  489.  
  490.        $ cp /bin/sh /bin/Osh
  491.        $ cp sh /bin/sh
  492.  
  493.     For this to work, /bin/sh shouldn't be busy, so this should be done either
  494.     in Single-User mode (as long as root's shell isn't 'sh') or while in
  495.     A/UX Startup.
  496.  
  497.   o If you are connected to the Internet, it's a Good Idea to either use
  498.     either tcp_wrappers (on ftp.win.tue.nl and jagubox)) or inetd 1.9
  499.     (on jagubox), both of which provide host access control (i.e. you can
  500.     select which hosts can exec which network daemons. While you are at it,
  501.     the replacement version of 'portmap' (also on jagubox) is very easy to
  502.     compile and is recommended as well.
  503.  
  504.   o By all means, remove the Guest account. Check to make sure that there
  505.     are _no_ users with null-passwords in /etc/passwd.
  506.  
  507.   o The default distribution of A/UX has 'in.fingerd' SUID to root. Even
  508.     though it doesn't have the  famous Internet Worm problem, there's no
  509.     need for that. Much better to have it run as 'nobody'. You can do
  510.     this by either changing the owner of 'in.fingerd' to 'nobody' and
  511.     keeping it's SUID bit or you can remove the SUID capability and
  512.     tell 'inetd' to run it as 'nobody'. To do the later, you'll need to
  513.     use the new, unofficial replacement of 'inetd' for A/UX (see below:
  514.     "Performance Patches", "Ported s/w" and Q&A A.06). Jim Jagielski has
  515.     also ported a version of 'in.fingerd' that logs fingers. It's available
  516.     via anon-ftp on jagubox.gsfc.nasa.gov. Of course, the most secure option
  517.     is simply to disable 'in.fingerd' totally in '/etc/servers'.
  518.  
  519.   o Root should never use the common System Folder... Due to it's very
  520.     nature it's writable by everyone. Give root a personal System Folder
  521.     and sleep easier :)
  522.  
  523.   o A/UX doesn't support the 'sticky-bit' feature for directories. So
  524.     why not create a directory in your $HOME called '.tmp' with mode 700.
  525.     Now in /etc/profile add:
  526.  
  527.         if [ -d "$HOME/.tmp" ]; then
  528.             EXINIT="set directory=$HOME/.tmp"
  529.             export EXINIT
  530.             TMPDIR="$HOME/.tmp"
  531.             export TMPDIR
  532.         fi
  533.  
  534.     and in /etc/cshrc add:
  535.  
  536.         if ( -d "$HOME/.tmp" ) then
  537.             setenv EXINIT "set directory=$HOME/.tmp"
  538.             setenv TMPDIR "$HOME/.tmp"
  539.         endif
  540.  
  541.     Now most UNIX programs (like 'vi', 'elm', 'cc', 'gcc', etc...) will use
  542.     $HOME/tmp as a safer location for temp-files.
  543.  
  544.  
  545. =========================================================
  546. **** List of known bugs and patches under A/UX 3.x.x ****
  547. ---------------------------------------------------------
  548.  
  549. ~~~~~~~~~~~~~~~
  550. AWS Tune-Up 2.0
  551. ~~~~~~~~~~~~~~~
  552.     By far, this is the most important patch you could apply to A/UX 3.1.
  553.     It updates it to 3.1.1 and fixes lots of bugs as well as provides better
  554.     performance. The patch is in the form of 1 DiskCopy Image file which
  555.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  556.     download the files and then use DiskCopy to make the Installer disks.
  557.     This is a _free_ upgrade to 3.1 and requires 3.1. NOTE: A/UX 3.1.1
  558.     will _NOT_ run reliably on the MacII, MacIIx, MacIIcx or SE/30.
  559.  
  560.     On jagubox, look in ~ftp/pub/aux/Apple.fixes/supported
  561.  
  562. ~~~~~~~~~~~~~~~
  563. AWS Tune-Up 1.0
  564. ~~~~~~~~~~~~~~~
  565.  
  566.     By far, this is the most important patch you could apply to A/UX 3.0.1.
  567.     It updates it to 3.0.2 and fixes lots of bugs as well as provides better
  568.     performance. The patch is in the form of 2 DiskCopy Image files which
  569.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  570.     download the files and then use DiskCopy to make the Installer disks.
  571.     This is a _free_ upgrade to 3.0.1 and requires 3.0.1.
  572.  
  573. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  574. Performance related patches: 3.x.x
  575. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  576.  
  577.     BNET:
  578.         ***         Has an incredibly small listen() queue            ***
  579.     ***      which is a major pain for loaded WebServers          ***
  580.         ***                                                           ***
  581.         ***         'adb' shell script that fixes this is             ***
  582.     ***       available on ftp1.jaguNET.com in /pub/aux           ***
  583.     ***                as well as on jagubox                      ***
  584.         {{{{{                                                       }}}}}
  585.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  586.  
  587.     inetd:
  588.         ***            Unofficial replacement is available            ***
  589.         ***        on jagubox.gsfc.nasa.gov in pub/aux/Daemons        ***
  590.         ***      This replacement is based on the BSD-reno inetd      ***
  591.         ***  and allows such nice features as rereading /etc/servers  ***
  592.         ***        on receiving SIGHUP, specifying options for        ***
  593.         ***           called daemons,  logging when daemons           ***
  594.         ***     are spawned and which host requested the daemon       ***
  595.         ***            and providing host access control              ***
  596.         {{{{{                                                       }}}}}
  597.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  598.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  599.  
  600.     tc (tape driver device driver):
  601.         Reports incorrect file number when 'mt' is used to skip
  602.         files (fsf and/or bsf).
  603.         Doesn't allow for additional storage capability of extended
  604.         length tapes or hardware compression tape drives.
  605.         Doesn't work with Exabyte 8200s
  606.         ***                                                           ***
  607.         ***       An unofficial replacement version of 'tc' has       ***
  608.         ***     has been written that fixes these bugs as well as     ***
  609.         ***        providing additional capability and support        ***
  610.         ***                    for other drives                       ***
  611.         ***                                                           ***
  612.         ***               3.x.x replacement is available              ***
  613.         ***       on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff       ***
  614.         {{{{{                                                       }}}}}
  615.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  616.  
  617. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  618. Bugs and Fixes|Workarounds: 3.x.x
  619. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  620.  
  621.     ~lp/model/at_interface:
  622.         Incorrectly prints multiple copies of input. For example,
  623.         "lp file.1 file.2" would print 2 copies of file.1 and just
  624.         one of file.2.
  625.         ***    Due to '>>' being used instead of '>' in certain       ***
  626.         ***                 places in at_interface.                   ***
  627.         ***             Unofficial replacement is available           ***
  628.         ***        on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff      ***
  629.         ***       (entries in ~lp/interface based on at_interface     ***
  630.         ***               should also be changed/patched)             ***
  631.         {{{{{                                                       }}}}}
  632.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  633.  
  634.     atprint:
  635.         Doesn't correctly connect to the LaserWriter Pro 810.
  636.         ***              Official replacement is available            ***
  637.         ***      on ftp.support.apple.com in /pub/aws95/atprint       ***
  638.  
  639.     syslogd:
  640.         Doesn't handle some facility (like 'news') logging correctly.
  641.         ***             Unofficial replacement is available           ***
  642.         ***         on jagubox.gsfc.nasa.gov in pub/aux/Daemons       ***
  643.         ***       (contains new /etc/syslogd as well as syslog.h)     ***
  644.         {{{{{                                                       }}}}}
  645.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  646.  
  647.     in.telnetd:
  648.         Leaves ports open and hanging occasionally. Can cause kernel crashes.
  649.         ***            Unofficial replacement is available            ***
  650.         ***                 on jagubox.gsfc.nasa.gov                  ***
  651.         ***                   in pub/aux/Sys_stuff                    ***
  652.         {{{{{                                                       }}}}}
  653.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  654.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  655.         ####  Please note that it appears that this new version has  ####
  656.         ####    some slight bugs in correctly handling Synchs and    ####
  657.         ####     options negotiation. I have only seen this using    ####
  658.         #### VersaTerm Pro 3.6.2 and connecting to myself via telnet ####
  659.  
  660.     /etc/startup.d/ao,as,ae6:
  661.         Ignores the Broadcast Address value in /etc/NETADDRS.
  662.         ***      If your broadcast address needs to be different      ***
  663.         ***   then the default, you'll need to modify these scripts   ***
  664.         ***     to add 'broadcast "$broadcast"' to the 'ifconfig'     ***
  665.         ***     lines that _don't_ refer to Loopback. Pretty easy     ***
  666.         ***           but Email me if you have questions              ***
  667.  
  668.     /usr/include/dir.h:
  669.         If entered through dirent.h and _SYSV_SOURCE is defined,
  670.         rewinddir() is incorrectly "defined". It assumes that you are
  671.         linking -lposix and will use the "real" rewinddir() function
  672.         found there, when, in fact, you should #define rewinddir
  673.         as done with _BSD_SOURCE.
  674.         ***         A hacked version of dir.h is available on         ***
  675.         ***    jagubox.gsfc.nasa.gov. It only assumes -lposix will    ***
  676.         ***      be included (and the real rewinddir() called) if     ***
  677.         ***             _only_ _POSIX_SOURCE is defined               ***
  678.  
  679.     /usr/include/sys/file.h:
  680.         Even though fcntl.h is smart enough to know if sys/file.h has
  681.         been included, and won't redefine things defined in there, the
  682.         reverse isn't true. So if you include sys/file.h 1st and fcntl.h
  683.         next, no warnings will be given, but if you do the reverse, some
  684.         "redefine" warnings will be printed.
  685.         ***         A hacked version of file.h is available on        ***
  686.         ***    jagubox.gsfc.nasa.gov. It checks for __fcntl_h first   ***
  687.         ***  (if you are using 'gcc', you'll also need to snag it's   ***
  688.         ***        fixed header-file from jagubox: GNUfile.h)         ***
  689.  
  690.     /usr/include/sys/param.h:
  691.         MAXHOSTNAMLEN is defined as a ridiculously low value (32). It should
  692.         instead be set to what's "normal": 256.
  693.         ***     Fix is very simple... edit /usr/include/sys/param.h   ***
  694.         ***            and change the value from 32 to 256            ***
  695.         ***  (if you are using 'gcc', you'll also need to edit it's   ***
  696.         ***     include file [gcc/aux/?.?.?/include/sys/param.h]      ***
  697.  
  698.     /usr/include/sys/types.h:
  699.         Incorrectly defines size_t as signed int when every other header
  700.         file defines it as unsigned int.
  701.         ***     Fix is very simple... edit /usr/include/sys/types.h   ***
  702.         ***           and change it from signed to unsigned           ***
  703.  
  704. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  705. Bugs and Fixes|Workarounds: 3.1
  706. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  707.  
  708.     chsh:
  709.         Resets the uid of nobody to 60001 (the MAXUID under 3.1 is 65534,
  710.         but 'chsh' thinks it's 60001).
  711.         ***      Use 'vipw' to change this value back if needed       ***
  712.  
  713. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  714. Bugs and Fixes|Workarounds: 3.0.2
  715. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  716.  
  717.     elap:
  718.         A/UX-mac occasionally disappears under Chooser
  719.         ***            Official 3.0.2 patch is now available          ***
  720.         ***           on aux.support.apple.com in aws95/elap          ***
  721.  
  722. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  723. Performance related patches: 3.0
  724. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  725.  
  726.     MacOS System Heap Expansion:
  727.         Not as robust as the _real_ System 7.0.1 capability, thus pre-
  728.         venting you from loading lots of memory hungry Extensions and
  729.         CDEVs.
  730.         ***             Unofficial replacement is available           ***
  731.         ***                 on jagubox.gsfc.nasa.gov                  ***
  732.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  733.  
  734. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  735. Bugs and Fixes|Workarounds: 3.0
  736. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  737.  
  738.     as, ao, etheraddr:
  739.         H/W ethernet address is burned in bitwise reverse on Q9?0
  740.         and Ethernet NB card. Thus, ao, as and etheraddr reports the
  741.         incorrect address.
  742.         ***                 3.0 patch is now available                ***
  743.         ***         on aux.support.apple.com in supported/3.0         ***
  744.  
  745.     BNU/HDB UUCP (the whole thing):
  746.         Severe problems as distributed, such as inability to dialout
  747.         with correctly configured modem, etc...
  748.         ***                 3.0 patch is now available                ***
  749.         ***         on aux.support.apple.com in supported/3.0         ***
  750.         ***     This "patch" is a newer version of HDB (to 1.16)      ***
  751.         ***         and adds some Mega-enhancements as well.          ***
  752.         ***                Thanks to Earl Wallace!!!                  ***
  753.         #### If you snagged version 1.14 from aux.support.apple.com  ####
  754.         ####       then be _sure_ to update to version 1.16.         ####
  755.         ####                                                         ####
  756.         ####     Installing BNU 1.6 causes syslogd to break under    ####
  757.         ####    new compiles. This is due to the fact that dial.o    ####
  758.         ####   is replaced in libc.a|libc_s.a when BNU is installed  ####
  759.         ####         To fix, just get the replacement dial.o         ####
  760.         ####           on ftp.apple.com in pub/earlw/dial            ####
  761.  
  762.     csh:
  763.         Doesn't seem to like filename completion.
  764.  
  765.     pstat:
  766.         Depending on the options used, can gobble memory and not release
  767.         it.
  768.         ***             Unofficial replacement is available           ***
  769.         ***                 on jagubox.gsfc.nasa.gov                  ***
  770.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  771.  
  772.     rpc.rstatd:
  773.         Doesn't report correct load averages
  774.         ***             Unofficial replacement is available           ***
  775.         ***                 on jagubox.gsfc.nasa.gov                  ***
  776.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  777.  
  778.     serial drivers:
  779.         After some use on all Macs (except IIfx and maybe the Quadras)
  780.         the kernel will crash.
  781.         ***  This has been confirmed by Apple but no fix exists yet!! ***
  782.  
  783.     syslogd:
  784.         If BNU 1.6 is installed, syslogd won't work on newly compiled
  785.         programs due to some munging of libc.a|libc_s.a when BNU 1.6
  786.         is installed. See BNU/HDB UUCP above.
  787.  
  788.  
  789. =========================================================
  790. **** List of ported software available via anon-ftp: ****
  791. ---------------------------------------------------------
  792.  
  793. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  794. Already ported and available:
  795. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  796.  
  797. (Included is the person responsible for the port and the location of the port)
  798.  
  799.     3270 (v3.6):
  800.         Eric C Hagberg          (hagberg@mail.med.cornell.edu)
  801.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  802.  
  803.     Austin KCL (619):
  804.         Thomas Weigert          (weigert@mcs.anl.gov)
  805.         wuarchive.wustl.edu     [???]
  806.  
  807.     apache (v1.0.0 thru v1.1)
  808.         Jim Jagielski           (jim@jaguNET.com)
  809.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  810.     ftp.apache.org          [officially supported OS]
  811.  
  812.     bash (1.12):
  813.         John Coolidge           (coolidge@apple.com)
  814.         wuarchive.wustl.edu     [systems/aux/gnu]
  815.  
  816.     Berkeley make:
  817.         Phillip P. Porch        (root@theporch.com)
  818.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  819.  
  820.     Berkeley mandoc:
  821.         Phillip P. Porch        (root@theporch.com)
  822.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  823.  
  824.     cut & paste (BSD versions):
  825.         Ken Whang               (ken@touch.wustl.edu)
  826.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  827.  
  828.     EBBS/BBS 2.2 (UNIX based BBS):
  829.         Jon Stevens             (root@dolphin.csudh.edu)
  830.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  831.  
  832.     emacs 19.21:
  833.         Brent Burton            (brentb@tamsun.tamu.edu)
  834.         isc.tamu.edu            [pub/personal/brentb]
  835.         (The diffs that Brent used, done by Paul Traina, are available
  836.         on jagubox in the emacs diffs "collection" tarchive)
  837.  
  838.     fortune:
  839.         Phillip P. Porch        (root@theporch.com)
  840.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  841.  
  842.     freeWAIS (0.3):
  843.         Jon Stevens             (root@dolphin.csudh.edu)
  844.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  845.  
  846.     fvwm (1.21z):
  847.         Renzo Marcanzin         (aire@maya.dei.unipd.it)
  848.         maya.dei.unipd.it       [pub?]
  849.  
  850.     gated (2.1.3)
  851.         Herb Weiner             (herbw@wiskit.com)
  852.         jagubox.gsfc.nasa.gov   [pub/aux/Patches]
  853.  
  854.     gcc (2.7.2):
  855.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  856.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  857.         (See Q&A #P.03)
  858.  
  859.     gdb (4.12):
  860.         John Coolidge           (coolidge@apple.com)
  861.         wuarchive.wustl.edu     [systems/aux/gnu]
  862.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  863.  
  864.     GNUplot (3.5):
  865.         Eric Rosen              (eric@cse.ucsc.edu)
  866.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  867.  
  868.     GNUtar (1.11.2):
  869.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  870.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  871.  
  872.     GNUzip (1.2.4):
  873.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  874.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  875.  
  876.     httpd (1.4):
  877.         Jim Jagielski           (jim@jaguNET.com)
  878.         ftp.ncsa.uiuc.edu       [Web/Unix]
  879.  
  880.     inetd (BSD/Reno)
  881.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  882.         John Coolidge           (coolidge@apple.com)
  883.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  884.  
  885.     last (BSD version):
  886.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  887.         Ken Whang               (ken@touch.wustl.edu)
  888.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  889.  
  890.     lemacs (19.6):
  891.         Thomas Eberhardt
  892.         labrea.Stanford.EDU     [pub/gnu/lucid]
  893.         <<ED: I don't think it's there anymore... anybody know
  894.           where a copy might be?>>
  895.  
  896.     libg++ (2.5.3):
  897.         John Coolidge           (coolidge@apple.com)
  898.         wuarchive.wustl.edu     [systems/aux/gnu]
  899.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  900.  
  901.     logging in.ftpd:
  902.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  903.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  904.         (See Q&A #A.06)
  905.  
  906.     md5:
  907.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  908.         jagubox.gsfc.nasa.gov   [pub/aux/Security]
  909.  
  910.     Mosaic (diffs for 2.2):
  911.         Eric Rosen              (eric@cse.ucsc.edu)
  912.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  913.  
  914.     Mosaic (2.4 binary):
  915.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  916.  
  917.     msgs:
  918.         Phillip P. Porch        (root@theporch.com)
  919.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  920.  
  921.     mt2 (replacement for 'mt' tape positioner program... not really
  922.       needed since NEWtc is available that fixes the need for mt2):
  923.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  924.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  925.  
  926.     mtools (MS DOS floppy access tools):
  927.         Parag Patel             (parag@netcom.com)
  928.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  929.  
  930.     named:
  931.         Various A/UXers
  932.     PS: DON'T replace the header files and don't
  933.     let 'make' install the files... instead, install
  934.     them by hand. Specifically, copy the 'named' and
  935.     'named-xfer' files from './named' to the correct
  936.     location (usually /etc) on your system. _There
  937.     is NO need to install or use ANY of the header
  938.     (*.h) or library (*.a) files in the distribution_!!
  939.     Just replace the binaries, not the include-files!
  940.     (PS: There is also no need to recompile your programs
  941.     as well)
  942.  
  943.     patch:
  944.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  945.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  946.  
  947.     perl (4.036):
  948.     perl (5.001e):
  949.     perl (5.002):
  950.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  951.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  952.  
  953.     pine 3.90:
  954.         Phillip P. Porch        (root@theporch.com)
  955.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  956.  
  957.     popper:
  958.         Ben Goren               (ben@tux.fa.asu.edu)
  959.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  960.  
  961.     popper-shadow:
  962.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  963.  
  964. +   portmap 4:
  965. +       Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  966. +       jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  967.  
  968.     sendmail 5.65:
  969.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  970.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  971.         (See Q&A #C.02)
  972.  
  973.     sendmail.cf:
  974.         Alexis Rosen            (alexis@panix.com)
  975.         jagubox.gsfc.nasa.gov   [pub/aux/UUCP-sendmail-cf]
  976.         (See Q&A #A.06)
  977.  
  978.     shadow-passwd:
  979.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  980.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  981.  
  982.     showaudio:
  983.         Eric Rosen              (eric@cse.ucsc.edu)
  984.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  985.  
  986.     smail 3.1.28:
  987.         Bob Denny               (denny@alisa.com)
  988.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  989.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  990.  
  991. +   ssh-1.2.17:
  992. +    <<later versions compile easily out of the box>>
  993. +       Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  994. +       jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  995.  
  996.     talk and talkd (BSD 4.3 versions)
  997.         Steve Green             (xrsbg@dirac.gsfc.nasa.gov)
  998.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  999.         (See Q&A #C.05)
  1000.  
  1001. +   tcp_wrappper 7.4:
  1002. +       Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  1003. +       jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  1004.  
  1005.     tcsh (6.03):
  1006.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  1007.  
  1008.     texinfo (3.1):
  1009.         Phillip P. Porch        (root@theporch.com)
  1010.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  1011.  
  1012.     vim (4.2):
  1013.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  1014.         jagubox.gsfc.nasa.gov   [pub/unix/vim]
  1015.  
  1016.     vtwm (5.1):
  1017.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  1018.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  1019.  
  1020.     WUARCHIVE ftpd (2.4):
  1021.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  1022.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  1023.         (See Q&A #A.06)
  1024.  
  1025.     xmeter:
  1026.         Eric Rosen              (eric@cse.ucsc.edu)
  1027.         jagubox.gsfc.nasa.gov   [pub/aux/Utilties]
  1028.  
  1029.     xntpd (3.3zd):
  1030.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  1031.         John Dundas III         (dundas@salt.jpl.nasa.gov)
  1032.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  1033.  
  1034.     zmodem:
  1035.         Jon Stevens             (root@dolphin.csudh.edu)
  1036.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  1037.  
  1038. ~~~~~~~~~~~
  1039. Easy to do:
  1040. ~~~~~~~~~~~
  1041.  
  1042. The following have also been successfully ported to A/UX with minimal trouble.
  1043. Since the ports are pretty straightforward, only a few are actually available
  1044. in their ported form (please see Q&A #P.01).  Please note that most of these
  1045. require or assume using 'gcc.'
  1046.  
  1047. << ED: As a general rule of thumb, most of the ports that I've done use
  1048.        gcc and GNUmake... provided patches may assume or require these >>
  1049.  
  1050.     o  Cnews (Ver. ??)
  1051.     o  Deliver (v2.1 pl. 9 or later)
  1052.     #  Elm 2.4.23
  1053.          (use -lbsd and edit config.sh and "undef" d_locale or else
  1054.           follow the advice of P.08, below)
  1055.     o  Ghostscript 2.3
  1056.     #  GNU Stuff (all are pretty much straight-forward and compile
  1057.        "right out of the box"):
  1058.          binutils 1.9
  1059.     #    bison 1.22
  1060.     #    diffutils 2.3
  1061.          emacs 19.[19-22]
  1062.            (diffs on jagubox in the emacs diffs "collection" tarchive)
  1063.     #    fileutils 3.6
  1064.     #    find 3.8
  1065.            (to allow 'find' to recognize user=nobody, compile with 'cc')
  1066.          flex 2.3.7
  1067.          gawk 2.1.5
  1068.            (use '-traditional' with gcc)
  1069.     #    gdbm 1.7.1
  1070.     #    grep 2.0
  1071.     #    gzip 1.2.4
  1072.     #    indent 1.9.1
  1073.     #    make 3.71
  1074.     #    pgp 2.6/2.6.1 (from bitsy.mit.edu)
  1075.     #    ripem 1.2 (from ripem.msu.edu)
  1076.     #    sed 1.1.6
  1077.     #    sed 2.0.3
  1078.          shellutils 1.8
  1079.          Smalltalk 1.1.1
  1080.     #    tar 1.11.2
  1081.            (requires '-lbsd -lposix')
  1082.     #    textutils 1.6
  1083.     #  gopher/gopherd 2.016 [from boombox.micro.umn.edu]
  1084.          (diffs available on jagubox)
  1085.     o  Gwm 1.7h
  1086.     #  httpd 1.4.2/1.5 [from ftp.ncsa.uiuc.edu]
  1087.         (compiles right outta the book. Officially supports A/UX).
  1088.     o  INN 1.4 (get 'INN.config.data' files from jagubox)
  1089.          Please note that INN is an _extreme_ memory hog, esp.
  1090.          when compiled using gcc. If you use it, be _sure_
  1091.          that you have enough memory and swap space. It helps
  1092.          a LOT if you don't run the Finder interface as well.
  1093.     #  less 177
  1094.     #  listproc 6.0c (was: listserv)
  1095.          (compile w/ -DDONT_GO_INTERACTIVE; and use GNUmake)
  1096.     #  lynx 2.3 [from FTP2.cc.ukans.edu]
  1097.          (diffs available on jagubox)
  1098.     #  NetHack
  1099.     #  mush 7.2.5 (Use either 'cc -DAUX' or 'gcc -traditional';
  1100.          make sure SIGRET=int; use INTERNAL_MALLOC; use makefile.sys.v)
  1101.     #  named
  1102.         (compiles right outta the book. Officially supports A/UX;
  1103.      however, don't let it install itself. instead, install
  1104.      them by hand. Specifically, copy the 'named' and
  1105.      'named-xfer' files from './named' to the correct
  1106.      location (usually /etc) on your system. _There
  1107.      is NO need to install or use ANY of the header
  1108.      (*.h) or library (*.a) files in the distribution_!!
  1109.      Just replace the binaries, not the include-files!
  1110.      (PS: There is also no need to recompile your programs
  1111.      as well))
  1112.     #  nn 6.4.18
  1113.          (A/UX configuration file available on jagubox)
  1114.     #  nn 6.5.0(b3)
  1115.          (A/UX configuration file available on jagubox)
  1116.     #  nntp 1.5.11
  1117.     #  perl 4.035
  1118.          (use '-lm -lPW -ldbm -lbsd', get "fixed" dir.h to
  1119.          avoid needing -lposix for rewinddir(), use gcc if
  1120.          possible, make sure d_voidsig is correct ("define" if
  1121.          using ANSI, "undef" if not), and undef d_ndbm while
  1122.          defining d_dbm in config.sh).
  1123.     #  perl 4.036
  1124.          (Don't answer "aux" but instead let the configure script
  1125.          work it's magic -- hints for 4.035 also apply)
  1126.     #  perl 5.003
  1127.     #  portmap ("secure" version on ftp.win.tue.nl).
  1128.     #  rn 4.3.54
  1129.     #  rn 4.4.1
  1130.     o  SB Prolog 3.1
  1131.          (minor changes in the builtin directory)
  1132.     #  sendmail 8.6.12/8.7.?
  1133.         (compiles right outta the book. Officially supports A/UX).
  1134.     #  smail 3.1.28
  1135.          (get the AUXsmail.tar.gz file on jagubox for
  1136.          A/UX diffs and patches)
  1137.     #  tcpd 6.3 [from ftp.win.tue.nl]
  1138.     #  tcsh (compiles out of the box)
  1139.     #  trn 3.0
  1140. +   #  vim 4.00 (non-GUI, and add -D_POSIX_SOURCE and -lposix)
  1141.     #  xntpd (see above)
  1142.  
  1143. //////////////////////  END OF PART 1 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  1144.  
  1145.  
  1146.  
  1147. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 2 OF 4 //////////////////////
  1148.  
  1149. ====================================
  1150. **** Hints and Words Of Wisdom: ****
  1151. ------------------------------------
  1152.  
  1153. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  1154.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  1155.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  1156.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  1157.   allocating 10%, you can greatly increase system performance by increasing
  1158.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  1159.   give it an actual number to use. The way to determine the number of buffers
  1160.   being used, run "pstat -m". This will give you the number of buffers that
  1161.   are currently allocated. For example, if the value is 1000, then you know
  1162.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  1163.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  1164.   root) to do this as well. In fact, this is the recommended way.
  1165.  
  1166.   Please note that if you change the amount of RAM you have, you'll need to
  1167.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  1168.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  1169.   system performance is. If needed, you can then use the above to increase
  1170.   (or decrease) the number of disk buffers.
  1171.  
  1172. o You can run A/UX on the original MacII, however the PMMU chip must be
  1173.   installed. You can also use one of the many 68030 upgrades for the MacII,
  1174.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  1175.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  1176.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  1177.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  1178.   controller) enabling you to use FDHD disks (if such a drive is installed)
  1179.   too... thus the name of the kit. This kit can be had for about $120 although
  1180.   some dealers also include a FDHD drive as well, bumping the price up to
  1181.   about $430.
  1182.  
  1183. o You can configure the built-in serial ports for hardware handshaking
  1184.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  1185.   lack of a sufficient number of modem control lines.
  1186.  
  1187. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  1188.   Text file, set the ftp mode to Binary. This is especially true when
  1189.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  1190.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  1191.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  1192.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  1193.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  1194.   (well, the Unix side of it). If the file is a tar file (for example),
  1195.   compressed or not, MacBinary attaches some MacOS "information" to the file
  1196.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  1197.   "strip" this extra by separating the forks:
  1198.   
  1199.     $ fcnvt -v -d <input.file> <output.file>
  1200.  
  1201.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  1202.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  1203.   the file.
  1204.  
  1205.   So, the flow should be as follows:
  1206.  
  1207.     o Set the file's Creator and Type to something safe ("A/UX"
  1208.       and "BIN ") to avoid CR->NL translation.
  1209.     o Drag copy over to A/UX.
  1210.     o Use 'fcnvt' to convert file to Apple Double format.
  1211.     o Use UNIX utilties as normal.
  1212.  
  1213. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  1214.   use 'setfile' to create the correct Type and Creator fields (for, example,
  1215.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  1216.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  1217.  
  1218. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  1219.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  1220.   looooong time. In a similar way, make sure that you don't have NFS volumes
  1221.   mounted because they will add a LOT to the time required to rebuild the
  1222.   Desktop...
  1223.  
  1224. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  1225.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  1226.   with a value like 60 or so to make getty hang up a hung login attempt.
  1227.  
  1228. o If your A/UX setup is a true multi-user system, or, at the least, has
  1229.   Guest as an active account, it is a Very Good Idea to give each user their
  1230.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  1231.   root! As root, you should also avoid using the global System Folder
  1232.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  1233.   need to do so anyway.
  1234.  
  1235.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  1236.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  1237.   things as required.
  1238.  
  1239. o It's very easy to replace TextEditor as your Finder-double-click text
  1240.   editor. All you need to do is copy the application to /mac/bin (make sure
  1241.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  1242.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  1243.   will show up as that application's filetype. An _excellent_ replacement is
  1244.   BBEdit Lite (v 2.31). It is really recommended!
  1245.  
  1246. o A/UX's 'login' supports additional dialup security. This is enabled by
  1247.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  1248.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  1249.  
  1250.     /dev/tty0
  1251.     /dev/tty10
  1252.  
  1253.   The format of /etc/d_passwd is a list which associates a password with
  1254.   a login program (which is the last field in /etc/passwd). eg:
  1255.  
  1256.     /bin/sh:&nk7h7ak92j3H:
  1257.     /bin/ksh:8hw$jK4ft92jx:
  1258.     /bin/csh::
  1259.     /usr/lib/uucp/uucico::
  1260.  
  1261.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  1262.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  1263.   Users using 'csh' or 'uucico' will not. All other logins that use login
  1264.   programs not entered in /etc/d_passwd (like, for example,
  1265.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  1266.  
  1267. o If you want to install a program that uses a "complex" installation
  1268.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  1269.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  1270.   reboot A/UX and then install needed files to your A/UX System Folder.
  1271.   Programs that, when installed, hack around with the System (beyond things
  1272.   like Fonts) itself, most probably won't work under A/UX, since you really
  1273.   can't patch System (unless you are handy with ResEdit and know exactly
  1274.   what resources to add|change... even then, you are taking a chance...)
  1275.  
  1276. o If you get an error message to the effect that you have a bad SuperBlock
  1277.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  1278.   Block #16 is always an alternate SuperBlock block, so you can try:
  1279.  
  1280.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  1281.  
  1282. o A/UX has two versions of the setpgrp() call. The first is the standard
  1283.   SysV version and takes no arguments. The other is the standard BSD version
  1284.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  1285.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  1286.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  1287.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  1288.   fail. A non-portable way of handling this is always calling setpgrp() as
  1289.   follows:
  1290.  
  1291.     setpgrp(0, getpid());
  1292.  
  1293.   Now, no matter what the compatibility flags are, the function will work
  1294.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  1295.   no-argument version is called).
  1296.  
  1297. o It's always a Good Idea to keep "original" stuff separate from locally
  1298.   added or modified stuff. '/usr/local' is a very good place for this.  To
  1299.   add manual pages to this location, create a '/usr/local/man' directory.
  1300.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  1301.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  1302.   to find your local man pages while keeping the actual data under
  1303.   '/usr/local'; (2) The local man-page set will be searched first (due to
  1304.   the name L_man) as would be desired. If you _really_ want, you can also
  1305.   make '/usr/local/catman' a link to '/usr/local/man'.
  1306.  
  1307. o If you've added a number of additional man pages, you may want to snag the
  1308.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  1309.   programs and scripts that make viewing, installing and making man pages
  1310.   easier. Also includes a replacement for '/usr/bin/man'.
  1311.  
  1312. o Some 'configure' scripts may fail due to some line-length and symbol-length
  1313.   limitations in /bin/sh (you'll see something like a "symbol too long"
  1314.   error). You can get around this by changing the script type from:
  1315.  
  1316.     #!/bin/sh
  1317.  
  1318.   to:
  1319.  
  1320.     #!/bin/ksh
  1321.  
  1322.   to run them as 'ksh' scripts... In fact, I personally think it's better
  1323.   to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  1324.  
  1325. o IMHO, Courier and Monaco really don't look that nice for CommandShell
  1326.   windows. Monoca is too plain and Courier takes up too much room on the
  1327.   window (and with both, it's hard to see "."s, hard to tell the difference
  1328.   between "O" and "0", etc...). I use a font called CSFont here on jagubox.
  1329.   It's a tweaked version of the old, original Courier bitmaps that Apple
  1330.   used to provide. I really like it. It's available via anon-ftp here on
  1331.   jagubox in /pub/aux/Misc_stuff. I'm currently working on tweaking a
  1332.   Bold version of CSFont... stay tuned :)
  1333.  
  1334. o If you are doing any in-depth porting, then do yourself a favor and snag
  1335.   a copy of libUTIL.a from jagubox. libUTIL.a is a collection of many
  1336.   functions that aren't included in the standard A/UX libraries, but are
  1337.   needed (or very useful) when porting (esp. BSD sources or ANSI stuff). Some
  1338.   examples of included functions are memmove(), strerror(), strdup() and
  1339.   more. If you have a suggested function to include, let Jim Jagielski
  1340.   (jim@jagubox.gsfc.nasa.gov) know.
  1341.  
  1342. o In order to get the WWW-browser Netscape to work correctly under A/UX,
  1343.   you need to make sure a few things are right. First of all, make sure
  1344.   that your Preferences are setup correctly: your Temp and Cache directory
  1345.   should be set and _must_ be located on a MacOS disk, not under the A/UX
  1346.   file system; your Helper applications must be selected as well. Failure
  1347.   to do this can cause Netscape not to view graphics correctly.
  1348.  
  1349.   You should also move the 'Netscape f' folder from the Preferences folder
  1350.   in System Folder to the actual Netscape folder... Having it located in
  1351.   Preferences will prevent Netscape from remembering certain settings, such
  1352.   as Bookmarks.
  1353.  
  1354.  
  1355. ==============
  1356. **** Q&A: ****
  1357. --------------
  1358.  
  1359. :::::::::::::::::::::::::::::
  1360. ::::: GENERAL QUESTIONS :::::
  1361. :::::::::::::::::::::::::::::
  1362.  
  1363. ===================================
  1364. G.01)  What's A/UX? Is it any good?
  1365. -----------------------------------
  1366.  
  1367. A/UX is Apple's implementation of Unix (it's Apple's UNix) for various
  1368. Macintosh computers. A/UX merges two computing environments, Unix and the
  1369. Macintosh Finder OS, and provides the full functionality of both.
  1370.  
  1371. A/UX is based on AT&T Unix System V.2.2 with numerous extensions from V.3, V.4
  1372. (such as streams) and BSD 4.2/4.3 (such as networking, the Fast File System,
  1373. job control, lpr, NFS with Yellow Pages, SCCS and sendmail 5.64).  It also
  1374. provides full POSIX compliance. A/UX provides SYSV, BSD and POSIX compatiblity
  1375. switches and libraries. A/UX is fully compiant with the System V Interface
  1376. Definition (SVID).
  1377.  
  1378. A/UX provides all three standard shells: sh, csh and ksh. X-Windows is also
  1379. provided standard.
  1380.  
  1381. A/UX 3.x.x incorporates System 7 for the Macintosh allowing for the use of
  1382. the vast majority of Macintosh applications under A/UX. System7 and Unix
  1383. and fully integrated under A/UX 3.x.x with the Unix file system being seen as
  1384. a disk drive by the Finder.
  1385.  
  1386. There are quite a few people who feel that A/UX is a near-perfect implemen-
  1387. tation of Unix. Of course, every operating system (even AIX!) has it's share
  1388. of devotees, so that's not a very valid scale of whether the system is any
  1389. good. A/UX _is_ Unix... it's not some form of pseudo-Unix. It insulates the
  1390. user from Unix, if required, but the System Administrator will need to become
  1391. Unix-aware. Furthermore, if you want straight Unix, you can get it... it's
  1392. not a chore to bypass all the "gingerbread." People may also complain that
  1393. A/UX is based on an "obsolete" version of AT&T Unix (V.2.2). In many ways,
  1394. Apple's extensions make A/UX very V.3-like (V.3 is in many ways an enhanced
  1395. V.2... it even uses the V.2 kernel)... The list of extensions to A/UX are
  1396. impressive. Compare what you get standard with other systems and you'll be
  1397. shocked! On some, 'cc', 'f77', NFS, etc... are costly options.
  1398.  
  1399. The main consideration (and opposition) to A/UX is the platform it runs on:
  1400. The Macintosh. Some consider this a boon, others a bust. At present, Apple's
  1401. top-level workstation is the Quadra 800, a 33MHz 68040 based system. Some
  1402. consider this obsolete; others consider it overkill; others consider it, like
  1403. Goldilocks, "just right."
  1404.  
  1405. If you need super-fast state-of-the-art number crunching capability then A/UX
  1406. may not be for you... the Q800 benchmarks at maybe 10-16 SPECmarks (depending
  1407. on compiler used, external cache size, etc...) and you can get lots faster
  1408. with other platforms. Of course, you'll have to "settle" for their operating
  1409. systems, but if you need it, then that's how you'll get it.  Of course, this
  1410. doesn't mean that A/UX "crawls"...
  1411.  
  1412. There are very few people who need this type of performance though. If you
  1413. need (or just _want_ ) a Unix workstation with the speed and power of Unix
  1414. and the user interface and application selection of the Macintosh then A/UX
  1415. is the way to go. In many, many ways, A/UX is the Unix "for the rest of
  1416. us"... even if we are long-time Unix junkies. If you love the Mac, you'll
  1417. love A/UX; if you love Unix, you'll love A/UX... and if you want a near-
  1418. perfect marriage of the two, then you'll love A/UX.
  1419.  
  1420. Yes, A/UX is good... very, very good :)
  1421.  
  1422. ========================================================================
  1423. G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  1424. ------------------------------------------------------------------------
  1425.  
  1426. A/UX 3.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's
  1427. installed), IIx, IIcx, IIci, IIfx, SE/30, IIsi (with 68882 chip) and the
  1428. Quadra 700|900|950 computers. A/UX 3.0.1 (and later) adds support for the
  1429. Q800 and Centris Machines (the Centrises _must_ have the real 68040 w/FPU -
  1430. See Q&A #G.03). A/UX will run on the Quadra 610 and 650s (recall that A/UX
  1431. requires the _real_ 68040 chip!) with a little bit of work:
  1432.  
  1433.   You should make a copy of the A/UX Install Boot floppy and then copy the
  1434.   Enabler for the Q610|650 onto this copy. You then boot up from this floppy
  1435.   and install A/UX as usual. Finally, you'll need to copy the Q610|650
  1436.   Enabler onto the A/UX MacPartition (or whatever MacOS disk you will use
  1437.   when starting up your Mac and booting A/UX); do this by first booting off
  1438.   a boot floppy or boot CD and then copy the Enabler over. You do _not_ need
  1439.   to make any changes to the A/UX System Folder (i.e. the System Folder used
  1440.   under A/UX).
  1441.  
  1442. A/UX will NOT run on the PowerMacs, any AV machines, any PowerBooks (or
  1443. portables), the LCs, the Duos, the ClassicII, the Q605 or on the Quadra
  1444. 630... It is recommended that you NOT run A/UX 3.1.1 on the II, IIx, IIcx or
  1445. SE/30 machines, since their MacOS-compatibility is unreliable under 3.1.1.
  1446.  
  1447. Recall that A/UX _is_ UNIX and thus contains some very hardware specific
  1448. drivers. It's for this reason (and not Apple not doing things correctly) that
  1449. A/UX won't work on newly released platforms. To support a new platform, at
  1450. least _some_ work (and possibly extensive work in some cases) must be done.
  1451.  
  1452. If you really want to cut it close, 8MB RAM and an ENTIRE 80MB hard disk will
  1453. just make it. You'll have little room for user files (unless you clear out
  1454. some space by removing /games and maybe /catman) and depending on your
  1455. workload, may suffer from low performance (due to swapping... you may even
  1456. encounter the infamous swap messages :)
  1457.  
  1458. A much better system would be 16MB of RAM and about 200MB of disk space.
  1459. This would give you much more room to grow as well as sufficient RAM to
  1460. increase your performance (assuming that you tune some kernel parameters).
  1461. All in all, more RAM is prefered: 20MB (or more) is ideal.
  1462.  
  1463. ===================================
  1464. G.03)  What's new about A/UX 3.x.x?
  1465. -----------------------------------
  1466.  
  1467. A/UX 3.x.x incorporates the full functionality of System7. It supports the
  1468. QuickTime multimedia extension and the new Mac Quadra computers (not the AV
  1469. machines, however). A/UX 3.x.x includes X11R4 in it's distribution, as well
  1470. as MacX. Installation of A/UX is much easier that it was before and can be
  1471. installed on any 3rd party hard disk using the "new and improved" HD Setup
  1472. application (see Q&A #A.16 though).
  1473.  
  1474. 3.0.2 is a later version of A/UX. 3.0.1 added support for the Q800 and
  1475. the Centris machines (650 and 610) as long as they have the _real_ 68040 chip
  1476. (68RC040) installed (Support for the C650 is official; support for the C610,
  1477. which _requires_ the 040 be replaced since none have the required one
  1478. installed, is non-official but known and verified). A/UX 3.0.2 will also run
  1479. on the Quadra 610 and 650; see G.02 to see how. To get 3.0.2, you'll need to
  1480. install 3.0.1 and then apply the AWS Tune-Up 1.0 to upgrade to 3.0.2. This
  1481. upgrade is free.
  1482.  
  1483. 3.1.1 is the latest version of A/UX. 3.1.1 greatly improves performance and
  1484. reliability as well as fixes some bugs. It does not, however, add support for
  1485. any other Macs. 3.1.1 is "tweaked" for the AWS95, but can be run on other
  1486. non-AWS95 Macs as well (see Q&A G:09). A/UX 3.1.1 is a "tuned-up" version
  1487. of A/UX 3.1, which is, itself, a improvement over 3.0.1/3.0.2 (in fact,
  1488. 3.1 contains all the fixes in 3.0.2). However, A/UX 3.1.1 will NOT run
  1489. reliably on the MacII, MacIIx, MacIIcx or SE/30 machines.
  1490.  
  1491. 3.0.1, in addition to supporting newer Macs, provides performance boosts, bug
  1492. fixes, better Finder emulation and other enhancements over 3.0. 3.0.2 does
  1493. the same for 3.0.1. The upgrade from older versions of A/UX to 3.0.2 really
  1494. _is_ worth the pretty small amount of money required. 3.0.2 is a better and
  1495. more solid performer, both UNIX-wise and Finder-wise, than it's predecessors.
  1496. 3.1 requires 3.0.1|3.0.2 and provides much better performance and should be
  1497. seriously considered!
  1498.  
  1499. ====================================================
  1500. G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  1501. ----------------------------------------------------
  1502.  
  1503. 3.0.2 is an exact binary-copy of 3.0.2(wgs) (which is the version of A/UX
  1504. for the WGS 95 server) except for some minor cosmetics and the exclusion of
  1505. the server-related applications. This includes RetroSpect for A/UX (see Q&A
  1506. #E.03). Some of the major differences between 3.0.2 and 3.0.2(wgs) include:
  1507.  
  1508.     o Buffer cacher size (default kconfig parameters)
  1509.     o Packages installed during Easy Install
  1510.     o Swap space size on Easy Install
  1511.     o Autologin enabled in 3.0.2(wgs)
  1512.     o lpr daemon on in 3.0.2, off in 3.0.2(wgs)
  1513.     o Partition choices in HDSC SetUp
  1514.  
  1515. As you can see, they are all related to how the system is setup...
  1516.  
  1517. ============================
  1518. G.05)  How can I order A/UX?
  1519. ----------------------------
  1520.  
  1521. The latest _shipping_ version of the complete A/UX distribution is 3.0.1.
  1522. Once you get that, you can either decide to upgrade (for free) to 3.0.2 or
  1523. upgrade even further by purchasing the A/UX 3.1 upgrade and then using
  1524. AWS-Tune-Up-2.0 (which is free) to go all the way up to 3.1.1.
  1525.  
  1526. A/UX is available preinstalled on Mac systems or on CD-ROM. To find the
  1527. nearest A/UX reseller, call 1-800-538-9696. You'll need access to a compatible
  1528. CD-ROM drive to install A/UX (or a friendly dealer if you go that route).
  1529. Please note that at the present, you can only order 3.0.1; you'll then need
  1530. to apply the AWS Tune-Up 1.0 (available on jagubox and aux.support.apple.com)
  1531. to upgrade up to 3.0.2. You could also, as mentioned above, also decide
  1532. to spend some extra money and get the 3.1 Upgrade CD-ROM, to bring you
  1533. up to 3.1, and then apply the free Tune-Up-2.0 disk to bring you up to
  1534. A/UX 3.1.1.
  1535.  
  1536. The part numbers (and suggested retail price) for 3.0.1 are (US and Canada):
  1537.  
  1538.     M0598LL/C     A/UX 3.0.1 CD-ROM product                 ($795)
  1539.                   (contains Essential Manuals)
  1540.     M0597LL/B     A/UX 3.0.1 Essential Manuals              ($329)
  1541.     M0430LL/B     A/UX 3.0.1 Programmers Manuals            ($329)
  1542.     M0431LL/B     A/UX 3.0.1 Administrators Manuals         ($329)
  1543.  
  1544.     M0599LL/C     A/UX 3.0.1 Update (updates previous       ($250)
  1545.                   versions to 3.0.1)
  1546.     M0489LL/B     A/UX 3.0.1 Programmers Manual Update      ($285)
  1547.     M0490LL/B     A/UX 3.0.1 Admin. Manual Update           ($285)
  1548.  
  1549. If you are interested in upgrading your Q950 to the Apple WGS-95 Server
  1550. (which uses A/UX 3.0.1) here are the part numbers (with SRP):
  1551.  
  1552.     M6940Z/A      WGS 95 PDS Upgrade Kit                     ($2499)
  1553.     M6945Z/A      WGS 95 PDS + DAT Upgrade Kit               ($4399)
  1554.  
  1555. By the way, MacWarehouse is now selling the A/UX 3.0.1 CD-ROM package for
  1556. $619... Their phone number is 1-800-255-6227; ask for part#SYS0009.
  1557.  
  1558. To get 3.0.2, you need to snag the AWS Tune-Up 1.0 DiskCopy image files from
  1559. aux.support.apple.com or jagubox and apply the patches. Although the Tune-Up
  1560. is called AWS, it's really for _all_ A/UX users. Note that you need 3.0.1 to
  1561. upgrade to 3.0.2.
  1562.  
  1563. If you want to upgrade to 3.1/3.1.1, please see Q&A G.09.
  1564.  
  1565. ==============================================
  1566. G.06)  What's the upgrade path for A/UX 3.0.2?
  1567. ----------------------------------------------
  1568.  
  1569. You can upgrade to 3.0.2 (from any other version of A/UX) by purchasing the
  1570. A/UX 3.0.1 CD-ROM Product Upgrade (Apple part # MO599LL/C). The suggested
  1571. price is $250. You then need to snag the AWS Tune-Up 1.0 disks to upgrade
  1572. 3.0.1 to 3.0.2.
  1573.  
  1574. It's recommended that if you do upgrade, that you completely repartition
  1575. your disk via the Installer for two reasons:
  1576.  
  1577.     1. The default (suggested) partition sizes have changed
  1578.  
  1579.     2. You install 3.0.1 on a "clean" system.
  1580.  
  1581. If you want to upgrade to 3.1/3.1.1, please see Q&A G.09.
  1582.  
  1583. ============================================================
  1584. G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  1585. ------------------------------------------------------------
  1586.  
  1587. If you have bought at least one copy of A/UX 3.0.x and you have other Mac
  1588. CPUs that you would like to install A/UX on, you don't need to reorder the
  1589. entire product. You can order a Right-To-Copy license for each Mac you want
  1590. to install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  1591. buying a whole new CD-ROM package. It's not right to copy unless you have a
  1592. Right-To-Copy.
  1593.  
  1594. If those other Macs are already running A/UX, but an older version, then you
  1595. need to order a Right-To-Upgrade license for each one you want to upgrade.
  1596. As above, you then copy your 3.0.x over to that Mac.
  1597.  
  1598. Note that in both cases, you must have purchased at least 1 copy of A/UX
  1599. 3.0.x. The Right-To-* licenses just "authorize" you to then copy that over
  1600. to other Macs.
  1601.  
  1602. The A/UX Essential Manual Set (that comes with A/UX 3.0.x) is not provided
  1603. with either license. If you need more, you'll need to order them
  1604.  
  1605. =========================================
  1606. G.08)  How can I report bugs that I find?
  1607. -----------------------------------------
  1608.  
  1609. The official E-mail address is reports@aux.support.apple.com. If you subscribe
  1610. to the A/UX Technical AnswerLine, you can also use that method. The former
  1611. isn't acknowledged although the latter is.
  1612.  
  1613. For completeness, also post the report to comp.unix.aux.
  1614.  
  1615. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  1616. recommends using. I have a copy and can make it available via anon-ftp if
  1617. there is a demand.
  1618.  
  1619. =============================================
  1620. G.09)  What's the word on A/UX 3.1 and 3.1.1?
  1621. ---------------------------------------------
  1622.  
  1623. The latest shipping version of A/UX is v3.1.  3.1 offers better performance
  1624. than 3.0.2, fixes for various bugs, better MacOS emulation and some updated
  1625. programs and applications.  3.1 requires 3.0.1|3.0.2 and costs $199 (+ $5 for
  1626. shipping, $10 for FedEx). You can order it directly by calling 1-800-769-2775,
  1627. x7822. Ask for the A/UX 3.1 WGS Upgrade Kit. If that doesn't work, try asking
  1628. for part # M2885Z/A.
  1629.  
  1630. Once you get A/UX 3.1, you should then apply the AWS-Tune-Up-2.0 disk which
  1631. upgrades 3.1 to 3.1.1. 3.1.1 offers a bit better performance and better
  1632. MacOS emulation than 3.1 does. It's also very free.
  1633.  
  1634. 3.1.x has only been _fully_ tested on the AWS95 platform and not on all the
  1635. other platforms that A/UX runs on; however, nothing was done to it to prevent
  1636. it from working on other machines. 3.1.x is "only" for the AWS95s in the same
  1637. way that 3.0.2 was "only" for them ;)
  1638.  
  1639. Anyway, here is a short and non-official list of some 3.1.x features:
  1640.  
  1641.    o sendmail 8.6.4 now included (8.9 with 3.1.1)
  1642.    o support for new Berkeley NEWDB-NDBM package
  1643.    o Added support for "dynamic" use of removables, such as SyQuests
  1644.    o NEC CD-ROMs now supported !!
  1645.    o StyleWriter II supported
  1646.    o Support for UNIX file systems up to 4GB
  1647.    o Enhanced I/O performance (big improvement for fast machines and/or
  1648.      disks!)
  1649.    o Interupting a NFS server now works
  1650.    o Solaris clients no longer crash A/UX
  1651.    o Heavy UFS and NFS I/O no longer causes 'panic: freeing free inode'
  1652.      errors and deadlocks
  1653.    o I/O no longer causes excessive dropped kernel clock interupts
  1654.    o The size of .fs_cache no longer limited to 32MB
  1655.    o Death of 'catsearchd' now detected and responded to (used to crash
  1656.      the MacOS)
  1657.    o Desktop rebuilds no longer cause the Finder to terminate when the
  1658.      rebuild is done.
  1659.    o ThinkC runs under A/UX
  1660.    o Much better MacOS compatibility
  1661.    o 'Temporary Items' correctly handled
  1662.    o Various "needed" programs (like /bin/sh) recompiled w/o shared
  1663.      libs so that the system is still restorable after /shlib is munged
  1664.    o Various bug fixes and improvements, including:
  1665.       cpio (new option -L to follow sym-links)
  1666.       df (handles longer bus names)
  1667.       fsck (ignores 'noauto' and '-p'&'-y' now work correctly)
  1668.       make (uses SHELL in makefile)
  1669.       passwd (MAXUID now 65534)
  1670.       restore (can now restore named pipes)
  1671.  
  1672. *****
  1673. NOTE: A/UX 3.1.1 will NOT run on the MacII, MacIIx, MacIIcx or SE/30 machines.
  1674. *****
  1675.  
  1676. ====================================================
  1677. G.10)  What's the future of A/UX with the PowerMacs?
  1678. ----------------------------------------------------
  1679.  
  1680. Don't ask... really, don't ask!
  1681.  
  1682. Okay, if you insist. It ain't happy...
  1683.  
  1684. There is none. Apple has dropped A/UX totally. Their new PowerMac servers
  1685. runs straight AIX and couldn't be confused with A/UX by a dead halibut.
  1686.  
  1687. Apple, however, has provided great support in porting Linux to the
  1688. Nubus-based PowerMacs. This OS, Mklinux, will be available in "golden
  1689. release" form around September 1996 (the first developer's release was
  1690. just announced). You can find out more by checking out:
  1691.  
  1692.     http://mklinux.apple.com/
  1693.  
  1694. ==========================================================
  1695. G.11)  I can't use A/UX. What UNIX alternatives are there?
  1696. ----------------------------------------------------------
  1697.  
  1698. If you can't or *gasp* won't run A/UX on your Mac, then you should consider
  1699. A/UX's only real contender: MachTen by Tenon.
  1700.  
  1701. MachTen approaches UNIX on a Mac from a different viewpoint. Whereas A/UX
  1702. is the MacOS running on-top of UNIX, MachTen is UNIX running on top of the
  1703. MacOS. This means that compatibilty problems aren't an issue, since the
  1704. MacOS isn't being "emulated" ala A/UX. You also avoid needing to create
  1705. separate UNIX file systems since MachTen uses the MacHFS file system.  Also,
  1706. MacOS programs run at "top speed" although UNIX processes are slower than on
  1707. A/UX.  However, since it runs on-top of the MacOS, MachTen is limited to the
  1708. inherent limitations and constraints of the MacOS. For example, MachTen's
  1709. "kernel" isn't truly preemptive multitasking, although the UNIX processes
  1710. are multitasked via MachTen. Also, local users can easily bypass MachTen's
  1711. file-level security. As the MacOS evolves, these "short-comings" will no
  1712. doubt be removed from the lower layer of the OS. Finally, MachTen runs on
  1713. the PowerMacs under emulation, with a native version promised later this
  1714. year.
  1715.  
  1716. MachTen is based on the Mach kernel and the BSD-Reno/Net2 version of BSD.
  1717. It's a very good alternative to A/UX for those machines that can't run A/UX
  1718. or for those interested in having UNIX run on their Macs (say for learning
  1719. UNIX or doing some UNIX development) but don't want their Macs to run UNIX :)
  1720.  
  1721. %%% For more info, contact info@tenon.com %%%
  1722.  
  1723.  
  1724. :::::::::::::::::::::::::::::::::
  1725. ::::: ADMINISTRATION ISSUES :::::
  1726. :::::::::::::::::::::::::::::::::
  1727.  
  1728. ==================================================
  1729. A.01) How come my Login screen is gray, not color?
  1730. --------------------------------------------------
  1731.  
  1732. Because that's the way Apple wanted it :) Actually, the reason why is because
  1733. the 'scrn' resource is missing from 'System' in /mac/sys/Login System Folder.
  1734. If you're handy, you can copy 'scrn' from some other System and paste it in
  1735. Login's using ResEdit. Make sure the "Is Color" field in 'scrn' is "1".
  1736.  
  1737. =================================================================
  1738. A.02) How come my Login ScreenSaver doesn't see both my monitors?
  1739. -----------------------------------------------------------------
  1740.  
  1741. This is also due to the fact (see Q&A #A.01) that the System file in
  1742. /mac/sys/Login System Folder lacks a 'scrn' resource. If you copy this
  1743. resource from a System that knows about your monitor setup into Login's System,
  1744. then the screensaver will knows about all your monitors.
  1745.  
  1746. ======================================================================
  1747. A.03)  Even though I have lot's of swap space and only a little bit is
  1748.        being used, I STILL get a lot of messages saying that my swap
  1749.        space is running low. What's the buzz?
  1750. ----------------------------------------------------------------------
  1751.  
  1752. Unix is justifyably concerned about having adequate swap space. A system
  1753. crash caused by this beast is a sight to behold. However, A/UX seems EXTREMELY
  1754. nervous about the amount needed before it starts getting fidgety.  If you do
  1755. a "/etc/swap -l" and see that you're only using a small portion of your swap
  1756. space and have a "lot" left, then you can safely ignore the messages (just
  1757. how much is a "lot" is hard to say, but if you have 25000 blocks and are only
  1758. using 1000 or 2000, then I'd say you were fine). If you DO need more swap
  1759. space, then you have a few options:
  1760.  
  1761.     a. Using 'kconfig', reduce the number and size of buffers.
  1762.        This isn't really a good idea since it could really degrade
  1763.        performance as well as possibly causing more panics.
  1764.  
  1765.     b. Add more swap space.
  1766.        Fine, if you have it. You could either add another disk
  1767.        as swap (nice) or repartition your present disk to create
  1768.        a larger Swap partition (Ack!).
  1769.  
  1770.     c. Add more memory.
  1771.        If you have more memory, then this will reduce the need to
  1772.        augment it with swap space... RAM's cheap too! There is an
  1773.        old rule of thumb that the size of Swap should be about
  1774.        2 to 3 times the amount of RAM, which would seem to contradict
  1775.        the above. The thing is that if with the _present_ workload
  1776.        you are swapping like crazy, then adding RAM will reduce
  1777.        tha swapping. If, however, you start increasing the work-
  1778.        load, then swapping will start again, and you better have
  1779.        enough of it! This was the original intent of the Rule-Of-
  1780.        Thumb. At the very least, Swap should always be at least
  1781.        as big as the amount of RAM you have.
  1782.  
  1783. ====================================================================
  1784. A.04)  How can I copy a complete file system from one disk|partition
  1785.        to another?
  1786. --------------------------------------------------------------------
  1787.  
  1788. You have three options: dd, dump.bsd and cpio (pax MAY work but tar won't
  1789. since it won't handle special-type files). If the two partitions are the same
  1790. size, you can use 'dd' (to copy c0d0s0 to c5d0s3, e.g.):
  1791.  
  1792.     $ dd < /dev/rdsk/c0d0s0 > /dev/rdsk/c5d0s3
  1793.  
  1794. To use dump.bsd, you can use the following command (this assumes that the
  1795. destination disk in mounted on /mnt and you want to copy the root file system
  1796. which is on SCSI 0... of course, you must be root and it would be MUCH better
  1797. to do this in single-user mode):
  1798.  
  1799.     $ dump.bsd 0f - /dev/rdsk/c0d0s0 | (cd /mnt; restore xf -)
  1800.  
  1801. To use cpio, you must use it in a pipe with find. For example, to copy /usr
  1802. (let's assume it's on it's own file system) to another disk|partition (assume
  1803. it's mounted on /mnt) then you can use (you can add the "-depth" flag to
  1804. 'find' if you want):
  1805.  
  1806.     $ cd /usr
  1807.     $ find . -print | cpio -pdmuva /mnt
  1808.  
  1809. The problem with this is that if the mount point of the destination disk
  1810. falls under the file system's directory you're trying to copy, you'll load
  1811. up your destination disk. For example, the following would NOT work:
  1812.  
  1813.     $ cd /
  1814.     $ find . -print | cpio -pdmuva /mnt
  1815.  
  1816. because 'find' would see the stuff in /mnt (which you just put in there) and
  1817. try to copy in back to /mnt! To way to avoid this is by adding a little
  1818. filter:
  1819.  
  1820.     $ cd /
  1821.     $ find . -print | grep -v '^./mnt*' | cpio -pdmuva /mnt
  1822.  
  1823. If you have GNU find, then you can use it with it's '-xdev' option, which
  1824. prevents find from walking through other file systems:
  1825.  
  1826.     $ cd /
  1827.     $ find . -xdev -print | cpio -pdmuva /mnt
  1828.  
  1829. dump.bsd creates a "truer" copy of your file system (the access and
  1830. modification dates aren't mucked with... with the find/cpio pipe, at the
  1831. least the directory dates are touched) but pre-3.1 versions of restore
  1832. couldn't restore named pipes. These are easy to creat though using
  1833. 'mknod'. The only named pipes included in the default A/UX distribution are:
  1834.  
  1835.     /usr/lib/cron/FIFO
  1836.         prw-------   1 root     sys            0 Oct 18 16:08
  1837.  
  1838.     /usr/spool/lpd/AppleTalk/pipe
  1839.         prw-rw----   1 daemon   daemon         0 Oct 19 06:11
  1840.  
  1841. ========================
  1842. A.05)  What's with UUCP?
  1843. ------------------------
  1844.  
  1845. UUCP under 3.x.x is very improved over it's previous "incarnation" under 2.0.1.
  1846. 3.x.x uses HDB (for HoneyDanBer) UUCP instead of standard UUCP. Some nice
  1847. things are bidirectional getty (also known as uugetty in other Unixs) which
  1848. allows both incoming and outgoing communication over serial lines as well as
  1849. better performance and reliability. I hear that setting it up is _much_ easier
  1850. as well.
  1851.  
  1852. You may seriously consider getting Alexis Rosen's "sendmail.cf" file for use
  1853. under UUCP sendmail. This config file has been modified to allow UUCP and
  1854. sendmail to work beautifully together. You may also want to consider simply
  1855. installing smail to replace sendmail.
  1856.  
  1857. Under 3.0., be sure that you are running the latest version: 1.16. It can be
  1858. found on aux.support.apple.com in aux.patches/supported/3.0. Be sure that you
  1859. get the new dial.o on ftp.apple.com (pub/earlw/dial) to avoid breaking syslog.
  1860. Under 3.0.1 (and later) all is OK.
  1861.  
  1862. ====================================================================
  1863. A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  1864.        but it doesn't work
  1865. --------------------------------------------------------------------
  1866.  
  1867. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked in.ftpd to enable logging
  1868. via the syslogd daemon. It also pays extra close attention to anonymous ftp
  1869. logins. It's available (as well as other ports|hacks) on jagubox. Also
  1870. available on jagubox is a port of the latest version of wuarchive's ftpd
  1871. server for A/UX. wu-ftpd is a super-nice ftp server with lots of extras
  1872. and neat features!
  1873.  
  1874. The real reason why '-l' doesn't work with in.ftpd is that there's no real
  1875. way to send this option to the daemon. A/UX 'inetd' doesn't allow you to add
  1876. options to '/etc/servers'. John Coolidge (coolidge@apple.com) has ported the
  1877. BSD-reno version of 'inetd' to overcome this limitation. Jim Jagielski has
  1878. since been updating and maintaining 'inetd'. This version of 'inetd' also has
  1879. some nice features, such as rereading /etc/servers when sent SIGHUP. It's
  1880. available on jagubox. This version of 'inetd' has also been modified to log
  1881. whenever it spawns a background daemon as well as logging which host requested
  1882. the daemon.
  1883.  
  1884. %%% For more info, contact Jim %%%
  1885.  
  1886. ===========================================================================
  1887. A.07)  How come when I do a 'df' as a regular user, it shows me a different
  1888.        number of free blocks compared to when I run it as 'root'?
  1889. ---------------------------------------------------------------------------
  1890.  
  1891. One of the details about the BSD Fast File System is that it sets aside
  1892. some amount of the available disk space (if the file system was created by
  1893. HD SC Setup, then %5 is set aside; if created by 'newfs' then 10% is set
  1894. aside... this value can be changed by using the 'tunefs' command) and makes
  1895. it unavailable to regular users. This prevents 2 things: filling up a file
  1896. system and destroying performance by having a "too full" file system. 'root',
  1897. however, does have access to this "extra" disk space, hence the difference in
  1898. the numbers reported by df between 'root' and "regular joe".
  1899.  
  1900. As mentioned above, if you used HD Setup to create the partitions (or your
  1901. A/UX came preinstalled), then the "set aside" value for these file systems
  1902. is 5%, not the "default" of 10%... This was simply to give users more space.
  1903. Reducing this value beyond 5% is Not A Good Idea.
  1904.  
  1905. ======================================
  1906. A.08)  Does A/UX LocalTalk support IP?
  1907. --------------------------------------
  1908.  
  1909. Nope... not at all.
  1910.  
  1911. ==========================================================
  1912. A.09)  How do I get MPW 3.1 to work? It hangs my system...
  1913. ----------------------------------------------------------
  1914.  
  1915. MPW 3.1 doesn't work under A/UX although 3.2 does. In the meantime, you
  1916. can make 3.1 work by breaking into MacsBug when it's hung and entering:
  1917.  
  1918.     pc=pc+2;g
  1919.  
  1920. See Q&A #M.04 for info about entering MacsBug...
  1921.  
  1922. ===============================================================
  1923. A.10)  Can I refer to a file on my Mac system from within A/UX?
  1924. ---------------------------------------------------------------
  1925.  
  1926. A/UX's 'Finder' mode is the only way (currently) to access both file systems.
  1927. You could write a hybrid application that could attach to the Finder world
  1928. (a la, CommandShell and cmdo which can "see" both file systems), but you
  1929. can't access HFS volumes from the A/UX kernel directly.  In a similar vein,
  1930. you can't 'mount' an HFS volume on an A/UX inode.
  1931.  
  1932. =================================================================
  1933. A.11)  How can I adjust the amount of virtual memory Finder uses?
  1934. -----------------------------------------------------------------
  1935.  
  1936. There are three ways to do this. The first is very easy: you simply use the
  1937. Memory cdev to adjust the "memory" size, logout and then log back in. You
  1938. must be 'root' to do it this way.
  1939.  
  1940. The 2nd way is to use the 'TBMEMORY' environment variable. You can set it's
  1941. "value" equal to the amount of memory you wish to use. For example:
  1942.  
  1943.     TBMEMORY=10m; export TBMEMORY  (in .profile for ksh or sh or /etc/profile)
  1944.        -or-
  1945.     setenv TBMEMORY 10m            (in .login for csh)
  1946.  
  1947. configures Finder for 10M.
  1948.  
  1949. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using
  1950. this method) to call 'startmac' with the memory size you want using the
  1951. "-m" option. For example:
  1952.  
  1953.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  1954.                      -------
  1955.  
  1956. in (.)mac32|(.)mac24 will configure an 8M environment.
  1957.  
  1958. Please note that under the 24-bit mode (mac24), you can only access a maximum
  1959. of 8MB of RAM. It won't complain if you try to setup more, it just won't do
  1960. it. Furthermore, if you actually have more than 8MB (say 12), the "About This
  1961. Macintosh" window will show "Built-in Memory: 12,288 K; Total Memory: 8,192K".
  1962.  
  1963. The default behavior of 3.0 (and earlier) was to allocate all the RAM to the
  1964. MacOS. Thus, if you had 20MB, A/UX would, unless told otherwise, allocate
  1965. 20MB for the MacOS-emulation. Under 3.0.1 (and later), this is slightly
  1966. changed: A/UX will usually not allocate all RAM to the MacOS but will instead
  1967. impose a 16MB maximum (this can be changed via Memory or TBMEMORY). Whatever
  1968. version of A/UX you are running, it's a Good Idea not to allocate _all_ RAM
  1969. for the Finder. This is because A/UX allocates itself a chunk, so if you give
  1970. the Finder "all" of it, you can cause swapping and paging which can seriously
  1971. degrade performance at times.
  1972.  
  1973. If the value set in 'Memory' and TBMEMORY disagree, the value determined by
  1974. TBMEMORY is used.
  1975.  
  1976. ================================================================
  1977. A.12)  Is there an archive of comp.unix.aux out there somewhere?
  1978. ----------------------------------------------------------------
  1979.  
  1980. Try:
  1981.     http://www.support.apple.com/pub/usenet/comp.unix.aux/
  1982.  
  1983.  
  1984. ==========================================
  1985. A.13)  How come I can't use color under X?
  1986. ------------------------------------------
  1987.  
  1988. Apple's X (R4) support color. However, you must start the server with the
  1989. "-screen 0 -depth 8" option (similar command with other screens if you have
  1990. them). You can add these options to the command line or to your server's
  1991. defaults file. You can also create a ".X11" file in your home directory which
  1992. includes the line:
  1993.  
  1994.     X -screen 0 -depth 8
  1995.  
  1996. to get the same effect. Make sure that ".X11" is executable for this to work
  1997. ("chmod 755 .X11").
  1998.  
  1999. //////////////////////  END OF PART 2 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  2000.  
  2001. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 3 OF 4 //////////////////////
  2002.  
  2003. ==============================================================================
  2004. A.14)  Using the command shell interface, I'm trying to access some Mac files
  2005.        (that have strange names) but I can't; the program returns an error and
  2006.        I can't access the file. What's going on?
  2007. ------------------------------------------------------------------------------
  2008.  
  2009. The problem is that sh and csh don't understand the Mac "special" characters
  2010. that are in the filenames. They don't expect filenames with characters that
  2011. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  2012. access the file. For example, to remove Moire, just type:
  2013.  
  2014.     $ ksh           #this creates a Korn shell child
  2015.     % rm M?ire      #match the weird 'o'
  2016.     % exit          #get back in your old shell
  2017.  
  2018. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  2019. ksh is right here on the system so it's a bit easier. Of course, another very
  2020. easy way is to use the MacOS interface and do the deletion|rename|whatever
  2021. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  2022. link to a directory, what gets Trashed is actually the contents of the
  2023. directory as well as the link! This is due to the fact that to the Finder,
  2024. the link looks like a folder, and the entire thing gets deleted.
  2025.  
  2026. ===================================================================
  2027. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  2028.        hard disk. Well, it doesn't on mine!
  2029. -------------------------------------------------------------------
  2030.  
  2031. Well, the Installer will work with any 3rd party disk but there are a few
  2032. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  2033. not only does it create A/UX partitions but it also creates the actual file
  2034. systems in those partitions (basically it runs 'newfs'). Now if you have used
  2035. some other HD utility program (such as SilverLining or FWB HDT) to create
  2036. the partitions and then attempt to install A/UX on that disk, the Installer
  2037. sees that the partitions are there and then _assumes_ that they were created
  2038. by HD Setup and therefore have the file systems already created.  Of course,
  2039. the file systems don't exist yet, just the partitions, so the installation
  2040. fails.
  2041.  
  2042. You have a few options:
  2043.  
  2044.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  2045.     will do all the partitioning (etc...) and the installation will proceed.
  2046.     Note that this means you will be "stuck" with the Apple drivers whenever
  2047.     you are in the _real_ MacOS Finder.
  2048.  
  2049.  b. If you want to use the drivers on your HD utility (for stuff like,
  2050.     maybe, password protection of partitions) then you have two (maybe three)
  2051.     additional options:
  2052.  
  2053.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  2054.       "take over" the disk, disabling (or even removing) the Apple drivers
  2055.       and installing it's own. Note that if there isn't enough space to
  2056.       install it's drivers, most will attempt to "shrink" the MacOS partition
  2057.       to make room. Most can do this with no problem, but why take the risk...
  2058.       when you partition the disk, leave about 64K available as free space.
  2059.  
  2060.   ii. Use your HD utility to create the partitions. Then, before you
  2061.       run the Installer, run 'newfs' "by hand" to create the file systems so
  2062.       that the installation can proceed.
  2063.  
  2064.  iii. Use your HD utility to format (etc...) your disk and create
  2065.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  2066.       Setup will work fine with the driver installed on the disk.  You can
  2067.       now use it to create the A/UX partitions.
  2068.  
  2069.       <<ED: I _know_ this (iii) works with FWB HDT>>
  2070.  
  2071. Please note that HD SC Setup will only create the file systems if run under
  2072. A/UX. If you run it under the MacOS, it can only partition...
  2073.  
  2074. ==================================================================
  2075. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  2076.        how can I get it?
  2077. ------------------------------------------------------------------
  2078.  
  2079. Very early reports indicated that RetroSpect for A/UX might be bundled with
  2080. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  2081. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  2082. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  2083. and to order (or more info) you can call 1-800-225-4880 (have your
  2084. registration number handy). International customers should call 510-849-0293.
  2085.  
  2086. Please note that if you have the Pisces card installed (with the WGS95), then
  2087. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  2088. will not be able to access your DAT under the real MacOS!
  2089.  
  2090. Finally, reports indicate that RetroSpect 3.0 fully supports A/UX all
  2091. by itself. If true, this is Good News!
  2092. ==========================================
  2093. A.17)  How can I configure CAP under A/UX?
  2094. ------------------------------------------
  2095.  
  2096. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  2097. /pub/aux/Info for anon-ftp).
  2098.  
  2099. ===========================================
  2100. A.18)  What are some good books about A/UX?
  2101. -------------------------------------------
  2102.  
  2103. Except for Apple's complete manual set, there are no books specifically about
  2104. A/UX. (Well, there's one but it's most probably out of print.  It is most
  2105. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  2106. and it's written for A/UX 2.0).
  2107.  
  2108. There are some _very_ good books about UNIX in general however. The best of
  2109. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  2110. Farrow. Another good book is the "UNIX System Administration Handbook" by
  2111. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  2112. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  2113. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  2114.  
  2115. For general information about shells and programming there's no better book
  2116. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  2117. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  2118. Rosenblatt.
  2119.  
  2120. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  2121. bound to find what you're looking for from them. You can contact them either
  2122. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  2123.  
  2124. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  2125. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  2126.  
  2127. ====================================================================
  2128. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  2129.        error message and A/UX won't boot. What can I do?
  2130. --------------------------------------------------------------------
  2131.  
  2132. This is due to the fact that some file system damage exists on the Root file
  2133. system. By default, A/UX Startup will only run 'fsck' on the root file system
  2134. if the system is marked as "dirty." So even if damage exists, as long as the
  2135. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  2136.  
  2137. I recommend always having A/UX Startup fully check out the disk before booting
  2138. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  2139. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  2140. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  2141. notice that the radio button changes from "Check root file system" to "Custom
  2142. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  2143. you are doing this, you might as well have A/UX run a full 'fsck' on all
  2144. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  2145. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  2146. command.
  2147.  
  2148. If you don't want to do this but you do have some damage that prevents A/UX
  2149. from booting, then you can cancel the boot-up process (either select "Exit"
  2150. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  2151. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  2152. to fully fix the file system if there was extensive damage.
  2153.  
  2154. ========================================
  2155. A.20)  Is traceroute available for A/UX?
  2156. ----------------------------------------
  2157.  
  2158. Yes it is... A complete 'traceroute' package for A/UX 3.1(.1) can be found
  2159. on jagubox. It includes the updated 'bnet' driver (required for 'traceroute'
  2160. support) as well as 2 versions of traceroute, pre-compiled and with complete
  2161. source.
  2162.  
  2163. ==============================================
  2164. A.21)  What is KEEPALIVE and how can I use it?
  2165. ----------------------------------------------
  2166.  
  2167. KEEPALIVE is a method implemented in Berkeley sockets and TCP/IP (and in
  2168. A/UX) that periodically polls a connected socket to determine if it's
  2169. still "alive" or whether the client on the other end has dropped off.
  2170. If the connected client doesn't respond, A/UX will consider the connection
  2171. broken and send SIGPIPE to all connected processes. For this feature to
  2172. be actually used, programs must set the SO_KEEPALIVE option on the
  2173. socket.
  2174.  
  2175. One particular of A/UX is that although it supports KEEPALIVE, it doesn't
  2176. send the first probe for _2 hours_! It's been suggested that it would be
  2177. much better to shorten this value to something more realistic to take
  2178. better advantage of this capability. However, to do this, you'll need to
  2179. use 'adb' and adjust the kernel.
  2180.  
  2181. You can either patch the kernel itself (which requires that the patch be
  2182. reapplied everytime the kernel is rebuilt) or patch /etc/install.d/boot.d/bnet
  2183. to keep the patches. To patch the kernel to adjust to time to 1st probe, you
  2184. need to use 'adb' to adjust the 'tcp_keepidle' parameter. To get the right
  2185. value, multiply the number of minutes you want A/UX to wait until the 1st
  2186. probe by 120, then change that value to hex. For example, to make A/UX sent
  2187. the 1st probe every 5 minutes (5 x 120 = 600 = 0x258) do:
  2188.  
  2189.     adb -w -k /unix  << Foo
  2190.     tcp_keepidle?D
  2191.     tcp_keepidle?W 258
  2192.     tcp_keepidle?D
  2193.     $q
  2194.     Foo
  2195.  
  2196. To patch the 'bnet' driver instead, do:
  2197.  
  2198.     adb -w /etc/boot.d/bnet << Foo
  2199.     tcp_keepidle?D
  2200.     tcp_keepidle?W 258
  2201.     tcp_keepidle?D
  2202.     $q
  2203.     Foo
  2204.  
  2205. Now run 'newconfig -v' and reboot. 
  2206.  
  2207. ==============================================
  2208. A.22)  What does this 'panic' message mean...?
  2209. ----------------------------------------------
  2210.  
  2211. In general, most system panics are due to A/UX exhausting some kernel
  2212. resource; to prevent these, you need to know which resource was used up
  2213. and then use 'kconfig' to increase them:
  2214.  
  2215.  console panic message                  kernel parameter to increase
  2216. -----------------------                ------------------------------
  2217.  "panic: kmem_alloc"                    MAXCORE
  2218.  "panic: getfreehdr"                    MAXHEADER
  2219.  "timeout table overflow"               NCALL
  2220.  "file: table is full"                  NFILE (NINODE as well, to same value)
  2221.  "inode: table is full"                 NINODE (NFILE as well, to same value)
  2222.  "m_expand returning 0"                 NMBUFS
  2223.  "panic: out of mbufs"                  NMBUFS
  2224.  "proc: table is full"                  NPROC (NREGION as well, 3x NPROC)
  2225.  "Region table overflow"                NREGION (NPROC as well, NREGION/3)
  2226.  "sptreserve: no kernel virtual space"  NSPTMAP
  2227.  "allocbuf"                             SBUFSIZE (and NBUF as well)
  2228.  "cannot allocate buffer cache"         NCLIST (and add RAM)
  2229.  "cannot allocate buffer headers"       NBUF (and add RAM)
  2230.  "getfreehdr"                           NPBUF
  2231.  
  2232. You may also run up against the processes-per-user limit as well. This
  2233. can be increased by bumping up the MAXUP. Of course, you'll also need to
  2234. increase NPROC, NREGION, NFILE and NINODE (and maybe others) as well to
  2235. account for the increased number of processes...
  2236.  
  2237. ================================================
  2238. A.23)  How often does A/UX sync the file system?
  2239. ------------------------------------------------
  2240.  
  2241. A/UX 3.0 performs a sync every minute. It's done by 'init' and the frequency
  2242. can't be changed.
  2243.  
  2244. A/UX 3.0.1/3.0.2 does one every 30 seconds; cached blocks older than 30
  2245. seconds are flushed, therefore a block can be resident for between 30
  2246. and 59 seconds. If you want, you can use 'adb' to change the value of
  2247. 'syncdsleep' to the number of seconds to sleep between flushes. Blocks
  2248. older than that will be flushed.
  2249.  
  2250. A/UX 3.1/3.1.1 peforms a sync every second and flushes blocks that are
  2251. older than 30 seconds (i.e. a block can be resident for 1 to 31 seconds).
  2252. You can alter this by using 'adb' to change 'syndperiod' to the timeout
  2253. age (how old the block can be before it's flushed) and 'syncdsample'
  2254. to the wakeup period; by default, 'syncdperiod' is 30 and 'syncdsample'
  2255. is 1.
  2256.  
  2257. Under A/UX 3.0.1/3.0.2/3.1.x, the kernel process 'syncd' can be seen via
  2258. 'ps'.
  2259.  
  2260. ============================
  2261. A.24)  What is 'catsearchd'?
  2262. ----------------------------
  2263.  
  2264. Under A/UX, 'catsearchd' is a UNIX process that maintains a cache of
  2265. MacOS File System information. Having this cache available _greatly_
  2266. increases the performance of catalog searches made from the MacOS and
  2267. an AppleShare client.
  2268.  
  2269. For each file cached, 'catsearchd' requires 200bytes of memory, so if
  2270. your File Systems are large, 'catsearchd' can be a real memory hog. One
  2271. way to avoid this is to use the 'nocats' option in 'fstab' for mounted
  2272. file systems.
  2273.  
  2274. Unless you are running A/UX as an AppleShare server, there's no need to
  2275. run 'catsearchd'; in fact, it's better _not_ to run it due due to it's
  2276. memory and performance hits.
  2277.  
  2278. =====================================================================
  2279. A.25)  Is there any way to make AppleDouble file formats the default,
  2280.        rather than AppleSingle?
  2281. ---------------------------------------------------------------------
  2282.  
  2283. Sure is... All you need to do is set the 'TBFILEFORMAT' environment
  2284. variable to '1'. You can do this either in /etc/profile or /etc/cshrc
  2285. to make it system-wide or have each user add it to their .profile or
  2286. .login file.
  2287.  
  2288. For sh/ksh, the commands are:
  2289.  
  2290.    TBFILEFORMAT=1
  2291.    export TBFILEFORMAT
  2292.  
  2293. and for csh it's:
  2294.  
  2295.    setenv TBFILEFORMAT 1
  2296.  
  2297. You can also edit /mac/bin/mac32 as well if you want.
  2298.  
  2299. ======================================================
  2300. A.26)  Is there a way to update the 'whatis' database?
  2301. ------------------------------------------------------
  2302.  
  2303. Sure is. Check out the 'man-utils.tar.gz' file on jagubox (in Sys_stuff).
  2304.  
  2305. ============================================
  2306. A.27)  Does A/UX support Virtual Interfaces?
  2307. --------------------------------------------
  2308.  
  2309. It does now... Jim Jagielski (jim@jaguNET.com) has created the 'vif' kernel
  2310. module that provides for true Virtual Interface support under A/UX. This
  2311. allows you to, for example, make use of the Virtual Host/Multihoming
  2312. capability of Apache.
  2313.  
  2314. 'vif' can be found on jagubox.gsfc.nasa.gov in /pub/aux/Sys_stuff.
  2315. 'apache' can be found on ftp.apache.org.
  2316.  
  2317. :::::::::::::::::::::::::::::::::::
  2318. ::::: MAC-EMULATION QUESTIONS :::::
  2319. :::::::::::::::::::::::::::::::::::
  2320.  
  2321. ======================================================
  2322. M.01)  What Mac applications are compatible with A/UX?
  2323. ------------------------------------------------------
  2324.  
  2325. It would be much easier to list the applications that aren't compatible.
  2326. The list is much, much shorter...
  2327.  
  2328. The _vast_ majority of applications that run under System 7 will run under
  2329. A/UX 3.x.x. In fact, before System 7 was released, A/UX 2.0.x was actually
  2330. a good litmus test whether the application was 32-bit clean and would run
  2331. under System 7. The only applications that are _sure_ to fail are those that
  2332. try to access hardware _directly_, such as HD utilities or backup
  2333. applications. A/UX 3.x.x provides both 24 and 32-bit modes, so if the
  2334. application doesn't run under 32-bit mode, try it under 24-bit.
  2335.  
  2336. One key note: if the program uses a "complex" installation procedure (like
  2337. for Canvas, Word, Stuffit, etc...) then you should not try to do a fresh
  2338. install under A/UX. See the above Hints and Words Of Wisdom.
  2339.  
  2340. ===================================================
  2341. M.02)  What screen-savers are compatible with A/UX?
  2342. ---------------------------------------------------
  2343.  
  2344. AfterDark (2.0u and later) works well under A/UX but some displays may not
  2345. have enough memory under Login so the "low-memory" display will be used.
  2346.  
  2347. Moire and FMbackup seem a bit incompatible. They both function fine together
  2348. but the combination prevents FMbackup's "Finishing up..." window from
  2349. displaying, although FMbackup does, in fact, finish up. Furthermore, Moire
  2350. seems to screw-up Commando (both version 3.22 and 4.01 exhibit this problem)
  2351. so all in all, Moire can't be recommended if you desire using Commando (the
  2352. problem seems to be with all MacOS applications 'launch'ed from the
  2353. CommandShell window). Using Moire for the Login screen works well however,
  2354. since you can't access Commando or 'launch' applications from there.
  2355.  
  2356. Darkside is also available. Unlike other screen savers, Darkside is an
  2357. application, not an INIT. This means it won't work under the Login screen.
  2358. The latest version of Darkside is 4.0 and will _not_ work on Pre-System7
  2359. systems, so don't attempt to use this under A/UX 2.0.1 or later.
  2360.  
  2361. Moire is available on jagubox.
  2362.  
  2363. ========================================================================
  2364. M.03)  My MacOS partition mounts fine under MacOS but it doesn't show up
  2365.        under A/UX... Why?
  2366. ------------------------------------------------------------------------
  2367.  
  2368. Whether or not a Mac partition mounts under A/UX depends on a number of
  2369. factors...  Necessary conditions for a partition to mount are:
  2370.  
  2371.     1. The disk MUST be partitioned using the "new" partitioning scheme
  2372.        detailed in Inside Macintosh V. There is still plenty of disk software
  2373.        out there that uses the "old" scheme and this drives will not mount
  2374.        under A/UX. Generic disk formatters that use the "new" scheme include
  2375.        SilverLining and FWB Hard Disk Toolkit. Most major disk vendors supply
  2376.        A/UX compatible formatting s/w.
  2377.  
  2378.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  2379.        only tries to mount partitions that were already when it was booted.
  2380.        So, if you use an application to boot A/UX and this application runs
  2381.        before a partition is mounted, A/UX won't mount it for you. If you
  2382.        have a removable drive (such as SyQuest), you must insert the disk
  2383.        before you boot A/UX... this means you can't swap cartridges under
  2384.        A/UX.
  2385.  
  2386. Sometimes, the partition map isn't correct for the MacOS partition; In
  2387. particular, the Logical size may be 0! You can use 'dp' to look at the
  2388. partition map to see if this is the case. Assuming that the disk us SCSI #2,
  2389. then:
  2390.  
  2391.     $ dp /dev/dsk/c2d0s31
  2392.     P
  2393.  
  2394. Will print out the partition map entries. You can then see if the "Apple_HFS"
  2395. partition type has the correct logical size.
  2396.  
  2397. =========================================================================
  2398. M.04)  I have MacsBug installed. How can I trigger it?
  2399.                 -- or --
  2400. M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  2401.        up; how can I unfreeze it? Should I hit the Interrupt switch?
  2402. -------------------------------------------------------------------------
  2403.  
  2404. The "Command-Control-e" keypress will kill the current MultiFinder environment
  2405. and "unfreeze" (and kill) your MultiFinder|CommandShell.  Depending on whether
  2406. your session-type is Console Mode or 32|24-Bit, you will either get returned
  2407. to the console or get returned to the Login screen. You should _NOT_ press
  2408. the Interrupt switch since this puts you into A/UX's kernel debugger. If you
  2409. have MacsBug installed (which is recommended) then you can press
  2410. "Command-Control-i" to enter it. This may enable you to clean some things up
  2411. before the MultiFinder environment is blasted (even just using 'rs' under
  2412. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  2413. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild"
  2414. your icon/Desktop "environment" the next time Mac-mode is entered.
  2415.  
  2416. To make sure that MacsBug installs correctly, it's name must be 'MacsBug'.
  2417. A munged Debugger Prefs file can also prevent MacsBug from installing. This
  2418. happened to me when upgrading to 3.0.1... To be safe, make a solid safe
  2419. copy before upgrading.
  2420.  
  2421. ============================================================================
  2422. M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  2423.        under A/UX?
  2424. ----------------------------------------------------------------------------
  2425.  
  2426. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended
  2427. for a variety of reasons, but most importantly to ensure compatibility with
  2428. new products from Apple and developers (of course, the added features over
  2429. Phase 1 are nice too :).
  2430.  
  2431. ===========================================================================
  2432. M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  2433.        Also, sometimes things get transfered fine, othertimes not. What's
  2434.        going on?
  2435. ---------------------------------------------------------------------------
  2436.  
  2437. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  2438. a MacOS disk, all 'newline' characters will be replaced by 'carriage returns'.
  2439. Sometimes this is what you want (that is when the file is, in fact, a TEXT
  2440. file). Othertimes it's not. Say for example you download a GIF file onto your
  2441. A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy it over to
  2442. your MacOS disk and try to use Giffer on it, it won't work.  That's because
  2443. the 'nl's where changed, which is _not_ what you want. The way to stop this
  2444. is to convince A/UX that the file is of non-TEXT type.  There are many
  2445. applications out there (including the A/UX included 'setfile' program) that
  2446. lets you modify this. Do this before you copy the file over to your Mac OS
  2447. disk and all will be Okay. If you aren't sure what the Type and Creator should
  2448. be, you can just specify "BIN " and "A/UX" (note space in BIN) and the file
  2449. won't be massaged during the copy|transfer. You'll still need to eventually
  2450. change them to the correct ones for their particular application, but this
  2451. way they'll be on your MacOS disk "uncorrupted."
  2452.  
  2453. Of course, you could also use 'setfile' to set the Type|Creator fields
  2454. _before_ you copy the file to the MacOS disk and avoid an additional step.
  2455.  
  2456. Please note that if you downloaded a BINHEX file, you _do_ want to keep it
  2457. as a TEXT file if you transfer it over to the MacOS. Once there, you can
  2458. de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  2459.  
  2460. Please note that if you transfer Unix-type files (like tar archives or
  2461. compressed files) between the A/UX file system and a MacOS disk (esp. if
  2462. these files were "created" on a MacOS disk by a MacOS utility), the Unix
  2463. application may no longer work correctly with it. This is because the MacOS
  2464. resource information was attached to the file during the transfer (the file
  2465. is in Apple Single format). To "fix" this, use 'fcnvt' to change the file
  2466. to Apple Double format which will detach the resource fork and place it
  2467. into a "%..." file.
  2468.  
  2469. See "Hints and Words Of Wisdom" (above) for hints in using ftp file transfers
  2470. under A/UX.
  2471.  
  2472. ================================================================
  2473. M.08)  Do I install CDEVs and Extensions in the System Folder on
  2474.        MacPartition or on the "/" A/UX disk.
  2475. ----------------------------------------------------------------
  2476.  
  2477. To install these additions to A/UX, you will need to drag-copy them over to
  2478. the A/UX System Folder. Usually, this is /mac/sys/System Folder on the "/"
  2479. disk but it will also "appear" in your "home folder" icon. If you have a
  2480. personal System Folder (i.e. $HOME/System Folder) then they should be dragged
  2481. there. To add a screensaver to the Login screen, it must be dragged into the
  2482. correct subfolder in /mac/sys/Login System Folder. That is, if it's an cdev,
  2483. drag it into /mac/sys/Login System Folder/Control Panels.
  2484.  
  2485. ==========================================================================
  2486. M.09)  I heard that A/UX requires a special version of System 7 to boot...
  2487.        Is this true?
  2488. --------------------------------------------------------------------------
  2489.  
  2490. A lot of people believe this but this is not true. There is no difference
  2491. between the s/w on the MacPartition partition and the "real" System 7.  The
  2492. only _real_ need for MacPartition is that the disk where A/UX Startup lives
  2493. is where A/UX Startup looks for the A/UX Root partition. When A/UX Startup
  2494. launches, it looks at "it's" disk and then looks for A/UX partitions on that
  2495. disk. This means that you _don't_ need to boot-up from the MacPartition disk
  2496. to boot A/UX. Start your Mac from your standard Startup disk and just
  2497. double-click on A/UX Startup on the MacPartition icon.
  2498.  
  2499. You can even do without the MacPartition disk but telling A/UX Startup the
  2500. exact SCSI number of the A/UX disk. You can do this a couple of ways:
  2501.  
  2502.     1. create a ROOT variable in A/UX Startup that points to the
  2503.        root partition in this form: (SCSI-ID, 0, 0)
  2504.  
  2505.     2. Under the General Preferences menu, change the Root Directory
  2506.        to (SCSI-ID, 0, 0).
  2507.  
  2508. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  2509. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  2510. it's "real" name. This is kinda messy since you'll need to preface a lot of
  2511. stuff with this value: e.g.
  2512.  
  2513.     #startup cat (6,0,0)/etc/inittab
  2514.  
  2515. =====================================================================
  2516. M.10)  After the Mac environment crashes (or when I use MacsBug), the
  2517.        Desktop gets all screwed up... Argg!!
  2518. ---------------------------------------------------------------------
  2519.  
  2520. Ron Flax of Apple (ron@afsg.apple.com) has written a very useful System
  2521. Extension called FMbackup that creates backup copies of "valuable" Desktop
  2522. files. When the MacOS-mode is entered, FMbackup restores these files. Thus,
  2523. when your MacOS "crashes", you no longer need to rebuild the Desktop or reset
  2524. all your Icons, window "types", etc... Please note that there seems to be
  2525. some incompatibilty between FMbackup and Moire and QuickMail 2.5.1.
  2526.  
  2527. FMbackup (1.0.4) is available via anon-ftp on afsg.apple.com as well as
  2528. aux.support.apple.com (in "unsupported").
  2529.  
  2530. %%% For more information about "FMbackup", please contact Ron via E-mail %%%
  2531.  
  2532. =====================================================================
  2533. M.11)  My MacOS partition(s) only show up on the Desktop when I login
  2534.        as root. Why?
  2535. ---------------------------------------------------------------------
  2536.  
  2537. Under the Preferences/General Menu of A/UX Startup, there is a radio-box
  2538. called "Password checking". This is intended to provide some security for
  2539. the A/UX Startup application. When enabled, two (default) things happen:
  2540.  
  2541.     1. A/UX Startup requires a password to open.
  2542.     2. MacOS partition(s) are only mounted for root login.
  2543.  
  2544. Thus, to enable MacOS partition(s) to be available for all users, you must
  2545. disable "Password checking". See auxstartuprc(4) for more info.
  2546.  
  2547. ======================================================================
  2548. M.12)  For some reason, my CommandShell only responds to a keyboard
  2549.        event after it receives a second event. For example, typing "a"
  2550.        won't show until I type something else or click the mouse.
  2551.        What gives?
  2552. ----------------------------------------------------------------------
  2553.  
  2554. This is caused almost 99% of the time by an Extension|CDEV conflict. The way
  2555. around this is to selectively disable each one at a time and see which one
  2556. causes the problem... then delete it. "Wild Magic" is prone to do this as
  2557. are older versions of CEToolbox.
  2558.  
  2559. =====================================
  2560. M.13)  Can A/UX 3.x.x run System 7.1?
  2561. -------------------------------------
  2562.  
  2563. A/UX 3.x.x's MacOS interface is based on System 7.0.1. You cannot install
  2564. Sys 7.1 on A/UX (meaning you can't make A/UX run Sys 7.1) since there are a
  2565. few system files that are fine-tuned and modified to work under A/UX. These
  2566. would get overwritten if you tried to install 7.1 and you'd be out of luck.
  2567. Please recall that this doesn't mean that you can't have 7.1 installed on
  2568. your MacPartition, to be used when in MacOS-only mode. It just means that
  2569. you can't have A/UX run 7.1.
  2570.  
  2571. Just to let you all know, if you really want to, you _can_ install 7.1 on
  2572. A/UX 3.x.x and the MacOS-stuff will work pretty well. However, all hybrids,
  2573. such as CommandShell or Commando, will die... not too useful...
  2574.  
  2575. ===============================================
  2576. M.14)  What version of AppleTalk does A/UX run?
  2577. -----------------------------------------------
  2578.  
  2579. This one is tricky. First of all, the version of AppleTalk under A/UX was
  2580. designed specifically for A/UX... Don't try installing the Network Software
  2581. Installer (NSI) disk. Bad Things will happen.
  2582.  
  2583. With that out of the way, when polled by InterPol, A/UX will respond that
  2584. AppleTalk v56 is running. However, A/UX's version is really compatible with
  2585. version 58. This will cause trouble with those applications that rely on
  2586. version numbers rather than capability.
  2587.  
  2588. =====================================================================
  2589. M.15)  I've just installed MacTCP 2.0.2|4|6 on A/UX and nothing works!
  2590.        What's going on?
  2591. ---------------------------------------------------------------------
  2592.  
  2593. The copy of MacTCP that ships with A/UX is specifically written for A/UX.  You
  2594. should _not_ replace it with any MacOS version of MacTCP! Doing so will cause
  2595. mucho problems for A/UX. This is because A/UX's MacTCP simply offloads all
  2596. networking functions down to A/UX itself which handles them.
  2597.  
  2598. Although it's true that some MacOS programs, such as Mosaic, "require" MacTCP
  2599. 2.0.2|4|6, the vast majority work just fine with A/UX's version. In extreme
  2600. cases, with programs that actually _check_ the version number, a little
  2601. ResEdit hacking will fix things up. Basically, all you need to do is COPY the
  2602. 'vers' resource of MacTCP 2.0.2|4|6 and PASTE it into MacTCP in your active
  2603. A/UX System Folder (you want to 'Replace' the previous 'vers' resource). This
  2604. will cause MacTCP to appear (via 'Get Info' and similar ways) to be version
  2605. 2.0.6.
  2606.  
  2607. =======================================================
  2608. M.16)  Does the LaserWriter Bridge s/w work under A/UX?
  2609. -------------------------------------------------------
  2610.  
  2611. No it doesn't... The reason is because the LaserWriter Bridge software
  2612. requires AppleTalk version 57 or higher but, due to the way AppleTalk
  2613. is implemented under A/UX, the software thinks and behaves as if A/UX
  2614. is running a version closer to v56.
  2615.  
  2616. A/UX, however, _can_ print to a printer connected via the LaserWriter
  2617. Bridge on a different Mac.
  2618.  
  2619. ==================================================================
  2620. M.17)  My /etc/fidd processes refused to run and dumps core. Help!
  2621. ------------------------------------------------------------------
  2622.  
  2623. Sounds like the /etc/FileIDs file is mangled. Rename /etc/FileIDs
  2624. to something like /etc/FileIDs.OLD and reboot. fidd will then create
  2625. a new /etc/FileIDs file and all should be well.
  2626.  
  2627. :::::::::::::::::::::::::::::::::::
  2628. ::::: DEVICES AND PERIPHERALS :::::
  2629. :::::::::::::::::::::::::::::::::::
  2630.  
  2631. =======================================================
  2632. D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  2633. -------------------------------------------------------
  2634.  
  2635. A/UX 3.x.x's 'tc' device driver (version 1.40) officially and "totally"
  2636. supports the following tape drives:
  2637.  
  2638.     Qualstar 9 track
  2639.     Archive 4mm DAT
  2640.     Archive QIC
  2641.     Teac DCAS 600
  2642.     Exabyte 8500        <<ED: no go with the 8200s>>
  2643.     DC2000
  2644.  
  2645. Please note that all the devices except for the Qualstar 9-tracks require
  2646. 8k-blocking when used through 'tc'. This means you will need to use 'tcb' or
  2647. 'tbb' as a filter ('dd' will also work during reading). You should also
  2648. specify 8k blocking (or a multiple thereof) when using dump.bsd.
  2649.  
  2650. Jim Jagielski has created a replacement for 'tc' called 'NEWtc'. It fixes
  2651. a lot of Apple's 1.4 bugs as well as to provide some nice new features. It
  2652. supports all the above drives in addition to:
  2653.  
  2654.     CIPHER drives
  2655.     Exabyte 8200, 8205 and 8505
  2656.     HP DATs
  2657.     SONY SDT line
  2658.     Teac DCAS 150 and 60
  2659.     WangDAT 1300 and 2600 series
  2660.     WankTEK series 6130 (FS/HF), 5525 and 5050ES.
  2661.  
  2662. It also has a "Generic" entry that will attempt to drive tapes it doesn't
  2663. know about. If you have a drive that isn't supported, let Jim know and he'll
  2664. try to add it.
  2665.  
  2666. NEWtc is up to version 3.34 and is available on jagubox.  Included in the
  2667. package are replacement copies of 'mt', 'tc.7.Z' and 'mt.1.Z'.
  2668.  
  2669. Tony Cooper has written a VERY nice double-buffering copier that greatly
  2670. increases the speed of backups; it's called 'tbb.' It works quite nicely with
  2671. 'tc' (assuming the correct blocking factors)... It's included with the 'NEWtc'
  2672. package.
  2673.  
  2674. Craig Ruff (cruff@ncar.ucar.edu) has written a Teac device driver also, which
  2675. works with both the 150 MB and 60 MB drives. You get the complete source so
  2676. you may "adjust" the driver if you want for other drives.
  2677.  
  2678. The Teac driver is available on jagubox.gsfc.nasa.gov.
  2679.  
  2680. %%% For more information about 'tc', please contact Jim via E-mail %%%
  2681. %%% For more information about 'teac', please contact Craig via E-mail %%%
  2682.  
  2683. =====================================================================
  2684. D.02)  I have an EtherNet card that works fine under the Macintosh OS
  2685.        but not under A/UX. Why?
  2686. ---------------------------------------------------------------------
  2687.  
  2688. The reason is because to access the card (which is seen as a device by A/UX),
  2689. you need an A/UX device driver for it. This is NOT the same as the stuff you
  2690. had to install under the MacOS for it to work. Now A/UX includes drivers for
  2691. the Apple EtherNet card (they aren't installed by default though), but they
  2692. don't work with most of the 3rd party cards except for the 3Com "EtherLink
  2693. NB", the Asante "MacCon" and the StarNet Networking cards. They are 100%
  2694. register compatible with their Apple counterparts, so you can use Apple's
  2695. 'ae' driver with them. Drivers for the EtherPort II cards are available via
  2696. anon-ftp on jagubox. However, the drivers for the "old" EPII cards (full
  2697. length) only support TCP/IP (they were written for A/UX 1.1 but will work
  2698. under 2.0.x). As far as other cards are concerned, you will have to ask the
  2699. vendor for A/UX drivers for it.
  2700.  
  2701. Please note that there have been numerous reports about problems with the
  2702. EtherPortII cards, A/UX and the IIfx and IIsi... you are warned :)
  2703.  
  2704. =======================================
  2705. D.03)  Can I use my scanner under A/UX?
  2706. ---------------------------------------
  2707.  
  2708. A/UX 3.x.x fully supports the Apple OneScanner as well as providing better
  2709. support for SCSI devices. A/UX will still use its own SCSI driver, however.
  2710.  
  2711. ===========================================================================
  2712. D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to work.
  2713.        I keep on getting a "more data than device expected" error message.
  2714.        What's wrong?
  2715. ---------------------------------------------------------------------------
  2716.  
  2717. The "problem" is with the generic SCSI disk driver under A/UX. For SCSI
  2718. drives, there are certain parameters that may be adjusted by the user; these
  2719. parameters are grouped in "pages." One such page concerns how the disk
  2720. responds to and recovers from errors: the Error Recovery Page. A/UX expects
  2721. the parameters in this page to have certain values. Now the vast majority of
  2722. SCSI disks have the values set as expected, but this isn't the case with
  2723. SyQuest drives. There is one parameter (PER) which is opposite than expected
  2724. by A/UX. When A/UX trys to set this value to what it wants, however, the
  2725. SyQuest drive reads this "request" wrong (the request is 16 bytes but the
  2726. SyQuest only reads 4, so the SCSI Manager reports the error.
  2727.  
  2728. Tony Cooper (tony@marc.cri.nz) has written a Mac application which sets the
  2729. Error Page values correctly: Fix Error Page. This application must be used
  2730. under the MacOS. It can be found on jagubox.gsfc.nasa.gov as well as on
  2731. aux.support.apple.com (aux.patches/unsupported/2.0). You can also use the
  2732. FWB Hard Disk Toolkit - World Control Application to enable the PER bit in
  2733. the recovery page (Page #1).
  2734.  
  2735. This program may also be a help in getting some SCSI-2 devices, such as disks
  2736. and opticals, to work under A/UX. If A/UX sees that the Error Page parameters
  2737. are incorrect, it will attempt to send a Mode Select command to fix them,
  2738. however it will use the SCSI-1/CCS page length instead of the SCSI-2 length,
  2739. which, depending on the drive, will not work.
  2740.  
  2741. By the by, here is the /etc/disktab entry for SyQuest:
  2742.  
  2743.     # SyQuest disk
  2744.     #
  2745.     Syquest|syquest|S45:\
  2746.        :ty=winchester:ns#34:nt#2:nc#1275:
  2747.  
  2748. ==================================================
  2749. D.05)  What 3-button mice work under A/UX (and X)?
  2750. --------------------------------------------------
  2751.  
  2752. The Gravis SuperMouse was a 3-button mechanical mouse that was completely
  2753. configurable and compatible with A/UX and was at the time your best bet.  At
  2754. present, however, the Gravis SuperMouse is no longer manufactured or supported
  2755. at _all_ by Gravis :(
  2756.  
  2757. Older versions of LogiTech's MouseMan are fully compatible with A/UX, as some
  2758. people have been using them with no problems. However, newer versions aren't
  2759. as nice, since you can't reconfigure the button binding.
  2760.  
  2761. Mouse System's A-3 mouse is "fully" compatible with A/UX, but is hard-wired
  2762. configured for A/UX as: Left Button = Actual Mouse Button; Middle Button =
  2763. Left Arrow; Right Button = Right Arrow. The "A-3" power cdev doesn't work
  2764. under A/UX. The A-3 mouse is an optical unit with a nice feel.
  2765.  
  2766. Please note that A/UX 2 & 3 only support a subset of the ADB Manager. Thus
  2767. there are a few ADB devices that may not work under A/UX.
  2768.  
  2769. =====================================================
  2770. D.06)  Is it worth getting a cache card for the IIci?
  2771. -----------------------------------------------------
  2772.  
  2773. Absolutely! The card makes an amazing difference in performance. However,
  2774. this performance increase is reduced when an external monitor is used. For
  2775. more information about extensive benchmarking with the IIci and cache
  2776. cards, you can snag the benchmarking results via anon-ftp on
  2777. redstar.dcs.qmw.ac.uk in archive/papers.
  2778.  
  2779. ====================================================================
  2780. D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  2781. --------------------------------------------------------------------
  2782.  
  2783. Many hard disk applications will reveal the disk drive geometry for you:
  2784. FWB Hard Disk ToolKit is very good (SilverLining is a bit wrong on the number
  2785. of tracks... it includes spares). What you are really looking for are the
  2786. total number of cylinders ('nc'), the number of sectors per track ('ns') and
  2787. the number of tracks ('nt').
  2788.  
  2789. By far, the easiest (and cheapest) way is to use the SCSIProbe utility, by
  2790. Herb Weiner (herbw@wiskit.com), that runs under A/UX. This neat little package
  2791. automatically generates disktab entries for your disks.
  2792.  
  2793. Also, I'm maintaining a list of /etc/disktab entries. If you have any, send
  2794. it to me and I'll add them.
  2795.  
  2796. The file is available on jagubox.
  2797. <<ED: I need _LOTS_ of entries>>
  2798.  
  2799. Just a note: the number of tracks ('nt') is equal to the number of heads.
  2800.  
  2801. ==========================================
  2802. D.08)  Which serial cards work under A/UX?
  2803. ------------------------------------------
  2804.  
  2805. There are a number of serial cards that "work" with A/UX. The Apple serial
  2806. card is NOT one of them.
  2807.  
  2808.  o There is the Digiboard Nu/Xi, which comes in 4 and 8 port versions.  Brand
  2809.    new drivers for the card have been coded and are available. This version
  2810.    (3.3.0) however, doesn't currently work with CSlip but otherwise works
  2811.    great.  You can snag the drivers via anon-ftp from digibd.com (which is
  2812.    192.83.159.193) in drivers/mac.
  2813.  
  2814.    Technical Support for DigiBoard is 612-943-9020. If you'd like to contact
  2815.    the main engineer responsible for the drivers, contact Brian Westley at the
  2816.    following Email addresses:
  2817.  
  2818.       merlyn@digibd.com
  2819.       ...uunet!digibd!merlyn
  2820.       AppleLink: merlin
  2821.  
  2822. o There is also the Creative Solutions, INC (CSI) HQS/HDS v4.4/4.5 Hurdler
  2823.   Serial Nubus cards. These cards have both pure UNIX _and_ MacOS device
  2824.   drivers (i.e. a 'newconfig' code module and a MacOS INIT/DRVR module). The
  2825.   A/UX drivers support baud rates up to 57.6k and 115.2k using the 'B50' and
  2826.   'B75' flags, true hardware handshaking while monitoring DCD for Dialup
  2827.   security, and full compatibility with CSlip and PPP and their associated
  2828.   daemons. The A/UX-MacOS drivers are fully compatible with all CommToolbox
  2829.   functions and serial drivers. These are very nice cards :)
  2830.  
  2831.   The recommended cable-pin out for these cards is:
  2832.  
  2833.         Mac          Modem
  2834.     Male Mini-Din-8  DB-25
  2835.     --------------------------------------------
  2836.     1 (HskO)  ---   4   (RTS)
  2837.     2 (HskI)  ---   5   (CTS)
  2838.     3 (TxD-)  ---   2   (TxD)
  2839.     4 (GDN)   ---   7   (SigGnd)
  2840.     5 (RxD-)  ---   3   (RxD)
  2841.     6 (TxD+)  ---   7   (SigGnd)or(NC)
  2842.     7 (GPi)   ---   8   (DCD)
  2843.     8 (RxD+)  ---   7   (SigGnd)
  2844.                     6 -- (DSR)
  2845.                         |
  2846.                    20 -- (DTR)
  2847.  
  2848.   Also, for logins, you should be using the FLOW flag in the gettydefs file as
  2849.   for example:
  2850.  
  2851.    fl_38400#B38400 # B38400 SANE2 TAB3 # ~MODEM ~DTR FLOW #\r\nlogin: #fl_38400
  2852.  
  2853.   For further info about the drivers, or for _any_ help is using this card,
  2854.   please contact Alan M. Friedman at Intelligent Interfaces, Inc:
  2855.  
  2856.      alan@kether.intellint.com
  2857.      AppleLink: D5620
  2858.  
  2859.   You can contact CSI at csi@applelink.apple.com (AppleLink: CSI).
  2860.  
  2861.  o Another is Paul Campell's Taniwha CommCard. This card does indeed work
  2862.    with all versions of A/UX including 3.x.x. It has special support for
  2863.    UUCP.  It has a few mysterious and not very important problems. It's an
  2864.    excellent buy. The only problem is, it's not on the market anymore. If you
  2865.    can get one used, though, it's worth getting. The one downside is that,
  2866.    like Apple's ports, it won't SIMULTANEOUSLY support modem and hardware flow
  2867.    control. It is immune to many of the nasty bugs which affect the built-in
  2868.    serial ports, including the two (at least) which can crash the kernel.
  2869.  
  2870.  o Yet another is the Applied Engineering QuadraLink serial card. According
  2871.    to sources, the board was super easy to setup and use. It also appears
  2872.    very solid as far as performance.
  2873.  
  2874.    The AE QuadraLink card, like the CommCard and the Apple ports, can't do
  2875.    both hardware handshaking and modem control at the same time. No hardware
  2876.    patch kit will be developed for the AE card...
  2877.  
  2878. =============================================================================
  2879. D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print some-
  2880.        thing to it through 'lpr', the first line of the page is cut off. Why?
  2881. -----------------------------------------------------------------------------
  2882.  
  2883. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  2884. The reason is because this makes the LW default to PhotoGrade-mode. You can
  2885. do 2 things to fix this:
  2886.  
  2887.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  2888.        Since one of the main advantages of these LW's is PhotoGrade,
  2889.        this option is kinda unpalatable.
  2890.  
  2891.     2. If you are _only_ using "Letter" mode under 'lpr', then you
  2892.        can edit /usr/lib/ps/pstext.pro to include the following line
  2893.        between "% RCSID:..." and "/StartPage...":
  2894.  
  2895.        %!PS-Adobe-1.0
  2896.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  2897.          87/05/04 19:02:25
  2898.        %%Creator: pstext
  2899.        %%DocumentFonts: Courier
  2900.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  2901. ====>>>letter 
  2902.        /StartPage{/sv save def 48 760 moveto}def
  2903.  
  2904. This will fix the problem and make it usable again.
  2905.  
  2906. =========================================================================
  2907. D.10)  I'm trying to access my tape drive using 'tc' (with something like
  2908.        "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  2909. -------------------------------------------------------------------------
  2910.  
  2911. Except for 9-track magtapes, all I/O to tape drives associated with the 'tc'
  2912. device files _must_ be blocked at 8k. The 'tcb' program does just that so
  2913. that should be included. For example, to write:
  2914.  
  2915.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  2916.  
  2917. And to read:
  2918.  
  2919.     $ tcb < /dev/rmt/tc1 | cpio -i
  2920.  
  2921. You can get better performance if you increase the buffer size (just make
  2922. sure that it's a multiple of 8k). For example, you could use 'dd' as your
  2923. blocking filter with a 'bs=10x8k'.
  2924.  
  2925. Jim Jagielski's replacement for 'tc' allows for 'tc' to use the tape drive's
  2926. own physical block size as the logical block size for I/O. Doing so results
  2927. in a bit of a performance hit so it isn't recommended for normal use. You
  2928. should use the "mode" only if you need to read tapes written by 'st' or by
  2929. another platform. Please note you are still limited to an I/O block size of
  2930. at least the physical block size, which can be anything for 512 to 1024 to
  2931. 8192 bytes.
  2932.  
  2933. %%% For more information about 'tc', please contact Jim via E-mail %%%
  2934.  
  2935. =========================================================
  2936. D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  2937. ---------------------------------------------------------
  2938.  
  2939. The original Apple CD-ROM drive (CD SC) is 100% compatible with A/UX as is
  2940. the newer CD-150. Older versions of the CD-300 (those with pre 1.8f ROMS)
  2941. would cause problems with A/UX and would do little more than allow you to
  2942. install A/UX, making it almost useless for day-to-day use. One of the fixes
  2943. of 3.0.2 is _much_ better support for all versions of the CD-300, although
  2944. Apple does suggest that you update the CD-ROM drive's ROMs with the latest
  2945. version if you have problems. I've heard that you can get the latest ROMs by
  2946. calling 1-800-SOS-APPL or seeing your Apple dealer. The following are also
  2947. known to be 100% compatible (meaning you can use them to install A/UX as well
  2948. as when running A/UX):
  2949.  
  2950.     The Toshiba XM3201, XM3301B XM3401B, XM3501
  2951.     DEC RRD42, RRD40 (LMSI CM-212)
  2952.     Denon DRD 253
  2953.     Sun CD-ROM (Sony CDU-8012?)
  2954.     CD-Technologies Porta-Drive CD-ROM
  2955.     Chinon CDA-431
  2956.  
  2957. 3.1 adds support for NEC CD-ROMs; previous versions of A/UX weren't able to
  2958. work with these units due to their physical block size.
  2959.  
  2960. ====================================================================
  2961. D.12)  I've tried to install the CD Remote extension to A/UX so that
  2962.        I can play audio CD's, but it doesn't work...
  2963. --------------------------------------------------------------------
  2964.  
  2965. By itself, A/UX doesn't support audio CDs. However, there are 2 software
  2966. packages that add this capability:
  2967.  
  2968. The first package is xmcd/cda, which provides both a X-Motif (xmcd) and
  2969. generic command-line (cda) interface for playing audio CDs under A/UX.
  2970. The package requires that the 'devscsi' kernel package be installed, so
  2971. it will work under 3.x.x. xmcd/cda was written by Ti Kan (ti@bazooka.amb.org).
  2972. and can be found on ftp.x.org:/contrib/applications/xmcd.
  2973.  
  2974. The second package is a MacOS-patch to enable you to use the CD Remote
  2975. application. Kelly King and Andrew Kass (at Apple), however, have written the
  2976. "AUX SCSI Toolbox" extensions that emulates the Mac SCSI Manager. With this
  2977. extension installed, you can run applications and drivers that talk to the
  2978. Mac SCSI Manager, including the Apple CD-ROM driver! With this extension, you
  2979. can listen to your audio CDs under A/UX! This is the latest version of the
  2980. extension: 1.0b4.
  2981.  
  2982. "AUX SCSI Toolbox" is available via ftp on jagubox under:
  2983.  
  2984.    /pub/aux/Apple.fixes/unsupported/3.0.x/SCSItlbx.tar.gz
  2985.  
  2986. Please read the included ReadMe before installing and using it.
  2987.  
  2988. ==================================================
  2989. D.13)  What UNIX CD-ROM formats does A/UX support?
  2990. --------------------------------------------------
  2991.  
  2992. Other than the "normal" A/UX SysV and UFS file system type, A/UX supports
  2993. ISO-9660 file system format CD-ROMs. However, you can only access these CDs
  2994. from the MacOS environment; you can't "mount" them in the normal UNIX-way. As
  2995. distributed, A/UX doesn't include the needed Extensions that allow the MacOS
  2996. Environment from recognizing these CDs. To fix this, you need to copy the
  2997. following Extensions from the Apple CD-ROM Software disks (version 3.2 or
  2998. later) to the System Folder of the user(s) that need access to these CDs:
  2999.  
  3000.    o Foreign File Access
  3001.    o High Sierra File Access
  3002.    o ISO 9660 File Access
  3003.  
  3004. The docs are a little blurry on this (even though it's specifically mentioned
  3005. in Chapter 5 of the "Setting Up Accounts and Peripherals for A/UX") since they
  3006. say that you don't need to add any _kernel_ resources...
  3007.  
  3008. One of A/UX's quirks is that all files on ISO-9660 CDs are "seen" as TEXT
  3009. type files. This causes troubles with binary files since when you try to
  3010. drag them over to the "/" disk, A/UX will perform it's \r->\n translation.
  3011. To avoid this from happening, you can:
  3012.  
  3013.    1 Drag the file(s) over to a MacOS HFS disk. Then use ResEdit (or something
  3014.      similar) to change the file Creator to "A/UX" and Type to "BIN " (note the
  3015.      space!). Now you can drag the file over to "/".
  3016.  
  3017.    2 Use ResEdit to look at the NCOD resource in the "ISO 9660 File Access"
  3018.      extension. Open the "Main" resource in NCOD. Now change the string
  3019.      "TEXT" to "BIN " and "hscd" to "A/UX". Save, logout and login. This
  3020.      changes things so that _all_ files on the CD-ROM appear as non-Text,
  3021.      CommandShell files, so that A/UX will _not_ perform any translation.
  3022.  
  3023. Again, please note that A/UX will not recognize _any_ of the audio capability
  3024. of CD-ROMs unless you add the "AUX SCSI Toolbox" extension described in Q&A
  3025. #D.12.
  3026.  
  3027. ====================================================================
  3028. D.14)  How can I add printers other than those available in Chooser?
  3029. --------------------------------------------------------------------
  3030.  
  3031. <<ED: From a post by Antonio Ordonez (antonio@apple.com)>>
  3032.  
  3033. If the printer is in another zone, it is necessary to define the zone in
  3034. which the printer is located with a full path name.  You can then "hardwire"
  3035. a printer name including the zone for a particular printer queue.
  3036.  
  3037. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  3038. directory and give it a name related to the printer we want to use. Modify
  3039. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links) in
  3040. this directory. Also modyfy the /etc/printcap file to create a new printer
  3041. queue.
  3042.  
  3043. I will use my system as an example so please modify to reflect your
  3044. situation.
  3045.  
  3046. The first thing to do is to create the new directory and put the correct
  3047. files in it. NOTE that I am using mknod to create the pipe file.
  3048.  
  3049. mkdir Idaho
  3050. chown daemon Idaho
  3051. chgrp daemon Idaho
  3052. cp AppleTalk/ifilter Idaho/ifilter
  3053. cd Idaho
  3054. ln ifilter ofilter
  3055. ln ofilter nfilter
  3056. mknod pipe p
  3057. chown daemon *
  3058. chgrp daemon *
  3059.  
  3060. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  3061. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  3062. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  3063. TextEditor)
  3064. and change the line that defines the value for Printer from
  3065.  
  3066. Printer=`basename "cwd"`
  3067.         -to-
  3068. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  3069.  
  3070. In the /etc/printcap file I copy the entry for AppleTalk (all six lines) and
  3071. change any reference to AppleTalk to the name I used for my new directory.
  3072. Again, in my case I used "Idaho" as the directory name so my /etc/printcap
  3073. file looks like:
  3074.  
  3075.   #
  3076.   # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  3077.   #
  3078.   # Copyright 1990 Apple Computer, Inc.
  3079.   # All Rights Reserved.
  3080.   ##
  3081.   # Remote AppleTalk printer (selected by Chooser)
  3082.   # For an AppleTalk printer which doesn't support PostScript remove last 2
  3083.   names.
  3084.   lp|at|AppleTalk|postscript|PostScript:\
  3085.           :lp=/dev/null:\
  3086.           :if=/usr/spool/lpd/AppleTalk/ifilter:\
  3087.           :of=/usr/spool/lpd/AppleTalk/ofilter:\
  3088.           :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  3089.           :sd=/usr/spool/lpd/AppleTalk:
  3090.   lp2|Idaho:\
  3091.           :lp=/dev/null:\
  3092.           :if=/usr/spool/lpd/Idaho/ifilter:\
  3093.           :of=/usr/spool/lpd/Idaho/ofilter:\
  3094.           :nf=/usr/spool/lpd/Idaho/nfilter:\
  3095.           :sd=/usr/spool/lpd/Idaho:
  3096.  
  3097. After all these steps are completed restart the printer queue with the command
  3098.  
  3099.     lpc restart all
  3100.  
  3101. Now you should be able to send a print job to the printer in the other zone
  3102. with the command
  3103.  
  3104.     lpr -Plp2 /etc/passwd
  3105.  
  3106. or
  3107.  
  3108.     lpr -PIdaho /etc/passwd
  3109.  
  3110. Hope this helps
  3111.  
  3112. //////////////////////  END OF PART 3 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  3113.  
  3114. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 4 OF 4 //////////////////////
  3115.  
  3116. ============================================================
  3117. D.15)  What 3rd party accelerators are compatible with A/UX?
  3118. ------------------------------------------------------------
  3119.  
  3120. For the most part, all DayStar Digital accelerators are compatible with A/UX
  3121. 3.0 even if their controlling CDEVs don't work under A/UX (the accelerator
  3122. must be enabled with the CDEV before booting A/UX). However, their 040
  3123. accelerators do NOT work under A/UX. In fact, except for Apple's own Quadra
  3124. 700 Logic Board Upgrade, there are no 040 accelerators that work (i.e. don't
  3125. crash) under A/UX.
  3126.  
  3127. There has been at least 1 report of the DayStar-accelerated MacII not working
  3128. under 3.0.2... it's possible that 3.0.2 is more sensitive to timing than 3.0
  3129. was... If in doubt, be _sure_ that you can return the accelerator if you
  3130. can't run it under A/UX.
  3131.  
  3132. According to Daystar Digital, the DayStar QuadraCache is _not_ compatible
  3133. with A/UX. DayStar is working on a fix... Nonetheless, there are a number of
  3134. people (including people at Apple) who are using these cache cards with no
  3135. problems at all and with very nice (~25%) performance boosts.
  3136.  
  3137. << ED: This is kinda skimpy, but I'd thought I'd start it up. EMail me
  3138.        your list >>
  3139.  
  3140. ==============================================================
  3141. D.16)  Will the old serial HP DeskWriter work under A/UX?
  3142. --------------------------------------------------------------
  3143.  
  3144. No, it won't... You need to use AppleTalk to use it under A/UX.
  3145.  
  3146. ================================================
  3147. D.17)  How can I use a HP DeskWriter under A/UX?
  3148. ------------------------------------------------
  3149.  
  3150. For the answer, snag a copy of DeskWriter.txt which is available via anon-
  3151. ftp on jagubox in /pub/aux/Info.
  3152.  
  3153. ======================================
  3154. D.18)  Does A/UX support 24-bit color?
  3155. --------------------------------------
  3156.  
  3157. Yes.
  3158.  
  3159. There is one major caveat, that will hopefully be addressed in future
  3160. versions. On startup, A/UX reinitializes all hardware drivers, including
  3161. the video-drivers; as a result, most accelerated 24-bit cards (all third-
  3162. party cards known to date, as well as Apple's old 8*24 GC card) will be
  3163. reinitialized to run in non-accelerated mode. You'll still get 24-bit video,
  3164. but depending on your hardware, it may be painfully slow.
  3165.  
  3166. This could be solved by better driver support from the vendors of accelerated
  3167. video cards. Certain vendors have been promising such support for awhile now.
  3168.  
  3169. The best hardware to run A/UX with 24-bit video enabled are currently
  3170. the Quadra 700, 900, and 950, whose internal video can be populated with
  3171. enough VRAM to support 24-bit color (note that the Q800 cannot do this !).
  3172. Performance is considered good under A/UX by many users.
  3173.  
  3174. The following is a list of 24-bit cards that readers have reported work with
  3175. A/UX from personal experience. It is NOT a complete list; there have been no
  3176. reports of cards that work under MacOS but not A/UX (excepting the caveat
  3177. detailed above):
  3178.  
  3179.     Apple 8*24, 8*24GC
  3180.     Quadra 700, 900, 950 internal video
  3181.     PrecisionColor PRO 24xp
  3182.     RasterOps 24STV, Paintboard li
  3183.     Radius 24XP, 24XK
  3184.  
  3185. =================================================
  3186. D.19)  What's the specifics on the AWS95 PDS Card?
  3187. -------------------------------------------------
  3188.  
  3189. The AWS95 PDS Card (known as "Pisces") has two main functional additions to
  3190. the Q950. The first is that it includes an external level-2 cache for the
  3191. Quadra's 68040. The cache size is 128K, but this can be increased with Apple
  3192. provided SRAM upgrade kits. The use of a L2 cache increases the base perfor-
  3193. mance of the Q950.
  3194.  
  3195. The second capability that Pisces includes is the addition of two additional
  3196. upgraded SCSI buses. Pisces fully supports Direct Memory Access (DMA) on these
  3197. SCSI buses. This can greatly increase SCSI throughput by offloading SCSI
  3198. operations to the PDS card. The card supports active termination and negation
  3199. on the 2 SCSI DMA buses, improving signal quality and integrity.
  3200.  
  3201. =================================================
  3202. D.20)  What are the specifics of SCSI under A/UX?
  3203. -------------------------------------------------
  3204.  
  3205. SCSI under A/UX is SCSI-1/CCS and not SCSI-2. However, A/UX can use most
  3206. SCSI-2 devices. Problems will arise on some SCSI-2 disks if their Error
  3207. Correction Mode Pages are incorrect (See Q&A D.04). A/UX supports SCSI
  3208. connect/disconnect which results in more efficient use of the SCSI bus.
  3209. Finally, A/UX provides asynchronous I/O as well.
  3210.  
  3211. =========================================================
  3212. D.21)  I can't get my LaserJet 4M to work reliably. Help!
  3213. ---------------------------------------------------------
  3214.  
  3215. Bad news... for some reason, if the LaserJet is connected _directly_ to a
  3216. Q700 running A/UX via AppleTalk then it won't work. If you have a router or
  3217. something similar between the two it'll work like a hose. It looks like it's
  3218. most probably a 4M ROM bug and I hear that HP is "working" on a fix.
  3219.  
  3220. ==========================================================
  3221. D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  3222. ----------------------------------------------------------
  3223.  
  3224. No it doesn't... This is due to the way the Adjustable keyboard actually
  3225. works and the fact that A/UX doesn't fully support the ADB Manager. :(
  3226.  
  3227. ===============================================================================
  3228. D.23)  How can I increase the number of inodes when creating a new file system?
  3229. -------------------------------------------------------------------------------
  3230.  
  3231. There is a limit on the number of inodes per cylinder group (2048). Large
  3232. disks (2-4GB) are setup so that each cylinder group is quite large (>5MB)
  3233. so that when 'newfs' creates the file system, it hits the limit quickly
  3234. and you end up with a disk with a "small" amount of inodes.
  3235.  
  3236. The trick is to use the '-c' option to 'newfs' to make each cylinder
  3237. smaller by reducing the number of cylinders per group. In many cases,
  3238. 'newfs -c 8' works well. Of course, you should use this in combination
  3239. with the '-i' option as well.
  3240.  
  3241. =========================================
  3242. D.24)  Can I use my Zip Drive under A/UX?
  3243. -----------------------------------------
  3244.  
  3245. You certainly can. There are some tricks in getting it to work and be
  3246. usable under the MacOS environment, but they are pretty easy.
  3247.  
  3248. First of all, the device-files (slice31) for the Zip drive needs to be readable
  3249. and writable by the person using the MacOS. If you are the sole user of the
  3250. A/UX machine, then it's easy:
  3251.  
  3252.     % chown <yourname> /dev/rdsk/cXd0s31 /dev/dsk/cXd0s31
  3253.  
  3254. where 'X' is the SCSI ID of the Zip. If your system is multi-user, then you'll
  3255. need to:
  3256.  
  3257.     % chmod 666 /dev/rdsk/cXd0s31 /dev/dsk/cXd0s31
  3258.  
  3259. You need to have the Zip catridge in the drive while the MacOS-A/UX environ-
  3260. ment is booting for the disk to be mounted.
  3261.  
  3262. If you will be using the Zip only as a UNIX file system, here are some hints:
  3263.  
  3264.     o Use HD SC Setup (the A/UX version) to create the Partition and
  3265.       file system. Don't bother with 'newfs' unless you need to alter
  3266.       the number of inodes created; Use the 'Generic|other' entry in
  3267.       /etc/disktab
  3268.  
  3269.     o You'll need to manually eject the disk when done with it and after
  3270.       it's 'umount'ed
  3271.  
  3272.     o DON'T eject the disk if it's still mounted !!
  3273.  
  3274.  
  3275. :::::::::::::::::::::::::::::::::::
  3276. ::::: PORTING AND PROGRAMMING :::::
  3277. :::::::::::::::::::::::::::::::::::
  3278.  
  3279. ================================================================
  3280. P.01)  How come rn|elm|less|etc... act weird concerning signals?
  3281. ----------------------------------------------------------------
  3282.  
  3283. Well, it's not really them at all. Many people have found that more than a
  3284. few ports require the addition of the 'set42sig()' call to enable BSD 4.2
  3285. signal delivery. The best place to add this is as the 1st executable statement
  3286. under
  3287.  
  3288.     "main() {"
  3289.  
  3290. Another point about porting applications: A/UX's 'cc' does provide "strict"
  3291. BSD, SystemV and Posix libraries. If you are porting a BSD program, you can
  3292. enable BSD "emulation" by adding the "-ZB -lbsd" options to your 'cc' command
  3293. line. In fact, using just the '-lbsd' option alleviates the need for adding
  3294. the 'set42sig()' call mentioned above and is, in many cases, the suggested
  3295. option. Compiling with gcc also helps out a great deal.
  3296.  
  3297. ===================================
  3298. P.02)  Is X11R5 available for A/UX?
  3299. -----------------------------------
  3300.  
  3301. Not anymore :-(
  3302.  
  3303. =====================================================================
  3304. P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  3305.        I'll miss out on all the neat Gnu-stuff like gcc?
  3306. ---------------------------------------------------------------------
  3307.  
  3308. Although it's true that FSF is "boycotting" Apple and A/UX (FSF doesn't like
  3309. Apple's predisposition of suing to protect "look and feel"), ports of most Gnu
  3310. applications are available. Of particular interest is gcc version 2.7.2 which
  3311. has been ported by Jim Jagielski (based on previous ports by John Coolidge
  3312. and is available via anon-ftp on wuarchive.wustl.edu in systems/aux/gnu. The
  3313. binaries, sources and diffs are all available.
  3314.  
  3315. GCC version 2.7.2 for A/UX has been ported and is available... Highly
  3316. recommended!
  3317.  
  3318. As a nice compliment to using GCC, gdb (4.9) is also available.
  3319.  
  3320. %%% For more info about gcc for A/UX, please contact Jim via E-mail %%%
  3321.  
  3322. ==========================================================================
  3323. P.04)  I've ported Elm (or other mail reader) and it doesn't seem to work.
  3324.        Why?
  3325. --------------------------------------------------------------------------
  3326.  
  3327. It seems most likely that the reason is because they attempt to use a
  3328. different file locking scheme that /bin/mail does. Pre-3.0 versions of mail
  3329. used 'flock' style file locking. 3.x.x now uses the '.lock' scheme for mail
  3330. file locking. Elm 2.4.X requires that both flock and .lock be enabled. Elm
  3331. 2.3.X requires _only_ .lock locking.
  3332.  
  3333. =============================================
  3334. P.05)  What languages are available for A/UX?
  3335. ---------------------------------------------
  3336.  
  3337. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as well
  3338. as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter ('bs').
  3339. 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a true FORTRAN-77
  3340. compiler and appears quite workable. I've not used 'sno' (I couldn't recall
  3341. how to program in SNOBOL if my life depended on it :) or 'bs'.
  3342.  
  3343. If you are doing any work in C, then it would be well worth it to get a copy
  3344. of the GNU C compiler ('gcc') (see Q&A #P.03). gcc is K&R and ANSI compatible
  3345. so if you are doing ANSI work you'll need it. Apple also has an ANSI C
  3346. compiler ('c89') that you can buy. It's available on the "A/UX Developer's
  3347. Toolkit CD" from APDA. There is also at least one other 3rd-party C compiler
  3348. out there, but I can't recall it's name right now. gcc is free; c89 runs
  3349. about $800. Both include C++ capabilities.
  3350.  
  3351. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN and Absoft
  3352. MacFORTRAN II. In my opinion, MacFORTRAN II is the better product...  it has
  3353. finer compiler control, a wide number of compatibility options (such as VAX
  3354. FORTRAN) and excellent speed. If you do order MFII, be _sure_ to get the A/UX
  3355. version. They also sell an MPW version that will work under A/UX but it's
  3356. run under, you guessed it, MPW. The A/UX version is a true "Unix" compiler
  3357. and it's optimized for A/UX. Both MFII and NKR FORTRAN run about $500-$600.
  3358.  
  3359. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers are
  3360. based on the GreenHills compilers which are known to be robust and fast.
  3361. However, the Oasys packages are expensive, running about $2000 per language
  3362. (although you do get assemblers and linker/loaders with the package).  Unisoft
  3363. used to distribute their "Optimizing Compilers" (FORTRAN and C) for A/UX,
  3364. but they are no longer available... Pity, because they also were based on
  3365. GreenHills and were quite nice.
  3366.  
  3367. At present, I know of no true Pascal compilers for A/UX.
  3368.  
  3369. Finally, if you are doing program development, then you'll need a good
  3370. debugger. As described above in "List of ports...", gdb has been ported if
  3371. you would prefer using something other than sdb or dbx, which are included
  3372. with A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  3373. debugger which has been fine-tuned to work with MFII (it also does quite well
  3374. with C); it's called FX. It has two interfaces, character and Motif, and is
  3375. quite powerful.
  3376.  
  3377. =======================================
  3378. P.06)  Is OSF/Motif available for A/UX?
  3379. ---------------------------------------
  3380.  
  3381. The only source for OSF/Motif (1.1.4) for A/UX that I know of is:
  3382.  
  3383.    Integrated Computer Solutions
  3384.    201 Broadway
  3385.    Cambridge, MA 02139
  3386.    617-547-0510
  3387.  
  3388. However, they have stopped producing this and have since stopped support for
  3389. A/UX OSF/Motif. They may still have a few copies of it available, so if you
  3390. don't mind using unsupported software, give them a call.
  3391.  
  3392. If you have, or can get, the actual source code for Motif then the following
  3393. will be of some help: 1.1.4 compiles with minimal changes to the source using
  3394. 'cc' and works "great." However, the source for 1.2.2 makes calls to various
  3395. XIM multi-character routines, leaving many unresolved externals when linking.
  3396. Now, if someone ported X11R5 and left the XIM routines intact, then maybe
  3397. compiling and linking 1.2.2 would go off without a hitch... Any takers??
  3398.  
  3399. =============================================================
  3400. P.07)  While trying to port some software, the Makefile looks
  3401.        for a program called 'ranlib' and dies when it can't
  3402.        find it. What is it and where can I get it.
  3403. -------------------------------------------------------------
  3404.  
  3405. 'ranlib' is a program that increases the efficiency of accessing and using
  3406. archives (*.a files). A/UX's 'ar' already does this, so it isn't needed.
  3407. To get around this, do something like:
  3408.  
  3409.     ln /bin/true /bin/ranlib
  3410.  
  3411. You could also use '/bin/touch' but the above will (hopefully) take care of
  3412. cases when ranlib is called with options. If you want to put 'ranlib'
  3413. somewhere else, then that's OK. If the location is a different file system,
  3414. then you'll need to use a symbolic link:
  3415.  
  3416.     ln -s /bin/true /usr2/local/bin/ranlib
  3417.  
  3418. ============================================================
  3419. P.08)  When compiling, I get the message that 'setlocale' is
  3420.        an "undefined symbol"... what's going on?
  3421. ------------------------------------------------------------
  3422.  
  3423. The 'locale' suite can be found in /lib/libposix.a. To avoid linking to
  3424. libposix.a you can do the following to create a separate locale library:
  3425.  
  3426.    $ ar xv /lib/libposix.a locale.o
  3427.    $ ar rv /usr/lib/liblocale.a locale.o
  3428.  
  3429. Now you can simply link to '-llocale' to add it in.
  3430.  
  3431. A better fix would be to grab and use libUTIL, a collection of useful and
  3432. needed functions for any serious porting effort (see Hints&WOW, above).
  3433. libUTIL is maintained by Jim Jagielski and can be found on jagubox.
  3434.  
  3435. =========================================
  3436. P.09)  How in the world do I use nlist()?
  3437. -----------------------------------------
  3438.  
  3439. The nlist structure used by nlist() is a very weird beast. The structure
  3440. itself contains a union, which can cause problems with automatic initialization
  3441. of nlist. In particular, there are specific times when you need to use
  3442. "n_name" and other times when you must use "n_nptr".
  3443.  
  3444. Here's the deal:
  3445.  
  3446.    o If the variable name is less than 8 characters in length (as defined
  3447.      by strlen()), then the NULL-terminated string should be copied into
  3448.      'n_name'.
  3449.  
  3450.      EG: var = "timbuf"; strcpy(nl.n_name, var);
  3451.  
  3452.    o If the variable name is exactly 8 characters in length, _only_
  3453.      those 8 characters should be copied into the 'n_name' field; The
  3454.      '/0' character should _NOT_ be copied as well.
  3455.  
  3456.      EG: var = "longlook"; strncpy(nl.n_name, var, 8);
  3457.  
  3458.    o If the variable name is greater than 8 characters in length, 'n_ptr'
  3459.      should be set to the pointer to that string and 'n_zeroes' be set to
  3460.      0.
  3461.  
  3462.      EG: var = "clock_offset"; nl.n_ptr = var;
  3463.  
  3464.  
  3465.  
  3466. :::::::::::::::::::::::::
  3467. ::::: COMMUNICATION :::::
  3468. :::::::::::::::::::::::::
  3469.  
  3470. ===========================================================================
  3471. C.01)  I'm unable to start a getty process on a built-in serial port. When
  3472.        I use 'setport' to enable the port, I get a "no such device" error.
  3473.        Configuring /etc/inittab to respawn getty on the port has no effect.
  3474. ---------------------------------------------------------------------------
  3475.  
  3476. AppleTalk is probably enabled for the port. The getty process can be started
  3477. temporarily by turning off AppleTalk via A/UX's Finder Chooser and THEN
  3478. using the 'setport' command.
  3479.  
  3480. You can permanently disable AppleTalk by reconfiguring the kernel with
  3481. "newconfig noappletalk". If you wish to keep the drivers installed in the
  3482. kernel but still want to "permanently" disable AppleTalk, you can edit
  3483. /etc/startup to prevent AppleTalk from initializing and /etc/inittab can be
  3484. editted to start getty. (NOTE: /etc/startup is regenerated by newconfig so
  3485. you'll have to redo this if you reconfigure the kernel).
  3486.  
  3487. If you don't have an EtherTalk card installed, then you can also modify
  3488. /etc/appletalkrc to point to "ethertalk0" instead of "localtalk0". Doing
  3489. this stops AppleTalk from bothering the serial port because it tries to use
  3490. the non-existant card.
  3491.  
  3492. =============================================================================
  3493. C.02)  I am using and depending on /etc/hosts to do all my hostname resolving
  3494.        (i.e. not using named or /etc/resolv.conf). How come I can't mail
  3495.        to other hosts, but I can ping|ftp|etc... them?
  3496. -----------------------------------------------------------------------------
  3497.  
  3498. Well, the problem is actually with sendmail (in /usr/lib). sendmail (under
  3499. A/UX 2.0 and later) assumes the use of a nameserver. Pre-2.0 versions were
  3500. "adjusted" to look in /etc/hosts if any nameserver call failed (which it
  3501. would if it wasn't running, of course :).
  3502.  
  3503. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked sendmail 5.65 for A/UX
  3504. to have it also check /etc/hosts. The source code is available on jagubox.
  3505.  
  3506. You may also want to upgrade to smail 3.1.28. smail is a very powerful yet
  3507. easy to configure (and maintain) replacement for sendmail. It can both query
  3508. the NameServer as well as look in /etc/hosts to "interpret" hostnames. The
  3509. required A/UX-related diffs and patches, which were written by Bob Denny
  3510. (denny@alisa.com) are available on jagubox.
  3511.  
  3512. %%% For more info, contact Jim %%%
  3513.  
  3514. ========================================================================
  3515. C.03)  When I try to mail something, I get the following error message:
  3516.        "Cannot read frozen config file: not a typewriter". What's wrong?
  3517. ------------------------------------------------------------------------
  3518.  
  3519. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  3520. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  3521. distribution which has it as a 0-byte file). To create a "new" frozen file
  3522. of your present sendmail.cf file (assuming that it's good), type:
  3523.  
  3524.     $ /usr/lib/sendmail -bz
  3525.  
  3526. (the sendmail daemon, if it exists, must be killed 1st).
  3527.  
  3528. ==========================================================================
  3529. C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  3530.        on tty0?
  3531. --------------------------------------------------------------------------
  3532.  
  3533. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400
  3534. (or whatever speed you want, such as mo_9600):
  3535.  
  3536.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  3537.  
  3538. Make sure that your modem is set to be quiet, to not return result codes and
  3539. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  3540. achieve this for most Hayes-compatible modems except certain (all) USR
  3541. modems). Your modem must also raise DCD on connection ("at&c1") in order to
  3542. have Dialup security (i.e. when the line is closed, HangUp the process.  This
  3543. means that MODEM flow control must be specified in gettydefs). You then save
  3544. these changes using the "at&w" sequence. Finally, to make it autoanswer, be
  3545. sure to add "ats0=1&w".
  3546.  
  3547. Make sure that the modem cable is correctly configured (NOTE: This is for
  3548. Dialup Security!):
  3549.  
  3550.     Mac       Modem
  3551.     --------------------
  3552.     1 (HskO)  20 (DTR)
  3553.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  3554.     2 (HskI)  8  (DCD)
  3555.     3 (TxD-)  2  (TxD)
  3556.     4 (GDN)   7  (Sgnd)
  3557.     5 (RxD-)  3  (RxD)
  3558.     6 NO CONNECT
  3559.     7 NO CONNECT
  3560.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  3561.  
  3562. If you mess up pin 8 things can get so flaky that you'll never figure out
  3563. what's going on. You see, by grounding pin 8, you make the modem port truly
  3564. RS-232 compatible. If not grounded, the port will use the RS-422 standard,
  3565. which can cause lots of problems. For more info about pinouts and cable
  3566. pinouts, check out "/usr/lib/uucp/README".
  3567.  
  3568. Please note that getty is the bidirectional version of getty, which is
  3569. sometimes known as uugetty. Thus, you can have dial in and dial out at the
  3570. same time on the same port. You should be using at least version 1.16 of HDB
  3571. (see above: "known bugs" and Q&A #A.16)
  3572.  
  3573. As mentioned above, the cable described provides for Dialup Security and
  3574. prevents the use of hardware flow control... If, however, the exact same
  3575. baudrate is used throughout the phone link, the need for hardware flow
  3576. control is greatly reduced.
  3577.  
  3578. ========================================================================
  3579. C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  3580.        there, and they can't talk to me?
  3581. ------------------------------------------------------------------------
  3582.  
  3583. The reason why is because there are two versions of talk (and it's daemon
  3584. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  3585. The two aren't compatible and don't even talk on the same port. If you try
  3586. to talk to someone and all you get is a "Checking for invitation..." message
  3587. then it's because the machine you're trying to access is using 4.3.
  3588.  
  3589. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  3590. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  3591. can have both versions available and running with no problems. The port is
  3592. available on jagubox.gsfc.nasa.gov.
  3593.  
  3594. =====================================================
  3595. C.06)  How can I convince A/UX to forward IP packets?
  3596. -----------------------------------------------------
  3597.  
  3598. You will need to use 'adb' to adjust the A/UX kernel to enable IP forwarding.
  3599. This is done by changing the value of the 'ipforwarding' "variable" from
  3600. 0 (no forwarding) to 1 (enable forwarding).
  3601.  
  3602. As root, and in single-user mode, apply this patch:
  3603.  
  3604.     # Enable fowarding: just the kernel
  3605.     adb -w -k /unix << Foo
  3606.     ipforwarding?D
  3607.     ipforwarding?W 1
  3608.     $w
  3609.     $q
  3610.     Foo
  3611.  
  3612. And reboot.
  3613.  
  3614. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  3615. unless you apply the patch to /etc/install.d/boot.d/bnet as follows:
  3616.  
  3617.     # Enable fowarding: keep it that way
  3618.     adb -w /etc/install.d/boot.d/bnet << Foo
  3619.     ipforwarding?D
  3620.     ipforwarding?W 1
  3621.     $w
  3622.     $q
  3623.     Foo
  3624.  
  3625. =================================
  3626. C.07)  Is PPP available for A/UX?
  3627. ---------------------------------
  3628.  
  3629. Unfortunately, I know of no port of PPP for A/UX :(
  3630.  
  3631. ================================================
  3632. C.08)  How can I change the MTU value for CSlip?
  3633. ------------------------------------------------
  3634.  
  3635. You will need to use 'adb' to adjust either the kernel or the CSlip driver to
  3636. change this value (slip_mtu).  As root, and in single-user mode, apply this
  3637. patch (please replace $THE_VALUE with the actual HEX value you want MTU to be):
  3638.  
  3639.     # Change SLIP MTU value to $THE_VALUE: just the kernel
  3640.     adb -w -k /unix << Foo
  3641.     slip_mtu?d
  3642.     slip_mtu?w $THE_VALUE
  3643.     $w
  3644.     $q
  3645.     Foo
  3646.  
  3647. And reboot.
  3648.  
  3649. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  3650. unless you apply the patch to /etc/install.d/boot.d/cslip as follows:
  3651.  
  3652.     # Change SLIP MTU value to $THE_VALUE: keep it that way
  3653.     adb -w /etc/install.d/boot.d/cslip << Foo
  3654.     slip_mtu?d
  3655.     slip_mtu?w $THE_VALUE
  3656.     $w
  3657.     $q
  3658.     Foo
  3659.  
  3660. Now run 'newconfig -v' and reboot.
  3661.  
  3662. ==================================================================
  3663. C.09)  I'm having trouble having Solaris 2.4 NFS clients access my
  3664.        NFS server!
  3665. ------------------------------------------------------------------
  3666.  
  3667. On your Solaris client, you need to add the 'rsize=1024 wsize=1024' parameters
  3668. to your mount option.
  3669.  
  3670. ====================================================================
  3671. C.10)  I'm running a busy web-server and clients are getting lots of
  3672.        'Connection Refused' messages... Why?
  3673. --------------------------------------------------------------------
  3674.  
  3675. This may be due, most probably, by the small size of A/UX's listen()
  3676. backlog queue. This queue is basically the number of pending connections
  3677. listen will allow. Under A/UX, this value (known as SOMAXCONN) is a measly
  3678. 5. Since Netscape, for example, send 4 connection-requests per connect, you
  3679. can see how you would over-reach the queue quickly if your server is busy.
  3680.  
  3681. Jim Jagielski (jim@jaguNET.com) has written a small shell-script that uses
  3682. 'adb' to patch the kernel 'bnet' module to increase the queue limit from
  3683. 5 to 32. It's available on jagubox.gsfc.nasa.gov in /pub/aux/Sys_stuff
  3684.  
  3685.  
  3686. ::::::::::::::::::::::::::::
  3687. ::::: ERRORS EXPLAINED :::::
  3688. ::::::::::::::::::::::::::::
  3689.  
  3690. ============================================================================
  3691. E.01)  How do I keep command lines that I edit with "backspace" from erasing
  3692.        the prompt?
  3693. ----------------------------------------------------------------------------
  3694.  
  3695. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  3696. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  3697. running 'ksh' then you can "set -o viraw" to prevent this from happening.
  3698. As far as I know, there are no work-arounds for 'sh' or 'csh'. ('tcsh' and
  3699. 'bash' do not suffer from this problem... )
  3700.  
  3701.  
  3702. ==========================================================================
  3703. E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  3704.        a fatal server error. Why?
  3705. --------------------------------------------------------------------------
  3706.  
  3707. The reason why is because both X and the CommandShell want _complete_ control
  3708. over your Mac (display, keyboard and mouse). So, when you try to start one
  3709. while running the other, you'll get into trouble. You need to start X either
  3710. from the Console Emulator Mode or by choosing it as your "session type" from
  3711. the Login screen (This session type will be available only if your installed
  3712. Apple's X).
  3713.  
  3714. ====================================================================
  3715. E.03)  I keep on getting the following error message on the Console:
  3716.        "fcntl: local lock manager not registered". What's going on?
  3717. --------------------------------------------------------------------
  3718.  
  3719. This is printed out whenever your kernel is configured for NFS and a file-
  3720. lock is attempted (as when sending Email) but the NFS lock daemon (rpc.lockd)
  3721. isn't running. This is most probably due to the fact that it wasn't started
  3722. in /etc/inittab. The fix is simple: enable rpc.lockd (and it's companion
  3723. rpc.statd) in /etc/inittab as follows:
  3724.  
  3725.    nfs5:2:wait:/etc/rpc.statd   # set to "wait" for NFS status monitor
  3726.    nfs6:2:once:/etc/rpc.lockd   # set to "once" for NFS lock manager
  3727.  
  3728. and either Restart A/UX or simply type 'init q'.
  3729.  
  3730. ===============================================================
  3731. E.04)  When I try to startup 'xterm', I get the following error
  3732.        message: "xterm: no available ptys"... What gives?
  3733. ---------------------------------------------------------------
  3734.  
  3735. There are three possible solutions:
  3736.  
  3737.     1. Make sure that there are ptys configured into the
  3738.        kernel... Use 'kconfig' to check that NPTY is non-0
  3739.     2. For at least one user, copying the /usr/lib/X11/xterm*.tic files
  3740.        to /usr/lib/terminfo/x/xterm(s) worked...
  3741.     3. One final possible solution is to start 'xterm' from 'sh'.
  3742.  
  3743. ========================================================================
  3744. E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  3745.        these commands, they get a "no mem" error message. What's wrong?
  3746. -------------------------------------------------------------------------
  3747.  
  3748. Both these commands require read access to /dev/kmem, which is not allowed
  3749. for regular users. Thus, the programs require that they be suid or sgid to
  3750. the user or group that can read /dev/kmem. See if this is true and fix if
  3751. not.
  3752.  
  3753. //////////////////////  END OF PART 4 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  3754.  
  3755. =====================================
  3756. **** Author's/Editor's Signature ****
  3757. -------------------------------------
  3758. --
  3759. #include <std/disclaimer.h>
  3760.   Jim Jagielski
  3761.   NASA/GSFC
  3762.