home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / ibm / pc / rt / 671 < prev    next >
Encoding:
Text File  |  1992-12-29  |  4.4 KB  |  110 lines

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!lobster!antimatr!markw
  2. From: markw@antimatr.hou.tx.us (Mark Whetzel)
  3. Newsgroups: comp.sys.ibm.pc.rt
  4. Subject: Re: man for AIX?
  5. Summary: Man command WAS available as a RPQ
  6. Message-ID: <59@antimatr.hou.tx.us>
  7. Date: 29 Dec 92 11:09:10 GMT
  8. References: <1ho775INNpjp@charnel.ecst.csuchico.edu>
  9. Organization: StarTrek and Lionel trains fan, Missouri City, TX
  10. Lines: 98
  11.  
  12. In article <1ho775INNpjp@charnel.ecst.csuchico.edu>, mrush@ecst.csuchico.edu (Matt "C P." Rush) writes:
  13.  
  14. >     Does anyone have a "man" command running under AIX 2.2.1?
  15.  
  16. >     I made a half-hearted attempt to get the BSD man command running,
  17. > but I think it's objecting to AIX's System V-ish directories.  Before
  18. > I get too carried away on this I thought I'd ask if anyone has already
  19. > ported man.
  20.  
  21.     (see below on RPQ information on the "man" command.)
  22.   
  23. I have not tried to port the BSD man command, but lots of BSD based software
  24. responds fairly well to the following:
  25.   
  26.   cc -DBSD -DBSD_INCLUDES -DBSD_REMAP_SIGNAL_TO_SIGVEC -o<foo> foo.c -lbsd
  27.  
  28. Those -D flags handle most of the include structure differences and
  29. usually make the SYSV like AIX look more like a BSD system.
  30.  
  31. That SIGNAL_SIGVEC thing is to handle differences between BSD idea of
  32. signal and the sigvec structure and calls.  Most times, not needed unless
  33. the software is expecting BSD signal behaviour.
  34.  
  35. Sometimes a header or two is in the "wrong" place, usually the following
  36. helps for the ones I have seen:
  37.  
  38. #ifdef AIX
  39.   #include <sys/fcntl.h>  /* if needed open flags like O_RDWR used */
  40.   #include <sys/syslog.h> /* if using syslog functions */
  41. #else
  42.    <original include locations of fcntl.. et. all>
  43. #endif
  44.  
  45. If the software used termcap, add a "-ltermcap" to the cc.
  46. Curses.. add -lcurses 
  47.  
  48. BUT.. that's only half the battle. You need the nroff SOURCES for the man
  49. documents tailored for the RT and AIX's differences.
  50.  
  51. AIX has some rather unique ways of doing things, plus some commands 
  52. unique to the RT and AIX, such as:
  53.   cvid, backup, restore, minidisks, devices, display, 
  54.   pstart, pdisable, pshare, pdelay, pstop,
  55.   adduser, doswrite, dosread, tctl.
  56. Plus others I have no doubt can't remember right now.
  57.  
  58. Also, commands with changes because of file locations and/or command
  59. flag differences... these come to mind:
  60.   tar -  has AIX unique flags, multi-volume support..
  61.   sendmail - the cf file is rather different, and in a non-stanard location.
  62.   chown -  the "-r" option only works with "Distributed Services" ..
  63.            IBM's idea of a propritary NFS. (lead balloon :-)
  64.   format - formats floppy disks only on AIX.
  65.   process accounting - all different for AIX.
  66.   error logging - unique to AIX.
  67.   printing and queueing subsystem - all different, print, instead of lpr.
  68.   uucp - files and setup is quite different.
  69.  
  70. I'm sure there are others I don't remember. :-) 
  71.  
  72. >     Or was "man" actually part of AIX, and has, perhaps, been removed
  73. > from my system (though I didn't see it on any of the install disk)?
  74.  
  75. I have the RT's at the office equiped with man, and the man files.
  76. (No, I can't make it available, IBM copyright most likely won't let
  77.  me distribute the installp disks, plus we had to PAY a fee to get
  78.  the MAN disks. ) 
  79.  
  80. Aside...
  81. ( ANYBODY at IBM know how us RT'ers can keep AIX alive for each other?
  82.  Now that offical IBM support for AIX and the RT has been dropped, 
  83.  simple things like this could be nice to share. )
  84.  
  85. The man command was NOT shipped as standard for AIX, nor the man pages
  86. sources.  It was made available as a RPQ (Request for Price Quotation)
  87. meaning IBM would make it, if not already available for a fee.
  88.  
  89. RPQ's for the RT and AIX were not really made known very well, usually
  90. only upon talking with the SE about a problem, and have them search
  91. for a already prepared solution.  Otherwise if they could make a 
  92. good business case for the problem, IBM *might* consider doing it for 
  93. your company, and a very high fee via a special RPQ.
  94.  
  95. There were lots of special RPQ's for specialized hardware and 
  96. software solutions.  Some very industry specific, and some dealing
  97. with special customer requests for groups of machines to be upgraded
  98. all at once, and other things like that.
  99.  
  100. Near as I can tell, IBM has purged the RPQ database of all RT related
  101. RPQ information, at least, my SE could not find any info on a KNOWN RT
  102. RPQ when I asked for information about it.
  103.  
  104. Later,
  105. markw
  106. -- 
  107. M. Whetzel 
  108. Home: markw@antimatr.hou.tx.us        | IBM RT/125 running AIX 2.2.1 
  109. UUCP ..!uhnix1!lobster!antimatr!markw 
  110.