home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aux / 4009 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  34.1 KB

  1. Xref: sparky comp.unix.aux:4009 news.answers:3916
  2. Newsgroups: comp.unix.aux,news.answers
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!nsisrv!jagubox!jim
  4. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  5. Subject: Apple A/UX FAQ List (2/2)
  6. Message-ID: <1237@jagubox.gsfc.nasa.gov>
  7. Followup-To: comp.unix.aux
  8. Summary: Latest posting of FAQ for A/UX
  9. Keywords: FAQ A/UX
  10. Lines: 777
  11. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  12. Supersedes: <1202@jagubox.gsfc.nasa.gov>
  13. Nntp-Posting-Host: jagubox.gsfc.nasa.gov
  14. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  15. Organization: NASA/Goddard Space Flight Center
  16. References: <1236@jagubox.gsfc.nasa.gov>
  17. Date: Tue, 10 Nov 1992 13:07:57 GMT
  18. Approved: news-answers-request@MIT.Edu
  19. Expires: Wed, 25 Nov 1992 00:00:00 GMT
  20.  
  21. Archive-name: aux-faq/part2
  22. Last-modified: Tue Nov 10 08:05:25 EST 1992
  23.  
  24.          This is the Frequently Asked Question (FAQ) list for A/UX 3.0
  25.  
  26. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 2 OF 2 //////////////////////
  27.  
  28. ===
  29. 20)  My MacOS partition mounts fine under MacOS but it doesn't show up
  30.      under A/UX... Why?
  31.  
  32. Whether or not a Mac partition mounts under A/UX depends on a number of
  33. factors (possibly even including the phases of the moon and the color socks
  34. you happen to be wearing)... Necessary conditions for a partition to mount are:
  35.  
  36.     1. The disk MUST be partitioned using the "new" partitioning scheme
  37.        detailed in Inside Macintosh V. There is still plenty of disk
  38.        software out there that uses the "old" scheme and this drives will
  39.        not mount under A/UX. Generic disk formatters that use the "new"
  40.        scheme include SilverLining and FWB Hard Disk Toolkit. Most major
  41.        disk vendors supply A/UX compatible formatting s/w.
  42.  
  43.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  44.        only tries to mount partitions that were already when it was booted.
  45.        So, if you use an application to boot A/UX and this application runs
  46.        before a partition is mounted, A/UX won't mount it for you. If you
  47.        have a removable drive (such as SyQuest), you must insert the disk
  48.        before you boot A/UX... this means you can't swap cartridges under
  49.        A/UX.
  50.  
  51. It's possible that playing with 'pname' before starting the MacOS environment
  52. may make more MacOS partitions readable...
  53.  
  54. ===
  55. 21)  I've ported ELM (or other mail reader) and it doesn't seem to work.
  56.      Why?
  57.  
  58. It seems most likely that the reason is because they attempt to use a different
  59. file locking scheme that /bin/mail does. Pre-3.0 versions of mail used 'flock'
  60. style file locking. 3.0 now uses the ".lock" scheme for mail file locking.
  61. Thus, ELM _must_ be told _NOT_ to use 'flock' style file locking... This
  62. means that if you upgraded from 2.0.1 to 3.0, you'll need to reconfigure and
  63. compile ELM.
  64.  
  65. ===
  66. 22)  What 3-button mice work under A/UX (and X)?
  67.  
  68. The Gravis SuperMouse is a 3-button mechanical mouse that is completely
  69. configurable and compatible with A/UX. Mouse System's A-3 mouse is compatible
  70. but is "hard-wired" configured for A/UX as: Left Button = Actual Mouse Button;
  71. Middle Button = Left Arrow; Right Button = Right Arrow. There is also the
  72. Logitech MouseMan. The general agreement is that the SuperMouse is your
  73. best bet... At present, the Gravis SuperMouse, however, is not shipping
  74. due to some technical problem.
  75.  
  76. Please note that A/UX 2.0.1 only supports a subset of the ADB Manager. Thus
  77. there are a few ADB devices that may not work under A/UX.
  78.  
  79. ===
  80. 23)  How come when I do a "df" as a regular user, it shows me a different
  81.      number of free blocks compared to when I run it as "root"?
  82.  
  83. One of the details about the BSD Fast File System is that it sets aside 10% of
  84. the available disk space (by default... this value can be changed by using
  85. the "tunefs" command) and makes it unavailable to regular users. This
  86. prevents 2 things: filling up a file system and destroying performance by
  87. having a "too full" file system. "root", however, does have access to this
  88. "extra" disk space, hence the difference in the numbers reported by df between
  89. "root" and "regular joe".
  90.  
  91. Please note that if you used HD Setup to create the partitions (or your
  92. A/UX came preinstalled), then the "set aside" value for these file systems
  93. is 5%, not the default of 10%... This was simply to give users more space.
  94. Reducing this value beyond 5% is Not A Good Idea.
  95.  
  96. ===
  97. 24)  Does A/UX LocalTalk support IP?
  98.  
  99. Nope... not at all. Maybe 3.0.1...
  100.  
  101. ===
  102. 25)  How do I get MPW 3.1 to work? It hangs my system...
  103.  
  104. MPW 3.1 doesn't work under A|UX 2.0 although 3.2 does. In the meantime,
  105. you can make 3.1 work by breaking into MacsBug when it's hung and entering:
  106.  
  107.     pc=pc+2;g
  108.  
  109. See Q#31 for info about entering MacsBug...
  110.  
  111. ===
  112. 26)  Can I refer to a file on my Mac system from within A/UX?
  113.  
  114. A/UX's "Finder" mode is the only way (currently) to access both file systems.
  115. You could write a hybrid application that could attach to the Finder world (a
  116. la, CommandShell and cmdo which can "see" both file systems), but you can't
  117. access HFS volumes from the A/UX kernel directly. In a similar vein, you can't
  118. "mount" an HFS volume on an A/UX inode.
  119.  
  120. ===
  121. 27)  How can I adjust the amount of virtual memory available Finder uses?
  122.  
  123. The default behavior under 3.0 is to set the amount of MacOS memory equal
  124. to the total memory you have if possible (see below about 24-bit mode).
  125. If you are low on swap, this can cause some strange behavior (although
  126. you most probably won't get a panic message). To "fix" this, you may want
  127. to decrease the memory size.
  128.  
  129. The easiest way is to use the "TBMEMORY" environment variable. You can set
  130. it's "value" equal to the amount of memory you wish to use. For example:
  131.  
  132.     set TBMEMORY=10m         (in .profile for ksh or sh or /etc/profile)
  133.        -or-
  134.     setenv TBMEMORY 10m      (in .login for csh)
  135.  
  136. configures Finder for 10M.
  137.  
  138. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using this
  139. method) to call "startmac" with the memory size you want using the "-m" option.
  140. For example:
  141.  
  142.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  143.                          -------
  144.  
  145. in (.)mac32|(.)mac24 will configure an 8M environment.
  146.  
  147. Please note that under the 24-bit mode (mac24), you can only access a maximum
  148. of 8MB of RAM. It won't complain if you try to setup more, it just won't
  149. do it. Furthermore, if you actually have more than 8MB (say 12), the "About
  150. This Macintosh" window will show "Built-in Memory:  12,288 L; Total Memory:
  151. 8,192 K".
  152.  
  153. ===
  154. 28)  Is it worth getting a cache card for the IIci?
  155.  
  156. Absolutely! The card makes an amazing difference in performance. However, this
  157. performance increase is reduced when an external monitor is used. For more
  158. information about extensive benchmarking with the IIci and cache cards, you
  159. can snag the benchmarking results (which were generated by William Roberts)
  160. via anon-ftp on redstar.dcs.qmw.ac.uk in archive/papers.
  161.  
  162. ===
  163. 29)  How do I keep command lines that I edit with "backspace" from erasing
  164.      the prompt?
  165.  
  166. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  167. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  168. running "ksh" then you can "set -o viraw" to prevent this from happening.
  169. As far as I know, there are no work-arounds for "sh" or "csh". ("tcsh" does
  170. not suffer from this problem... I don't know about "bash".)
  171.  
  172. ===
  173. 30)  When I try to mail something, I get the following error message:
  174.      "Cannot read frozen config file: not a typewriter". What's wrong?
  175.  
  176. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  177. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  178. distribution which has it as a 0-byte file). To create a "new" frozen file
  179. of your present sendmail.cf file (assuming that it's good), type:
  180.  
  181.     $ /usr/lib/sendmail -bz
  182.  
  183. (the sendmail daemon, if it exists, must be killed 1st).
  184.  
  185. ===
  186. 31a)  I have MacsBug installed. How can I trigger it?
  187.         -- or --
  188. 31b)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  189.       up; how can I unfreeze it? Should I hit the Interrupt switch?
  190.  
  191. The "Command-Control-e" keypress will kill the current MultiFinder environment
  192. and "unfreeze" (and kill) your MultiFinder|CommandShell. Depending on
  193. whether your session-type is Console Mode or 32|24-Bit, you will either get
  194. returned to the console or get returned to the Login screen. You should _NOT_
  195. press the Interrupt switch since this puts you into A/UX's kernel debugger.
  196. If you have MacsBug installed (which is recommended) then you can press
  197. "Command-Control-i" to enter it. This may enable you to clean some things up
  198. before the MultiFinder environment is blasted (even just using "rs" under
  199. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  200. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild" your
  201. icon/Desktop "environment" the next time Mac-mode is entered.
  202.  
  203. ===
  204. 32)  Is there an archive of comp.unix.aux out there somewhere?
  205.  
  206. Yes, it's located on aux.support.apple.com under archives/comp.unix.aux.
  207.  
  208. ===
  209. 33)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  210.      under A/UX?
  211.  
  212. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended for
  213. a variety of reasons, but most importantly to ensure compatibility with
  214. new products from Apple and developers (of course, the added features over
  215. Phase 1 are nice too :).
  216.  
  217. ===
  218. 34)  What languages are available for A/UX?
  219.  
  220. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as
  221. well as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter
  222. ('bs'). 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a
  223. true FORTRAN-77 compiler and appears quite workable. I've not used 'sno'
  224. (I couldn't recall how to program in SNOBOL if my life depended on it :)
  225. or 'bs'.
  226.  
  227. If you are doing any work in C, then it would be well worth it to get a
  228. copy of the GNU C compiler ('gcc') (see Q&A #9). gcc is K&R and ANSI
  229. compatible so if you are doing ANSI work you'll need it. Apple also has an
  230. ANSI C compiler ('c89') that you can buy. It's available on the "A/UX
  231. Developer's Toolkit CD" from APDA. There is also at least one other
  232. 3rd-party C compiler out there, but I can't recall it's name right
  233. now. gcc is free; c89 runs about $800. Both include C++ capabilities.
  234.  
  235. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN
  236. and Absoft MacFORTRAN II. In my opinion, MacFORTRAN II is the better
  237. product... it has finer compiler control, a wide number of compatibility
  238. options (such as VAX FORTRAN) and excellent speed. If you do order
  239. MFII, be _sure_ to get the A/UX version. They also sell an MPW version
  240. that will work under A/UX but it's run under, you guessed it, MPW.
  241. The A/UX version is a true "Unix" compiler and it's optimized for A/UX.
  242. Both MFII and NKR FORTRAN run about $500-$600.
  243.  
  244. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers
  245. are based on the GreenHills compilers which are known to be robust and
  246. fast. However, the Oasys packages are expensive, running about $2000
  247. per language (although you do get assemblers and linker/loaders with
  248. the package). Unisoft used to distribute their "Optimizing Compilers"
  249. (FORTRAN and C) for A/UX, but they are no longer available... Pity,
  250. because they also were based on GreenHills and were quite nice.
  251.  
  252. At present, I know of no true Pascal compilers for A/UX.
  253.  
  254. Finally, if you are doing program development, then you'll need a
  255. good debugger. As described above in "List of ports...", Thomas Eberhardt
  256. (thomas@mathematik.uni-Bremen.de) has ported gdb for A/UX, if you would
  257. prefer using something other than sdb or dbx, which are included with
  258. A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  259. debugger which has been fine-tuned to work with MFII (it also does quite
  260. well with C); it's called FX. It has two interfaces, character and Motif,
  261. and is quite powerful.
  262.  
  263. ===
  264. 35)  How can I figure out the /etc/disktab entry for my hard disk?
  265.  
  266. Many hard disk applications will reveal the disk drive geometry for you:
  267. FWB Hard Disk ToolKit and SCSI Evaluator are very good (SilverLining is a bit
  268. wrong on the number of tracks... it includes spares). What you are really
  269. looking for are the total number of cylinders ('nc'), the number of sectors
  270. per track ('ns') and the number of tracks ('nt'). Also, I'm maintaining
  271. a list of /etc/disktab entries. If you have any, send it to me and I'll
  272. add them.
  273.  
  274. The file will be available via anon-ftp on jagubox.
  275. <<ED: I need _LOTS_ of entries>>
  276.  
  277. Just a note: the number of tracks ('nt') is equal to the number of heads.
  278.  
  279. ===
  280. 36)  How come I can't use color under X?
  281.  
  282. Apple's X (R4), and Thomas Eberhardt's X11R5 all support color. However,
  283. you must start the server with the "-screen 0 -depth 8" option (similar
  284. command with other screens if you have them). You can add these options to
  285. the command line or to your server's defaults file. You can also create a
  286. ".X11" file in your home directory which includes the line:
  287.  
  288.     X -screen 0 -depth 8
  289.  
  290. to get the same effect. Make sure that ".X11" is executable for this to
  291. work ("chmod 755 .X11").
  292.  
  293. ===
  294. 37)  What are Right-To-Copy and Right-To-Upgrade licenses?
  295.  
  296. If you have bought at least one copy of A/UX 3.0 and you have other Mac CPUs
  297. that you would like to install A/UX on, you don't need to reorder the entire
  298. product. You can order a Right-To-Copy license for each Mac you want to
  299. install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  300. buying a whole new CD-ROM package. It's not right to copy unless you have a
  301. Right-To-Copy.
  302.  
  303. If those other Macs are already running A/UX, but an older version, then you
  304. need to order a Right-To-Upgrade license for each one you want to upgrade.
  305. As above, you then copy your 3.0 over to that Mac.
  306.  
  307. Note that in both cases, you must have purchased at least 1 copy of A/UX 3.0.
  308. The Right-To-* licenses just "authorize" you to then copy that over to other
  309. Macs.
  310.  
  311. The A/UX Essential Manual Set (that comes with A/UX 3.0) is not provided with
  312. either license. If you need more, you'll need to order them
  313.  
  314. ===
  315. 38)  How do I set up my Mac and A/UX to enable remote logins via a modem
  316.      on tty0?
  317.  
  318. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400:
  319.  
  320.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  321.  
  322. Make sure that your modem is set to be quiet, to not return result codes and
  323. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  324. achieve this for most Hayes-compatible modems except certain (all) USR modems).
  325. |Your modem must also raise DCD on connection ("at&c1") in order to have
  326. |Dialup security (i.e. when the line is closed, HangUp the process. This means
  327. |that MODEM flow control must be specified in gettydefs). You then save these
  328. changes using the "at&w" sequence. Finally, to make it autoanswer, be sure to
  329. add "ats0=1&w".
  330.  
  331. |Make sure that the modem cable is correctly configured (NOTE: This is
  332. |for Dialup Security!):
  333.  
  334.     Mac       Modem
  335.     --------------------
  336.     1 (HskO)  20 (DTR)
  337.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  338.     2 (HskI)  8  (DCD)
  339.     3 (TxD-)  2  (TxD)
  340.     4 (GDN)   7  (Sgnd)
  341.     5 (RxD-)  3  (RxD)
  342.     6 NO CONNECT
  343.     7 NO CONNECT
  344.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  345.  
  346. If you mess up pin 8 things can get so flaky that you'll never figure out
  347. what's going on. You see, by grounding pin 8, you make the modem port
  348. truly RS-232 compatible. If not grounded, the port will use the RS-422
  349. standard, which can cause lots of problems.
  350.  
  351. Please note that getty is the bidirectional version of getty, which is
  352. sometimes known as uugetty. Thus, you can have dial in and dial out
  353. at the same time on the same port. You should be using at least version
  354. 1.16 of HDB (see above: "stuff that's broken" and Q&A 15)
  355.  
  356. %%% For more info concerning modem|serial problems for A/UX, you really
  357.     should contact Alexis Rosen (alexis@panix.com)... He's really worked
  358.     this area... %%%
  359.  
  360. ===
  361. 39)  How come I can't used "talk" with some of the other Unix boxes out
  362.      there, and they can't talk to me?
  363.  
  364. The reason why is because there are two versions of talk (and it's daemon
  365. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  366. The two aren't compatible and don't even talk on the same port. If you try
  367. to talk to someone and all you get is a "Checking for invitation..." message
  368. then it's because the machine you're trying to access is using 4.3.
  369.  
  370. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  371. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  372. can have both versions available and running with no problems. The port is
  373. available via anon-ftp on jagubox.gsfc.nasa.gov.
  374.  
  375. ===
  376. 40)  I'm having trouble transfering files between A/UX and my MacOS disk...
  377.      Also, sometimes things get transfered fine, othertimes not. What's
  378.      going on?
  379.  
  380. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  381. a MacOS disk, all 'newline' characters will be replaced by 'carriage
  382. returns'. Sometimes this is what you want (that is when the file is, in fact,
  383. a TEXT file). Othertimes it's not. Say for example you download a GIF file
  384. onto your A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy
  385. it over to your MacOS disk and try to use Giffer on it, it won't work. That's
  386. because the 'nl's where changed, which is _not_ what you want. The way to
  387. stop this is to convince A/UX that the file is of non-TEXT type. There are
  388. many applications out there (including the A/UX included "setfile" program)
  389. that lets you modify this. Do this before you copy the file over to your Mac OS
  390. disk and all will be Okay. If you aren't sure what the Type and Creator
  391. should be, you can just specify "BIN " and "A/UX" (note space in BIN) and
  392. the file won't be massaged during the copy|transfer. You'll still need
  393. to eventually change them to the correct ones for their particular
  394. application, but this way they'll be on your MacOS disk "uncorrupted."
  395.  
  396. Of course, you could also use "setfile" to set the Type|Creator fields _before_
  397. you copy the file to the MacOS disk and avoid an additional step.
  398.  
  399. Please note that if you downloaded a BINHEX file, you _do_ want to keep
  400. it as a TEXT file if you transfer it over to the MacOS. Once there, you
  401. can de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  402.  
  403. See "Hints and Words of Wisdom" (above) for hints in using ftp file transfers
  404. under A/UX.
  405.  
  406. ===
  407. 41)  Using the command shell interface, I'm trying to delete some Mac files
  408.      (that have strange names) but I can't; "rm" returns an error and I can't
  409.      remove the file. What's going on?
  410.  
  411. The problem is that sh and csh don't understand the Mac "special" characters
  412. that are in the filenames. They don't expect filenames with characters that
  413. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to do
  414. the deletion. For example, to remove Moire, just type:
  415.  
  416.     $ ksh           #this creates a Korn shell child
  417.     % rm M?ire      #match the weird 'o'
  418.     % exit          #get back in your old shell
  419.  
  420. You could also use emacs' DIRED or the Gnu File utilities to do this, but ksh
  421. is right here on the system so it's a bit easier.
  422.  
  423. ===
  424. 42)  How can I reports bugs that I find?
  425.  
  426. The official E-mail address is reports@aux.support.apple.com. If you
  427. subscribe to the A/UX Technical AnswerLine, you can also use that method. The
  428. former isn't acknowledged although the latter is.
  429.  
  430. For completeness, also post the report to comp.unix.aux.
  431.  
  432. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  433. recommends using. I have a copy and can make it available via anon-ftp if
  434. there is a demand.
  435.  
  436. ===
  437. 43)  Which serial cards work under A/UX?
  438.  
  439. <<ED: the following is a posting by Alexis Rosen (alexis@panix.com) on c.u.a>>
  440.  
  441. There are three cards that "work" with A/UX. The Apple serial card is NOT one
  442. of them.
  443.  
  444. The first is Paul Campell's Taniwha CommCard. This card does indeed work with
  445. all versions of A/UX including 3.0. It has special support for UUCP. It has
  446. a few mysterious and not very important problems. It's an excellent buy. The
  447. only problem is, it's not on the market anymore. If you can get one used,
  448. though, it's worth getting. The one downside is that, like Apple's ports, it
  449. won't SIMULTANEOUSLY support modem and hardware flow control. It is immune to
  450. many of the nasty bugs which affect the built-in serial ports, including the
  451. two (at least) which can crash the kernel.
  452.  
  453. The second is the Digiboard Nu/whatever, which comes in 4 and 8 port versions.
  454. This card does not currently work well with A/UX, and has not since 2.0. It
  455. is susceptible to a variety of problems which crash the kernel, although if
  456. you use only one port, you can go for many days without dying. It can also
  457. bring down streams without crashing the kernel. A separate problem with
  458. throughput causes UUCP to fail at high (9600 or above) speeds. HOWEVER- the
  459. story is not over. The author of the drivers has been working hard to correct
  460. these problems, and I hope that they will be corrected sometime in the next
  461. two months.
  462.  
  463. <<ED: Some very good news! Brian Westley, the author of the Nu/Xi drivers,
  464.   of DigiBoard has completely rewritten the A/UX drivers, which are now
  465.   in beta test. According to Brain, the betas seem rock solid and complete
  466.   and are "much better than the current released version." He's also
  467.   attempting to add CSlip support. He also now has _real_ work-time
  468.   available to work on the drivers. If you would like the latest betas
  469.   (or just need to contact him) he has a variety of E-mail addresses:
  470.     merlyn@digibd.com
  471.     ...uunet!digibd!merlyn
  472.     AppleLink D1692
  473. >>
  474.  
  475. The 3rd is the Applied Engineering QuadraLink serial card. I have the drivers
  476. but have never had the chance to test them. However, I'm not too comfortable
  477. with the idea of using them, for two reasons. First, the author of the drivers
  478. knows fairly little about A/UX or unix in general. Second, the driver code is
  479. based on Apple code. Apple has been (at least until 3.0 comes out) completely
  480. incapable of writing serial drivers for their own hardware, so I'm not too
  481. confident in usig their code as a base for someone else's drivers. BUT!!! - 
  482. as I said, I haven't used them. And at least one person who has, has not
  483. reported trouble. So they're OK, at least for light use (which is sort of true
  484. for the Apple ports as well). I just wouldn't bet a commercial project on
  485. it.
  486.  
  487. The AE QuadraLink card, like the CommCard and the Apple ports, can't do both
  488. hardware handshaking and modem control at the same time. No hardware patch
  489. kit will be developed for the AE card...
  490.  
  491. The AE QuadraLink DMA isn't any better.
  492.  
  493. In short, there are no good serial-port solutions for A/UX. For a serious
  494. project, buy a terminal server or buy a Sun. :-(
  495.  
  496. <<ED: the following is a followup to Alexis's posting. It's from Paul Sander>>
  497.  
  498. Actually, there are four.
  499.  
  500. The fourth is the MaraThon MultiComm card from Dove.  It comes with three
  501. serial ports and a parallel port.  The first serial port is a DB-25, the
  502. second is a DB-9 (AT compatible), and the third is configurable DB-25 or
  503. RS-422.  The parallel port is also AT-compatible.  I haven't had trouble
  504. with the serial ports, though I have had only terminals connected to them.
  505. The parallel driver has an infuriating bug in which occasionally the end
  506. of a printout is lost.  (The workaround is to print a short dummy file after
  507. anything important.)  A/UX drivers come separately from the card, but they
  508. are free.
  509.  
  510. Dove's technical support is pretty poor.  When I got the card, I had them
  511. send the A/UX drivers.  When I discovered the bug, I reported it, and got
  512. an "update," which contained the exact same software (proven using cmp to
  513. compare the cpio archives on their media).  Repeated calls were either
  514. unanswered, or were not returned.  I finally gave up after some 6 months
  515. of frustration.  To make the story complete, they used to have an 800
  516. number for technical support, but it was discontinued 3 months into this
  517. saga.
  518.  
  519. ===
  520. 44)  I heard the the Installer for 3.0 works on "any" 3rd party hard disk.
  521.      Well, it doesn't on mine!
  522.  
  523. Well, the Installer will work with any 3rd party disk but there are a few
  524. wrinkles... The HD Setup application in the 3.0 Installer is unique in that
  525. not only does it create A/UX partitions but it also creates the actual file
  526. systems in those partitions (basically it runs 'newfs'). Now if you have
  527. used some other HD utility program (such as SilverLining or FWB HDT) to
  528. create the partitions and then attempt to install A/UX on that disk, the
  529. Installer sees that the partitions are there and then _assumes_ that they
  530. were created by HD Setup and therefore have the file systems already created.
  531. Of course, the file systems don't exist yet, just the partitions, so the
  532. installation fails.
  533.  
  534. You have a few options:
  535.  
  536.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  537.     will do all the partitioning (etc...) and the installation will
  538.     proceed. Note that this means you will be "stuck" with the Apple drivers
  539.     whenever you are in the _real_ MacOS Finder.
  540.  
  541.  b. If you want to use the drivers on your HD utility (for stuff like,
  542.     maybe, password protection of partitions) then you have two (maybe
  543.     three )additional options:
  544.  
  545.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  546.       "take over" the disk, disabling (or even removing) the Apple drivers
  547.       and installing it's own. Note that if there isn't enough space to
  548.       install it's drivers, most will attempt to "shrink" the MacOS
  549.       partition to make room. Most can do this with no problem, but why
  550.       take the risk... when you partition the disk, leave about 64K
  551.       available as free space.
  552.  
  553.   ii. Use your HD utility to create the partitions. Then, before you
  554.       run the Installer, run 'newfs' "by hand" to create the file systems
  555.       so that the installation can proceed.
  556.  
  557.  iii. Use your HD utility to format (etc...) your disk and create
  558.       _only_ the MacOS partition. Now run the Installer. In most cases
  559.       HD Setup will work fine with the driver installed on the disk.
  560.       You can now use it to create the A/UX partitions.
  561.  
  562.       <<ED: I _know_ this (iii) works with FWH HDT 1.1.x>>
  563.  
  564. ===
  565. 45)  I'm using a LaserWriter IIg with A/UX 3.0 and whenever I print some-
  566.      thing to it through "lpr", the first line of the page is cut off. Why?
  567.  
  568. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  569. The reason is because this makes the LW default to PhotoGrade-mode. You can do
  570. 2 things to fix this:
  571.  
  572.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  573.        Since one of the main advantages of these LW's is PhotoGrade,
  574.        this option is kinda unpalatable.
  575.  
  576.     2. If you are _only_ using "Letter" mode under "lpr", then you
  577.        can edit /usr/lib/ps/pstext.pro to include the following line
  578.        between "% RCSID:..." and "/StartPage...":
  579.  
  580.        %!PS-Adobe-1.0
  581.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  582.          87/05/04 19:02:25
  583.        %%Creator: pstext
  584.        %%DocumentFonts: Courier
  585.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  586.  =====>>>>>letter 
  587.        /StartPage{/sv save def 48 760 moveto}def
  588.  
  589. This will fix the problem and make it usable again.
  590.  
  591. ===
  592. 46)  Whenever I try to run xinit (or startx) from the CommandShell I get
  593.      a fatal server error. Why?
  594.  
  595. The reason why is because both X and the CommandShell want _complete_ control
  596. over your Mac (display, keyboard and mouse). So, when you try to start one
  597. while running the other, you'll get into trouble. You need to start X either
  598. from the Console Emulator Mode or by choosing it as your "session type" from
  599. the Login screen (This session type will be available only if your installed
  600. Apple's X or have installed John Coolidge's 'sessiontypes' for X11R5).
  601.  
  602. ===
  603. 47)  I'm trying to access my tape drive using 'tc' (with something like
  604.      "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  605.  
  606. Except for 9-track magtapes, all I/O to tape drives associated with the
  607. 'tc' device files _must_ be blocked at 8k. The 'tcb' program does just
  608. that so that should be included. For example, to write:
  609.  
  610.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  611.  
  612. And to read:
  613.  
  614.     $ tcb < /dev/rmt/tc1 | cpio -i
  615.  
  616. You can get better performance if you increase the buffer size (just make
  617. sure that it's a multiple of 8k). For example, you could use 'dd' as
  618. your blocking filter with a 'bs=10x8k'.
  619.  
  620. |Jim Jagielski's replacement for 'tc' allows for 'tc' to use the
  621. |tape drive's own physical block size as the logical block size
  622. |for I/O. Doing so results in a sizable performance hit and it
  623. |isn't recommended for normal use. Use the "mode" _ONLY_ if you
  624. |need to read tapes written by 'st' or by another platform. Please
  625. |note you are still limited to an I/O block size of at least the
  626. |physical block size, which can be anything for 512 to 1024 to 8192 bytes.
  627.  
  628. %%% For more information about "tc", please contact Jim via E-mail %%%
  629.  
  630. ===
  631. 48)  What CD-ROM drives are compatible with A/UX 3.0?
  632.  
  633. Of course, the Apple CD-ROM drive is 100% compatible with A/UX. The following
  634. are also known to be 100% compatible (meaning you can use them to install
  635. A/UX as well as when running A/UX):
  636.  
  637.     The Toshiba XM3201B and XM3301B
  638.     DEC RRD42
  639.     Sun CD-ROM (Sony CDU-8012?)
  640.     CD-Technologies Porta-Drive CD-ROM
  641.     Chinon CDA-431
  642.  
  643. ===
  644. 49)  Do I install CDEVs and Extensions in the System Folder on MacPartition
  645.      or on the "/" A/UX disk.
  646.  
  647. To install these additions to A/UX, you will need to drag-copy them over
  648. to the A/UX System Folder. Usually, this is /mac/sys/System Folder on
  649. the "/" disk but it will also "appear" in your "home folder" icon.
  650.  
  651. ===
  652. 50)  I heard that A/UX requires a special version of System 7 to boot...
  653.      Is this true?
  654.  
  655. A lot of people believe this but this is not true. There is no difference
  656. between the s/w on the MacPartition partition and the "real" System 7.
  657. The only _real_ need for MacPartition is that it's name tells A/UX Startup
  658. what SCSI disk contains the A/UX Root partition. When A/UX Startup starts,
  659. it looks for the MacPartition disk and then looks for the A/UX partitions
  660. on that disk. This means that you _don't_ need to boot-up from the
  661. MacPartition disk to boot A/UX. Start your Mac from your standard Startup
  662. disk and just double-click on A/UX Startup on the MacPartition icon.
  663.  
  664. You can even do without the MacPartition disk but telling A/UX Startup
  665. the exact SCSI number of the A/UX disk. You can do this a couple of ways:
  666.  
  667.     1. create a ROOT variable in A/UX Startup that points to the
  668.        root partition in this form: (SCSI-ID, 0, 0)
  669.  
  670.     2. Under the General Preferences menu, change the Root Directory
  671.        to (SCSI-ID, 0, 0).
  672.  
  673. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  674. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  675. it's "real" name. This is kinda messy since you'll need to preface a lot
  676. of stuff with this value: e.g.
  677.  
  678.     #startup cat (6,0,0)/etc/inittab
  679.  
  680. ===
  681. 51)  I've tried to install the CD Remote extension to A/UX so that
  682.      I can play audio CD's, but it doesn't work...
  683.  
  684. At present, A/UX will not allow you to play your audio CD's on a CD-ROM
  685. drive, so don't attempt to install the CD Remote extension (see below #52).
  686.  
  687. ===
  688. 52)  What CD-ROM formats does A/UX support?
  689.  
  690. A/UX supports ISO file system format CD-ROMs. The catch is that A/UX only
  691. supports ISO in the MacOS mode (i.e. you can't 'mount' the CD-ROM as an
  692. UNIX file system). To allow this, you'll need to copy 3 Mac files to
  693. the System Folder that's active when you want to use ISO CD-ROMs. The files,
  694. which must be obtained from the Apple CD-ROM Software Disk (vers. 3.2 or
  695. later) are: ISO 9660 File Access, High Sierra File Access and Foreign
  696. File Access (the latter is an Extension). Logging out of the MacOS mode
  697. and then logging back in will "complete" the installation. Do _not_
  698. install the Apple CD-ROM extension, since it is built into A/UX.
  699.  
  700. Again, please note that A/UX will not recognize _any_ of the audio
  701. capability of CD-ROMs.
  702.  
  703. ===
  704. 53)  How can I add printers other than those available via the Chooser?
  705.  
  706. <<ED: From a post by Antonio Ordonex (antonio@apple.com)>>
  707.  
  708. If the printer is in another zone, it is necessary to define the zone in
  709. which the printer is located with a full path name.  You can then
  710. "hardwire" a printer name including the zone for a particular printer
  711. queue.
  712.  
  713. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  714. directory and give it a name related to the printer we want to use. Modify
  715. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links)
  716. in this directory. Also modyfy the /etc/printcap file to create a new
  717. printer queue.
  718.  
  719. I will use my system as an example so please modify to reflect your
  720. situation.
  721.  
  722. The first thing to do is to create the new directory and put the correct
  723. files in it. NOTE that I am using mknod to create the pipe file.
  724.  
  725. mkdir Idaho
  726. chown daemon Idaho
  727. chgrp daemon Idaho
  728. cp AppleTalk/ifilter Idaho/ifilter
  729. cd Idaho
  730. ln ifilter ofilter
  731. ln ofilter nfilter
  732. mknod pipe p
  733. chown daemon *
  734. chgrp daemon *
  735.  
  736. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  737. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  738. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  739. TextEditor)
  740. and change the line that defines the value for Printer from
  741.  
  742. Printer=`basename "cwd"`
  743.     -to-
  744. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  745.  
  746. In the /etc/printcap file I copy the entry for AppleTalk (all six lines)
  747. and change any reference to AppleTalk to the name I used for my new
  748. directory. Again, in my case I used "Idaho" as the directory name so my
  749. /etc/printcap file looks like
  750.  
  751. #
  752. # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  753. #
  754. # Copyright 1990 Apple Computer, Inc.
  755. # All Rights Reserved.
  756. ##
  757. # Remote AppleTalk printer (selected by Chooser)
  758. # For an AppleTalk printer which doesn't support PostScript remove last 2
  759. names.
  760. lp|at|AppleTalk|postscript|PostScript:\
  761.         :lp=/dev/null:\
  762.         :if=/usr/spool/lpd/AppleTalk/ifilter:\
  763.         :of=/usr/spool/lpd/AppleTalk/ofilter:\
  764.         :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  765.         :sd=/usr/spool/lpd/AppleTalk:
  766. lp2|Idaho:\
  767.         :lp=/dev/null:\
  768.         :if=/usr/spool/lpd/Idaho/ifilter:\
  769.         :of=/usr/spool/lpd/Idaho/ofilter:\
  770.         :nf=/usr/spool/lpd/Idaho/nfilter:\
  771.         :sd=/usr/spool/lpd/Idaho:
  772.  
  773. After all these steps are completed restart the printer queue with the
  774. command 
  775.  
  776. lpc restart all
  777.  
  778. Now you should be able to send a print job to the printer in the other
  779. zone
  780. with the command
  781.  
  782. lpr -Plp2 /etc/passwd
  783.  
  784. or
  785.  
  786. lpr -PIdaho /etc/passwd
  787.  
  788. Hope this helps
  789.  
  790. ===
  791. //////////////////////  END OF PART 2 OF 2  \\\\\\\\\\\\\\\\\\\\\\
  792.  
  793. -- 
  794.     Jim Jagielski               | "It is not I who am crazy...
  795.     jim@jagubox.gsfc.nasa.gov   |  it is I who am MAD!"
  796.     NASA/GSFC, Code 734.4       |
  797.     Greenbelt, MD 20771         |            - Ren
  798.