home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / aix-faq / part3 < prev    next >
Encoding:
Text File  |  1993-11-17  |  56.2 KB  |  1,537 lines

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!cs.utexas.edu!mavrick!basto@cactus.org
  2. From: basto@cactus.org (Luis Basto)
  3. Newsgroups: comp.unix.aix,news.answers,comp.answers
  4. Subject: REPOST: AIX Frequently Asked Questions (Part 3 of 3)
  5. Summary: This posting contains a list of Frequently Asked Questions 
  6.          and their answers about AIX, IBM's version of Unix.
  7. Keywords: AIX RS/6000 questions answers
  8. Message-ID: <1476@mavrick.UUCP>
  9. Date: 17 Nov 93 05:43:01 GMT
  10. Expires: 15 Dec 93 01:23:45 GMT
  11. Sender: luis@mavrick.UUCP
  12. Reply-To: basto@cactus.org (Luis Basto)
  13. Followup-To: comp.unix.aix
  14. Lines: 1518
  15. Approved: news-answers-request@MIT.Edu
  16. Supersedes: <1464@mavrick.UUCP>
  17. Xref: senator-bedfellow.mit.edu comp.unix.aix:32994 news.answers:14800 comp.answers:2690
  18.  
  19. Archive-name: aix-faq/part3
  20. Last-modified: November 15, 1993
  21. Version: 2.43
  22.  
  23. Seems to have missed the bit wagon. So here we go again.
  24.  
  25.  
  26. Version: $Id: aix.faq,v 2.43 93/11/15 basto $
  27.  
  28. Frequently Asked Questions to AIX 3.x and IBM RS/6000
  29. _____________________________________________________
  30.  
  31. 2.06: Linking my program fails with strange errors.  Why?
  32.  
  33. Very simple, the linker (actually called the binder), cannot get the
  34. memory it needs, either because your ulimits are too low or because you
  35. don't have sufficient paging space.  Since the linker is quite different
  36. from normal Unix linkers and actually does much more than these, it also
  37. uses a lot of virtual memory.  It is not unusual to need 10000 pages (of
  38. 4k) or more to execute a fairly complex linking.
  39.  
  40. If you get 'BUMP error', either ulimits or paging is too low, if you get
  41. 'Binder killed by signal 9' your paging is too low.
  42.  
  43. First, check your memory and data ulimits; in korn shell 'ulimit -a' will
  44. show all limits and 'ulimit -m 99999' and 'ulimit -d 99999' will
  45. increase the maximum memory and data respectively to some high values. 
  46. If this was not your problem, you don't have enough paging space.
  47.  
  48. If you will or can not increase your paging space, you could try this:
  49.  
  50. - Do you duplicate libraries on the ld command line? That is never
  51.   necessary.
  52.  
  53. - Do more users link simultaneously? Try having only one linking going
  54.   on at any time.
  55.  
  56. - Do a partwise linking, i.e. you link some objects/libraries with the
  57.   -r option to allow the temporary output to have unresolved references,
  58.   then link with the rest of your objects/libraries.  This can be split
  59.   up as much as you want, and will make each step use less virtual memory.
  60.  
  61.   If you follow this scheme, only adding one object or archive at a
  62.   time, you will actually emulate the behavior of other Unix linkers.
  63.  
  64. If you decide to add more paging space, you should consider adding a new
  65. paging space on a second hard disk, as opposed to just increasing the
  66. existing one.  Doing the latter could make you run out of free space on
  67. your first harddisk. It is more involved to shrink a paging space
  68. but easier to delete one.
  69.  
  70.  
  71. 2.07: What's with malloc()?
  72.  
  73. malloc() uses a late allocation algorithm based on 4.3 BSD's malloc()
  74. for speed.  This lets you allocate very large sparse memory spaces,
  75. since the pages are not actually allocated until they are touched for
  76. the first time.  Unfortunately, it doesn't die gracefully in the face of
  77. loss of available memory.  See the "Paging Space Overview" under
  78. InfoExplorer, and see the notes on the linker in this document for an
  79. example of an ungraceful death.
  80.  
  81. If you want your program to get notified when running out of memory, you
  82. should handle the SIGDANGER signal.  The default is to ignore it. 
  83. SIGDANGER is sent to all processes when paging space gets low, and if
  84. paging space gets even lower, processes with the highest paging space
  85. usage are sent the SIGKILL signal.
  86.  
  87. malloc() is substantially different in 3.2, allocating memory more
  88. tightly.  If you have problems running re-compiled programs on 3.2, try
  89. running them with MALLOCTYPE=3.1. 
  90.  
  91.  
  92. 2.08: Why does xlc complain about 'extern char *strcpy()'
  93.  
  94. The header <string.h> has a strcpy macro that expands strcpy(x,y) to
  95. __strcpy(x,y), and the latter is then used by the compiler to generate
  96. inline code for strcpy.  Because of the macro, your extern declaration
  97. contains an invalid macro expansion.  The real cure is to remove your
  98. extern declaration but adding -U__STR__ to your xlc will also do the trick.
  99.  
  100.  
  101. 2.09: Why do I get 'Parameter list cannot contain fewer ....'
  102.  
  103. This is the same as above.
  104.  
  105.  
  106. 2.10: Why does xlc complain about '(sometype *)somepointer = something'
  107.  
  108. Software that is developed using GNUC may have this construct.  However,
  109. standard C does not permit casts to be lvalues, so you will need to
  110. change the cast and move it to the right side of the assignment.  If you
  111. compile with 'cc', removing the cast completely will give you a warning,
  112. 'xlc' will give you an error (provided somepointer and something are of
  113. different types - but else, why would the cast be there in the first place?)
  114.  
  115.  
  116. 2.11: Some more common errors
  117.  
  118. Here are a few other common errors with xlc:
  119.  
  120. 305 |     switch((((np)->navigation_type) ? (*((np)->navigation_type)) :
  121.       ((void *)0)))
  122.       .a...........  
  123. a - 1506-226: (S) The second and third operands of the conditional
  124. operator must be of the same type.
  125.  
  126. The reason for this is that xlc defines NULL as (void *)0, and it does
  127. not allow two different types as the second and third operand of ?:. 
  128. The second argument above is not a pointer and the code used NULL
  129. incorrectly as a scalar.  NULL is a nil pointer constant in ANSI C and
  130. in some traditional compilers.
  131.  
  132. You should change NULL in the third argument above to an integer 0.
  133.  
  134.  
  135. 2.12: Can the compiler generate assembler code?
  136.  
  137. The traditional -S option is not supported by the XLC compiler, and
  138. there is in fact no way to make the compiler generate machine readable
  139. assembler code.  The option -qlist will generate a human readable one in
  140. the .lst file.
  141.  
  142.  
  143. 2.13: Curses
  144.  
  145. Curses based applications should be linked with -lcurses and _not_ with
  146. -ltermlib. It has also been reported that some problems with curses are
  147. avoided if your application is compiled with -DNLS.
  148.  
  149. Peter Jeffe <peter@ski.austin.ibm.com> also notes:
  150.  
  151. >the escape sequences for cursor and function keys are *sometimes*
  152. >treated as several characters: eg. the getch() - call does not return
  153. >KEY_UP but 'ESC [ C.'
  154.  
  155. You're correct in your analysis: this has to do with the timing of the
  156. escape sequence as it arrives from the net. There is an environment
  157. variable called ESCDELAY that can change the fudge factor used to decide
  158. when an escape is just an escape. The default value is 500; boosting
  159. this a bit should solve your problems.
  160.  
  161. Christopher Carlyle O'Callaghan <asdfjkl@wam.umd.edu> has more comments
  162. concerning extended curses:
  163.  
  164. 1) The sample program in User Interface Programming Concepts, page 7-13
  165.    is WRONG. Here is the correct use of panes and panels.
  166.  
  167. #include <cur01.h>
  168. #include <cur05.h>
  169.  
  170. main()
  171. {
  172. PANE *A, *B, *C, *D, *E, *F, *G, *H;
  173. PANEL *P;
  174.  
  175. initscr();
  176.  
  177. A = ecbpns (24, 79, NULL, NULL, 0, 2500, Pdivszp, Pbordry, NULL, NULL);
  178. D = ecbpns (24, 79, NULL, NULL, 0, 0,    Pdivszf, Pbordry, NULL, NULL);
  179. E = ecbpns (24, 79, D,    NULL, 0, 0,    Pdivszf, Pbordry, NULL, NULL);
  180. B = ecbpns (24, 79, A, D, Pdivtyh, 3000, Pdivszp, Pbordry, NULL, NULL);
  181. F = ecbpns (24, 79, NULL, NULL, 0, 0,    Pdivszf, Pbordry, NULL, NULL);
  182. G = ecbpns (24, 79, F,    NULL, 0, 5000, Pdivszp, Pbordry, NULL, NULL);
  183. H = ecbpns (24, 79, G,    NULL, 0, 3000, Pdivszp, Pbordry, NULL, NULL);
  184. C = ecbpns (24, 79, B, F, Pdivtyh, 0, Pdivszf, Pbordry, NULL, NULL);
  185. P = ecbpls (24, 79, 0, 0, "MAIN PANEL", Pdivtyv, Pbordry, A);
  186.  
  187. ecdvpl (P);
  188. ecdfpl (P, FALSE);
  189. ecshpl (P); 
  190. ecrfpl (P);
  191. endwin();
  192. }
  193.  
  194. 2) DO NOT include <curses.h> and any other <cur0x.h> file together.
  195.    You will get a bunch of redefined statements.
  196.  
  197. 3) There is CURSES and EXTENDED CURSES. Use only one or the other. If the
  198.    manual says that they're backwards compatible or some other indication 
  199.    that you can use CURSES routines with EXTENDED, don't believe it. To 
  200.    use CURSES you need to include <curses.h> and you can't (see above).
  201.  
  202. 4) If you use -lcur and -lcurses in the same link command, you will get
  203.    Memory fault (core dump) error. You CANNOT use both of them at the same
  204.    time. -lcur is for extended curses, -lcurses is for regular curses.
  205.  
  206. 5) When creating PANEs, when you supply a value (other than 0) for the
  207.    'ds' parameter and use Pdivszf value for the 'du' parameter, the 'ds'
  208.    will be ignored (the sample program on page 7-13 in User Interface
  209.    Programming Concepts is wrong.) For reasons as yet undetermined,
  210.    Pdivszc doesn't seem to work (or at least I can't figure out how to
  211.    use it.)
  212.  
  213. 6) If you're running into bugs and can't figure out what is happening,
  214.    try the following:
  215.    include -qextchk -g in your compile line
  216.     -qextchk will check to make sure you're passing the right number of
  217.        parameters to the functions
  218.     -g enables debug
  219.  
  220. 7) Do not use 80 as the number of columns if you want to use the whole
  221.    screen. The lower right corner will get erased.  Use 79 instead.
  222.  
  223. 8) If you create a panel, you must create at least 1 pane, otherwise you
  224.    will get a Memory fault (core dump).
  225.  
  226. 9) When creating a panel, if you don't have a border around it, any title
  227.    you want will not show up.
  228.  
  229. 10) to make the screen scroll down:
  230.     wmove (win, 0, 0);
  231.     winsertln (win)
  232.  
  233. 11) delwin(win) doesn't work in EXTENDED WINDOWS
  234.  
  235.     To make it appear as if a window is deleted, you need to do the following:
  236.     for every window that you want to appear on the screen
  237.     touchwin(win)
  238.     wrefresh(win)
  239.  
  240.     you must make sure that you do it in the exact same order as you put
  241.     them on the screen (i.e., if you called newwin with A, then C, then B,
  242.     then you must do the loop with A, then C, then B, otherwise you won't
  243.     get the same screen back).  The best thing to do is to put them into
  244.     an array and keep track of the last window index.
  245.  
  246. 12) mvwin(win, line, col) implies that it is only used for viewports and
  247.     subwindows. It can also be used for the actual windows themselves.
  248.  
  249. 13) If you specify the attribute of a window using wcolorout(win), any
  250.     subsequent calls to chgat(numchars, mode) or any of its relatives
  251.     will not work. (or at least they get very picky.)
  252.  
  253.  
  254. 2.14: How do I speed up linking
  255.  
  256. Please refer to sections 2.03 and 2.06 above.
  257.  
  258. From: losecco@undpdk.hep.nd.edu (John LoSecco) and
  259.       hook@chaco.aix.dfw.ibm.com (Gary R. Hook)
  260.  
  261. From oahu.cern.ch in /pub/aix3 you can get a wrapper for the existing
  262. linker called tld which can reduce link times with large libraries by
  263. factors of 3 to 4.
  264.  
  265.  
  266. 2.15: What is deadbeef?
  267.  
  268. When running the debugger (dbx), you may have wondered what the
  269. 'deadbeef' is you occasionally see in registers.  Do note, that
  270. 0xdeadbeef is a hexadecimal number that also happens to be some kind
  271. of word (the RS/6000 was built in Texas!), and this hexadecimal number
  272. is simply put into unused registers at some time, probably during
  273. program startup.
  274.  
  275.  
  276. 2.16: How do I statically link in 3.2?
  277.  
  278. xlc -bnso -bI:/lib/syscalls.exp -liconv -bnodelcsect 
  279.  
  280. _____________________________________________________
  281. 3.00: Fortran and other compilers
  282.  
  283. This section covers all compilers other than C/C++.  On Fortran, there
  284. seem to have been some problems with floating point handling, in
  285. particular floating exceptions.
  286.  
  287.  
  288. 3.01: I have problems mixing Fortran and C code, why?
  289.  
  290. A few routines (the most famous one is getenv) exist in both the Fortran
  291. and the C libraries but with different parameters.  You therefore cannot
  292. have a mixed program that call getenv from both C and Fortran code. 
  293. When linking a mixed program calling getenv from either, be sure to
  294. specify the correct library first on your command line.  If your main
  295. program is Fortran and you call getenv from a C routine, you must
  296. therefore add -lc to the xlf command line for linking.
  297.  
  298. If you want to call getenv from both C and Fortran code in a mixed
  299. program, you need to compile all the Fortran code with the -qextname
  300. option.  This appends an underscore to all Fortran external names and
  301. ensures that no confusion occurs with default C libraries.  Of course an
  302. underscore should be added by hand in the C code to the name of all
  303. routines which are called form Fortran and to all calls to Fortran
  304. routines.  If you do that, Fortran will call something which appears to
  305. C as getenv_ and there will be no confusion.
  306.  
  307.  
  308. 3.02: How do I statically bind Fortran libraries and dynamically
  309.       bind C libraries?
  310. From: amaranth@vela.acs.oakland.edu (Paul Amaranth)
  311.  
  312. [ Editor's note: Part of this is also discussed above under the C compiler
  313.   section, but I felt it was so valuable that I have left it all in. 
  314.   I've done some minor editing, mostly typographical. ]
  315.  
  316. The linker and binder are rather versatile programs, but it is not
  317. always clear how to make them do what you want them to.  In particular,
  318. there are times when you do not want to use shared libraries, but
  319. rather, staticly bind the required routines into your object.  Or, you
  320. may need to use two versions of the same routine (eg, Fortran & C).  Here
  321. are the results of my recent experiments.  I would like to thank Daniel
  322. Premer and Brad Hollowbush, my SE, for hints.  Any mistakes or omissions
  323. are my own and I have tended to interchange the terms "linker" and
  324. "binder".  These experiments were performed on AIX 3.1.2.  Most of this
  325. should be applicable to later upgrades of 3.1.
  326.  
  327. 1)  I have some C programs, I want to bind in the runtime routines.  How
  328.     do I do this? [Mentioned in section 2.04 of this article as well, ed.]
  329.  
  330.     You can put the -bnso binder command on the link line.  You should
  331.     also include the -bI:/lib/syscalls.exp control argument:
  332.       
  333.       $ cc *.o -bnso -bI:/lib/syscalls.exp -o foo
  334.  
  335.     This will magically do everything you need.  Note that this will bind
  336.     _all_ required routines in.  The -bI argument tells the linker that
  337.     these entry points will be resolved dynamically at runtime (these are
  338.     system calls).  If you omit this you will get lots of unresolved 
  339.     reference messages.
  340.  
  341. 2)  I want to statically bind in the Fortran runtime so a) my customers 
  342.     do not need to buy it and b) I don't have to worry about the runtime
  343.     changing on a new release.  Can I use the two binder arguments in
  344.     1) to do this?
  345.  
  346.     You should be able to do so, but, at least under 3002, if you do
  347.     you will get a linker error referencing getenv.  In addition, there
  348.     are a number of potential conflicts between Fortran and C routines.
  349.     The easy way just does not work.  See the section on
  350.     2 stage linking for C and Fortran on how to do this.  The getenv
  351.     problem is a mess, see the section on Comments & Caveats for more.
  352.  
  353. 3)  I have a mixture of C and Fortran routines, how can I make sure
  354.     that the C routines reference the C getenv, while the Fortran routines
  355.     reference the Fortran getenv (which has different parameters and, if
  356.     called mistakenly by a C routine results in a segmentation fault)?
  357.  
  358.     From Mike Heath (mike@pencom.com):
  359.  
  360.     Use -brename:symbol1,symbol2 when pre-linking the modules from one
  361.     of the languages. It does not matter which one you choose.
  362.  
  363. 4)  I have C and Fortran routines.  I want to bind in the xlf library, while
  364.     letting the rest of the libraries be shared.  How do I do this?
  365.  
  366.     You need to do a 2 stage link.  In the first stage, you bind in the
  367.     xlf library routines, creating an intermediate object file.  The
  368.     second stage resolves the remaining references to the shared libraries.
  369.  
  370.     This is a general technique that allows you to bind in specific system
  371.     routines, while still referencing the standard shared libraries.
  372.  
  373.     Specifically, use this command to bind the xlf libraries to the Fortran
  374.     objects:
  375.  
  376.        $ ld -bh:4 -T512 -H512 <your objects> -o intermediat.o \
  377.          -bnso -bI:/lib/syscalls.exp -berok -lxlf -bexport:/usr/lib/libg.exp \
  378.          -lg -bexport:<your export file>
  379.  
  380.     The argument -bexport:<your export file> specifies a file with the
  381.     name of all entry points that are to be visible outside the intermediate 
  382.     module.  Put one entrypoint name on a line.  The -bI:/lib/libg.exp line 
  383.     is required for proper functioning of the program.  The -berok argument 
  384.     tells the binder that it is ok to have unresolved references, at least 
  385.     at this time (you would think -r would work here, but it doesn't seem to).  
  386.     The -bnso argument causes the required modules to be imported
  387.     into the object.  The -lxlf, of course, is the xlf library.
  388.  
  389.     Then, bind the intermediate object with the other shared libraries in
  390.     the normal fashion:
  391.  
  392.        $ ld -bh:4 -T512 -H512 <C or other modules> intermediate.o \
  393.          /lib/crt0.o -lm -lc
  394.  
  395.     Note the absence of -berok.  After this link, all references should
  396.     be resolved (unless you're doing a multistage link and making another
  397.     intermediate).
  398.  
  399.     NOTE THE ORDER OF MODULES.  This is extremely important if, for example,
  400.     you had a subroutine named "load" in your Fortran stuff.  Putting the
  401.     C libraries before the intermediate module would make the C "load"
  402.     the operable definition, rather than the Fortran version EVEN THOUGH 
  403.     THE FORTRAN MODULE HAS ALREADY BEEN THROUGH A LINK AND ALL REFERENCES 
  404.     TO THE SYMBOL ARE CONTAINED IN THE FORTRAN MODULE.  This can
  405.     be extremely difficult to find (trust me on this one :-)  Is this
  406.     a bug, a feature, or what?
  407.     
  408.     [As mentioned in section 2.03 of this article, it is a feature that you
  409.     can replace individual objects in linked files, ed.]
  410.  
  411.     The result will be a slightly larger object than normal.  (I say slightly
  412.     because mine went up 5%, but then it's a 2 MB object :-)
  413.  
  414.  
  415. Comments & Caveats:
  416.  
  417.    From the documentation the -r argument to the linker should do what
  418.    -berok does.  It does not.  Very strange results come from using the
  419.    -r argument.  I have not been able to make -r work in a sensible manner
  420.    (even for intermediate links which is what it is supposed to be for).
  421.  
  422.        Note from Mike Heath (mike@pencom.com):
  423.  
  424.        'ld -r' is essentially shorthand for 'ld -berok -bnogc -bnoglink'.
  425.        Certainly, using -berok with an export file (so garbage collection
  426.        can be done) is preferable to ld -r, but the latter is easier.
  427.  
  428.    When binding an intermediate module, use an export file to define the
  429.    entry points you want visible in the later link.  If you don't do this,
  430.    you'll get the dreaded "unresolved reference" error.  Import files name
  431.    entry points that will be dynamically resolved (and possibly where).
  432.  
  433.    If you are in doubt about what parameters or libraries to link, use the
  434.    -v arg when linking and modify the exec call that shows up into 
  435.    an ld command.  Some thought about the libraries will usually yield an
  436.    idea of when to use what.  If you don't know what an argument is for,
  437.    leave it in.  It's there for a purpose (even if you don't understand it).
  438.  
  439.    Watch the order of external definitions (ie, libraries) when more than
  440.    one version of a routine may show up, eg "load".  The first one defined
  441.    on the ld command line is the winner.  
  442.  
  443.    The getenv (and system and signal) problem is a problem that started out
  444.    minor, got somewhat worse in 3003 and, eventually will be correctly fixed.
  445.    Basically, you should extract the 3002 version of these three routines
  446.    from xlf.a before doing the update and save them away, then link these
  447.    routines in if you use these Fortran system services.  
  448.  
  449.  
  450. 3.03: How do I check if a number is NaN?
  451. From: sdl@glasnost.austin.ibm.com (Stephen Linam)
  452.  
  453. NaN is "Not a Number".  It arises because the RISC System/6000 uses
  454. IEEE floating point arithmetic.
  455.  
  456. To determine if a variable is a NaN you can make use of the property
  457. that a NaN does not compare equal to anything, including itself.
  458. Thus, for real variable X, use
  459.  
  460.     IF (X .NE. X) THEN    ! this will be true if X is NaN
  461.  
  462. Floating point operations which cause exceptions (such as an overflow)
  463. cause status bits to be set in the Floating Point Status and Control
  464. Register (FPSCR).  There is a Fortran interface to query the FPSCR, and
  465. it is described in the XLF Fortran manuals -- I don't have the manuals
  466. right here, but look for FPGETS and FPSETS.
  467.  
  468. The IBM manual "Risc System/6000 Hardware Technical Reference - General
  469. Information" (SA23-2643) describes what floating point exceptions can
  470. occur and which bits are set in the FPSCR as a result of those exceptions.
  471.  
  472.  
  473. 3.04: Some info sources on IEEE floating point
  474.  
  475. 1. ANSI/IEEE STD 754-1985 (IEEE Standard for Binary Floating-Point
  476.    Arithmetic) and ANSI/IEEE STD 854-1987 (IEEE Standard for
  477.    Radix-Independent Floating-Point Arithmetic), both available from IEEE. 
  478.  
  479. 2. David Goldberg, "What Every Computer Scientist Should Know About
  480.    Floating-Point Arithmetic", ACM Computing Surveys, Vol. 23, No. 1,
  481.    March 1991, pp. 5-48.
  482.  
  483. ____________________________________________________________________________
  484. 4.00: GNU and Public Domain software
  485.  
  486. GNU software comes from the Free Software Foundation and various other
  487. sources. A number of ftp sites archive them. Read the GNU license for 
  488. rules on distributing their software.
  489.  
  490. Lots of useful public domain software have been and continue to be ported
  491. to the RS/6000. See below for ftp or download information.
  492.  
  493.  
  494. 4.01: How do I find sources?
  495. From: jik@GZA.COM (Jonathan Kamens)
  496.  
  497. There is a newsgroup devoted to posting about how to get a certain
  498. source.  One is strongly urged to follow the guidelines in the article
  499. How_to_find_sources(READ_THIS_BEFORE_POSTING), available via anonymous
  500. ftp from rtfm.mit.edu (18.70.0.209):
  501.  
  502. /pub/usenet/comp.sources.wanted/H_t_f_s_(R_T_B_P)
  503.  
  504. Note: You should try to use hostnames rather than ip addresses since
  505. they are much less likely to change.
  506.  
  507. Also available from mail-server@rtfm.mit.edu by sending a mail
  508. message containing:
  509.  
  510. send usenet/comp.sources.wanted/H_t_f_s_(R_T_B_P)
  511.  
  512. Send a message containing "help" to get general information about the
  513. mail server.
  514.  
  515. If you don't find what you were looking for by following these
  516. guidelines, you can post a message to comp.sources.wanted.
  517.  
  518.  
  519. 4.02: Are there any ftp sites?
  520.  
  521. Below are some ftp sites that are supposed to have RS/6000 specific
  522. software.  I haven't verified all the entries.
  523.  
  524. US sites:
  525. aixpdslib.seas.ucla.edu        128.97.2.211    pub
  526. acd.ucar.edu                128.117.32.1     pub/AIX         
  527. acsc.acsc.com               143.127.0.2        pub
  528. byron.u.washington.edu      128.95.48.32    pub/aix/RS6000 (older stuff)
  529. lightning.gatech.edu        128.61.10.8        pub/aix
  530. tesla.ee.cornell.edu        128.84.253.11    pub
  531.  
  532. European sites:
  533. nic.funet.fi                128.214.6.100    pub/unix/AIX/RS6000
  534. iacrs1.unibe.ch             130.92.11.3        pub
  535. files1zrz.zrz.TU-Berlin.DE  130.149.4.50    pub/aix
  536. ftp-aix.polytechnique.fr    129.104.3.60    pub/binaries/rios
  537.  
  538. The first one is dedicated to software running on AIX.  It might not
  539. always be the latest versions of the software, but it has been ported to
  540. AIX (normally AIX version 3 only).  Once connected, you should retrieve
  541. the files README and pub/ls-lR.
  542.  
  543. Please use the European sites very sparingly.  They are primarily to
  544. serve people in Europe and most of the software can be found in the US
  545. sites originally.
  546.  
  547. From: reed@prism.sps.mot.com (Tim Reed)
  548.  
  549. Following is a list of possible anonymous ftp sites for information
  550. and programs for the AIX/RS600. Some of the sites were suggested from
  551. other usenet users - those are listed first. The remaining sites were
  552. obtained by a simple search of archie for the names aix, AIX, rs6000
  553. and RS6000. 
  554.  
  555. Sites received from usenet users:
  556.  
  557. Host ibminet.awdpa.ibm.com
  558.     Location: pub/announcements   #IBM announcements
  559.     Location: pub/oemhw           #oem hardware
  560.     Location: pub/ptfs            #PTFs
  561.  
  562. Host cac.toronto.ibm.com
  563.     Location: marketing-info
  564.  
  565. >From David Edelsohn (c1dje@watson.ibm.com):
  566. Host aixpdslib.seas.ucla.edu
  567.     Location: ?                   #AIX archive (sources and binaries)
  568. Host ftp.egr.duke.edu
  569.     Location: ?                   #AIX archive
  570. Host straylight.acs.ncsu.edu
  571.     Location: ?                   #AIX archive
  572. Host alpha.gnu.ai.mit.edu
  573.     Location: /rs6000          #AIX archive
  574.  
  575. >From Frank E. Doss (csfed@ux1.cts.eiu.edu):
  576. Host iacrs2.unibe.ch
  577.     Location: /pub/aix            #bunch of goodies)
  578. Host ftp.u.washington.edu
  579.     Location: /pub/RS6000         #minimal -- ted)
  580. Host aixive.unb.ca
  581.     Location: ?                   #just announced -- new archive)
  582. Host ftp.ans.net
  583.     Location: /pub/misc           #wais goodies)
  584. Host uvaarpa.virginia.edu
  585.     Location: /pub/misc           #minimal -- whois)
  586. Host ux1.cts.eiu.edu
  587.     Location: /pub/rs6000         #minimal -- pop3, FAQ, whois)
  588.  
  589. >From Robert MacKinnon (robmack@bsc.no):
  590. Host ftp.bsc.no
  591.     Location: pub/Src.
  592.  
  593.  
  594. Sites with directories named 'aix':
  595.  
  596. Host aix1.segi.ulg.ac.be   (139.165.32.13)
  597.     Location: /pub/aix
  598.  
  599. Host byron.u.washington.edu   (128.95.48.32)
  600.    Location: /pub/aix
  601.  
  602. Host cunixf.cc.columbia.edu   (128.59.40.130)
  603.     Location: /aix
  604.  
  605. Host files1zrz.zrz.tu-berlin.de   (130.149.4.50)
  606.     Location: /pub/aix
  607.  
  608. Host ftp.rz.uni-augsburg.de   (137.250.113.20)
  609.     Location: /pub/aix
  610.  
  611. Host fyvie.cs.wisc.edu   (128.105.8.18)
  612.     Location: /pub/aix
  613.  
  614. Host solaria.cc.gatech.edu   (130.207.7.245)
  615.     Location: /pub/incoming/aix
  616.     Location: /pub/aix
  617.  
  618. Host spot.colorado.edu   (128.138.129.2)
  619.     Location: /aix
  620.     Location: /pub/patches/aix
  621.  
  622. Host swdsrv.edvz.univie.ac.at   (131.130.1.4)
  623.     Location: /unix/systems/aix
  624.  
  625. Host switek.uni-muenster.de   (128.176.120.210)
  626.     Location: /pub/aix
  627.  
  628. Host wuarchive.wustl.edu   (128.252.135.4)
  629.     Location: /systems/aix
  630.  
  631.  
  632. Sites with directories named 'AIX':
  633.  
  634. Host cs.nyu.edu   (128.122.140.24)
  635.     Location: /pub/AIX
  636.  
  637. Host karazm.math.uh.edu   (129.7.128.1)
  638.     Location: /pub/AIX
  639.  
  640. Host minnie.zdv.uni-mainz.de   (134.93.178.128)
  641.     Location: /pub0/pub/AIX
  642.  
  643. Host oersted.ltf.dth.dk   (129.142.66.16)
  644.     Location: /pub/AIX
  645.  
  646. Host rs3.hrz.th-darmstadt.de   (130.83.55.75)
  647.     Location: /pub/incoming/AIX
  648.  
  649.  
  650. Sites with directories named 'rs6000':
  651.  
  652. Host aeneas.mit.edu   (18.71.0.38)
  653.     Location: /pub/rs6000
  654.  
  655. Host cameron.egr.duke.edu   (128.109.156.10)
  656.     Location: /rs6000
  657.  
  658. Host ifi.informatik.uni-stuttgart.de   (129.69.211.1)
  659.     Location: /pub/rs6000
  660.  
  661. Host metropolis.super.org   (192.31.192.4)
  662.     Location: /pub/rs6000
  663.  
  664. Host ramses.cs.cornell.edu   (128.84.218.75)
  665.     Location: /pub/rs6000
  666.  
  667. Host server.uga.edu   (128.192.1.9)
  668.     Location: /pub/rs6000
  669.  
  670. Host unidata.ucar.edu   (128.117.140.3)
  671.     Location: /pub/bin/rs6000
  672.  
  673. Host uvaarpa.virginia.edu   (128.143.2.7)
  674.     Location: /pub/rs6000
  675.  
  676. Host wayback.cs.cornell.edu   (128.84.254.7)
  677.     Location: /pub/rs6000
  678.  
  679.  
  680. Sites with directories named 'RS6000':
  681.  
  682. Host alice.fmi.uni-passau.de   (132.231.1.180)
  683.     Location: /pub/RS6000
  684.  
  685. Host byron.u.washington.edu   (128.95.48.32)
  686.     Location: /pub/aix/RS6000
  687.  
  688. Host milton.u.washington.edu   (128.95.136.1)
  689.     Location: /pub/RS6000
  690.  
  691. Host pascal.math.yale.edu   (128.36.23.1)
  692.     Location: /pub/RS6000
  693.  
  694. Host uxc.cso.uiuc.edu   (128.174.5.50)
  695.     Location: /pub/RS6000
  696.  
  697.  
  698. 4.03: General hints
  699.  
  700. In general, curses based applications should be linked with -lcurses and
  701. _not_ with -ltermlib.  It has also been reported that compiling with
  702. -DNLS helps curses based programs.
  703.  
  704. Note that the RS/6000 has two install programs, one with System V flavor
  705. in the default PATH (/etc/install with links from /usr/bin and /usr/usg),
  706. and one with BSD behavior in /usr/ucb/install.
  707.  
  708.  
  709. 4.04: GNU Emacs
  710.  
  711. Version 18.57 of GNU Emacs started to have RS/6000 support.  Use
  712. s-aix3-2.h for AIX 3.2. Emacs is going through rapid changes recently.
  713. Current release is 19.x.
  714.  
  715. Emacs will core-dump if it is stripped, so don't strip when you install
  716. it.  You can edit a copy of the Makefile in src replacing all 'install -s' 
  717. with /usr/ucb/install.
  718.  
  719.  
  720. 4.05: gcc/gdb
  721.  
  722. GNU C version 2.0 and later supports the RS/6000, and compiles straight
  723. out of the box.  You may, however, experience that compiling it requires
  724. large amounts of paging space.
  725.  
  726. Compiling gcc and gdb requires a patch to the 'as' assembler.  Call
  727. IBM software support and request patch for apar IX26107 (U409205).
  728.  
  729. gcc has undergone many changes lately and the current version is 2.5.x.
  730. gdb is at 4.8.
  731.  
  732. If your machine crashed when trying to run gdb 4.7, call software support
  733. and request ptf U412815.
  734.  
  735.  
  736. 4.06: GNU Ghostscript
  737.  
  738. The PostScript interpreter GNU Ghostscript Version 2.3 and later supports
  739. the RS/6000 and can be found on various ftp sites. Current version is 2.5.2.
  740.  
  741. 4.07: TeX
  742.  
  743. TeX can be retrieved via ftp from ftp.uni-stuttgart.de.
  744. Be sure to use a recent C compiler (01.02.0000.0013) and you can compile
  745. with optimization.
  746.  
  747.  
  748. 4.08: perl
  749.  
  750. Current version is 4.035 and compiling with cc should give no problems. 
  751. If you use bsdcc, do not use perl's builtin malloc(), edit config.H to
  752. '#define HAS_SYMLINK', and you should be on your way.  Bill Wohler tells
  753. me that perl will run without editing config.H and with cc as well.  So
  754. just say no to use perl's malloc().
  755.  
  756. Doug Sewell <DOUG@YSUB.YSU.EDU> adds:
  757.  
  758. In addition to not using the perl-provided malloc, when asked if you
  759. want to edit config.sh, change 'cppstdin' from the wrapper-program
  760. to '/lib/cpp'.
  761.  
  762. The perl wrapper name is compiled into perl, and requires that you keep
  763. that file in the source directory, even if you blow away the rest of
  764. the source.  /lib/cpp will do the job by itself.  I suspect this will
  765. be fixed in perl 4.0pl11 Configure script.
  766.  
  767. Also, beware if you have gdbm installed per the instructions in the FAQ.
  768. Gdbm is compiled with bsdcc; perl (as I installed it, anyway) was built
  769. with cc, so I used the IBM-provided ndbm routines.
  770.  
  771.  
  772. 4.09: X-Windows
  773.  
  774. IBM has two releases of 3.2.3. The base version has X11R4 and Motif 1.1 and
  775. the extended version has X11R5 as AIXwindows 1.2.3.
  776.  
  777. Those of you on 3.1 might want to read the following.  Some people from
  778. IBM have released patches for the X11R4 distribution tape available via
  779. anonymous FTP from export.lcs.mit.edu.  Note that as with the RT, there
  780. is no X11R4 server to build, just the libraries.
  781.  
  782. From: Frederick Staats <fritz@saturn.ucsc.edu>
  783.  
  784. In mit/config/ibm.cf
  785.     Updated OSName (AIX 3.1.6)
  786.  
  787. In mit/config/site.def
  788.     Changed ProjectRoot /usr/local/X11R5
  789.     Added ManSuffix (to change suffix from n to 1)
  790.     Added InstallXdmConfig YES and
  791.     InstallXinitConfig YES
  792.     Added HasXdmAuth YES (Copied mit/lib/Xdmcp/Wraphelp.c to source tree)
  793.     Added InstallFSConfig YES
  794.  
  795. In mit
  796.     nohup make BOOTSTRAPCFLAGS="-Daix" World &
  797.     nohup make install &
  798.     nohup make install.man &
  799.  
  800. Please note that there are known bugs in Xibm server of the X11R5
  801. release that prevent "xdm" from being usable.  A simple patch (that I'm
  802. not free to redistribute) should be out very soon through the regular
  803. contrib channels.
  804.  
  805. Also note, that some files in mit/extensions/lib/PEX/c_binding are very
  806. large and are told to require at least 150 Mb paging space to compile.
  807.  
  808.  
  809. From: pierce@claven.cambridge.ibm.com (Andrew Pierce)
  810.  
  811. The following bugs have been reported with the R5 server and are fixed
  812. (hopefully!), and the fixes have been sent to MIT for inclusion in the
  813. first patch set:
  814.  
  815. - BackingStore does not seem to work (twm menus blank and xman pulldown 
  816.   menus only display once).
  817. - Problem in keyclick restoration/bell
  818. - Problem with option parsing (-bs does not turn off backing store).
  819. - Problem with setting non-blocking I/O on X Connections 
  820.   (resizing xcalc wedges the server).
  821. - xdm core dumps. 
  822.  
  823. There is also a problem in initializing the display adapter when the R5
  824. server is brought up from a poweroff condition on the RISC/6000.  We are
  825. still investigating this problem.  A temporary workaround is to run the
  826. AIX product server first, which seems to do the right thing in
  827. initializing the adapter, then run the R5 server.
  828.  
  829. As for whether the OSF/Motif window manager will work with the R5
  830. server, I don't know of any reasons why it shouldn't, and I've run it
  831. now and again, although tvtwm is my preferred wm.
  832.  
  833.  
  834. From: cary@jove.Colorado.EDU (John R. Cary)
  835.  
  836. There are (at least) three problems.  
  837.  
  838. 1) The fonts as built with the IBM (Greening) patches of X11R4 do not
  839. work with the AIX3.1.5 server because (according to mleisher@NMSU.Edu)
  840. they likely have the wrong byte order.
  841. 2) The ibm fonts that come with AIX3.1.5 must be converted to .pcf fonts
  842. to work with the X11R5 server.
  843. 3) Info always looks for its fonts (in /usr/lpp/info/X11fonts)
  844. regardless of which server you are using.  So if you use the X11R5
  845. server, info loads the AIX3.1x .snf fonts, which do not work with the
  846. X11R5 server.
  847.  
  848. Using the X11R5 server means that you must fix problems 2 and 3.
  849.  
  850. My fix of 2: I first got snftobdf from the X11 contrib directory on
  851. export.lcs.mit.edu and built it. I then made a directory:
  852. mkdir /usr/local/X11R5/lib/X11/fonts/ibm
  853. which I added to my font path with xset in my .xinitrc file.
  854. Then I constructed the chosen .pcf fonts one at a time:
  855. cd /usr/lib/X11/fonts
  856. snftobdf Rom10.snf | bdftopcf >/usr/local/X11R5/lib/X11/fonts/ibm/Rom10.pcf
  857.  
  858. I actually did this with this script:
  859.  
  860. #!/bin/ksh 
  861. # A script to convert desired AIX fonts to .pcf fonts for X11R5 
  862. for arg in 6x10 Bld14 Rom14 Rom6 6x12 Bld17 Rom16 Rom7 vtbold 6x13
  863. Erg 14 Rom17 Rom8 vtdhbot 8x13 Itl14 Rom22 cursor vtdhtop 8x13B Rom10
  864. Rom28 fixed vtdwidth 9x15 Rom11 Rom29 Vtsingle 
  865. do
  866. echo "snftobdf $arg.snf | bdftopcf >/usr/local/X11R5/lib/X11/fonts/ibm/$arg.pcf"
  867. snftobdf $arg.snf | bdftopcf >/usr/local/X11R5/lib/X11/fonts/ibm/$arg.pcf
  868. done
  869.  
  870. My fix of 3: was simply to rename the info fonts directory so that info
  871. could not find it and load it.  Another fix (I am told) is to set one's
  872. font path with /usr/lpp/info/X11fonts last so that another fonts is
  873. loaded first.  This did not work for me, perhaps because of differences
  874. in my fonts.alias file.
  875.  
  876. If you want to continue using the AIX3.1x server and you want to use the
  877. X11R4 fonts, you must convert these fonts to the correct bit order.  I
  878. did not do this, and so DO NOT KNOW the correct procedure.  I imagine
  879. that once the correct bit order is determined, one can use snftobdf to
  880. convert fonts back to bdf format then bdftosnf with correct AIX3.1 bit
  881. order to get things correct with the aix3.1x server.
  882.  
  883.  
  884. 4.10: bash
  885.  
  886. Bash is ported and has some patches on prep.ai.mit.edu.  The current
  887. version is 1.12 and seems to work fine.
  888.  
  889.  
  890. 4.11: Elm
  891.  
  892. A very nice replacement for mail.  Elm should be pretty straightforward,
  893. the only thing to remember is to link with -lcurses as the only
  894. curses/termlib library.  You may also run into the problem listed under
  895. point 2.13 above.
  896.  
  897.  
  898. 4.12: Oberon 2.2
  899.  
  900. From: afx@muc.ibm.de (Andreas Siegert)
  901.  
  902. Oberon is Wirth's follow on to Modula-2, but is not compatible.  A free
  903. version of Modula-3 is available from DEC/Olivetti at
  904. gatekeeper.dec.com.  This is not a Modula-2 replacement but a new
  905. language.  There are currently two M2 compilers for the 6000 that I know
  906. of.  One from Edinburgh Portable Compilers, +44 31 225 6262 (UK) and the
  907. other from Gardens Point compiler +41 65 520311 (Switzerland).
  908.  
  909. Oberon can be obtained via anonymous ftp from neptune.inf.ethz.ch
  910. (129.132.101.33) under the directory Oberon/RS6000 or gatekeeper.dec.com
  911. (16.1.0.2).
  912.  
  913.  
  914. 4.13: Kermit
  915.  
  916. Get it from watsun.cc.columbia.edu (128.59.39.2) in
  917. kermit/bin/cku189.tar.Z.  Uncompress, untar, and "make rs6000", and it
  918. works. 
  919.  
  920.  
  921. 4.14: Gnu dbm
  922. From: doug@cc.ysu.edu (Doug Sewell)
  923.  
  924. Here's the fixes for RS/6000's: 
  925.  
  926. apply this to testgdbm.c:
  927. 158c158
  928. <   char opt;
  929. ---
  930. >   int opt;
  931. 166c166
  932. <   while ((opt = getopt (argc, argv, "rn")) != -1)
  933. ---
  934. >   while ((opt = getopt (argc, argv, "rn")) != EOF)
  935.  
  936. Apply this to systems.h:
  937. 111a112,114
  938. > #ifdef RS6000
  939. > #pragma alloca
  940. > #else
  941. 112a116
  942. > #endif
  943.  
  944. To compile, edit the Makefile.  Set CC to bsdcc (see /usr/lpp/bos/bsdport
  945. if you don't have 'bsdcc' on your system) and set CFLAGS to -DRS6000 and
  946. whatever options (-g, -O) you prefer.  Don't define SYSV.
  947.  
  948.  
  949. 4.15: tcsh
  950. From: cordes@athos.cs.ua.edu (David Cordes)
  951.  
  952. tcsh is available from tesla.ee.cornell.edu (pub/tcsh-6.00 directory)
  953. Compiles with no problems.  You must edit /etc/security/login.cfg to
  954. permit users to change to this shell (chsh), adding the path where the
  955. shell is installed (in my case, /usr/local/bin/tcsh).
  956.  
  957.  
  958. 4.16: Kyoto Common Lisp
  959.  
  960. The sources are available from cli.com.  The kcl package is the needed
  961. base; also retrieve the latest akcl distribution.  akcl provides a
  962. front-end that "ports" the original kcl to a number of different
  963. platforms.  The port to the 6000s worked with no problems.  However, you
  964. must be "root" for the make to work properly with some memory protection
  965. routines.
  966.  
  967.  
  968. 4.17: Tcl/Tk
  969.  
  970. Current versions: Tcl 7.0, Tk 3.3. Available from sprite.berkeley.edu or
  971. harbor.ecn.purdue.edu.
  972.  
  973.  
  974. 4.18: Expect
  975. From: Doug Sewell <DOUG@YSUB.YSU.EDU>
  976.    
  977. To build the command-interpreter version, you must have the tcl library
  978. built successfully.  The expect library doesn't require tcl.  Note:
  979. Expect and its library are are built with bsdcc, so applications using
  980. the library probably also need to be developed with bsdcc.
  981.  
  982. I ftp'd expect from ftp.cme.nist.gov.
  983.  
  984. You need to change several lines in the makefile.  First you need
  985. to customize source and target directories and files:
  986. #
  987. TCLHDIR = /usr/include
  988. TCLLIB = -ltcl
  989. MANDIR = /usr/man/manl               (local man-pages)
  990. MANEXT = l
  991. BINDIR = /u/local/bin
  992. LIBDIR = /usr/lib
  993. HDIR = /usr/include
  994. ...
  995. Next set the compiler, switches, and configuration options:
  996. #
  997. CC = bsdcc
  998. CFLAGS = -O
  999. ...
  1000. PTY_TYPE = bsd
  1001. ...
  1002. INTERACT_TYPE = select
  1003. ...
  1004. Then you need to make these changes about line 90 or so:
  1005. comment out CFLAGS = $(CLFLAGS)
  1006. un-comment these lines:
  1007. CFLAGS = $(CLFLAGS) $(CPPFLAGS)
  1008. LFLAGS = ($CLFLAGS)
  1009.  
  1010. Then run 'make'.
  1011.  
  1012. You can't run some of the examples without modification (host name,
  1013. etc).  I don't remember if I ran all of them or not, but I ran enough
  1014. that I was satisfied it worked.
  1015.  
  1016.  
  1017. 4.19: Public domain software on CD
  1018. From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
  1019.  
  1020. The Prime Time Freeware CD collection is a package of two CD's and docs
  1021. containing over THREE GIGABYTES of compressed Unix software. It costs $69
  1022. from Prime Time Freeware, 415-112 N. Mary Ave., Suite 50, Sunnyvalek, CA
  1023. 94086. Phone 408-738-4832 voice, 408-738-2050 fax. No internet orders as
  1024. far as I can tell.
  1025.  
  1026. I've extracted and compiled a number of the packages, and all have worked
  1027. flawlessly so far on my 220. Everything from programming languages to 3D
  1028. solid modeling is in this bonanza!
  1029.  
  1030. Ed: The O'Reilly book, Power Unix Tools, also contains a CD-ROM with lots
  1031. of useful programs compiled for the RS/6000, among other platforms.
  1032.  
  1033.  
  1034. 4.20: Andrew Toolkit
  1035.  
  1036. From: Gary Keim <gk5g+@andrew.cmu.edu>
  1037.  
  1038. The Andrew Toolkit Consortium of Carnegie Mellon University's School of
  1039. Computer Science is pleased to announce the release of new versions of
  1040. the Andrew User Environment, Andrew Toolkit, and Andrew Message System. 
  1041.  
  1042. The Andrew User Environment (AUE) is an integrated set of applications
  1043. beginning with a 'generic object' editor, ez, a help system, a system
  1044. monitoring tool (console), an editor-based shell interface (typescript),
  1045. and support for printing multi-media documents. 
  1046.  
  1047. The Andrew Toolkit (ATK) is a portable user-interface toolkit that runs
  1048. under X11.  It provides a dynamically-loadable object-oriented
  1049. environment wherein objects can be embedded in one another.  Thus, one
  1050. could edit text that, in addition to containing multiple fonts, contains
  1051. embedded raster images, spreadsheets, drawing editors, equations, simple
  1052. animations, etc.  These embedded objects can also be nested.
  1053.  
  1054. The Andrew Message System (AMS) provides a multi-media interface to mail
  1055. and bulletin-boards.  AMS supports several mail management strategies
  1056. and implements many advanced features including authentication, return
  1057. receipts, automatic sorting of mail, vote collection and tabulation,
  1058. enclosures, audit trails of related messages, and subscription
  1059. management.  It has interfaces that support ttys, personal computers, 
  1060. and workstations.
  1061.  
  1062. Release 5.1 of Andrew contains many bug fixes and updates.  Among the
  1063. many new features are support for the new Internet MIME (Multipurpose
  1064. Internet Mail Extensions) standards for multipart, and multimedia mail. 
  1065. For more information on MIME, please see the CHANGES files in the ftp
  1066. directory on emsworth.andrew.cmu.edu.
  1067.  
  1068. This release can be obtained as follows.  The sources are available via
  1069. anonymous ftp from export.lcs.mit.edu (18.30.0.238) in the
  1070. ./contrib/andrew tree.  For details, see ./contrib/andrew/README.
  1071.  
  1072. PATCH for AIX3.2: A patch to the AUIS 5.1 sources can be ftp'ed from
  1073. emsworth.andrew.cmu.edu (128.2.45.40) in ./aixpatch.  For those without
  1074. internet access, a 3.5" diskette can be ordered for a nominal fee of $10
  1075. by sending, or faxing, a purchase order to the Consortium address below. 
  1076.  
  1077. Andrew, as well as a variety of other CMU software, can also be ftp'ed
  1078. from emsworth.andrew.cmu.edu (128.2.30.62).  Those with AFS access look
  1079. at /afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp.
  1080.  
  1081. Remote Andrew Demo Service 
  1082.  
  1083. This network service allows you to run Andrew Toolkit applications
  1084. without obtaining or compiling the Andrew software.  You need a host
  1085. machine running X11 on the Internet.  A simple "finger" command will let
  1086. you experience ATK applications firsthand.  You'll be able to compose
  1087. multimedia documents, navigate through the interactive Andrew Tour, and
  1088. use the Andrew Message System to browse through CMU's three thousand
  1089. bulletin boards and newsgroups.
  1090.  
  1091. To use the Remote Andrew Demo service, run the following command on your
  1092. machine:
  1093.  
  1094.     finger help@atk.itc.cmu.edu 
  1095.  
  1096. The service will give you further instructions.   
  1097.  
  1098. Information Sources 
  1099.  
  1100. Your bug reports are welcome; kindly send them to
  1101. info-andrew-bugs@andrew.cmu.edu and we will periodically post a status
  1102. report to the mailing list info-andrew@andrew.cmu.edu.  To be added to
  1103. the mailing list or make other requests, send mail to
  1104. info-andrew-request@andrew.cmu.edu.
  1105.  
  1106. We also distribute the following related materials: 
  1107.  
  1108. ATK and AMS sources and binaries on CDROM.  Binaries are available
  1109. for the following system types: 
  1110.  
  1111.             IBM RiscSystem/6000 
  1112.         Sun SparcStation 
  1113.         HP 700 Series 
  1114.         DECstation 
  1115.  
  1116. ATK and AMS sources on QIC and Iotamat tapes Hardcopies of the
  1117. documentation for ATK and AMS.  Introductory video tape: Welcome to
  1118. Andrew: An Overview of the Andrew System.  Technical video tape: The
  1119. Andrew Project: A Session at the Winter 1988 Usenix Conference.
  1120.  
  1121. More information about these materials is available from: 
  1122.  
  1123.     Information Requests 
  1124.     Andrew Toolkit Consortium 
  1125.     Carnegie Mellon University 
  1126.     4910 Forbes Avenue, UCC 214 
  1127.     Pittsburgh, PA 15213-3890 
  1128.     USA 
  1129.     phone: +1-412-268-6710 
  1130.     fax: +1-412-621-8081 
  1131.     info-andrew-request@andrew.cmu.edu 
  1132.  
  1133. There is also a netnews distribution list, comp.soft-sys.andrew, which
  1134. is identical to the info-andrew distribution list except that it does
  1135. not support the multi-media capabilities of info-andrew.
  1136.  
  1137.  
  1138. 4.21: sudo
  1139.  
  1140. Allows processes to assume other uids. Version 1.1 (most recent) can be
  1141. obtained from csn.org:/pub/sudo and comprehends AIX.
  1142.  
  1143.  
  1144. 4.22: Flexfax and other fax software
  1145. From: robmack@bsc.no (Rob MacKinnon)
  1146.  
  1147. sgi.com:/pub/fax to get FlexFax v2.2.1.  It supports many types of Class
  1148. 1/2 fax modems and several UNIX systems including AIX 3.2.3 or greater. 
  1149. There is also a fax modem review document at the same site as
  1150. sgi.com:/pub/fax/bakeoff.  The FlexFax related files on sgi.com are
  1151. replicated on ftp.bsc.no as well.
  1152.  
  1153. From: michael@hal6000.thp.Uni-Duisburg.DE (Michael Staats)
  1154.  
  1155. We're using mgetty+sendfax for the basic modem I/O, I wrote a printer
  1156. backend for the modem so that users can send faxes as easy as they print
  1157. postscript. I also wrote a little X interface composer to generate a
  1158. fax form that makes sending faxes very easy. You can find these
  1159. programs at hal6000.thp.Uni-Duisburg.DE under /pub/source.
  1160.  
  1161. program                comment
  1162.  
  1163. mgetty+sendfax-0.14.tar.gz    basic modem I/O, needs hacking for AIX
  1164. X11/xform-1.1.tar.gz             small and simple X interface composer
  1165.                 with an example fax form. Needs
  1166.                 libxview.a incl. headers.
  1167. faxiobe.tar.gz            fax backend, needs configuring for
  1168.                 your local site
  1169.  
  1170. If you need a binary version of libxview.a and the headers you'll find
  1171. them under /pub/binaries/AIX-3-2/lxview.tar.gz.
  1172.  
  1173. ______________________________________________________________________________
  1174. 5.00: Third party products
  1175.  
  1176. [ Ed.: Entries in this section are edited to prevent them from looking
  1177.   like advertising. Prices given may be obsolete. Companies mentioned
  1178.   are for reference only and are not endorsed in any fashion. ]
  1179.  
  1180.  
  1181. 5.01: IBM list of third party products
  1182. From: marc@ibmpa.awdpa.ibm.com (Marc Pawliger)
  1183.  
  1184. Marc Pawliger post an extensive list periodically to this newsgroup
  1185. about various third party hardware products for the RS/6000. This list
  1186. can also be ftp'd from ibminet.awdpa.ibm.com.
  1187.  
  1188.  
  1189. 5.02: Disk/Tape/SCSI
  1190. From: anonymous
  1191.  
  1192. - Most SCSI disk drives work (IBM resells Maxtor, tested Wren 6&7 myself);
  1193.   use osdisk when configuring (other SCSI disk).
  1194.  
  1195. - Exabyte: Unfortunately only the ones IBM sells are working.
  1196.   A few other tape drives will work; 
  1197.   use ostape when configuring (other SCSI tape).
  1198.  
  1199. - STK 3480 "Summit": Works with Microcode Version 5.2b
  1200.  
  1201.  
  1202. From: bell@hops.larc.nasa.gov (John Bell)
  1203.                
  1204. In summary, third party tape drives work fine with the RS/6000 unless 
  1205. you want to boot from them. This is because IBM drives have 'extended 
  1206. tape marks', which IBM claims are needed because the standard marks 
  1207. between files stored on the 8mm tape are unreliable. These extended 
  1208. marks are used when building boot tapes, so when the RS/6000 boots, it 
  1209. searches for an IBM tape drive and refuses to boot without it.
  1210.  
  1211. From: jrogers@wang.com (John Rogers)
  1212.  
  1213. On booting with non-IBM SCSI tape drives: I haven't tried it myself but
  1214. someone offered:
  1215.  
  1216. Turn machine on with key in secure position.
  1217. Wait until LED shows 200 and 8mm tape has stopped loading.
  1218. Turn key to service position.
  1219.  
  1220.  
  1221. From: amelcuk@gibbs.clarku.edu (Andrew Mel'cuk)
  1222.  
  1223. The IBM DAT is cheap and works.  If you get all the patches beforehand
  1224. (U407435, U410140) and remember to buy special "Media Recognition
  1225. System" tapes (Maxell, available from APS 800.443.4461 or IBM #21F8758)
  1226. the drive can even be a pleasure to use.  You can also flip a DIP switch
  1227. on the drive to enable using any computer grade DAT tapes (read the
  1228. hardware service manual).
  1229.  
  1230. Other DAT drives also work.  I have tried the Archive Python (works) and
  1231. experimented extensively with the Archive TurboDAT.  The TurboDAT is a
  1232. very fast compression unit, is not finicky with tapes and doesn't
  1233. require the many patches that the IBM 7206 does.  Works fine with the
  1234. base AIX 3.2 'ost' driver.
  1235.  
  1236.  
  1237. From: pack@acd.ucar.edu (Daniel Packman)
  1238.  
  1239. >>You can boot off of several different brands of non-IBM Exabytes.
  1240. >>At least TTI and Contemporary Cybernetics have done rather complete
  1241. >>jobs of emulating genuine IBM products.
  1242.  
  1243. A model that has worked for us from early AIX 3.1 through 3.2 is a TTI
  1244. CTS 8210.  This is the old low density drive.  The newer 8510 is dual
  1245. density (2.2gig and 5gig).  Twelve dip switches on the back control the
  1246. SCSI address and set up the emulation mode.  These drives have a very
  1247. useful set of lights for read-outs (eg, soft error rate, tape remaining,
  1248. tape motion, etc.).
  1249.  
  1250.  
  1251. 5.03: Memory
  1252.  
  1253. I got a flyer from Nordisk Computer Services (Portland 503-598-0111, 
  1254. Seattle 206-242-7777).  Some sample prices:
  1255.  
  1256.       16 MB Upgrade Kit   $  990
  1257.       32 MB Upgrade Kit   $1,700
  1258.       64 MB Upgrade Kit   $3,300
  1259.  
  1260. 5xx machines have 8 memory slots, 3x0s have 2, and 3x5s have only one.
  1261. You need to add memory in pairs for the 5xx machines.
  1262.  
  1263.  
  1264. 5.04: Others
  1265. From: anonymous
  1266.        
  1267. IBM RISC System/6000 Interface Products
  1268.  
  1269. National Instruments Corporation markets a family of instrumentation
  1270. interface products for the IBM RISC System/6000 workstation family.  The
  1271. interface family consists of three products that give the RISC
  1272. System/6000 connectivity to the standards of VMEbus, VXIbus and GPIB. 
  1273. For more information, contact National Instruments Corporation,
  1274. 512-794-0100 or 1-800-433-3488.
  1275.  
  1276.  
  1277. 5.05: C++ compilers
  1278.  
  1279. Several C++ compilers are available.  You can choose from Glockenspiel,
  1280. Greenhills, IBM's xlC++, and GNU's g++.  Glockenspiel may now
  1281. be part of Computer Associates.  Comeau Computing (718-945-0009) offers
  1282. Comeau C++ 3.0 with Templates. For a full development environment there's
  1283. ObjectCenter's C++ (formerly Saber C++).
  1284.  
  1285.  
  1286. 5.06: Memory leak detectors
  1287.  
  1288. SENTINEL has full memory access debugging capabilities including detection 
  1289. of memory leaks.  Contact info@vti.com (800) 296-3000 (703) 430-9247. 
  1290.  
  1291. Insight from ParaSoft (818) 792-9941.
  1292.  
  1293. Purify from Pure software (408) 720-1600.
  1294.  
  1295. TestCenter from Centerline (800) 669-2687.
  1296.  
  1297. There is also a debug_malloc posted in one of the comp.sources groups.
  1298.  
  1299.  
  1300. 5.07: PPP
  1301.  
  1302. PPP from Morningstar (sales@morningstar.com or marketing@morningstar.com)
  1303. (800) 558-7872.
  1304.  
  1305. ______________________________________________________________________________
  1306. 6.00: Miscellaneous other stuff
  1307.  
  1308. 6.01: Can I get support by e-mail?
  1309.  
  1310. AIXServ is a service tool that allows users on internet and usenet to
  1311. report problems via unix mail. AIXServ is free. To receive instructions 
  1312. on using AIXServ, send a note with "Subject: package" to one of the
  1313. following e-mail addresses:
  1314.  
  1315.     Internet:   aixbugs%aixserv@uunet.UU.NET
  1316.     Usenet:     uunet.UU.NET!aixserv!aixbugs
  1317.                     aixbugs@austin.ibm.com     (transactions request)
  1318.                     services@austin.ibm.com    (administrivia)
  1319.                     aasc@austin.ibm.com        (test cases under 100KB)
  1320.  
  1321. Using AIXServ, customers have the ability to 1) open new problem reports,
  1322. 2) update existing problem records, and 3) request a status update on an
  1323. existing problem record. Currently this service is available to United
  1324. States customers only.
  1325.  
  1326. Canada:
  1327.  
  1328. Gary Tomic mentioned that Canadian customers can get support from their
  1329. BBS, cac.toronto.ibm.com at 142.77.253.16.
  1330.  
  1331. Germany:
  1332.  
  1333. Thomas Braunbeck reported that German customers with ESS (extended
  1334. software service) contracts can get support by e-mail too. They can 
  1335. obtain information by sending mail with Subject: help to 
  1336. aixcall@aixserv.mainz.ibm.de.
  1337.  
  1338. Various flavors of service offerings are available. Contact your IBM rep
  1339. for details.
  1340.  
  1341.  
  1342. 6.02: List of useful faxes
  1343.  
  1344. You can get some informative faxes by dialing IBM's Faxserver at
  1345. 1-800-IBM-4FAX. If you're calling for the first time, push 3 then 2 to
  1346. request a list of RS/6000 related faxes.
  1347.  
  1348. document number                       Title
  1349. ---------------  -----------------------------------------------------
  1350.      1453        Recovering from LED 518 in AIX 3.2
  1351.      1457        Recovering from LED 552 in AIX 3.1 and 3.2
  1352.      1461        Alternative Problem Reporting Methods
  1353.      1470        Recovering from LED 223/229, 225/229, 233/235, 221/229, or 221
  1354.      1537        How to Get AIX Support
  1355.      1719        Performance Analyzer/6000
  1356.      1721        Recovering from LED 553 in AIX 3.1 and 3.2
  1357.      1746        Recovering from LED 551 in AIX 3.1 and 3.2
  1358.      1755        Recovering Volume Groups
  1359.      1802        Repairing File Systems with fsck in AIX 3.1 and 3.2
  1360.      1803        How to Take a System Dump
  1361.      1804        Setting Up a Modem With the RS/6000
  1362.      1845        Using iptrace to Track Remote Print Jobs
  1363.      1867        Clearing the Queuing System
  1364.      1895        Removing/Replacing a Fixed Disk
  1365.      1896        Tape Drive Densities and Special Files
  1366.      1897        Tips on mksysb for AIX 3.2
  1367.      1909        UUCP (BNU) Helpful Information
  1368.      1910        Synchronizing Disk Names
  1369.      1988        Recovering from LED 201 in AIX 3.1 and 3.2
  1370.      1989        Recovering from LED 727 in AIX 3.2
  1371.      1991        Recovering from LED c31 in AIX 3.1 and 3.2
  1372.      2079        AIX 3.2.4
  1373.      2121        AIX 3.2.4 Installation Tips
  1374.  
  1375.  
  1376. 6.03: List of 3.2 ptfs
  1377.  
  1378. A list of the latest ptfs for 3.2 can be ftp'd from ibminet.awdpa.ibm.com.
  1379.  
  1380.  
  1381. 6.04: Some RS232 hints
  1382. From: graeme@ccu1.aukuni.ac.nz, sactoh0.SAC.CA.US!jak
  1383.  
  1384. Q: How do you connect a terminal to the RS232 tty ports when not using
  1385.    the standard IBM cable & terminal transposer?
  1386. A: 1- Connect pins 2->3, 3->2, 7->7 on the DB25's
  1387.    2- On the computer side, most of the time cross 6->20 (DSR, DTR).
  1388.       Some equipment may require connecting 6, 8, and 20 (DSR, DCD, DTR).
  1389.  
  1390. Also, pin 1 (FG) should be a bare metal wire and the cable should be
  1391. shielded with a connection all the way through. Most people don't run
  1392. pin 1 because pins 1 & 7 (SG) are jumpered on many equipment.
  1393.  
  1394. When booting from diskettes, the port speed is always 9600 baud.  If you
  1395. use SMIT to set a higher speed (38400 is nice) for normal use, remember
  1396. to reset your terminal before booting.
  1397.  
  1398. Q: How do you connect a printer to the RS232 tty ports
  1399. A: 1- Connect pins 2->3, 3->2, 7->7 on the DB25's
  1400.    2- On the computer side, loop pins 4->5 (CTS & RTS)
  1401.  
  1402.  
  1403. 6.05  What publications are available for AIX and RS/6000?
  1404.  
  1405. The following are free just for the asking:
  1406.  
  1407. 1. RS/Magazine
  1408.    P.O. Box 3272
  1409.    Lowell, MA 01853-9876
  1410.    e-mail: aknowles@expert.com (Anne Knowles, editor)
  1411.  
  1412. 2. AIXpert
  1413.    IBM Corporation
  1414.    Mail Stop 36
  1415.    472 Wheelers Farms Road
  1416.    Milford, CT 06460
  1417.    FAX: (203) 783-7669
  1418.  
  1419. 3. RiSc World
  1420.    P.O. Box 399
  1421.    Cedar Park, TX 78613
  1422.    FAX: (512) 331-3900
  1423.    Usenet: {cs.utexas.edu,execu,texbell}!pcinews!rsworld
  1424.  
  1425.  
  1426. These manuals should be available from your favorite IBM office.
  1427.  
  1428. SC23-2204-02  Problem Solving Guide
  1429. SC23-2365-01  Performance Monitoring and Tuning Guide for AIX 3.2
  1430. SA23-2629-07  Service Request Number Cross Reference, Ver 2.2
  1431. SA23-2631-05  Diagnostic Programs: Operator Guide
  1432. SA23-2632-05  Diagnostic Programs: Service Guide
  1433. SA23-2643-01  Hardware Technical Reference: General Information
  1434. SA23-2646-01  Hardware Technical Reference: Options and Devices
  1435.  
  1436.  
  1437. 6.06: Some acronyms
  1438.  
  1439. APAR - authorized program analysis report
  1440. BOS  - Basic Operating System
  1441. DCR  - design change request
  1442. LPP  - Licensed Program Product
  1443. ODM  - Object Database Manager
  1444. PRPQ - programming request for price quotation
  1445. PTF  - Program Temporary Fix
  1446. SMIT - System Management Interface Tool
  1447.  
  1448.  
  1449. 6.07: How do I get this by mailserver or ftp?
  1450.  
  1451. Since the articles are crossposted to news.answers, any archive carrying
  1452. that newsgroup will also have these articles. In particular, try
  1453. rtfm.mit.edu in the directory pub/usenet/news.answers.  This FAQ is
  1454. archived as "aix-faq/faq/part[1-3]".
  1455.  
  1456.  
  1457. 6.08: Hypertext version of the FAQ
  1458. From: Michael D. Fischer <greendog@max.physics.sunysb.edu>
  1459.  
  1460. Mike has converted this AIX FAQ into HTML code for use from XMosaic or
  1461. other WWW browsers. If you have XMosaic and want to take a look, the URL is
  1462.  
  1463. http://insti.physics.sunysb.edu/faq/index.html
  1464.  
  1465.  
  1466. 6.09: Where can I send suggestions for tools?
  1467.  
  1468. If you have any suggestions or comments about tools, whether currently or 
  1469. desirable to be in AIX, send a note to aix_tool_ideas@austin.ibm.com.
  1470.  
  1471. _____________________________________________________________________________
  1472. 7.00: Contributors
  1473.  
  1474. The following persons have contributed to this list.  If you want to
  1475. contribute anonymously, just let me know - but do tell me who you are.
  1476. I apologise if I missed out anyone.
  1477.  
  1478. Thank you all, this would definitely not be the same without _your_ input.
  1479.  
  1480. Rudy Chukran            <chukran@austin.VNET.IBM.COM>
  1481. Christopher Carlyle O'Callaghan    <asdfjkl@wam.umd.edu>
  1482. Poul-Henning Kamp        <phk@data.fls.dk>
  1483. Richard Wendland                <richard@praxis.co.uk>
  1484. Ge van Geldorp            <ge@dutlru2.tudelft.nl>
  1485. Chris Jacobsen            <jacobsen@sbhep2.phy.sunysb.edu>
  1486. Peter Jeffe            <peter@ski.austin.ibm.com>
  1487. Jean-Francois Panisset        <panisset@thunder.mcrcim.mcgill.edu>
  1488. John Cary            <cary@boulder.colorado.edu>
  1489. Vijay Debbad            <vijay@ingres.com>
  1490. Dick Karpinski            <dick@ccnext.ucsf.edu>
  1491. Konrad Haedener            <haedener@iac.unibe.ch>
  1492. Doug Sewell            <DOUG@YSUB.YSU.EDU>
  1493. David Cordes            <cordes@athos.cs.ua.edu>
  1494. Graeme Moffat            <g.moffat@aukuni.ac.nz>
  1495. Andrew Pierce            <pierce@claven.cambridge.ibm.com>
  1496. Stephen Linam            <sdl@glasnost.austin.ibm.com>
  1497. Jerome Park            <jerome%aixserv@uunet.UU.NET>
  1498. Konrad Haedener            <haedener@iacrs1.unibe.ch> 
  1499. Steve Roseman            <lusgr@chili.CC.Lehigh.Edu>
  1500. John Burton            <burton@asdsun.larc.nasa.gov>
  1501. Thierry Forveille        <FORVEILL@FRGAG51.BITNET>
  1502. Joubert Berger            <afc-tci!joubert>
  1503. Minh Tran-Le            <tranle@intellicorp.com>
  1504. Paul Amaranth            <amaranth@vela.acs.oakland.edu>
  1505. Mark Whetzel            <markw@airgun.wg.waii.com>
  1506. Daniel Packman            <pack@acd.ucar.edu>
  1507. Ken Bowman            <bowman@uiatma.atmos.uiuc.edu>
  1508. Cary E. Burnette        <kerm@mcnc.org>
  1509. Christophe Wolfhugel        <wolf@grasp1.univ-lyon1.fr>
  1510. Leonard B. Tropiano        <lenny@aixwiz.austin.ibm.com>
  1511. Bill Wohler            <wohler@sap-ag.de>
  1512. James Salter            <jsalter@ibmpa.awdpa.ibm.com>
  1513. Witold Jan Owoc            <witold@enme.ucalgary.ca>
  1514. Marc Kwiatkowski        <marc@ultra.com>
  1515. Ronald S. Woan            <woan@exeter.austin.ibm.com>
  1516. Mijan Huq            <huq@hagar.ph.utexas.edu>
  1517. Herbert van den Bergh        <hbergh@nl.oracle.com>
  1518. Michael Stefanik        <mike@bria.UUCP>
  1519. John F. Haugh            <jfh@rpp386.cactus.org>
  1520. Ed Kubaitis            <ejk@ux2.cso.uiuc.edu>
  1521. Jaime Vazquez            <jaime@austin.vnet.ibm.com>
  1522. Bjorn Engsig            <bengsig@oracle.com>
  1523. Frank Kraemer             <kraemerf@franvm3.VNET.IBM.COM>
  1524. Andreas Siegert                 <afx@muc.ibm.de>
  1525. Thomas Braunbeck                <braunbec@aixserv.mainz.ibm.de>
  1526.  
  1527. _____________________________________________________________________________
  1528.  
  1529. Opinions expressed here have nothing to do with IBM.
  1530.  
  1531. All trademarks are the property of their respective owners.
  1532.  
  1533. -- 
  1534. Luis Basto
  1535. Internet: basto@cactus.org
  1536. Usenet:   cs.utexas.edu!mavrick!luis
  1537.