home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10764 < prev    next >
Encoding:
Text File  |  1992-09-07  |  4.2 KB  |  86 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!cs.utexas.edu!wupost!gumby!destroyer!ais.org!umeecs!nova!ellis
  3. From: ellis@nova.gmi.edu (Stew Ellis)
  4. Subject: Re: UNIX Philosophy
  5. Message-ID: <ellis.715702820@nova>
  6. Sender: news@zip.eecs.umich.edu (Mr. News)
  7. Organization: GMI Engineering&Management Institute, Flint, MI
  8. References: <32352@adm.brl.mil>
  9. Date: Sat, 5 Sep 1992 14:20:20 GMT
  10. Lines: 74
  11.  
  12. jbowyer%ovc.vutbr.cs%CSBRMU11.BITNET@aearn.edvz.uni-linz.ac.at (Jeff Bowyer) writes:
  13.  
  14. >I am very new to UNIX, having worked with DOS for the last 5
  15. >years.
  16.  
  17. >I want to find an editor to use under UNIX (HP-UX 8.02) on our
  18. >computer (HP 9000/807).
  19.  
  20. >Although I have located the source code for several editors
  21. >throughout Internet, I cannot get a clean "make" out of any of
  22. >them.
  23.  
  24. >Coming from the DOS world, where source code seldom accompanies
  25. >a program, I am quite hesitant to start whacking away at someone
  26. >else's code in order to get a clean "make."
  27.  
  28. >Will someone with more experience please explain to me the UNIX
  29. >philosophy?  Should I only look for software with documentation
  30. >that explicitly states that it will run under HP-UX 8.02?  Should
  31. >I get used to the idea of changing the source code every time
  32. >I want to use a new program?
  33.  
  34. >Jeff Bowyer
  35.  
  36. Once upon a time there were two main versions of UNIX, BSD and SYSV.  Each
  37. one had things the other lacked, or had better versions of the same stuff.
  38. Computer manufacturers began to mix and match the parts.  Some kept a BSD
  39. kernel and utilities but began to add pieces from SYSV (Sun, DEC).  Others
  40. kept mostly SYSV kernels and utilities but added BSD compatibility packages
  41. (SGI, Intergraph, etc.).  Then there was HP, which took a BSD kernel and ran 
  42. SYSV utilities and BSD utilities in a mix quite unlike anyone else.
  43.  
  44. In the sourceware world of the interconnected UNIX community, those of us
  45. who are not wizards or gurus are dependent on the kindness of strangers to
  46. port packages from one of the universes listed above to the others.  There
  47. is more really complicated sourceware for BSD than SYSV, much of which will
  48. compile on SunOS and Ultrix with little problem.  If there are any problems
  49. there are several hundred thousand Sun's out there, with millions of people
  50. trying to solve the same problems you are.  Furthermore, a very high
  51. proportion of these are at academic sites, where people are inclined to use
  52. free software and share their work.  Between DEC and HP, there are still
  53. fewer than half as many machines out there.  DEC is probably better
  54. represented at academic sites, with HP better represented at commercial
  55. sites.  Commercial sites are somewhat less likely to use free software and
  56. less likely to share their work.
  57.  
  58. The short answer is there are fewer people with HP's trying to do what you
  59. want to do.  Furthermore, because it is a rather different mix of BSD and
  60. SYSV than most of the others, it is more difficult to do what you want to do
  61. with HPUX than the others.  I have had very sharp people tell me it is
  62. difficult to port many packages to HP.  HP does maintain an FTP archive
  63. somewhere of ported software, but I believe it may be available only to
  64. people who have paid some sort of support or user-group fee.  Someone
  65. correct me if I am wrong.
  66.  
  67. What you might try is to simply configure the software as SYSV or USG.  Some
  68. packages use (Larry Wall's?) configure program to figure out all of the
  69. details.  Those should be easy to install (although configure used to get
  70. confused by Ultrix).  Some packages do have explicit HP instructions.  If
  71. you do not understand the first thing about configuring UNIX sourceware, the
  72. files you need to look at are README, INSTALLATION, Makefile and any files
  73. that end with .h.  It is nice if you have someone to show you the ropes, but
  74. I learned without any help, starting with an Intel 310/286 and the hardcopy
  75. manuals.  I also knew very little about C at the time 7 years ago.  I
  76. succeeded in porting dozens of programs to the even stranger world of SYSIII
  77. on a 16-bit processor.
  78.  
  79. Good luck.
  80.  
  81. --
  82. --                                                        ___________________
  83.   R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  84.   Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  85.   Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
  86.