home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / elm-2.4-pl20.tar.Z / elm-2.4-pl20.tar / README < prev   
Text File  |  1993-01-12  |  11KB  |  269 lines

  1. This is the 2.4 (USENET) version of the Elm Mail System
  2.  
  3. See the NOTICE and Instruct files for further details.
  4.  
  5. It is IMPERATIVE that all users rerun newalias after installing
  6. Elm 2.4 when upgrading from a previous version.  Elm's behavior
  7. with aliases could be unpredictable if this step is not performed.
  8.  
  9. Where to find more info on Elm:
  10.    Much discussion on Elm including interim bug fixes, work arounds
  11. and future plans occurs in the Usenet news group comp.mail.elm.  Also
  12. a monthly status report on Elm is posted there.  This status report
  13. lists the archive sites that have the patches to Elm as well as the
  14. latest version.
  15.  
  16. Patches to Elm are posted to comp.mail.elm and comp.sources.bugs as
  17. soon as they are released.  They are posted to comp.sources.unix shortly
  18. thereafter, to allow time for feedback of problems in the patches.
  19. Patches should be available from the archive sites, or from the
  20. archive server.  Mail archive-server@DSI.COM for details on how to
  21. use the archive server program.  Ask it for help.
  22.  
  23. In addition, ftp.uu.net maintains a mirror of the Elm release files
  24. in /networking/mail/elm.  Patches are available in that directory
  25. shortly after release.  Other sites also keep mirrors of the Elm
  26. distribution.  There are sites in Europe, Australia, Taiwan and the UK
  27. in addition to several in the US.  Send the message
  28.  
  29.     send elm elm.ftp
  30.  
  31. to archive-server@dsi.com for a current list of ftp mirror sites.
  32.  
  33.  
  34. Limitations/Problems you might encounter in compiling and installing Elm:
  35.     
  36. From comp.mail.elm, dws@ssec.wisc.edu (DaviD W. Sanderson) writes:
  37. >... whoever wrote the default termcap
  38. >and/or terminfo descriptions for xterm included in the ti/te strings
  39. >the special escape sequences to make xterm switch between the normal
  40. >and alternate screen buffers.  These sequences are:
  41. >
  42. >    \E[?47h        - use alternate screen buffer
  43. >    \E[?47l        - use normal screen buffer
  44. >...
  45. >The elm code is just fine as it is.  If you change it so that it
  46. >doesn't ever send ti/te, you'll just break elm for somebody else.  Fix
  47. >your termcap/terminfo definition instead.
  48.  
  49.     On some Unix 5.3.2 systems, if only a runtime version of the
  50. O/S has been installed, not all the include files exist for compiling
  51. curses.c.  The ptem.h include file contains the window sizing structure
  52. on this version.  Either comment out the window sizing code, or install
  53. the remaining include files from the development system.
  54.  
  55.     If you run a nonstandard configuration of Mail, such as Xenix
  56. running smail, Configure can get confused as to where to place items.
  57. Be sure and check the config.sh file for the correct placement before
  58. continuing.  If changes are necessary, rerun Configure and fix the
  59. file before exiting.
  60.  
  61.     On SCO Xenix, if you are all mail is from user anonymous,
  62. this is because the mail delivery agent should be
  63. /usr/lib/mail/execmail instead of /usr/bin/rmail or /bin/rmail.
  64.  
  65.     On Next's NeXTStep 3.0, use the compile flags 
  66. -bsd -fwritable-strings, specify the include file directory
  67. as /usr/include/bsd, and change, at the 'edit the config.sh'
  68. file prompt, the value of d_memcpy to undef and sigtype to int.
  69. (From: Jess Anderson)
  70.  
  71.     From: Manuel Alberto Ricart <alberto@parsec.mixcom.com>, 
  72. for Next's version 1.0 it is necessary to answer -bsd for the
  73. Any additional cc flags? question and -lsys_s for the
  74. Any additional libraries? question within Configure.
  75. At "If you need to edit config.sh, do it as a shell escape here:"
  76. Change d_voidsig from 'define' to 'undef'
  77. Change passcat from 'cat /etc/passwd' to 'nidump passwd /'
  78.   if you're not using YP/NIS, and don't have more than two levels
  79.   of NetInfo hierarchy.  (Consult a NeXTpert otherwise!)
  80.  
  81.     on Next's 2.0/2.1 systems: same as above, except
  82. For "Any additional libraries?" just hit RETURN
  83. For "What is the full name of your C library?" specify /lib/libsys_s.a
  84. Also for additional linker ld flags, recommend -object.
  85. This will make the binaries as small as possible. Otherwise
  86. if the smallest binary will be 16K or more.
  87.  
  88.     On IBM RISC 6000 AIX, 3.2 or newer, to compile Elm
  89. during Configure, specify -U__STR__ to the 'Additional CFLAGS'
  90. question.  No other changes are needed.
  91.  
  92.     On IBM RISC 6000 AIX, prior to 3.2, you might get string
  93. function errors on the compile.  The solution is to do the following:
  94. > Look at /usr/lpp/bos/bsdsport. It tells you
  95. > to add following lines to /etc/xlc.cfg
  96. >  
  97. > * BSD 4.3 c compiler stanza
  98. > bsdcc:    use       = DEFLT
  99. >     crt       = /lib/crt0.o
  100. >     mcrt       = /lib/mcrt0.o
  101. >     gcrt       = /lib/gcrt0.o
  102. >     libraries  = -lbsd, -lc
  103. >     proflibs   = -L/lib/profiled,-L/usr/lib/profiled
  104. >     options       = -H512,-T512, -qlanglvl=extended, -qnoro, -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO, -D_BSD_INCLUDES, -bnodelcsect, -U__STR__, -U__MATH__
  105. > And then link bsdcc to xlc and use bsdcc instead of cc.
  106. > --
  107. >   Mika Koistinen      ------- Opinions are my own-- -----  WARNING:  
  108. >   Myll{rintie 57 F 62 | Internet: mmkoisti@luotsi.uku.fi |  Effect has no code
  109. >   70780  KUOPIO       | Bitnet: mmkoisti@FINKUO          |  in function main
  110. >   FINLAND             | tel 358-71-162805                |  
  111. >         
  112.  
  113.     Also on IBM RS/6000 AIX (Possibly only prior to 3.2)
  114. > If you want elm to make use of the NLS options documented for
  115. > sendmail (using sendmail.nl) you have to use the UNDOCUMENTED -x flag
  116. > on sendmail. See article in comp.unix.aix
  117. > Since Configure doesn't ask for additional sendmail flags you
  118. > have to add -x in the smflags entry in hdrs/sysdefs.SH (hdrs/sysdefs.h)
  119. > I guess that this should go into the FAQ entry on IBM AIX.
  120. > -- 
  121. > Bjorn Brox, CORENA A/S, P.O. Box 448, 3601 Kongsberg, NORWAY
  122. > E-mail : brox@dms.corena.no , Phone : +47 3 73 66 11 , Fax : +47 3 73 52 62 
  123.  
  124. From: gordonb@mcil.comm.mot.com (Gordon Berkley)
  125. On HP/Apollo Domain OS:
  126.     Apollo TAR is screwey in creating directories.
  127.     Need to create directories before un-taring
  128.     DIRS="utils test src nls nls/C nls/C/C nls/C/C/C nls/gencat \
  129.         lib hdrs filter doc"
  130.     for dir in $DIRS
  131.     do
  132.         mkdir $dir
  133.     done
  134.  
  135.  
  136.     On some systems, especially those based on the AT&T Port to
  137. 286's the -O flag of the compiler produces improper code causing
  138. segmentation violations.  If this happens, recompile the code without
  139. the -O flag.  This has been seen with Microport SysV/AT type systems.
  140.  
  141.     The Configuration script has been known to exercise an old bug
  142. on HP-UX's version of /bin/sh.  This shows up as part of the variable
  143. setting section showing up on your screen, and configure aborting on errors.
  144. If this happens, try using ksh instead of sh as in:
  145.     ksh Configure
  146. this will usually solve the problem.
  147.  
  148.     The Configuration script has been known to exceed the default
  149. stack size in Unix 286 sh's.  If Configure does not run correctly on
  150. this type of machine increase the stack size and rerun it.  On
  151. Microport SysV/AT machines, Configure might run correctly under ksh.
  152. Obtain ksh from Microport (available to current version owners without
  153. additional charge) and rerun Configure using it.  Xenix 286 users may
  154. have the same problem, but they can work around it by changing the
  155. stack size within the shell as reported a Xenix 286 Elm user:
  156. > I had the same problems as everyone else is reporting on Microports *nix under
  157. > SCO XENIX 2.2.1.
  158. > The solution is simple, up the stack size for /bin/sh. I used 
  159. > # mv /bin/sh /bin/sh.old
  160. > # cp /bin/sh.old /bin/sh
  161. > # fixhdr -F 8000 /bin/sh
  162. > This may seem a bit over the top, but I put it back after!
  163. > # mv /bin/sh /bin/sh.rm
  164. > # mv /bin/sh.old /bin/sh
  165. > Then wait till nobody is using /bin/sh.rm then
  166. > # rm /bin/sh.rm
  167. > That way you preserve your old shell, ( i.e. you don't break it ), but you
  168. > get to use Configure without bus errors etc.
  169. > I hope that of use
  170. > Keith
  171. > -- 
  172. > UUCP ..!uunet!mcvax!ukc!slxsys!g4lzv!keith  | Keith Brazington
  173. > Smart mail  keith@g4lzv.co.uk            | 5b Northgate Rochester Kent UK
  174. > Ampanet  [44.131.8.1] and [44.131.8.3]        | +44 634 811594 Voice
  175. > Packet  G4LZV @ GB7UWS -- G4LZV USENET BB --| +44 634 401210 Data v22,v22bis
  176. You might have to try values from 7000 to 8800.
  177.  
  178.     Also on Microport SysV/AT Machines, the C compiler produces
  179. improper code for one of the arithmetic calls.  To fix this problem it
  180. is necessary to reduce the complexity of the statement, as reported by
  181. one of our testers here is the symptom and his patch.  Being this is a
  182. compiler bug on only one system, we make the information available, but
  183. not incorporate it in the main release.  Note, this may effect other
  184. areas of Elm, and in the future, Microport may even fix this problem.
  185. > I finally tracked down the bug that was causing the lengthy delays when
  186. > the first message was displayed.  The Microport 80286 C compiler was
  187. > generating bad code for the computation of padding in showmsg.c.  The
  188. > compiler generated scratch variables in the expression were being
  189. > located at weird offsets in the stack segment.  This caused the program
  190. > to stall while the kernel attempted to grow the stack segment to a size
  191. > that was large enough to contain the scratch variables.  This explains
  192. > why it only happened the first time a message was displayed.  Here is a
  193. > patch that fixes the problem:
  194. > *** showmsg.c.dist    Fri Mar 17 21:08:37 1989
  195. > --- showmsg.c    Sat Mar 18 06:14:04 1989
  196. > ***************
  197. > *** 280,289
  198. >                  atoi(current_header->year), current_header->time);
  199. >   
  200. >         /* truncate or pad title2 portion on the right
  201. > !        * so that line fits exactly */
  202. > !       padding =
  203. > !         COLUMNS -
  204. > !         (strlen(title1) + (buf_len=strlen(title2)) + strlen(title3));
  205. >   
  206. >         sprintf(titlebuf, "%s%-*.*s%s\n", title1, buf_len+padding,
  207. >             buf_len+padding, title2, title3);
  208. > --- 280,292 -----
  209. >                  atoi(current_header->year), current_header->time);
  210. >   
  211. >         /* truncate or pad title2 portion on the right
  212. > !        * so that line fits exactly, expression has been
  213. > !        * simplified to avoid bug in Microport 80286
  214. > !        * C compiler */
  215. > !       padding = COLUMNS;
  216. > !       padding -= strlen(title1);
  217. > !       padding -= (buf_len = strlen(title2));
  218. > !       padding -= strlen(title3);
  219. >   
  220. >         sprintf(titlebuf, "%s%-*.*s%s\n", title1, buf_len+padding,
  221. >             buf_len+padding, title2, title3);
  222. > -- 
  223. > John A. Limpert
  224. > UUCP:    johnl@n3dmc.UUCP, johnl@n3dmc.UU.NET, uunet!n3dmc!johnl
  225.  
  226.  
  227.     Some versions of GNUmake are slightly incompatible with
  228. standard make.  If you plan on using GNUmake instead of standard make,
  229. you might need to change instances of:
  230.     -$(MAKEFLAGS)
  231. to:
  232.     $(MAKEFLAGS)
  233. in all Makefiles that contain that construct.
  234.  
  235.  
  236.   On some systems (at least MIPS RiscOs 4.52, and CDC EP/IX 1.4.x) there
  237. is an stdlib.h with ANSI Constructs, but the normally supplied Compiler
  238. did not handle ANSI-C. If you use the bundled compiler (cc2.11 or cc2.20),
  239. you should edit config.h after configuring, and remove the define for 
  240. I_STDLIB. With gcc or the separate ANSI C Compiler there should be no problem.
  241.  
  242. On many systems with the Microsoft UNIX C Compilers (such as SCO), compiling
  243. with optimization breaks the code.  One symptom is that aliases do not work.
  244. On those machines do not compile any of Elm with optimizations.
  245. To accomplish that, set all occurrences of "OPTIMIZE" in the makefiles to
  246. "-Od" - then it works.  From: mrbulli@btoy1.UUCP (Thomas Bullinger)
  247.  
  248.                     Syd Weinstein
  249.                     Elm Coordinator
  250.                     elm@DSI.COM
  251.                     (dsinc!elm)
  252.