home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / aux-faq / part3 < prev    next >
Encoding:
Internet Message Format  |  1998-01-08  |  52.6 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!towncrier.osf.org!boston-news-feed1.bbnplanet.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.internetmci.com!128.158.254.10!news.msfc.nasa.gov!centauri.hq.nasa.gov!newsfeed.gsfc.nasa.gov!jagubox!jim
  2. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  3. Newsgroups: comp.unix.aux,news.answers,comp.answers
  4. Subject: Apple A/UX FAQ List (3/4)
  5. Followup-To: comp.unix.aux
  6. Date: 6 Jan 98 17:23:20 GMT
  7. Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
  8. Lines: 1123
  9. Approved: news-answers-request@MIT.Edu
  10. Message-ID: <4769@jagubox.gsfc.nasa.gov>
  11. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  12. NNTP-Posting-Host: jagubox.gsfc.nasa.gov
  13. Summary: Latest posting of FAQ for A/UX
  14. Keywords: FAQ A/UX
  15. X-Newsreader: NN version 6.5.1 (NOV)
  16. Xref: senator-bedfellow.mit.edu comp.unix.aux:25037 news.answers:120355 comp.answers:29573
  17.  
  18. Archive-name: aux-faq/part3
  19. Last-modified: Tue Jan  6 12:18:24 EST 1998
  20.  
  21.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  22.  
  23.  
  24. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 3 OF 4 //////////////////////
  25.  
  26. ==============================================================================
  27. A.14)  Using the command shell interface, I'm trying to access some Mac files
  28.        (that have strange names) but I can't; the program returns an error and
  29.        I can't access the file. What's going on?
  30. ------------------------------------------------------------------------------
  31.  
  32. The problem is that sh and csh don't understand the Mac "special" characters
  33. that are in the filenames. They don't expect filenames with characters that
  34. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  35. access the file. For example, to remove Moire, just type:
  36.  
  37.     $ ksh           #this creates a Korn shell child
  38.     % rm M?ire      #match the weird 'o'
  39.     % exit          #get back in your old shell
  40.  
  41. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  42. ksh is right here on the system so it's a bit easier. Of course, another very
  43. easy way is to use the MacOS interface and do the deletion|rename|whatever
  44. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  45. link to a directory, what gets Trashed is actually the contents of the
  46. directory as well as the link! This is due to the fact that to the Finder,
  47. the link looks like a folder, and the entire thing gets deleted.
  48.  
  49. ===================================================================
  50. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  51.        hard disk. Well, it doesn't on mine!
  52. -------------------------------------------------------------------
  53.  
  54. Well, the Installer will work with any 3rd party disk but there are a few
  55. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  56. not only does it create A/UX partitions but it also creates the actual file
  57. systems in those partitions (basically it runs 'newfs'). Now if you have used
  58. some other HD utility program (such as SilverLining or FWB HDT) to create
  59. the partitions and then attempt to install A/UX on that disk, the Installer
  60. sees that the partitions are there and then _assumes_ that they were created
  61. by HD Setup and therefore have the file systems already created.  Of course,
  62. the file systems don't exist yet, just the partitions, so the installation
  63. fails.
  64.  
  65. You have a few options:
  66.  
  67.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  68.     will do all the partitioning (etc...) and the installation will proceed.
  69.     Note that this means you will be "stuck" with the Apple drivers whenever
  70.     you are in the _real_ MacOS Finder.
  71.  
  72.  b. If you want to use the drivers on your HD utility (for stuff like,
  73.     maybe, password protection of partitions) then you have two (maybe three)
  74.     additional options:
  75.  
  76.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  77.       "take over" the disk, disabling (or even removing) the Apple drivers
  78.       and installing it's own. Note that if there isn't enough space to
  79.       install it's drivers, most will attempt to "shrink" the MacOS partition
  80.       to make room. Most can do this with no problem, but why take the risk...
  81.       when you partition the disk, leave about 64K available as free space.
  82.  
  83.   ii. Use your HD utility to create the partitions. Then, before you
  84.       run the Installer, run 'newfs' "by hand" to create the file systems so
  85.       that the installation can proceed.
  86.  
  87.  iii. Use your HD utility to format (etc...) your disk and create
  88.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  89.       Setup will work fine with the driver installed on the disk.  You can
  90.       now use it to create the A/UX partitions.
  91.  
  92.       <<ED: I _know_ this (iii) works with FWB HDT>>
  93.  
  94. Please note that HD SC Setup will only create the file systems if run under
  95. A/UX. If you run it under the MacOS, it can only partition...
  96.  
  97. ==================================================================
  98. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  99.        how can I get it?
  100. ------------------------------------------------------------------
  101.  
  102. Very early reports indicated that RetroSpect for A/UX might be bundled with
  103. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  104. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  105. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  106. and to order (or more info) you can call 1-800-225-4880 (have your
  107. registration number handy). International customers should call 510-849-0293.
  108.  
  109. Please note that if you have the Pisces card installed (with the WGS95), then
  110. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  111. will not be able to access your DAT under the real MacOS!
  112.  
  113. Finally, reports indicate that RetroSpect 3.0 fully supports A/UX all
  114. by itself. If true, this is Good News!
  115. ==========================================
  116. A.17)  How can I configure CAP under A/UX?
  117. ------------------------------------------
  118.  
  119. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  120. /pub/aux/Info for anon-ftp).
  121.  
  122. ===========================================
  123. A.18)  What are some good books about A/UX?
  124. -------------------------------------------
  125.  
  126. Except for Apple's complete manual set, there are no books specifically about
  127. A/UX. (Well, there's one but it's most probably out of print.  It is most
  128. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  129. and it's written for A/UX 2.0).
  130.  
  131. There are some _very_ good books about UNIX in general however. The best of
  132. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  133. Farrow. Another good book is the "UNIX System Administration Handbook" by
  134. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  135. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  136. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  137.  
  138. For general information about shells and programming there's no better book
  139. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  140. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  141. Rosenblatt.
  142.  
  143. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  144. bound to find what you're looking for from them. You can contact them either
  145. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  146.  
  147. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  148. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  149.  
  150. ====================================================================
  151. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  152.        error message and A/UX won't boot. What can I do?
  153. --------------------------------------------------------------------
  154.  
  155. This is due to the fact that some file system damage exists on the Root file
  156. system. By default, A/UX Startup will only run 'fsck' on the root file system
  157. if the system is marked as "dirty." So even if damage exists, as long as the
  158. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  159.  
  160. I recommend always having A/UX Startup fully check out the disk before booting
  161. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  162. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  163. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  164. notice that the radio button changes from "Check root file system" to "Custom
  165. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  166. you are doing this, you might as well have A/UX run a full 'fsck' on all
  167. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  168. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  169. command.
  170.  
  171. If you don't want to do this but you do have some damage that prevents A/UX
  172. from booting, then you can cancel the boot-up process (either select "Exit"
  173. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  174. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  175. to fully fix the file system if there was extensive damage.
  176.  
  177. ========================================
  178. A.20)  Is traceroute available for A/UX?
  179. ----------------------------------------
  180.  
  181. Yes it is... A complete 'traceroute' package for A/UX 3.1(.1) can be found
  182. on jagubox. It includes the updated 'bnet' driver (required for 'traceroute'
  183. support) as well as 2 versions of traceroute, pre-compiled and with complete
  184. source.
  185.  
  186. ==============================================
  187. A.21)  What is KEEPALIVE and how can I use it?
  188. ----------------------------------------------
  189.  
  190. KEEPALIVE is a method implemented in Berkeley sockets and TCP/IP (and in
  191. A/UX) that periodically polls a connected socket to determine if it's
  192. still "alive" or whether the client on the other end has dropped off.
  193. If the connected client doesn't respond, A/UX will consider the connection
  194. broken and send SIGPIPE to all connected processes. For this feature to
  195. be actually used, programs must set the SO_KEEPALIVE option on the
  196. socket.
  197.  
  198. One particular of A/UX is that although it supports KEEPALIVE, it doesn't
  199. send the first probe for _2 hours_! It's been suggested that it would be
  200. much better to shorten this value to something more realistic to take
  201. better advantage of this capability. However, to do this, you'll need to
  202. use 'adb' and adjust the kernel.
  203.  
  204. You can either patch the kernel itself (which requires that the patch be
  205. reapplied everytime the kernel is rebuilt) or patch /etc/install.d/boot.d/bnet
  206. to keep the patches. To patch the kernel to adjust to time to 1st probe, you
  207. need to use 'adb' to adjust the 'tcp_keepidle' parameter. To get the right
  208. value, multiply the number of minutes you want A/UX to wait until the 1st
  209. probe by 120, then change that value to hex. For example, to make A/UX sent
  210. the 1st probe every 5 minutes (5 x 120 = 600 = 0x258) do:
  211.  
  212.     adb -w -k /unix  << Foo
  213.     tcp_keepidle?D
  214.     tcp_keepidle?W 258
  215.     tcp_keepidle?D
  216.     $q
  217.     Foo
  218.  
  219. To patch the 'bnet' driver instead, do:
  220.  
  221.     adb -w /etc/boot.d/bnet << Foo
  222.     tcp_keepidle?D
  223.     tcp_keepidle?W 258
  224.     tcp_keepidle?D
  225.     $q
  226.     Foo
  227.  
  228. Now run 'newconfig -v' and reboot. 
  229.  
  230. ==============================================
  231. A.22)  What does this 'panic' message mean...?
  232. ----------------------------------------------
  233.  
  234. In general, most system panics are due to A/UX exhausting some kernel
  235. resource; to prevent these, you need to know which resource was used up
  236. and then use 'kconfig' to increase them:
  237.  
  238.  console panic message                  kernel parameter to increase
  239. -----------------------                ------------------------------
  240.  "panic: kmem_alloc"                    MAXCORE
  241.  "panic: getfreehdr"                    MAXHEADER
  242.  "timeout table overflow"               NCALL
  243.  "file: table is full"                  NFILE (NINODE as well, to same value)
  244.  "inode: table is full"                 NINODE (NFILE as well, to same value)
  245.  "m_expand returning 0"                 NMBUFS
  246.  "panic: out of mbufs"                  NMBUFS
  247.  "proc: table is full"                  NPROC (NREGION as well, 3x NPROC)
  248.  "Region table overflow"                NREGION (NPROC as well, NREGION/3)
  249.  "sptreserve: no kernel virtual space"  NSPTMAP
  250.  "allocbuf"                             SBUFSIZE (and NBUF as well)
  251.  "cannot allocate buffer cache"         NCLIST (and add RAM)
  252.  "cannot allocate buffer headers"       NBUF (and add RAM)
  253.  "getfreehdr"                           NPBUF
  254.  
  255. You may also run up against the processes-per-user limit as well. This
  256. can be increased by bumping up the MAXUP. Of course, you'll also need to
  257. increase NPROC, NREGION, NFILE and NINODE (and maybe others) as well to
  258. account for the increased number of processes...
  259.  
  260. ================================================
  261. A.23)  How often does A/UX sync the file system?
  262. ------------------------------------------------
  263.  
  264. A/UX 3.0 performs a sync every minute. It's done by 'init' and the frequency
  265. can't be changed.
  266.  
  267. A/UX 3.0.1/3.0.2 does one every 30 seconds; cached blocks older than 30
  268. seconds are flushed, therefore a block can be resident for between 30
  269. and 59 seconds. If you want, you can use 'adb' to change the value of
  270. 'syncdsleep' to the number of seconds to sleep between flushes. Blocks
  271. older than that will be flushed.
  272.  
  273. A/UX 3.1/3.1.1 peforms a sync every second and flushes blocks that are
  274. older than 30 seconds (i.e. a block can be resident for 1 to 31 seconds).
  275. You can alter this by using 'adb' to change 'syndperiod' to the timeout
  276. age (how old the block can be before it's flushed) and 'syncdsample'
  277. to the wakeup period; by default, 'syncdperiod' is 30 and 'syncdsample'
  278. is 1.
  279.  
  280. Under A/UX 3.0.1/3.0.2/3.1.x, the kernel process 'syncd' can be seen via
  281. 'ps'.
  282.  
  283. ============================
  284. A.24)  What is 'catsearchd'?
  285. ----------------------------
  286.  
  287. Under A/UX, 'catsearchd' is a UNIX process that maintains a cache of
  288. MacOS File System information. Having this cache available _greatly_
  289. increases the performance of catalog searches made from the MacOS and
  290. an AppleShare client.
  291.  
  292. For each file cached, 'catsearchd' requires 200bytes of memory, so if
  293. your File Systems are large, 'catsearchd' can be a real memory hog. One
  294. way to avoid this is to use the 'nocats' option in 'fstab' for mounted
  295. file systems.
  296.  
  297. Unless you are running A/UX as an AppleShare server, there's no need to
  298. run 'catsearchd'; in fact, it's better _not_ to run it due due to it's
  299. memory and performance hits.
  300.  
  301. =====================================================================
  302. A.25)  Is there any way to make AppleDouble file formats the default,
  303.        rather than AppleSingle?
  304. ---------------------------------------------------------------------
  305.  
  306. Sure is... All you need to do is set the 'TBFILEFORMAT' environment
  307. variable to '1'. You can do this either in /etc/profile or /etc/cshrc
  308. to make it system-wide or have each user add it to their .profile or
  309. .login file.
  310.  
  311. For sh/ksh, the commands are:
  312.  
  313.    TBFILEFORMAT=1
  314.    export TBFILEFORMAT
  315.  
  316. and for csh it's:
  317.  
  318.    setenv TBFILEFORMAT 1
  319.  
  320. You can also edit /mac/bin/mac32 as well if you want.
  321.  
  322. ======================================================
  323. A.26)  Is there a way to update the 'whatis' database?
  324. ------------------------------------------------------
  325.  
  326. Sure is. Check out the 'man-utils.tar.gz' file on jagubox (in Sys_stuff).
  327.  
  328. ============================================
  329. A.27)  Does A/UX support Virtual Interfaces?
  330. --------------------------------------------
  331.  
  332. It does now... Jim Jagielski (jim@jaguNET.com) has created the 'vif' kernel
  333. module that provides for true Virtual Interface support under A/UX. This
  334. allows you to, for example, make use of the Virtual Host/Multihoming
  335. capability of Apache.
  336.  
  337. 'vif' can be found on jagubox.gsfc.nasa.gov in /pub/aux/Sys_stuff.
  338. 'apache' can be found on ftp.apache.org.
  339.  
  340. :::::::::::::::::::::::::::::::::::
  341. ::::: MAC-EMULATION QUESTIONS :::::
  342. :::::::::::::::::::::::::::::::::::
  343.  
  344. ======================================================
  345. M.01)  What Mac applications are compatible with A/UX?
  346. ------------------------------------------------------
  347.  
  348. It would be much easier to list the applications that aren't compatible.
  349. The list is much, much shorter...
  350.  
  351. The _vast_ majority of applications that run under System 7 will run under
  352. A/UX 3.x.x. In fact, before System 7 was released, A/UX 2.0.x was actually
  353. a good litmus test whether the application was 32-bit clean and would run
  354. under System 7. The only applications that are _sure_ to fail are those that
  355. try to access hardware _directly_, such as HD utilities or backup
  356. applications. A/UX 3.x.x provides both 24 and 32-bit modes, so if the
  357. application doesn't run under 32-bit mode, try it under 24-bit.
  358.  
  359. One key note: if the program uses a "complex" installation procedure (like
  360. for Canvas, Word, Stuffit, etc...) then you should not try to do a fresh
  361. install under A/UX. See the above Hints and Words Of Wisdom.
  362.  
  363. ===================================================
  364. M.02)  What screen-savers are compatible with A/UX?
  365. ---------------------------------------------------
  366.  
  367. AfterDark (2.0u and later) works well under A/UX but some displays may not
  368. have enough memory under Login so the "low-memory" display will be used.
  369.  
  370. Moire and FMbackup seem a bit incompatible. They both function fine together
  371. but the combination prevents FMbackup's "Finishing up..." window from
  372. displaying, although FMbackup does, in fact, finish up. Furthermore, Moire
  373. seems to screw-up Commando (both version 3.22 and 4.01 exhibit this problem)
  374. so all in all, Moire can't be recommended if you desire using Commando (the
  375. problem seems to be with all MacOS applications 'launch'ed from the
  376. CommandShell window). Using Moire for the Login screen works well however,
  377. since you can't access Commando or 'launch' applications from there.
  378.  
  379. Darkside is also available. Unlike other screen savers, Darkside is an
  380. application, not an INIT. This means it won't work under the Login screen.
  381. The latest version of Darkside is 4.0 and will _not_ work on Pre-System7
  382. systems, so don't attempt to use this under A/UX 2.0.1 or later.
  383.  
  384. Moire is available on jagubox.
  385.  
  386. ========================================================================
  387. M.03)  My MacOS partition mounts fine under MacOS but it doesn't show up
  388.        under A/UX... Why?
  389. ------------------------------------------------------------------------
  390.  
  391. Whether or not a Mac partition mounts under A/UX depends on a number of
  392. factors...  Necessary conditions for a partition to mount are:
  393.  
  394.     1. The disk MUST be partitioned using the "new" partitioning scheme
  395.        detailed in Inside Macintosh V. There is still plenty of disk software
  396.        out there that uses the "old" scheme and this drives will not mount
  397.        under A/UX. Generic disk formatters that use the "new" scheme include
  398.        SilverLining and FWB Hard Disk Toolkit. Most major disk vendors supply
  399.        A/UX compatible formatting s/w.
  400.  
  401.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  402.        only tries to mount partitions that were already when it was booted.
  403.        So, if you use an application to boot A/UX and this application runs
  404.        before a partition is mounted, A/UX won't mount it for you. If you
  405.        have a removable drive (such as SyQuest), you must insert the disk
  406.        before you boot A/UX... this means you can't swap cartridges under
  407.        A/UX.
  408.  
  409. Sometimes, the partition map isn't correct for the MacOS partition; In
  410. particular, the Logical size may be 0! You can use 'dp' to look at the
  411. partition map to see if this is the case. Assuming that the disk us SCSI #2,
  412. then:
  413.  
  414.     $ dp /dev/dsk/c2d0s31
  415.     P
  416.  
  417. Will print out the partition map entries. You can then see if the "Apple_HFS"
  418. partition type has the correct logical size.
  419.  
  420. =========================================================================
  421. M.04)  I have MacsBug installed. How can I trigger it?
  422.                 -- or --
  423. M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  424.        up; how can I unfreeze it? Should I hit the Interrupt switch?
  425. -------------------------------------------------------------------------
  426.  
  427. The "Command-Control-e" keypress will kill the current MultiFinder environment
  428. and "unfreeze" (and kill) your MultiFinder|CommandShell.  Depending on whether
  429. your session-type is Console Mode or 32|24-Bit, you will either get returned
  430. to the console or get returned to the Login screen. You should _NOT_ press
  431. the Interrupt switch since this puts you into A/UX's kernel debugger. If you
  432. have MacsBug installed (which is recommended) then you can press
  433. "Command-Control-i" to enter it. This may enable you to clean some things up
  434. before the MultiFinder environment is blasted (even just using 'rs' under
  435. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  436. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild"
  437. your icon/Desktop "environment" the next time Mac-mode is entered.
  438.  
  439. To make sure that MacsBug installs correctly, it's name must be 'MacsBug'.
  440. A munged Debugger Prefs file can also prevent MacsBug from installing. This
  441. happened to me when upgrading to 3.0.1... To be safe, make a solid safe
  442. copy before upgrading.
  443.  
  444. ============================================================================
  445. M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  446.        under A/UX?
  447. ----------------------------------------------------------------------------
  448.  
  449. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended
  450. for a variety of reasons, but most importantly to ensure compatibility with
  451. new products from Apple and developers (of course, the added features over
  452. Phase 1 are nice too :).
  453.  
  454. ===========================================================================
  455. M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  456.        Also, sometimes things get transfered fine, othertimes not. What's
  457.        going on?
  458. ---------------------------------------------------------------------------
  459.  
  460. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  461. a MacOS disk, all 'newline' characters will be replaced by 'carriage returns'.
  462. Sometimes this is what you want (that is when the file is, in fact, a TEXT
  463. file). Othertimes it's not. Say for example you download a GIF file onto your
  464. A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy it over to
  465. your MacOS disk and try to use Giffer on it, it won't work.  That's because
  466. the 'nl's where changed, which is _not_ what you want. The way to stop this
  467. is to convince A/UX that the file is of non-TEXT type.  There are many
  468. applications out there (including the A/UX included 'setfile' program) that
  469. lets you modify this. Do this before you copy the file over to your Mac OS
  470. disk and all will be Okay. If you aren't sure what the Type and Creator should
  471. be, you can just specify "BIN " and "A/UX" (note space in BIN) and the file
  472. won't be massaged during the copy|transfer. You'll still need to eventually
  473. change them to the correct ones for their particular application, but this
  474. way they'll be on your MacOS disk "uncorrupted."
  475.  
  476. Of course, you could also use 'setfile' to set the Type|Creator fields
  477. _before_ you copy the file to the MacOS disk and avoid an additional step.
  478.  
  479. Please note that if you downloaded a BINHEX file, you _do_ want to keep it
  480. as a TEXT file if you transfer it over to the MacOS. Once there, you can
  481. de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  482.  
  483. Please note that if you transfer Unix-type files (like tar archives or
  484. compressed files) between the A/UX file system and a MacOS disk (esp. if
  485. these files were "created" on a MacOS disk by a MacOS utility), the Unix
  486. application may no longer work correctly with it. This is because the MacOS
  487. resource information was attached to the file during the transfer (the file
  488. is in Apple Single format). To "fix" this, use 'fcnvt' to change the file
  489. to Apple Double format which will detach the resource fork and place it
  490. into a "%..." file.
  491.  
  492. See "Hints and Words Of Wisdom" (above) for hints in using ftp file transfers
  493. under A/UX.
  494.  
  495. ================================================================
  496. M.08)  Do I install CDEVs and Extensions in the System Folder on
  497.        MacPartition or on the "/" A/UX disk.
  498. ----------------------------------------------------------------
  499.  
  500. To install these additions to A/UX, you will need to drag-copy them over to
  501. the A/UX System Folder. Usually, this is /mac/sys/System Folder on the "/"
  502. disk but it will also "appear" in your "home folder" icon. If you have a
  503. personal System Folder (i.e. $HOME/System Folder) then they should be dragged
  504. there. To add a screensaver to the Login screen, it must be dragged into the
  505. correct subfolder in /mac/sys/Login System Folder. That is, if it's an cdev,
  506. drag it into /mac/sys/Login System Folder/Control Panels.
  507.  
  508. ==========================================================================
  509. M.09)  I heard that A/UX requires a special version of System 7 to boot...
  510.        Is this true?
  511. --------------------------------------------------------------------------
  512.  
  513. A lot of people believe this but this is not true. There is no difference
  514. between the s/w on the MacPartition partition and the "real" System 7.  The
  515. only _real_ need for MacPartition is that the disk where A/UX Startup lives
  516. is where A/UX Startup looks for the A/UX Root partition. When A/UX Startup
  517. launches, it looks at "it's" disk and then looks for A/UX partitions on that
  518. disk. This means that you _don't_ need to boot-up from the MacPartition disk
  519. to boot A/UX. Start your Mac from your standard Startup disk and just
  520. double-click on A/UX Startup on the MacPartition icon.
  521.  
  522. You can even do without the MacPartition disk but telling A/UX Startup the
  523. exact SCSI number of the A/UX disk. You can do this a couple of ways:
  524.  
  525.     1. create a ROOT variable in A/UX Startup that points to the
  526.        root partition in this form: (SCSI-ID, 0, 0)
  527.  
  528.     2. Under the General Preferences menu, change the Root Directory
  529.        to (SCSI-ID, 0, 0).
  530.  
  531. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  532. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  533. it's "real" name. This is kinda messy since you'll need to preface a lot of
  534. stuff with this value: e.g.
  535.  
  536.     #startup cat (6,0,0)/etc/inittab
  537.  
  538. =====================================================================
  539. M.10)  After the Mac environment crashes (or when I use MacsBug), the
  540.        Desktop gets all screwed up... Argg!!
  541. ---------------------------------------------------------------------
  542.  
  543. Ron Flax of Apple (ron@afsg.apple.com) has written a very useful System
  544. Extension called FMbackup that creates backup copies of "valuable" Desktop
  545. files. When the MacOS-mode is entered, FMbackup restores these files. Thus,
  546. when your MacOS "crashes", you no longer need to rebuild the Desktop or reset
  547. all your Icons, window "types", etc... Please note that there seems to be
  548. some incompatibilty between FMbackup and Moire and QuickMail 2.5.1.
  549.  
  550. FMbackup (1.0.4) is available via anon-ftp on afsg.apple.com as well as
  551. aux.support.apple.com (in "unsupported").
  552.  
  553. %%% For more information about "FMbackup", please contact Ron via E-mail %%%
  554.  
  555. =====================================================================
  556. M.11)  My MacOS partition(s) only show up on the Desktop when I login
  557.        as root. Why?
  558. ---------------------------------------------------------------------
  559.  
  560. Under the Preferences/General Menu of A/UX Startup, there is a radio-box
  561. called "Password checking". This is intended to provide some security for
  562. the A/UX Startup application. When enabled, two (default) things happen:
  563.  
  564.     1. A/UX Startup requires a password to open.
  565.     2. MacOS partition(s) are only mounted for root login.
  566.  
  567. Thus, to enable MacOS partition(s) to be available for all users, you must
  568. disable "Password checking". See auxstartuprc(4) for more info.
  569.  
  570. ======================================================================
  571. M.12)  For some reason, my CommandShell only responds to a keyboard
  572.        event after it receives a second event. For example, typing "a"
  573.        won't show until I type something else or click the mouse.
  574.        What gives?
  575. ----------------------------------------------------------------------
  576.  
  577. This is caused almost 99% of the time by an Extension|CDEV conflict. The way
  578. around this is to selectively disable each one at a time and see which one
  579. causes the problem... then delete it. "Wild Magic" is prone to do this as
  580. are older versions of CEToolbox.
  581.  
  582. =====================================
  583. M.13)  Can A/UX 3.x.x run System 7.1?
  584. -------------------------------------
  585.  
  586. A/UX 3.x.x's MacOS interface is based on System 7.0.1. You cannot install
  587. Sys 7.1 on A/UX (meaning you can't make A/UX run Sys 7.1) since there are a
  588. few system files that are fine-tuned and modified to work under A/UX. These
  589. would get overwritten if you tried to install 7.1 and you'd be out of luck.
  590. Please recall that this doesn't mean that you can't have 7.1 installed on
  591. your MacPartition, to be used when in MacOS-only mode. It just means that
  592. you can't have A/UX run 7.1.
  593.  
  594. Just to let you all know, if you really want to, you _can_ install 7.1 on
  595. A/UX 3.x.x and the MacOS-stuff will work pretty well. However, all hybrids,
  596. such as CommandShell or Commando, will die... not too useful...
  597.  
  598. ===============================================
  599. M.14)  What version of AppleTalk does A/UX run?
  600. -----------------------------------------------
  601.  
  602. This one is tricky. First of all, the version of AppleTalk under A/UX was
  603. designed specifically for A/UX... Don't try installing the Network Software
  604. Installer (NSI) disk. Bad Things will happen.
  605.  
  606. With that out of the way, when polled by InterPol, A/UX will respond that
  607. AppleTalk v56 is running. However, A/UX's version is really compatible with
  608. version 58. This will cause trouble with those applications that rely on
  609. version numbers rather than capability.
  610.  
  611. =====================================================================
  612. M.15)  I've just installed MacTCP 2.0.2|4|6 on A/UX and nothing works!
  613.        What's going on?
  614. ---------------------------------------------------------------------
  615.  
  616. The copy of MacTCP that ships with A/UX is specifically written for A/UX.  You
  617. should _not_ replace it with any MacOS version of MacTCP! Doing so will cause
  618. mucho problems for A/UX. This is because A/UX's MacTCP simply offloads all
  619. networking functions down to A/UX itself which handles them.
  620.  
  621. Although it's true that some MacOS programs, such as Mosaic, "require" MacTCP
  622. 2.0.2|4|6, the vast majority work just fine with A/UX's version. In extreme
  623. cases, with programs that actually _check_ the version number, a little
  624. ResEdit hacking will fix things up. Basically, all you need to do is COPY the
  625. 'vers' resource of MacTCP 2.0.2|4|6 and PASTE it into MacTCP in your active
  626. A/UX System Folder (you want to 'Replace' the previous 'vers' resource). This
  627. will cause MacTCP to appear (via 'Get Info' and similar ways) to be version
  628. 2.0.6.
  629.  
  630. =======================================================
  631. M.16)  Does the LaserWriter Bridge s/w work under A/UX?
  632. -------------------------------------------------------
  633.  
  634. No it doesn't... The reason is because the LaserWriter Bridge software
  635. requires AppleTalk version 57 or higher but, due to the way AppleTalk
  636. is implemented under A/UX, the software thinks and behaves as if A/UX
  637. is running a version closer to v56.
  638.  
  639. A/UX, however, _can_ print to a printer connected via the LaserWriter
  640. Bridge on a different Mac.
  641.  
  642. ==================================================================
  643. M.17)  My /etc/fidd processes refused to run and dumps core. Help!
  644. ------------------------------------------------------------------
  645.  
  646. Sounds like the /etc/FileIDs file is mangled. Rename /etc/FileIDs
  647. to something like /etc/FileIDs.OLD and reboot. fidd will then create
  648. a new /etc/FileIDs file and all should be well.
  649.  
  650. :::::::::::::::::::::::::::::::::::
  651. ::::: DEVICES AND PERIPHERALS :::::
  652. :::::::::::::::::::::::::::::::::::
  653.  
  654. =======================================================
  655. D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  656. -------------------------------------------------------
  657.  
  658. A/UX 3.x.x's 'tc' device driver (version 1.40) officially and "totally"
  659. supports the following tape drives:
  660.  
  661.     Qualstar 9 track
  662.     Archive 4mm DAT
  663.     Archive QIC
  664.     Teac DCAS 600
  665.     Exabyte 8500        <<ED: no go with the 8200s>>
  666.     DC2000
  667.  
  668. Please note that all the devices except for the Qualstar 9-tracks require
  669. 8k-blocking when used through 'tc'. This means you will need to use 'tcb' or
  670. 'tbb' as a filter ('dd' will also work during reading). You should also
  671. specify 8k blocking (or a multiple thereof) when using dump.bsd.
  672.  
  673. Jim Jagielski has created a replacement for 'tc' called 'NEWtc'. It fixes
  674. a lot of Apple's 1.4 bugs as well as to provide some nice new features. It
  675. supports all the above drives in addition to:
  676.  
  677.     CIPHER drives
  678.     Exabyte 8200, 8205 and 8505
  679.     HP DATs
  680.     SONY SDT line
  681.     Teac DCAS 150 and 60
  682.     WangDAT 1300 and 2600 series
  683.     WankTEK series 6130 (FS/HF), 5525 and 5050ES.
  684.  
  685. It also has a "Generic" entry that will attempt to drive tapes it doesn't
  686. know about. If you have a drive that isn't supported, let Jim know and he'll
  687. try to add it.
  688.  
  689. NEWtc is up to version 3.34 and is available on jagubox.  Included in the
  690. package are replacement copies of 'mt', 'tc.7.Z' and 'mt.1.Z'.
  691.  
  692. Tony Cooper has written a VERY nice double-buffering copier that greatly
  693. increases the speed of backups; it's called 'tbb.' It works quite nicely with
  694. 'tc' (assuming the correct blocking factors)... It's included with the 'NEWtc'
  695. package.
  696.  
  697. Craig Ruff (cruff@ncar.ucar.edu) has written a Teac device driver also, which
  698. works with both the 150 MB and 60 MB drives. You get the complete source so
  699. you may "adjust" the driver if you want for other drives.
  700.  
  701. The Teac driver is available on jagubox.gsfc.nasa.gov.
  702.  
  703. %%% For more information about 'tc', please contact Jim via E-mail %%%
  704. %%% For more information about 'teac', please contact Craig via E-mail %%%
  705.  
  706. =====================================================================
  707. D.02)  I have an EtherNet card that works fine under the Macintosh OS
  708.        but not under A/UX. Why?
  709. ---------------------------------------------------------------------
  710.  
  711. The reason is because to access the card (which is seen as a device by A/UX),
  712. you need an A/UX device driver for it. This is NOT the same as the stuff you
  713. had to install under the MacOS for it to work. Now A/UX includes drivers for
  714. the Apple EtherNet card (they aren't installed by default though), but they
  715. don't work with most of the 3rd party cards except for the 3Com "EtherLink
  716. NB", the Asante "MacCon" and the StarNet Networking cards. They are 100%
  717. register compatible with their Apple counterparts, so you can use Apple's
  718. 'ae' driver with them. Drivers for the EtherPort II cards are available via
  719. anon-ftp on jagubox. However, the drivers for the "old" EPII cards (full
  720. length) only support TCP/IP (they were written for A/UX 1.1 but will work
  721. under 2.0.x). As far as other cards are concerned, you will have to ask the
  722. vendor for A/UX drivers for it.
  723.  
  724. Please note that there have been numerous reports about problems with the
  725. EtherPortII cards, A/UX and the IIfx and IIsi... you are warned :)
  726.  
  727. =======================================
  728. D.03)  Can I use my scanner under A/UX?
  729. ---------------------------------------
  730.  
  731. A/UX 3.x.x fully supports the Apple OneScanner as well as providing better
  732. support for SCSI devices. A/UX will still use its own SCSI driver, however.
  733.  
  734. ===========================================================================
  735. D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to work.
  736.        I keep on getting a "more data than device expected" error message.
  737.        What's wrong?
  738. ---------------------------------------------------------------------------
  739.  
  740. The "problem" is with the generic SCSI disk driver under A/UX. For SCSI
  741. drives, there are certain parameters that may be adjusted by the user; these
  742. parameters are grouped in "pages." One such page concerns how the disk
  743. responds to and recovers from errors: the Error Recovery Page. A/UX expects
  744. the parameters in this page to have certain values. Now the vast majority of
  745. SCSI disks have the values set as expected, but this isn't the case with
  746. SyQuest drives. There is one parameter (PER) which is opposite than expected
  747. by A/UX. When A/UX trys to set this value to what it wants, however, the
  748. SyQuest drive reads this "request" wrong (the request is 16 bytes but the
  749. SyQuest only reads 4, so the SCSI Manager reports the error.
  750.  
  751. Tony Cooper (tony@marc.cri.nz) has written a Mac application which sets the
  752. Error Page values correctly: Fix Error Page. This application must be used
  753. under the MacOS. It can be found on jagubox.gsfc.nasa.gov as well as on
  754. aux.support.apple.com (aux.patches/unsupported/2.0). You can also use the
  755. FWB Hard Disk Toolkit - World Control Application to enable the PER bit in
  756. the recovery page (Page #1).
  757.  
  758. This program may also be a help in getting some SCSI-2 devices, such as disks
  759. and opticals, to work under A/UX. If A/UX sees that the Error Page parameters
  760. are incorrect, it will attempt to send a Mode Select command to fix them,
  761. however it will use the SCSI-1/CCS page length instead of the SCSI-2 length,
  762. which, depending on the drive, will not work.
  763.  
  764. By the by, here is the /etc/disktab entry for SyQuest:
  765.  
  766.     # SyQuest disk
  767.     #
  768.     Syquest|syquest|S45:\
  769.        :ty=winchester:ns#34:nt#2:nc#1275:
  770.  
  771. ==================================================
  772. D.05)  What 3-button mice work under A/UX (and X)?
  773. --------------------------------------------------
  774.  
  775. The Gravis SuperMouse was a 3-button mechanical mouse that was completely
  776. configurable and compatible with A/UX and was at the time your best bet.  At
  777. present, however, the Gravis SuperMouse is no longer manufactured or supported
  778. at _all_ by Gravis :(
  779.  
  780. Older versions of LogiTech's MouseMan are fully compatible with A/UX, as some
  781. people have been using them with no problems. However, newer versions aren't
  782. as nice, since you can't reconfigure the button binding.
  783.  
  784. Mouse System's A-3 mouse is "fully" compatible with A/UX, but is hard-wired
  785. configured for A/UX as: Left Button = Actual Mouse Button; Middle Button =
  786. Left Arrow; Right Button = Right Arrow. The "A-3" power cdev doesn't work
  787. under A/UX. The A-3 mouse is an optical unit with a nice feel.
  788.  
  789. Please note that A/UX 2 & 3 only support a subset of the ADB Manager. Thus
  790. there are a few ADB devices that may not work under A/UX.
  791.  
  792. =====================================================
  793. D.06)  Is it worth getting a cache card for the IIci?
  794. -----------------------------------------------------
  795.  
  796. Absolutely! The card makes an amazing difference in performance. However,
  797. this performance increase is reduced when an external monitor is used. For
  798. more information about extensive benchmarking with the IIci and cache
  799. cards, you can snag the benchmarking results via anon-ftp on
  800. redstar.dcs.qmw.ac.uk in archive/papers.
  801.  
  802. ====================================================================
  803. D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  804. --------------------------------------------------------------------
  805.  
  806. Many hard disk applications will reveal the disk drive geometry for you:
  807. FWB Hard Disk ToolKit is very good (SilverLining is a bit wrong on the number
  808. of tracks... it includes spares). What you are really looking for are the
  809. total number of cylinders ('nc'), the number of sectors per track ('ns') and
  810. the number of tracks ('nt').
  811.  
  812. By far, the easiest (and cheapest) way is to use the SCSIProbe utility, by
  813. Herb Weiner (herbw@wiskit.com), that runs under A/UX. This neat little package
  814. automatically generates disktab entries for your disks.
  815.  
  816. Also, I'm maintaining a list of /etc/disktab entries. If you have any, send
  817. it to me and I'll add them.
  818.  
  819. The file is available on jagubox.
  820. <<ED: I need _LOTS_ of entries>>
  821.  
  822. Just a note: the number of tracks ('nt') is equal to the number of heads.
  823.  
  824. ==========================================
  825. D.08)  Which serial cards work under A/UX?
  826. ------------------------------------------
  827.  
  828. There are a number of serial cards that "work" with A/UX. The Apple serial
  829. card is NOT one of them.
  830.  
  831.  o There is the Digiboard Nu/Xi, which comes in 4 and 8 port versions.  Brand
  832.    new drivers for the card have been coded and are available. This version
  833.    (3.3.0) however, doesn't currently work with CSlip but otherwise works
  834.    great.  You can snag the drivers via anon-ftp from digibd.com (which is
  835.    192.83.159.193) in drivers/mac.
  836.  
  837.    Technical Support for DigiBoard is 612-943-9020. If you'd like to contact
  838.    the main engineer responsible for the drivers, contact Brian Westley at the
  839.    following Email addresses:
  840.  
  841.       merlyn@digibd.com
  842.       ...uunet!digibd!merlyn
  843.       AppleLink: merlin
  844.  
  845. o There is also the Creative Solutions, INC (CSI) HQS/HDS v4.4/4.5 Hurdler
  846.   Serial Nubus cards. These cards have both pure UNIX _and_ MacOS device
  847.   drivers (i.e. a 'newconfig' code module and a MacOS INIT/DRVR module). The
  848.   A/UX drivers support baud rates up to 57.6k and 115.2k using the 'B50' and
  849.   'B75' flags, true hardware handshaking while monitoring DCD for Dialup
  850.   security, and full compatibility with CSlip and PPP and their associated
  851.   daemons. The A/UX-MacOS drivers are fully compatible with all CommToolbox
  852.   functions and serial drivers. These are very nice cards :)
  853.  
  854.   The recommended cable-pin out for these cards is:
  855.  
  856.         Mac          Modem
  857.     Male Mini-Din-8  DB-25
  858.     --------------------------------------------
  859.     1 (HskO)  ---   4   (RTS)
  860.     2 (HskI)  ---   5   (CTS)
  861.     3 (TxD-)  ---   2   (TxD)
  862.     4 (GDN)   ---   7   (SigGnd)
  863.     5 (RxD-)  ---   3   (RxD)
  864.     6 (TxD+)  ---   7   (SigGnd)or(NC)
  865.     7 (GPi)   ---   8   (DCD)
  866.     8 (RxD+)  ---   7   (SigGnd)
  867.                     6 -- (DSR)
  868.                         |
  869.                    20 -- (DTR)
  870.  
  871.   Also, for logins, you should be using the FLOW flag in the gettydefs file as
  872.   for example:
  873.  
  874.    fl_38400#B38400 # B38400 SANE2 TAB3 # ~MODEM ~DTR FLOW #\r\nlogin: #fl_38400
  875.  
  876.   For further info about the drivers, or for _any_ help is using this card,
  877.   please contact Alan M. Friedman at Intelligent Interfaces, Inc:
  878.  
  879.      alan@kether.intellint.com
  880.      AppleLink: D5620
  881.  
  882.   You can contact CSI at csi@applelink.apple.com (AppleLink: CSI).
  883.  
  884.  o Another is Paul Campell's Taniwha CommCard. This card does indeed work
  885.    with all versions of A/UX including 3.x.x. It has special support for
  886.    UUCP.  It has a few mysterious and not very important problems. It's an
  887.    excellent buy. The only problem is, it's not on the market anymore. If you
  888.    can get one used, though, it's worth getting. The one downside is that,
  889.    like Apple's ports, it won't SIMULTANEOUSLY support modem and hardware flow
  890.    control. It is immune to many of the nasty bugs which affect the built-in
  891.    serial ports, including the two (at least) which can crash the kernel.
  892.  
  893.  o Yet another is the Applied Engineering QuadraLink serial card. According
  894.    to sources, the board was super easy to setup and use. It also appears
  895.    very solid as far as performance.
  896.  
  897.    The AE QuadraLink card, like the CommCard and the Apple ports, can't do
  898.    both hardware handshaking and modem control at the same time. No hardware
  899.    patch kit will be developed for the AE card...
  900.  
  901. =============================================================================
  902. D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print some-
  903.        thing to it through 'lpr', the first line of the page is cut off. Why?
  904. -----------------------------------------------------------------------------
  905.  
  906. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  907. The reason is because this makes the LW default to PhotoGrade-mode. You can
  908. do 2 things to fix this:
  909.  
  910.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  911.        Since one of the main advantages of these LW's is PhotoGrade,
  912.        this option is kinda unpalatable.
  913.  
  914.     2. If you are _only_ using "Letter" mode under 'lpr', then you
  915.        can edit /usr/lib/ps/pstext.pro to include the following line
  916.        between "% RCSID:..." and "/StartPage...":
  917.  
  918.        %!PS-Adobe-1.0
  919.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  920.          87/05/04 19:02:25
  921.        %%Creator: pstext
  922.        %%DocumentFonts: Courier
  923.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  924. ====>>>letter 
  925.        /StartPage{/sv save def 48 760 moveto}def
  926.  
  927. This will fix the problem and make it usable again.
  928.  
  929. =========================================================================
  930. D.10)  I'm trying to access my tape drive using 'tc' (with something like
  931.        "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  932. -------------------------------------------------------------------------
  933.  
  934. Except for 9-track magtapes, all I/O to tape drives associated with the 'tc'
  935. device files _must_ be blocked at 8k. The 'tcb' program does just that so
  936. that should be included. For example, to write:
  937.  
  938.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  939.  
  940. And to read:
  941.  
  942.     $ tcb < /dev/rmt/tc1 | cpio -i
  943.  
  944. You can get better performance if you increase the buffer size (just make
  945. sure that it's a multiple of 8k). For example, you could use 'dd' as your
  946. blocking filter with a 'bs=10x8k'.
  947.  
  948. Jim Jagielski's replacement for 'tc' allows for 'tc' to use the tape drive's
  949. own physical block size as the logical block size for I/O. Doing so results
  950. in a bit of a performance hit so it isn't recommended for normal use. You
  951. should use the "mode" only if you need to read tapes written by 'st' or by
  952. another platform. Please note you are still limited to an I/O block size of
  953. at least the physical block size, which can be anything for 512 to 1024 to
  954. 8192 bytes.
  955.  
  956. %%% For more information about 'tc', please contact Jim via E-mail %%%
  957.  
  958. =========================================================
  959. D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  960. ---------------------------------------------------------
  961.  
  962. The original Apple CD-ROM drive (CD SC) is 100% compatible with A/UX as is
  963. the newer CD-150. Older versions of the CD-300 (those with pre 1.8f ROMS)
  964. would cause problems with A/UX and would do little more than allow you to
  965. install A/UX, making it almost useless for day-to-day use. One of the fixes
  966. of 3.0.2 is _much_ better support for all versions of the CD-300, although
  967. Apple does suggest that you update the CD-ROM drive's ROMs with the latest
  968. version if you have problems. I've heard that you can get the latest ROMs by
  969. calling 1-800-SOS-APPL or seeing your Apple dealer. The following are also
  970. known to be 100% compatible (meaning you can use them to install A/UX as well
  971. as when running A/UX):
  972.  
  973.     The Toshiba XM3201, XM3301B XM3401B, XM3501
  974.     DEC RRD42, RRD40 (LMSI CM-212)
  975.     Denon DRD 253
  976.     Sun CD-ROM (Sony CDU-8012?)
  977.     CD-Technologies Porta-Drive CD-ROM
  978.     Chinon CDA-431
  979.  
  980. 3.1 adds support for NEC CD-ROMs; previous versions of A/UX weren't able to
  981. work with these units due to their physical block size.
  982.  
  983. ====================================================================
  984. D.12)  I've tried to install the CD Remote extension to A/UX so that
  985.        I can play audio CD's, but it doesn't work...
  986. --------------------------------------------------------------------
  987.  
  988. By itself, A/UX doesn't support audio CDs. However, there are 2 software
  989. packages that add this capability:
  990.  
  991. The first package is xmcd/cda, which provides both a X-Motif (xmcd) and
  992. generic command-line (cda) interface for playing audio CDs under A/UX.
  993. The package requires that the 'devscsi' kernel package be installed, so
  994. it will work under 3.x.x. xmcd/cda was written by Ti Kan (ti@bazooka.amb.org).
  995. and can be found on ftp.x.org:/contrib/applications/xmcd.
  996.  
  997. The second package is a MacOS-patch to enable you to use the CD Remote
  998. application. Kelly King and Andrew Kass (at Apple), however, have written the
  999. "AUX SCSI Toolbox" extensions that emulates the Mac SCSI Manager. With this
  1000. extension installed, you can run applications and drivers that talk to the
  1001. Mac SCSI Manager, including the Apple CD-ROM driver! With this extension, you
  1002. can listen to your audio CDs under A/UX! This is the latest version of the
  1003. extension: 1.0b4.
  1004.  
  1005. "AUX SCSI Toolbox" is available via ftp on jagubox under:
  1006.  
  1007.    /pub/aux/Apple.fixes/unsupported/3.0.x/SCSItlbx.tar.gz
  1008.  
  1009. Please read the included ReadMe before installing and using it.
  1010.  
  1011. ==================================================
  1012. D.13)  What UNIX CD-ROM formats does A/UX support?
  1013. --------------------------------------------------
  1014.  
  1015. Other than the "normal" A/UX SysV and UFS file system type, A/UX supports
  1016. ISO-9660 file system format CD-ROMs. However, you can only access these CDs
  1017. from the MacOS environment; you can't "mount" them in the normal UNIX-way. As
  1018. distributed, A/UX doesn't include the needed Extensions that allow the MacOS
  1019. Environment from recognizing these CDs. To fix this, you need to copy the
  1020. following Extensions from the Apple CD-ROM Software disks (version 3.2 or
  1021. later) to the System Folder of the user(s) that need access to these CDs:
  1022.  
  1023.    o Foreign File Access
  1024.    o High Sierra File Access
  1025.    o ISO 9660 File Access
  1026.  
  1027. The docs are a little blurry on this (even though it's specifically mentioned
  1028. in Chapter 5 of the "Setting Up Accounts and Peripherals for A/UX") since they
  1029. say that you don't need to add any _kernel_ resources...
  1030.  
  1031. One of A/UX's quirks is that all files on ISO-9660 CDs are "seen" as TEXT
  1032. type files. This causes troubles with binary files since when you try to
  1033. drag them over to the "/" disk, A/UX will perform it's \r->\n translation.
  1034. To avoid this from happening, you can:
  1035.  
  1036.    1 Drag the file(s) over to a MacOS HFS disk. Then use ResEdit (or something
  1037.      similar) to change the file Creator to "A/UX" and Type to "BIN " (note the
  1038.      space!). Now you can drag the file over to "/".
  1039.  
  1040.    2 Use ResEdit to look at the NCOD resource in the "ISO 9660 File Access"
  1041.      extension. Open the "Main" resource in NCOD. Now change the string
  1042.      "TEXT" to "BIN " and "hscd" to "A/UX". Save, logout and login. This
  1043.      changes things so that _all_ files on the CD-ROM appear as non-Text,
  1044.      CommandShell files, so that A/UX will _not_ perform any translation.
  1045.  
  1046. Again, please note that A/UX will not recognize _any_ of the audio capability
  1047. of CD-ROMs unless you add the "AUX SCSI Toolbox" extension described in Q&A
  1048. #D.12.
  1049.  
  1050. ====================================================================
  1051. D.14)  How can I add printers other than those available in Chooser?
  1052. --------------------------------------------------------------------
  1053.  
  1054. <<ED: From a post by Antonio Ordonez (antonio@apple.com)>>
  1055.  
  1056. If the printer is in another zone, it is necessary to define the zone in
  1057. which the printer is located with a full path name.  You can then "hardwire"
  1058. a printer name including the zone for a particular printer queue.
  1059.  
  1060. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  1061. directory and give it a name related to the printer we want to use. Modify
  1062. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links) in
  1063. this directory. Also modyfy the /etc/printcap file to create a new printer
  1064. queue.
  1065.  
  1066. I will use my system as an example so please modify to reflect your
  1067. situation.
  1068.  
  1069. The first thing to do is to create the new directory and put the correct
  1070. files in it. NOTE that I am using mknod to create the pipe file.
  1071.  
  1072. mkdir Idaho
  1073. chown daemon Idaho
  1074. chgrp daemon Idaho
  1075. cp AppleTalk/ifilter Idaho/ifilter
  1076. cd Idaho
  1077. ln ifilter ofilter
  1078. ln ofilter nfilter
  1079. mknod pipe p
  1080. chown daemon *
  1081. chgrp daemon *
  1082.  
  1083. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  1084. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  1085. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  1086. TextEditor)
  1087. and change the line that defines the value for Printer from
  1088.  
  1089. Printer=`basename "cwd"`
  1090.         -to-
  1091. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  1092.  
  1093. In the /etc/printcap file I copy the entry for AppleTalk (all six lines) and
  1094. change any reference to AppleTalk to the name I used for my new directory.
  1095. Again, in my case I used "Idaho" as the directory name so my /etc/printcap
  1096. file looks like:
  1097.  
  1098.   #
  1099.   # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  1100.   #
  1101.   # Copyright 1990 Apple Computer, Inc.
  1102.   # All Rights Reserved.
  1103.   ##
  1104.   # Remote AppleTalk printer (selected by Chooser)
  1105.   # For an AppleTalk printer which doesn't support PostScript remove last 2
  1106.   names.
  1107.   lp|at|AppleTalk|postscript|PostScript:\
  1108.           :lp=/dev/null:\
  1109.           :if=/usr/spool/lpd/AppleTalk/ifilter:\
  1110.           :of=/usr/spool/lpd/AppleTalk/ofilter:\
  1111.           :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  1112.           :sd=/usr/spool/lpd/AppleTalk:
  1113.   lp2|Idaho:\
  1114.           :lp=/dev/null:\
  1115.           :if=/usr/spool/lpd/Idaho/ifilter:\
  1116.           :of=/usr/spool/lpd/Idaho/ofilter:\
  1117.           :nf=/usr/spool/lpd/Idaho/nfilter:\
  1118.           :sd=/usr/spool/lpd/Idaho:
  1119.  
  1120. After all these steps are completed restart the printer queue with the command
  1121.  
  1122.     lpc restart all
  1123.  
  1124. Now you should be able to send a print job to the printer in the other zone
  1125. with the command
  1126.  
  1127.     lpr -Plp2 /etc/passwd
  1128.  
  1129. or
  1130.  
  1131.     lpr -PIdaho /etc/passwd
  1132.  
  1133. Hope this helps
  1134.  
  1135. //////////////////////  END OF PART 3 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  1136. -- 
  1137. #include <std/disclaimer.h>
  1138.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  1139.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1737  |
  1140.           << "Suspicion is the sure sign of a little mind" >>
  1141.