home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mm / mm-ccmd-0.91.tar.Z / mm-ccmd-0.91.tar / work / mm / INSTALL < prev    next >
Text File  |  2002-09-17  |  5KB  |  111 lines

  1. This file contains hints for installing Columbia MM.
  2.  
  3.   Updates for version 0.91 are indented like this (fdc, Sep 2002).
  4.  
  5. If you're reading this file, you've probably untarred MM already.  If
  6. not, you will want to use the command "tar xf mm.tar" to untar the
  7. "mm" directory (and probably the "ccmd" one as well).  (If you have
  8. mm.tar.Z, you will first need to use the compress(1) program to
  9. uncompress it into mm.tar.)
  10.  
  11.    Nowadays we use gunzip: mm-whatever.tar.gz
  12.  
  13. Unless you picked up mm-only, included with MM is the CCMD package.
  14. You will need CCMD to compile MM, and often you will need the most
  15. up-to-date version of CCMD.  Since MM is the first major CCMD
  16. application, it turns up a lot of CCMD bugs and encourages (and
  17. depends on) a lot of the improvements.  CCMD files will be put in the
  18. ccmd subdirectory, and MM files in the mm subdirectory.
  19.  
  20. The first thing to do (after tar xf) is to specify your OS type.  This
  21. must be done for both CCMD and MM.  For CCMD, just say "make
  22. system-type" (i.e. make bsd, make svr3).  See the Makefile for
  23. supported system types.
  24.  
  25. MM knows about several different systems, in files called "s-xxx.h".
  26. Currently, we have about a dozen of them, hopefully one in your size.
  27. However, if there is not a file for your OS type, simply modify one
  28. that does exist.  These files contain copious comments on all the
  29. #define's within them, so if you know your system fairly well you
  30. should have no trouble creating the appropriate file.
  31.  
  32. Once you have the correct s-xxx.h file, you should edit the name into
  33. config.h (replace whichever s-xxx.h file is there).
  34.  
  35.   In version 0.91 there is a consolidated mm/Makefile that takes
  36.   care of this for you.  There are a bunch of config.h-platform
  37.   files; mm/Makefile creates a link, config.h, that points to
  38.   the appropriate one.
  39.  
  40. MM comes with several supporting files and programs, which must be
  41. available to anyone running MM.  In addition, it uses several programs
  42. that you should already have.  The file pathnames.h contains default
  43. filenames for these, so MM can find them.  To override these defaults,
  44. add #define's to config.h.  (It is intended that you should only have
  45. to modify config.h to install MM.)  Defaults for the editor, speller,
  46. and other non-MM programs can also be set in your system-wide init
  47. file or by individual users.
  48.  
  49.   But you might also have to modify the sysh/s-blah.h files
  50.   or create new ones.
  51.  
  52. If your system has curses, but not termcap, you will have to modify
  53. the makefile to use the line with "-lcurses".
  54.  
  55.   Or -lncurses (or -termlib, whatever)
  56.  
  57. Now, just run "make" to compile mm and supporting programs.
  58.  
  59.   In version 0.91, it's "make xxx" where xxx is the platform name,
  60.   just like with CCMD.  The makefile for MM is mm/Makefile.
  61.  
  62. At this point, you may want to run sys-prof (the system profiler).
  63. This program will ask various questions, and set up a basic
  64. system-wide initialization file in "mm.conf".  You may modify this
  65. file if you like.  (Everything that you set in mm.conf can be set as
  66. defaults in MM source files, but this avoids having to edit source
  67. files.  Also, you will not have to reinstall this file when you get a
  68. new version of MM.)
  69.  
  70. MM requires a lot of library files, including a tree full of help
  71. screens.  These library files are placed according to the "LOCLIB"
  72. variable in the Makefile, which we set to /usr/local/lib/mm.  (If you
  73. change this, you'll want to override the definitions in pathnames.h --
  74. in order to only modify config.h (as noted above), just put the new
  75. definitions in there.)  There is also a "BIN" variable in the Makefile
  76. for the two binaries MM installs.
  77.  
  78. Once these are satisfactory, you (should) just have to run "make
  79. install" or "make re-install" (GNU's gmake is suggested).  Making
  80. "re-install" differs from "install" in two ways.  First, it leaves
  81. your existing "mm.conf" file intact.  Second, it tries to update only
  82. the help files that have been changed.  (Unfortunately, this may not
  83. work correctly with some versions of make.  But since you are probably
  84. just installing the whole help tree, you can use "make HELP" and then
  85. "make main-install".)
  86.  
  87. mm.conf and mmail.el are text files that contain explanations of
  88. themselves.  The help directory tree contains MM's internal help
  89. screens. "movemail" is similar to the GNU emacs movemail, but we
  90. strongly suggest you use our movemail and not the GNU one, since there
  91. are security holes in the GNU version.  (However, we DO recommend that
  92. you use GNU emacs...)  Our /usr/spool/mail directory is in group
  93. "mail", and movemail is setgid'd to be in the mail group.  (It can
  94. work without the setgid bit, but not as elegantly.)
  95.  
  96.   I'm not sure if the caution about movemail still applies.
  97.   The GNU one is now 12 years newer than the MM one.
  98.  
  99. If you have users migrating from DEC-20s they will want to use the
  100. mm-trans program (that "make install" installed).  Also, you should
  101. install the man pages, mm.1 and mm-trans.1, in your man tree as
  102. desired.
  103.  
  104. Note: MM is copyright (c) 1986, 2002 by The Trustees of Columbia
  105. University in the City of New York.  Permission is granted to any
  106. individual or institution to use, copy, or redistribute this software
  107. so long as it is not sold for profit, provided this copyright notice
  108. is retained.
  109.  
  110. (End)
  111.