home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / aux_faq / part1 / text0000.txt < prev   
Encoding:
Text File  |  1994-04-12  |  48.1 KB  |  1,105 lines

  1. Archive-name: aux-faq/part1
  2. Last-modified: Tue Apr 12 09:25:29 EDT 1994
  3.  
  4.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  5.  
  6.  
  7. FAQ for A/UX
  8. ============
  9.  
  10. This FAQ list is intended to cut down on the number of "often asked questions"
  11. that make the rounds here on comp.unix.aux. Also included you'll find a few
  12. words of wisdom as well as some general information for the A/UX community.
  13. This list assumes that you are familiar with Unix (to some extent) but are
  14. curious about A/UX's eccentricities. The list will concentrate on A/UX 3.x.x
  15. but may also have info about previous versions. If you don't understand
  16. something in the FAQ List, and a "Point of Contact" isn't specified, then
  17. contact me and I'll attempt to help or else point you to someone who can.
  18. In any case, let me know how I can make the list more clear.
  19.  
  20. This FAQ is written in a format that EasyView (for the Mac) can understand
  21. and make use of. EasyView provides a very nice front-end for viewing,
  22. browsing and reading the FAQ. EasyView is available via anon-ftp on
  23. jagubox.gsfc.nasa.gov.
  24.  
  25. The list will be posted biweekly (every other Tuesday) on comp.unix.aux as
  26. well as news.answers and comp.answers. It is also available via anonymous
  27. ftp on jagubox.gsfc.nasa.gov.
  28.  
  29. There is a frozen FAQ that deals with A/UX 2.0.1 which is available via
  30. anon-ftp on jagubox (FAQ.aux.201). This FAQ will be posted monthly (or so)
  31. on comp.unix.aux.
  32.  
  33. Since 3.0.2 is official, released and free, I will not mention things broken
  34. in 3.0.1 that are fixed in 3.0.2. I will also tend to "ignore" 3.0.1 except
  35. where needed... This is due to the fact that the upgrade to 3.0.2 (from 3.0.1)
  36. _is_ free, so if you have 3.0.1, you really _should_ upgrade to 3.0.2.
  37.  
  38. I will tend to use 3.0.2 as the name of the general version of A/UX and
  39. 3.0.2(wgs) as the version for the AWS95 even though this is kinda confusing
  40. since the WGS version is really 3.0.2 and the version for the rest of us is
  41. 3.0.2bc. Anyway, 3.0.x will be used to mean 3.0, 3.0.2 and 3.0.2(wgs).
  42.  
  43. Now that 3.1 is released and shipping, I'll start folding 3.1-specific items
  44. in as well. 3.x.x means 3.1, 3.0.2, 3.0.1 and 3.0.
  45.  
  46. This FAQ is "copyrighted" in the same sense that all other FAQs are copy-
  47. righted: the FAQ may be _freely_ redistributed as long as the author's/editor's
  48. name and this notice is included. If contents of this FAQ are to be published,
  49. then you should ask the author's/editor's permission to do so.
  50.  
  51. Send your additions|modifications to Jim Jagielski (jim@jagubox.gsfc.nasa.gov)
  52. (editor's notes are included as <<ED: ...>>). I will tend to refer to myself
  53. in the 3rd person in the Q&A section.
  54.  
  55. =============================
  56. **** Significant Changes ****
  57. -----------------------------
  58.  
  59. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  60. |Significant changes/additions since last posting:
  61. |   Changes signified by "|" in 1st column;
  62. |   Additions by "+" in the 1st column;
  63. |   Deletions by "-" in the 1st column (the line will be
  64. |    deleted in the next posting)
  65. |
  66. + Ports: Added 'perl' and Mosiac
  67. | Ports: wuarchive-ftpd now up to 2.3
  68. + WOW: Added: 'sh' line lengths
  69. + Added: G.10: The future of A/UX
  70. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  71.  
  72.  
  73. ============================
  74. **** TABLE OF CONTENTS: ****
  75. ----------------------------
  76.  
  77. o List of Contributors to A/UX FAQ List
  78. o List of anon-ftp archives for A/UX
  79. o List of security-related issues
  80. o List of known bugs and patches under A/UX 3.x.x
  81. o List of ported software
  82. o Partial list of compatible shareware|freeware
  83. o Hints and Words Of Wisdom
  84. o Q&A-
  85.    GENERAL QUESTIONS:
  86.    G.01)  What's A/UX? Is it any good?
  87.    G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  88.    G.03)  What's new about A/UX 3.x.x?
  89.    G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  90.    G.05)  How can I order A/UX?
  91.    G.06)  What's the upgrade path for A/UX 3.0.2?
  92.    G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  93.    G.08)  How can I report bugs that I find?
  94.    G.09)  What's the word on A/UX 3.1?
  95. +  G.10)  What's the future of A/UX with the PowerMacs?
  96.  
  97.    ADMINISTRATION ISSUES:
  98.    A.01)  How come my Login screen is gray, not color?
  99.    A.02)  How come my Login ScreenSaver doesn't see both my monitors?
  100.    A.03)  Even though I have lot's of swap space and only a little bit is
  101.           being used, I STILL get a lot of messages saying that my swap
  102.           space is running low. What's the buzz?
  103.    A.04)  How can I copy a complete file system from one disk|partition to
  104.           another?
  105.    A.05)  What's with UUCP?
  106.    A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  107.           but it doesn't work.
  108.    A.07)  How come when I do a 'df' as a regular user, it shows me a different
  109.           number of free blocks compared to when I run it as 'root'?
  110.    A.08)  Does A/UX LocalTalk support IP?
  111.    A.09)  How do I get MPW 3.1 to work? It hangs my system...
  112.    A.10)  Can I refer to a file on my Mac system from within A/UX?
  113.    A.11)  How can I adjust the amount of virtual memory Finder uses?
  114.    A.12)  Is there an archive of comp.unix.aux out there somewhere?
  115.    A.13)  How come I can't use color under X?
  116.    A.14)  Using the command shell interface, I'm trying to access some Mac
  117.           files (that have strange names) but I can't; the program returns an
  118.           error message I can't access the file. What's going on?
  119.    A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  120.           hard disk. Well, it doesn't on mine!
  121.    A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  122.           how can I get it?
  123.    A.17)  How can I configure CAP under A/UX?
  124.    A.18)  What are some good books about A/UX?
  125.    A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  126.           error message and A/UX won't boot. What can I do?
  127.  
  128.    MAC-EMULATION QUESTIONS:
  129.    M.01)  What Mac applications are compatible with A/UX?
  130.    M.02)  What screen-savers are compatible with A/UX?
  131.    M.03)  My MacOS partition mounts fine under MacOS but it doesn't show
  132.           up under A/UX... Why?
  133.    M.04)  I have MacsBug installed. How can I trigger it?
  134.    M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  135.           up; how can I unfreeze it? Should I hit the Interrupt switch?
  136.    M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use
  137.           Phase 1 under A/UX?
  138.    M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  139.           Also, sometimes things get transfered fine, othertimes not. What's
  140.           going on?
  141.    M.08)  Do I install CDEVs and Extensions in the System Folder on
  142.           MacPartition or on the "/" A/UX disk.
  143.    M.09)  I heard that A/UX requires a special version of System 7 to boot...
  144.           Is this true?
  145.    M.10)  After the Mac environment crashes (or when I use MacsBug), the
  146.           Desktop gets all screwed up... Argg!!
  147.    M.11)  My MacOS partition(s) only show up on the Desktop when I login
  148.           as root. Why?
  149.    M.12)  For some reason, my CommandShell only responds to a keyboard
  150.           event after it receives a second event. For example, typing "a"
  151.           won't show until I type something else or click the mouse.
  152.           What gives?
  153.    M.13)  Can A/UX 3.x.x run System 7.1?
  154.    M.14)  What version of AppleTalk does A/UX run?
  155.    M.15)  I've just installed MacTCP 2.0.2|4 on A/UX and nothing works!
  156.           What's going on?
  157.  
  158.    DEVICES AND PERIPHERALS:
  159.    D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  160.    D.02)  I have an EtherNet card that works fine under the Macintosh OS
  161.           but not under A/UX. Why?
  162.    D.03)  Can I use my scanner under A/UX?
  163.    D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to
  164.           work. I keep on getting a "more data than device expected" error
  165.           message. What's wrong?
  166.    D.05)  What 3-button mice work under A/UX (and X)?
  167.    D.06)  Is it worth getting a cache card for the IIci?
  168.    D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  169.    D.08)  Which serial cards work under A/UX?
  170.    D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print
  171.           something to it through 'lpr', the first line of the page is cut
  172.           off. Why?
  173.    D.10)  I'm trying to access my tape drive using 'tc' (with something like
  174.           "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  175.    D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  176.    D.12)  I've tried to install the CD Remote extension to A/UX so that
  177.           I can play audio CD's, but it doesn't work...
  178.    D.13)  What UNIX CD-ROM formats does A/UX support?
  179.    D.14)  How can I add printers other than those available in Chooser?
  180.    D.15)  What 3rd party accelerators are compatible with A/UX?
  181.    D.16)  Will the old serial HP DeskWriter work under A/UX?
  182.    D.17)  How can I use a HP DeskWriter under A/UX?
  183.    D.18)  Does A/UX support 24-bit color?
  184.    D.19)  What's the specifics on the AWS95 PDS Card?
  185.    D.20)  What are the specifics of SCSI under A/UX?
  186.    D.21)  I can't get my LaserJet 4M to work reliably. Help!
  187.    D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  188.  
  189.    PORTING AND PROGRAMMING
  190.    P.01)  How come rn|elm|less|etc... act weird concerning signals?
  191.    P.02)  Is X11R5 available for A/UX?
  192.    P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  193.           I'll miss out on all the neat Gnu-stuff like gcc?
  194.    P.04)  I've ported Elm (or other mail reader) and it doesn't seem to
  195.           work... Why?
  196.    P.05)  What languages are available for A/UX?
  197.    P.06)  Is OSF/Motif available for A/UX?
  198.    P.07)  While trying to port some software, the Makefile looks
  199.           for a program called 'ranlib' and dies when it can't
  200.           find it. What is it and where can I get it.
  201.  
  202.    COMMUNICATION:
  203.    C.01)  I'm unable to start a getty process on a built-in serial port. When
  204.           I use 'setport' to enable the port, I get a "no such device" error.
  205.           Configuring /etc/inittab to respawn getty on the port has no effect.
  206.    C.02)  I am using and depending on /etc/hosts to do all my hostname
  207.           resolving (i.e. not using named or /etc/resolv.conf). How come I
  208.           can't mail to other hosts, but I can ping|ftp|etc... them?
  209.    C.03)  When I try to mail something, I get the following error message:
  210.           "Cannot read frozen config file: not a typewriter". What's wrong?
  211.    C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  212.           on tty0?
  213.    C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  214.           there, and they can't talk to me?
  215.    C.06)  How can I convince A/UX to forward IP packets?
  216.    C.07)  Is PPP available for A/UX?
  217.    C.08)  How can I change the MTU value for CSlip?
  218.  
  219.    ERRORS EXPLAINED:
  220.    E.01)  How do I keep command lines that I edit with "backspace" from
  221.           erasing the prompt?
  222.    E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  223.           a fatal server error. Why?
  224.    E.03)  I keep on getting the following error message on the Console:
  225.           "fcntl: local lock manager not registered". What's going on?
  226.    E.04)  When I try to startup 'xterm', I get the following error
  227.           message: "xterm: no available ptys"... What gives?
  228.    E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  229.           these commands, they get a "no mem" error message. What's wrong?
  230.  
  231.  
  232. ===============================================
  233. **** List of Contributors to A/UX FAQ List ****
  234. -----------------------------------------------
  235.  
  236. The editor would like to thank all the various people who have contributed
  237. to the A/UX FAQ List (both those that submitted questions as well as those
  238. who submitted answers). Also included under the Q&A section are the relevant
  239. people to contact if you have specific questions about specific A/UX items.
  240. If I've left you out, PLEASE E-mail me!
  241.  
  242.   Brian Bechtel           (blob@apple.com)
  243.   Greg Berryman           (gpb@gpb-mac.sps.mot.com)
  244.   Nick Beser              (beser@aplcomm.jhuapl.edu)
  245.   Manuel Bouyssou         (manuel@apple.com)
  246.   John Coolidge           (coolidge@apple.com)
  247.   Bob Denny               (denny@alisa.com)
  248.   Eric Dittman            (dittman@skitzo.dseg.ti.com)
  249.   John Dundas III         (dundas@salt.jpl.nasa.gov)
  250.   Thomas Eberhardt
  251.   Rick Ewing              (ewing@ctrvax.vanderbilt.edu)
  252.   Ron Flax                (ron@afsg.apple.com)
  253.   Marcelo Gallardo        (marcelo@deadzone.princeton.edu)
  254.   Ben Goren               (ben@tux.fa.asu.edu)
  255.   James Gritton           (gritton@byu.edu)
  256.   Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  257.   Chris Johnson           (cjohnson@brl.mil)
  258.   Bill Johnston           (johnston@me.udel.edu)
  259.   Ron Johnston            (johnston@apple.com)
  260.   Bob Kirby               (kirby@esl.com)
  261.   Nicolas Lenz            (nlenz@sdcc13.UCSD.EDU)
  262.   Darrell Pfeifer         (pfeifer@camins.camosun.bc.ca)
  263.   Phillip Porch           (root@theporch.raider.net)
  264.   Wes Price               (ww2@bullwinkle.ssc.gov)
  265.   Alexis Rosen            (alexis@panix.com)
  266.   Craig Ruff              (cruff@ncar.ucar.edu)
  267.   Jim Ryan                (jryan@adobe.com)
  268.   Paul Sander             (paul@sander.uucp)
  269.   Kent Sandvik            (ksand@apple.com)
  270.   Craig Struble           (cstruble@gnu.ai.mit.edu)
  271.   Richard Todd            (rmtodd@servalan.servalan.com)
  272.   Chuq Von Rospach        (chuq@apple.com)
  273.   Jon W{tte               (d88-jwa@nada.kth.se)
  274.   Earl Wallace            (earlw@macaux.aux.apple.com)
  275.   Bill Woodcock           (woody@zocalo.com)
  276.  
  277.  
  278. =================================================
  279. **** List of anonymous ftp archives for A/UX ****
  280. -------------------------------------------------
  281.  
  282. The following sites have A/UX related archives and materials available via
  283. anonymous ftp (see below for more information):
  284.  
  285. afsg.apple.com                     (130.43.50.2)
  286.     ports and hacks for A/UX
  287.  
  288. aux.support.apple.com              (130.43.6.2)
  289.     the "official" A/UX-support server
  290.     archive of comp.unix.aux
  291.     A/UX patches and some ports;
  292.  
  293. dunkin.Princeton.EDU               (128.112.64.39)
  294.     mirror of jagubox.gsfc.nasa.gov
  295.  
  296. ftp.fenk.wau.nl                    (137.224.129.4)
  297.     mirror of jagubox.gsfc.nasa.gov
  298.  
  299. jagubox.gsfc.nasa.gov              (128.183.44.1)
  300.     FAQ List;
  301.     bunch of ports, utilities, new mini-inews (1.6);
  302.     Apple fixes (in ~ftp/pub/aux/apple.fixes)
  303.  
  304. nada.kth.se                        (130.237.222.71)
  305.     mirror of A/UX items from:
  306.        afsg.apple.com
  307.        aux.support.apple.com
  308.        jagubox.gsfc.nasa.gov
  309.        wuarchive.wustl.edu
  310.  
  311. rascal.ics.utexas.edu              (128.83.138.20)
  312.     misc. ports;
  313.     Mac applications, CDEVs, etc...;
  314.  
  315. redstar.dcs.qmw.ac.uk              (192.135.231.4)
  316.     IIci benchmarking results;
  317.  
  318. wuarchive.wustl.edu                (128.252.135.4)
  319.     ports, GNU stuff; (look in systems/aux)
  320.  
  321.  
  322. =======================================
  323. *** List of security-related issues ***
  324. ---------------------------------------
  325.  
  326. No system is 100% secure. To this end, it makes sense to make each one as
  327. secure as possible, including A/UX.
  328.  
  329. ~~~~~~~~~~~~~~~~~~~~~~
  330. Permissive Permissions
  331. ~~~~~~~~~~~~~~~~~~~~~~
  332.  
  333.   o The default distribution of A/UX has some files with somewhat permissive
  334.     permissions. These should be changed to avoid problems. These files and
  335.     the recommended modes, owners and groups are as follows:
  336.  
  337.       -rwxr-sr-x   1 bin      sys        /bin/ps
  338.       -rwxr-sr-x   1 bin      sys        /bin/pstat
  339.       -rwxr-xr-x   1 bin      bin        /etc/ncheck
  340.       -rwxr-sr-x   1 bin      sys        /usr/bin/lav
  341.       -rwxr-xr-x   1 bin      bin        /usr/bin/X11/xterm
  342.       -rwxr-sr-x   1 bin      sys        /usr/etc/ncstats
  343.       -rwxr-sr-x   1 bin      sys        /usr/etc/nfsstat
  344.       -rwxr-xr-x   1 bin      bin        /usr/etc/rpcinfo
  345.       -rwxr-x---   1 adm      adm        /usr/lib/acct/diskusg
  346.  
  347.     (The removal of SUID-to-root from 'diskusg' means that the cron 'adm'
  348.     accounting package [all the /usr/lib/acct/* stuff] will need to be run by
  349.     'root' instead)
  350.  
  351.     To make changing the user, group and permissions of these files a little
  352.     easier, Jim Jagielski has hacked together an ugly little 'ksh' script
  353.     that does it for you. The info required is self contained in the script
  354.     itself and it's easy to add more entries as required. Look for the script
  355.     on jagubox.gsfc.nasa.gov under "/pub/aux/better.perms" and in
  356.     "/pub/aux/security/better.perms".
  357.  
  358.  o  Also, to close things a little tighter, remove all permissions for
  359.     "others" ('chmod o-rwx') for all files in:
  360.  
  361.       /usr/lib/acct
  362.       /usr/lib/cron
  363.     
  364.   o Only trusted users should be allowed to use 'lpr'. Remove execute
  365.     priviledges for OTHERS and then change '/etc/groups' to make _only_
  366.     trusted users as members of group 'daemon'. If you want, you can dump
  367.     'lpr/lpd' and use 'lp/lpsched'.
  368.  
  369.   o You may want to consider if you really want the 'lp'|'lpr' admini-
  370.     stration programs (such as 'lpadmin', 'lpmove' etc...) executable by
  371.     all. If not, then remove that mode from them ('chmod o-rwx').
  372.  
  373.   o Under 3.x.x, make sure that all files in /dev/scsi are mode 600 with
  374.     owner 'root' and group 'sys'... Get the new 'devscsi' file (available on
  375.     jagubox) to replace what's in /etc/install.d/init.d.
  376.  
  377.   o A/UX also has the 'expreserve' problem. This program (actually called
  378.     'ex3.9preserve' under A/UX) is used by 'vi'|'ex' to "save" canceled
  379.     or killed edit sessions. 'expreserve' saves a copy of the buffer in
  380.     the "/usr/preserve" directory. The program is SUID to root since the
  381.     directory is owned by root, but any other user would do just fine. There's
  382.     also no real need for it to be SUID either. To preserve the use of
  383.     'expreserve' you'll need to create a new user whose sole existance is to
  384.     own "/usr/preserve" and 'ex3.9preserve'.
  385.  
  386.       : Create a new user on the system. Make it totally unused. eg:
  387.  
  388.          /etc/passwd:
  389.            preserve:* void *:33:33:secure preserve:/usr/preserve:/bin/noshell
  390.  
  391.          /etc/group
  392.            preserve:* void *:33:preserve
  393.     
  394.       : Now change the owner and group of /usr/lib/ex3.9preserve and
  395.         /usr/preserve to the above user. Change the mode of 'ex3.9preserve' to
  396.         2111 and 'preserve' to 775:
  397.  
  398.           ---x--s--x   1 preserve  preserve  /usr/lib/ex3.9preserve
  399.           drwxrwxr-x   2 preserve preserve     512 Mar  4 15:46 /usr/preserve
  400.  
  401.     ...and you're done. Now vi/expreserve can write in /usr/preserve but no
  402.     root security hole exists! If this is too much work, then you can just
  403.     remove the SUID bit for 'expreserve'; this will close the hole, but killed
  404.     editting sessions won't be saved (except for root).
  405.  
  406.     (***NOTE*** Replacing 'sh' with the "fixed" version described below
  407.      fixes this hole. Still, having 'expreserve' SUID to root goes against
  408.      the ideal of running programs with the least priviledges possible.)
  409.  
  410.   o The '/lib/librmt.a' library has write permissions for all users. You
  411.     should remove it:
  412.  
  413.       -rw-r--r--   1 root     bin        14734 Mar 23  1993 /lib/librmt.a
  414.  
  415. ~~~~~~~~~~~~~~~~
  416. Other "Gotcha's"
  417. ~~~~~~~~~~~~~~~~
  418.  
  419.   o A number of holes are due to some "wrong" things that '/bin/sh' does
  420.     concerning IFS. To fix this, Apple has released a "corrected" version
  421.     of 'sh' that resets IFS to it's default value before executing a script.
  422.     This fixes some holes that exist in SUID programs that call 'system()'
  423.     or 'popen()' to execute some commands. This replacement version of
  424.     'sh' is available both on aux.support.apple.com and jagubox.gsfc.nasa.gov.
  425.     To install it, follow these directions (assuming you are located in the
  426.     directory where the new 'sh' is located):
  427.  
  428.        $ cp /bin/sh /bin/Osh
  429.        $ cp sh /bin/sh
  430.  
  431.   o By all means, remove the Guest account. Check to make sure that there
  432.     are _no_ users with null-passwords in /etc/passwd.
  433.  
  434.   o The default distribution of A/UX has 'in.fingerd' SUID to root. No
  435.     need for that. Much better to have it run as 'nobody'. You can do
  436.     this by either changing the owner of 'in.fingerd' to 'nobody' and
  437.     keeping it's SUID bit or you can remove the SUID capability and
  438.     tell 'inetd' to run it as 'nobody'. To do the later, you'll need to
  439.     use the new, unofficial replacement of 'inetd' for A/UX (see below:
  440.     "Performance Patches", "Ported s/w" and Q&A A.06). Jim Jagielski has
  441.     also ported a version of 'in.fingerd' that logs fingers. It's available
  442.     via anon-ftp on jagubox.gsfc.nasa.gov. Of course, the most secure option
  443.     is simply to disable 'in.fingerd' totally in '/etc/servers'.
  444.  
  445.   o Root should never use the common System Folder... Due to it's very
  446.     nature it's writable by everyone. Give root a personal System Folder
  447.     and sleep easier :)
  448.  
  449.   o A/UX doesn't support the 'sticky-bit' feature for directories. So
  450.     why not create a directory in your $HOME called '.tmp' with mode 700.
  451.     Now in /etc/profile add:
  452.  
  453.         if [ -d "$HOME/.tmp" ]; then
  454.             EXINIT="set directory=$HOME/.tmp"
  455.             export EXINIT
  456.             TMPDIR="$HOME/.tmp"
  457.             EXPORT TMPDIR
  458.         fi
  459.  
  460.     (To accomodate 'csh' users, you'll will need to edit /etc/cshrc to perform
  461.     the same function) Now most UNIX programs (like 'vi', 'elm', 'cc', 'gcc',
  462.     etc...) will use $HOME/tmp as a safer location for temp-files.
  463.  
  464.  
  465. =========================================================
  466. **** List of known bugs and patches under A/UX 3.x.x ****
  467. ---------------------------------------------------------
  468.  
  469. ~~~~~~~~~~~~~~~
  470. AWS Tune-Up 1.0
  471. ~~~~~~~~~~~~~~~
  472.  
  473.     By far, this is the most important patch you could apply to A/UX 3.0.1.
  474.     It updates it to 3.0.2 and fixes lots of bugs as well as provides better
  475.     performance. The patch is in the form of 2 DiskCopy Image files which
  476.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  477.     download the files and then use DiskCopy to make the Installer disks.
  478.     This is a _free_ upgrade to 3.0.1 and requires 3.0.1.
  479.  
  480. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  481. Performance related patches: 3.0.x
  482. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  483.  
  484.     inetd:
  485.         ***            Unofficial replacement is available            ***
  486.         ***            on jagubox.gsfc.nasa.gov in pub/aux            ***
  487.         ***      This replacement is based on the BSD-reno inetd      ***
  488.         ***  and allows such nice features as rereading /etc/servers  ***
  489.         ***        on receiving SIGHUP, specifying options for        ***
  490.         ***         called daemons and logging when daemons           ***
  491.         ***     are spawned and which host requested the daemon       ***
  492.         {{{{{                                                       }}}}}
  493.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  494.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  495.  
  496.     tc (tape driver device driver):
  497.         Reports incorrect file number when 'mt' is used to skip
  498.         files (fsf and/or bsf).
  499.         Doesn't allow for additional storage capability of extended
  500.         length tapes or hardware compression tape drives.
  501.         Doesn't work with Exabyte 8200s
  502.         ***                                                           ***
  503.         ***       An unofficial replacement version of 'tc' has       ***
  504.         ***     has been written that fixes these bugs as well as     ***
  505.         ***        providing additional capability and support        ***
  506.         ***                    for other drives                       ***
  507.         ***                                                           ***
  508.         ***               3.x.x replacement is available              ***
  509.         ***    on jagubox.gsfc.nasa.gov in pub/aux/NEWtc332.tar.gz    ***
  510.         {{{{{                                                       }}}}}
  511.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  512.  
  513. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  514. Bug-related patches: 3.x.x
  515. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  516.  
  517.     syslogd:
  518.         Doesn't handle some facility (like 'news') logging correctly.
  519.         ***             Unofficial replacement is available           ***
  520.         ***     on jagubox.gsfc.nasa.gov as pub/aux/syslogd.tar.gz    ***
  521.         ***       (contains new /etc/syslogd as well as syslog.h)     ***
  522.         {{{{{                                                       }}}}}
  523.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  524.  
  525.     in.telnetd:
  526.         Leaves ports open and hanging occasionally. Can cause kernel crashes.
  527.         ***            Unofficial replacement is available            ***
  528.         ***                 on jagubox.gsfc.nasa.gov                  ***
  529.         ***         in pub/aux/apple.fixes/unsupported/3.0.x          ***
  530.         {{{{{                                                       }}}}}
  531.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  532.         ####  Please note that it appears that this new version has  ####
  533.         ####    some slight bugs in correctly handling Synchs and    ####
  534.         ####     options negotiation. I have only seen this using    ####
  535.         #### VersaTerm Pro 3.6.2 and connecting to myself via telnet ####
  536.  
  537.     /etc/startup.d/ao,as,ae6:
  538.         Ignores the Broadcast Address value in /etc/NETADDRS.
  539.         ***      If your broadcast address needs to be different      ***
  540.         ***   then the default, you'll need to modify these scripts   ***
  541.         ***     to add 'broadcast "$broadcast"' to the 'ifconfig'     ***
  542.         ***     lines that _don't_ refer to Loopback. Pretty easy     ***
  543.         ***           but Email me if you have questions              ***
  544.  
  545.     /usr/include/dir.h:
  546.         If entered through dirent.h and _SYSV_SOURCE is defined,
  547.         rewinddir() is incorrectly "defined". It assumes that you are
  548.         linking -lposix and will use the "real" rewinddir() function
  549.         found there, when, in fact, you should #define rewinddir
  550.         as done with _BSD_SOURCE.
  551.         ***         A hacked version of dir.h is available on         ***
  552.         ***    jagubox.gsfc.nasa.gov. It only assumes -lposix will    ***
  553.         ***      be included (and the real rewinddir() called) if     ***
  554.         ***             _only_ _POSIX_SOURCE is defined               ***
  555.  
  556.     /usr/include/sys/types.h:
  557.         Incorrectly defines size_t as signed int when every other header
  558.         file defines it as unsigned int.
  559.         ***     Fix is very simple... edit /usr/include/sys/types.h   ***
  560.         ***           and change it from signed to unsigned           ***
  561.  
  562. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  563. Bug-related patches: 3.0.2
  564. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  565.  
  566.     elap:
  567.         A/UX-mac occasionally disappears under Chooser
  568.         ***            Official 3.0.2 patch is now available          ***
  569.         ***           on aux.support.apple.com in aws95/elap          ***
  570.  
  571. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  572. Performance related patches: 3.0
  573. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  574.  
  575.     MacOS System Heap Expansion:
  576.         Not as robust as the _real_ System 7.0.1 capability, thus pre-
  577.         venting you from loading lots of memory hungry Extensions and
  578.         CDEVs.
  579.         ***             Unofficial replacement is available           ***
  580.         ***                 on jagubox.gsfc.nasa.gov                  ***
  581.         ***           in pub/aux/apple.fixes/unsupported/3.0          ***
  582.  
  583. ~~~~~~~~~~~~~~~~~~~~~~~~
  584. Bug-related patches: 3.0
  585. ~~~~~~~~~~~~~~~~~~~~~~~~
  586.  
  587.     as, ao, etheraddr:
  588.         H/W ethernet address is burned in bitwise reverse on Q9?0
  589.         and Ethernet NB card. Thus, ao, as and etheraddr reports the
  590.         incorrect address.
  591.         ***                 3.0 patch is now available                ***
  592.         ***         on aux.support.apple.com in supported/3.0         ***
  593.  
  594.     BNU/HDB UUCP (the whole thing):
  595.         Severe problems as distributed, such as inability to dialout
  596.         with correctly configured modem, etc...
  597.         ***                 3.0 patch is now available                ***
  598.         ***         on aux.support.apple.com in supported/3.0         ***
  599.         ***     This "patch" is a newer version of HDB (to 1.16)      ***
  600.         ***         and adds some Mega-enhancements as well.          ***
  601.         ***                Thanks to Earl Wallace!!!                  ***
  602.         #### If you snagged version 1.14 from aux.support.apple.com  ####
  603.         ####       then be _sure_ to update to version 1.16.         ####
  604.         ####                                                         ####
  605.         ####     Installing BNU 1.6 causes syslogd to break under    ####
  606.         ####    new compiles. This is due to the fact that dial.o    ####
  607.         ####   is replaced in libc.a|libc_s.a when BNU is installed  ####
  608.         ####         To fix, just get the replacement dial.o         ####
  609.         ####           on ftp.apple.com in pub/earlw/dial            ####
  610.  
  611.     csh:
  612.         Doesn't seem to like filename completion.
  613.  
  614.     pstat:
  615.         Depending on the options used, can gobble memory and not release
  616.         it.
  617.         ***             Unofficial replacement is available           ***
  618.         ***                 on jagubox.gsfc.nasa.gov                  ***
  619.         ***           in pub/aux/apple.fixes/unsupported/3.0          ***
  620.  
  621.     rpc.rstatd:
  622.         Doesn't report correct load averages
  623.         ***             Unofficial replacement is available           ***
  624.         ***                 on jagubox.gsfc.nasa.gov                  ***
  625.         ***           in pub/aux/apple.fixes/unsupported/3.0          ***
  626.  
  627.     serial drivers:
  628.         After some use on all Macs (except IIfx and maybe the Quadras)
  629.         the kernel will crash.
  630.         ***  This has been confirmed by Apple but no fix exists yet!! ***
  631.  
  632.     syslogd:
  633.         If BNU 1.6 is installed, syslogd won't work on newly compiled
  634.         programs due to some munging of libc.a|libc_s.a when BNU 1.6
  635.         is installed. See BNU/HDB UUCP above.
  636.  
  637.  
  638. =========================================================
  639. **** List of ported software available via anon-ftp: ****
  640. ---------------------------------------------------------
  641.  
  642. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  643. Already ported and available:
  644. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  645.  
  646. (Included is the person responsible for the port and the location of the port)
  647.  
  648.     Austin KCL (619):
  649.         Thomas Weigert          (weigert@mcs.anl.gov)
  650.         wuarchive.wustl.edu     [???]
  651.  
  652.     bash (1.12):
  653.         John Coolidge           (coolidge@apple.com)
  654.         wuarchive.wustl.edu     [systems/aux/gnu]
  655.  
  656.     bpf (Berkeley Packet Filter):
  657.         Ron Flax                (ron@afsg.apple.com)
  658.         afsg.apple.com          [pub]
  659.  
  660.     emacs 19.21:
  661.         Brent Burton            (brentb@tamsun.tamu.edu)
  662.         isc.tamu.edu            [pub/personal/brentb]
  663.         (The diffs that Brent used, done by Paul Traina, are available
  664.         via anon-ftp on jagubox in the emacs diffs "collection" tarchive)
  665.  
  666.     fortune:
  667.         Phillip P. Porch        (root@theporch.raider.net)
  668.         jagubox.gsfc.nasa.gov   [pub/aux]
  669.  
  670.     gated (2.0.1.14):
  671.         Herb Weiner             (herbw@wiskit.rain.com)
  672.         onion.rain.com          [pub/wiskit]
  673.  
  674.     gcc (1.40 and 2.5.7):
  675.         John Coolidge           (coolidge@apple.com)
  676.         wuarchive.wustl.edu     [systems/aux/gnu]
  677.         jagubox.gsfc.nasa.gov   [pub/aux]
  678.         (See Q&A #P.03)
  679.  
  680.     gdb (4.9):
  681.         John Coolidge           (coolidge@apple.com)
  682.         wuarchive.wustl.edu     [systems/aux/gnu]
  683.  
  684.     GNUtar (1.11.2):
  685.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  686.         jagubox.gsfc.nasa.gov   [pub/aux]
  687.  
  688.     GNUzip (1.2.4):
  689.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  690.         jagubox.gsfc.nasa.gov   [pub/aux]
  691.  
  692.     inetd (BSD/Reno)
  693.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  694.         John Coolidge           (coolidge@apple.com)
  695.         jagubox.gsfc.nasa.gov   [pub/aux]
  696.  
  697.     lemacs (19.6):
  698.         Thomas Eberhardt
  699.         labrea.Stanford.EDU     [pub/gnu/lucid]
  700.  
  701.     libg++ (2.4):
  702.         John Coolidge           (coolidge@apple.com)
  703.         wuarchive.wustl.edu     [systems/aux/gnu]
  704.  
  705.     logging in.ftpd:
  706.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  707.         jagubox.gsfc.nasa.gov   [pub/aux]
  708.         (See Q&A #A.06)
  709.  
  710.     md5:
  711.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  712.         jagubox.gsfc.nasa.gov   [pub/aux]
  713.  
  714. +   Mosiac:
  715. +       Eric Rosen              (eric@cse.ucsc.edu)
  716. +       jagubox.gsfc.nasa.gov   [pub/aux]
  717.  
  718.     msgs:
  719.         Phillip P. Porch        (root@theporch.raider.net)
  720.         jagubox.gsfc.nasa.gov   [pub/aux]
  721.  
  722.     mt2 (replacement for 'mt' tape positioner program... not really
  723.       needed since NEWtc is available that fixes the need for mt2):
  724.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  725.         jagubox.gsfc.nasa.gov   [pub/aux]
  726.  
  727.     mtools (MS DOS floppy access tools):
  728.         Parag Patel             (parag@netcom.com)
  729.         jagubox.gsfc.nasa.gov   [pub/aux]
  730.  
  731.     patch:
  732.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  733.         jagubox.gsfc.nasa.gov   [pub/aux]
  734.  
  735. +   perl (4.036):
  736. +       jagubox.gsfc.nasa.gov   [pub/aux]
  737.  
  738.     pine 3.87:
  739.         Phillip P. Porch        (root@theporch.raider.net)
  740.         jagubox.gsfc.nasa.gov   [pub/aux]
  741.  
  742.     popper:
  743.         Ben Goren               (ben@tux.fa.asu.edu)
  744.         jagubox.gsfc.nasa.gov   [pub/aux]
  745.  
  746.     sendmail 5.65:
  747.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  748.         jagubox.gsfc.nasa.gov   [pub/aux]
  749.         (See Q&A #C.02)
  750.  
  751.     sendmail.cf:
  752.         Alexis Rosen            (alexis@panix.com)
  753.         jagubox.gsfc.nasa.gov   [pub/aux/uucp-sendmail-cf]
  754.         (See Q&A #A.06)
  755.  
  756.     smail 3.1.28:
  757.         Bob Denny               (denny@alisa.com)
  758.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  759.         jagubox.gsfc.nasa.gov   [pub/aux]
  760.  
  761.     talk and talkd (BSD 4.3 versions)
  762.         Steve Green             (xrsbg@dirac.gsfc.nasa.gov)
  763.         jagubox.gsfc.nasa.gov   [pub/aux]
  764.         (See Q&A #C.05)
  765.  
  766.     tcsh (6.03):
  767.         jagubox.gsfc.nasa.gov   [pub/aux]
  768.  
  769.     texinfo (3.1):
  770.         Phillip P. Porch        (root@theporch.raider.net)
  771.         jagubox.gsfc.nasa.gov   [pub/aux]
  772.  
  773.     vtwm (5.1):
  774.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  775.         jagubox.gsfc.nasa.gov   [pub/aux]
  776.  
  777. |   WUARCHIVE ftpd (2.3):
  778.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  779.         jagubox.gsfc.nasa.gov   [pub/aux]
  780.         (See Q&A #A.06)
  781.  
  782.     X11R5:
  783.         John Coolidge           (coolidge@apple.com)
  784.         Thomas Eberhardt
  785.         wuarchive.wustl.edu     [systems/aux/X11R5]
  786.         ftp.uni-stuttgart.de    [soft/mac/aux/x11r5/forAUX3.0]
  787.         (See Q&A #P.02)
  788.  
  789.     xntpd (3.3j):
  790.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  791.         John Dundas III         (dundas@salt.jpl.nasa.gov)
  792.         jagubox.gsfc.nasa.gov   [pub/aux]
  793.  
  794. ~~~~~~~~~~~
  795. Easy to do:
  796. ~~~~~~~~~~~
  797.  
  798. The following have also been successfully ported to A/UX with minimal trouble.
  799. Since the ports are pretty straightforward, only a few are actually available
  800. in their ported form (please see Q&A #P.01): (those that have been personnally
  801. verified by the editor are marked with '#')
  802.  
  803.     o  Cnews (Ver. ??)
  804.     o  Deliver (v2.1 pl. 9 or later)
  805.     #  Elm 2.4.23 ( use -lbsd and edit config.sh and "undef" d_locale)
  806.     o  Ghostscript 2.3
  807.     #  GNU Stuff (all are pretty much straight-forward and compile
  808.        "right out of the box"):
  809.             binutils 1.9
  810.             bison 1.21
  811.     #       diffutils 2.3
  812.             emacs 19.[19-22] (diffs on jagubox in the emacs diffs "collection"
  813.              tarchive)
  814.     #       fileutils 3.6
  815.     #       find 3.8  (to allow 'find' to recognize user=nobody, compile
  816.               with 'cc')
  817.             flex 2.3.7
  818.             gawk 2.1.5 (use '-traditional' with gcc)
  819.     #       gdbm 1.5
  820.     #       grep 1.6
  821.     #       make 3.68
  822.     #       sed 1.1.6
  823.     #       sed 2.0.3
  824.             shellutils 1.8
  825.             Smalltalk 1.1.1
  826.     #       tar 1.11.2 (requires '-lbsd -lposix')
  827.     #       textutils 1.6
  828.     #       gzip 1.2.4
  829.     #  gopher/gopherd 2.011
  830.     o  Gwm 1.7h
  831.     #  httpd 1.1 (from ftp.ncsa.uiuc.edu)
  832.     o  INN 1.4 (get 'config.dat' from ftp.i-link.com)
  833.     #  less 177
  834.     #  listproc 6.0c (was: listserv) (compile w/ -DDONT_GO_INTERACTIVE)
  835.     #  NetHack
  836.     #  nn 6.4.18 (A/UX configuration file available on jagubox)
  837.     #  nntp 1.5.11
  838.     #  perl 4.035 (use '-lm -lPW -ldbm -lbsd', get "fixed" dir.h to
  839.               avoid needing -lposix for rewinddir(), use gcc if
  840.               possible, make sure d_voidsig is correct ("define" if
  841.               using ANSI, "undef" if not), and undef d_ndbm while
  842.               defining d_dbm in config.sh).
  843.     #  perl 4.036 (Don't answer "aux" but instead let the configure script
  844.               work it's magic -- hints for 4.035 also apply)
  845.     #  rn 4.3.54
  846.     #  rn 4.4.1
  847.     o  SB Prolog 3.1 (minor changes in the builtin directory)
  848.     #  smail 3.1.28 (get the AUXsmail.tar.gz file on jagubox for
  849.                 A/UX diffs and patches)
  850.     #  tcsh (compiles out of the box)
  851.     #  trn 3.0
  852.     #  xntpd (see above)
  853.  
  854.  
  855. ========================================================
  856. **** Partial list of compatible shareware|freeware  ****
  857. --------------------------------------------------------
  858.  
  859. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  860. Popular shareware|freeware:
  861. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  862.                 ++++ This is by No Means a complete list!!! ++++
  863.  
  864.     o  BBEdit Lite (2.31) - _really_ nice and good replacement for TextEditor
  865.         (see Hints and Words Of Wisdom)
  866.     o  CFloppy (1.0)
  867.     o  Disinfectant INIT (3.5)
  868.     o  DiskDup+ (2.22) - works better than DiskCopy and MountImage
  869.     o  Extension Manager (1.8 and later)
  870.     o  Facade (1.x)
  871.     o  FMbackup 1.0.4  (prevents having to totally rebuild Desktop when A/UX
  872.         crashes... See Q&A #M.10)
  873.     o  GateKeeper (1.3) - For some reason, "Show Log" doesn't work although
  874.         log entries _are_ made. Chris Johnson knows about this and is
  875.         looking into it.
  876.     o  Gregs Buttons (3.1.5)
  877.     o  MacsBug (6.2.x)
  878.     o  Maelstrom (1.40) - crashes sometimes, but heck it does that under MacOS
  879.         as well :)
  880.     o  MenuChoice (1.9)
  881.     o  NewLook (2.0)
  882.     o  Solarian II (1.04)
  883.     o  Windows (2.1)
  884.  
  885. ~~~~~~~~~~~~~~~~~~~
  886. Popular commercial:
  887. ~~~~~~~~~~~~~~~~~~~
  888.  
  889. The following is a _very_ short list of some known compatible 3rd party
  890. applications, CDEVs, Extensions, etc... This is by no means a complete list
  891. since the vast majority of MacOS programs work just fine under A/UX (see
  892. Q&A #M.01). But the following ones are kinda popular and they get asked about
  893. alot:
  894.  
  895.     o  Access PC (2.0)
  896.     o  After Dark (2.0u and later) - some displays don't have enough
  897.         memory to work so the default (low memory) one comes up
  898.     o  ATM 2.0.3
  899.     o  ATM 3.0
  900.     o  DOS Mounter (3.00) - but _boy_ does it slow down floppy disk access!
  901.     o  Illustrator 3.2
  902.     o  Now Utilities 3.0.2 and 4.0.1
  903.         (New Menus requires that the Control Panel alias point to a Control
  904.         Panel which is on a HFS partition... this means you need to copy the
  905.         A/UX CP over to a HFS partition (such as MacPartition) and then make
  906.         and alias and copy that over to the Apple Menu Items folder under
  907.         A/UX.
  908.  
  909.         Super Boomerang doesn't seem to like 3.0)
  910.  
  911.     o  PC Exchange (1.0.3)
  912.     o  Photoshop 2.0.1 <mostly> (Gamma, which is included, does _not_ work)
  913.     o  Premiere 1.0
  914.     o  StrataVision 3D 2.6.1 (requires the patch located via anon-ftp
  915.         on jagubox in pub/aux)
  916.     o  Streamline 2.0 <mostly... not 32-bit clean>
  917.     o  Timbuktu Pro (all other versions including v5 have problems)
  918.     o  Type Reunion 1.3
  919.     o  VersaTerm Telnet (etc...) Tool
  920.  
  921.  
  922. ====================================
  923. **** Hints and Words Of Wisdom: ****
  924. ------------------------------------
  925.  
  926. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  927.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  928.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  929.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  930.   allocating 10%, you can greatly increase system performance by increasing
  931.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  932.   give it an actual number to use. The way to determine the number of buffers
  933.   being used, run "pstat -m". This will give you the number of buffers that
  934.   are currently allocated. For example, if the value is 1000, then you know
  935.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  936.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  937.   root) to do this as well. In fact, this is the recommended way.
  938.  
  939.   Please note that if you change the amount of RAM you have, you'll need to
  940.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  941.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  942.   system performance is. If needed, you can then use the above to increase
  943.   (or decrease) the number of disk buffers.
  944.  
  945. o You can run A/UX on the original MacII, however the PMMU chip must be
  946.   installed. You can also use one of the many 68030 upgrades for the MacII,
  947.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  948.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  949.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  950.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  951.   controller) enabling you to use FDHD disks (if such a drive is installed)
  952.   too... thus the name of the kit. This kit can be had for about $120 although
  953.   some dealers also include a FDHD drive as well, bumping the price up to
  954.   about $430.
  955.  
  956. o You can configure the built-in serial ports for hardware handshaking
  957.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  958.   lack of a sufficient number of modem control lines.
  959.  
  960. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  961.   Text file, set the ftp mode to Binary. This is especially true when
  962.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  963.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  964.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  965.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  966.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  967.   (well, the Unix side of it). If the file is a tar file (for example),
  968.   compressed or not, MacBinary attaches some MacOS "information" to the file
  969.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  970.   "strip" this extra by separating the forks:
  971.   
  972.     $ fcnvt -v -d <input.file> <output.file>
  973.  
  974.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  975.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  976.   the file.
  977.  
  978.   So, the flow should be as follows:
  979.  
  980.     o Set the file's Creator and Type to something safe ("A/UX"
  981.       and "BIN ") to avoid CR->NL translation.
  982.     o Drag copy over to A/UX.
  983.     o Use 'fcnvt' to convert file to Apple Double format.
  984.     o Use UNIX utilties as normal.
  985.  
  986. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  987.   use 'setfile' to create the correct Type and Creator fields (for, example,
  988.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  989.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  990.  
  991. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  992.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  993.   looooong time. In a similar way, make sure that you don't have NFS volumes
  994.   mounted because they will add a LOT to the time required to rebuild the
  995.   Desktop...
  996.  
  997. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  998.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  999.   with a value like 60 or so to make getty hang up a hung login attempt.
  1000.  
  1001. o If your A/UX setup is a true multi-user system, or, at the least, has
  1002.   Guest as an active account, it is a Very Good Idea to give each user their
  1003.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  1004.   root! As root, you should also avoid using the global System Folder
  1005.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  1006.   need to do so anyway.
  1007.  
  1008.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  1009.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  1010.   things as required.
  1011.  
  1012. o It's very easy to replace TextEditor as your Finder-double-click text
  1013.   editor. All you need to do is copy the application to /mac/bin (make sure
  1014.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  1015.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  1016.   will show up as that application's filetype. An _excellent_ replacement is
  1017.   BBEdit Lite (v 2.31). It is really recommended!
  1018.  
  1019. o A/UX's 'login' supports additional dialup security. This is enabled by
  1020.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  1021.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  1022.  
  1023.     /dev/tty0
  1024.     /dev/tty10
  1025.  
  1026.   The format of /etc/d_passwd is a list which associates a password with
  1027.   a login program (which is the last field in /etc/passwd). eg:
  1028.  
  1029.     /bin/sh:&nk7h7ak92j3H:
  1030.     /bin/ksh:8hw$jK4ft92jx:
  1031.     /bin/csh::
  1032.     /usr/lib/uucp/uucico::
  1033.  
  1034.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  1035.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  1036.   Users using 'csh' or 'uucico' will not. All other logins that use login
  1037.   programs not entered in /etc/d_passwd (like, for example,
  1038.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  1039.  
  1040. o If you want to install a program that uses a "complex" installation
  1041.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  1042.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  1043.   reboot A/UX and then install needed files to your A/UX System Folder.
  1044.   Programs that, when installed, hack around with the System (beyond things
  1045.   like Fonts) itself, most probably won't work under A/UX, since you really
  1046.   can't patch System (unless you are handy with ResEdit and know exactly
  1047.   what resources to add|change... even then, you are taking a chance...)
  1048.  
  1049. o If you get an error message to the effect that you have a bad SuperBlock
  1050.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  1051.   Block #16 is always an alternate SuperBlock block, so you can try:
  1052.  
  1053.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  1054.  
  1055. o A/UX has two versions of the setpgrp() call. The first is the standard
  1056.   SysV version and takes no arguments. The other is the standard BSD version
  1057.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  1058.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  1059.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  1060.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  1061.   fail. A non-portable way of handling this is always calling setpgrp() as
  1062.   follows:
  1063.  
  1064.     setpgrp(0, getpid());
  1065.  
  1066.   Now, no matter what the compatibility flags are, the function will work
  1067.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  1068.   no-argument version is called).
  1069.  
  1070. o It's always a Good Idea to keep "original" stuff separate from locally
  1071.   added or modified stuff. '/usr/local' is a very good place for this.  To
  1072.   add manual pages to this location, create a '/usr/local/man' directory.
  1073.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  1074.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  1075.   to find your local man pages while keeping the actual data under
  1076.   '/usr/local'; (2) The local man-page set will be searched first (due to
  1077.   the name L_man) as would be desired. If you _really_ want, you can also
  1078.   make '/usr/local/catman' a link to '/usr/local/man'.
  1079.  
  1080. o If you've added a number of additional man pages, you may want to snag the
  1081.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  1082.   programs and scripts that make viewing, installing and making man pages
  1083.   easier. Also includes a replacement for '/usr/bin/man'.
  1084.  
  1085. o Some 'configure' scripts may fail due to some line-length and symbol-length
  1086. + limitations in /bin/sh. You can get around this by changing the script type
  1087. + from:
  1088. +
  1089. +   #!/bin/sh
  1090. +
  1091. + to:
  1092. +
  1093. +   #!/bin/ksh
  1094. +
  1095. + to run them as 'ksh' scripts... In fact, I personally think it's better
  1096. + to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  1097.  
  1098. //////////////////////  END OF PART 1 OF 3  \\\\\\\\\\\\\\\\\\\\\\
  1099. -- 
  1100. #include <std/disclaimer.h>
  1101.     Jim Jagielski               |  "Is this something you can share with
  1102.     jim@jagubox.gsfc.nasa.gov   |   the rest of us Amazing Larry!!??"
  1103.     NASA/GSFC, Code 734.4       |                  Pee Wee
  1104.     Greenbelt, MD 20771         |
  1105.