home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / elm23-2.zip / README < prev    next >
Text File  |  1991-01-18  |  8KB  |  195 lines

  1. This is the 2.3 (USENET) version of the Elm Mail System
  2.  
  3. See the NOTICE and Instruct files for further details.
  4.  
  5. It is IMPERITIVE that all users rerun newalias after installing
  6. Elm 2.3 when upgrading from a previous version.  Elm's behavoir
  7. with aliases could be unpredictible 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. lastest 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. Limitations/Problems you might encounter in compiling and installing Elm:
  24.  
  25.     On some Unix 5.3.2 systems, if only a runtime version of the
  26. O/S has been installed, not all the include files exist for compiling
  27. curses.c.  The ptem.h include file contains the window sizing structure
  28. on this version.  Either comment out the window sizing code, or install
  29. the remaining include files from the development system.
  30.  
  31.     If you run a nonstandard configuration of Mail, such as Xenix
  32. running smail, Configure can get confused as to where to place items.
  33. Be sure and check the config.sh file for the correct placement before
  34. continuning.  If changes are necessary, rerun Configure and fix the
  35. file before exiting.
  36.  
  37.     On SCO Xenix, if you are all mail is from user anonymous,
  38. this is because the mail delivery agent should be
  39. /usr/lib/mail/execmail instead of /usr/bin/rmail or /bin/rmail.
  40.  
  41.     On Next's it is necessary to answer -bsd for the
  42. Any additional cc flags? question and -lsys_s for the
  43. Any additional libraries? question within Configure.
  44.  
  45.     On some systems, especially those based on the AT&T Port to
  46. 286's the -O flag of the compiler produces improper code causing
  47. segmentation violations.  If this happens, recompile the code without
  48. the -O flag.  This has been seen with Microport SysV/AT type systems.
  49.  
  50.     The Configuration script has been known to exceed the default
  51. stack size in Unix 286 sh's.  If Configure does not run correctly on
  52. this type of machine increase the stack size and rerun it.  On
  53. Microport SysV/AT machines, Configure might run correctly under ksh.
  54. Obtain ksh from Microport (available to current version owners without
  55. additional charge) and rerun Configure using it.  Xenix 286 users may
  56. have the same problem, but they can work around it by changing the
  57. stack size within the shell as reported a Xenix 286 Elm user:
  58. > I had the same problems as everyone else is reporting on Microports *nix under
  59. > SCO XENIX 2.2.1.
  60. >
  61. > The solution is simple, up the stack size for /bin/sh. I used
  62. >
  63. > # mv /bin/sh /bin/sh.old
  64. > # cp /bin/sh.old /bin/sh
  65. > # fixhdr -F 8000 /bin/sh
  66. >
  67. > This may seem a bit over the top, but I put it back after!
  68. >
  69. > # mv /bin/sh /bin/sh.rm
  70. > # mv /bin/sh.old /bin/sh
  71. >
  72. > Then wait till nobody is using /bin/sh.rm then
  73. >
  74. > # rm /bin/sh.rm
  75. >
  76. > That way you preserve your old shell, ( ie you don't break it ), but you
  77. > get to use Configure without bus errors etc.
  78. >
  79. > I hope that of use
  80. >
  81. > Keith
  82. > --
  83. > UUCP ..!uunet!mcvax!ukc!slxsys!g4lzv!keith  | Keith Brazington
  84. > Smart mail  keith@g4lzv.co.uk            | 5b Northgate Rochester Kent UK
  85. > Ampanet  [44.131.8.1] and [44.131.8.3]        | +44 634 811594 Voice
  86. > Packet  G4LZV @ GB7UWS -- G4LZV USENET BB --| +44 634 401210 Data v22,v22bis
  87. You might have to experiment and try values from 7000 to 8800.
  88.  
  89.     Also on Microport SysV/AT Machines, the C compiler produces
  90. improper code for one of the arithmetic calls.  To fix this problem it
  91. is necessary to reduce the complexity of the statement, as reported by
  92. one of our testers here is the symptom and his patch.  Being this is a
  93. compiler bug on only one system, we make the information available, but
  94. not incorporate it in the main release.  Note, this may effect other
  95. areas of Elm, and in the future, Microport may even fix this problem.
  96. > I finally tracked down the bug that was causing the lengthy delays when
  97. > the first message was displayed.  The Microport 80286 C compiler was
  98. > generating bad code for the computation of padding in showmsg.c.  The
  99. > compiler generated scratch variables in the expression were being
  100. > located at weird offsets in the stack segment.  This caused the program
  101. > to stall while the kernel attempted to grow the stack segment to a size
  102. > that was large enough to contain the scratch variables.  This explains
  103. > why it only happened the first time a message was displayed.  Here is a
  104. > patch that fixes the problem:
  105. >
  106. > *** showmsg.c.dist    Fri Mar 17 21:08:37 1989
  107. > --- showmsg.c    Sat Mar 18 06:14:04 1989
  108. > ***************
  109. > *** 280,289
  110. >                  atoi(current_header->year), current_header->time);
  111. >
  112. >         /* truncate or pad title2 portion on the right
  113. > !        * so that line fits exactly */
  114. > !       padding =
  115. > !         COLUMNS -
  116. > !         (strlen(title1) + (buf_len=strlen(title2)) + strlen(title3));
  117. >
  118. >         sprintf(titlebuf, "%s%-*.*s%s\n", title1, buf_len+padding,
  119. >             buf_len+padding, title2, title3);
  120. >
  121. > --- 280,292 -----
  122. >                  atoi(current_header->year), current_header->time);
  123. >
  124. >         /* truncate or pad title2 portion on the right
  125. > !        * so that line fits exactly, expression has been
  126. > !        * simplified to avoid bug in Microport 80286
  127. > !        * C compiler */
  128. > !       padding = COLUMNS;
  129. > !       padding -= strlen(title1);
  130. > !       padding -= (buf_len = strlen(title2));
  131. > !       padding -= strlen(title3);
  132. >
  133. >         sprintf(titlebuf, "%s%-*.*s%s\n", title1, buf_len+padding,
  134. >             buf_len+padding, title2, title3);
  135. >
  136. > --
  137. > John A. Limpert
  138. > UUCP:    johnl@n3dmc.UUCP, johnl@n3dmc.UU.NET, uunet!n3dmc!johnl
  139.  
  140.  
  141.     Some versions of GNUmake are slightly incompatible with
  142. standard make.  If you plan on using GNUmake instead of standard make,
  143. you might need to change instances of:
  144.     -$(MAKEFLAGS)
  145. to:
  146.     $(MAKEFLAGS)
  147. in all Makefiles that contain that construct.
  148.  
  149. >From pyrdc!uunet!mcvax!sauna.hut.fi!jkp Thu Jul 20 23:06:10 1989
  150. >From: Jyrki Kuoppala <pyrdc!uunet!mcvax!cs.hut.fi!jkp>
  151. >Subject: ELM diff for Altos Worknet
  152. >Organization: Helsinki University of Technology, Finland.
  153. >There's a bug in the Altos Worknet that makes it impossible to change
  154. >a file's access time if the file is on another system (via Worknet).
  155. >To make elm work if you use /usr/mail over Worknet, you need to apply
  156. >the following patch and define WORKNET when compiling leavembox.c.
  157. >
  158. >Note: WORKNET needs to be defined somewhere, the easiest thing is
  159. >to add it manually to src/Makefile.  That's how I did it.
  160. >
  161. >*** elm2.2/src/leavembox.c    Tue Jul 18 20:50:32 1989
  162. >--- elm2.2.altos/src/leavembox.c    Tue Jul 18 23:36:11 1989
  163. >***************
  164. >*** 557,562 ****
  165. >--- 557,565 ----
  166. >      utime_buffer.modtime= buf.st_mtime;
  167. >  #endif
  168. >
  169. >+ #ifndef WORKNET
  170. >+     /* Braindamaged WorkNet from Altos doesn't know how to change
  171. >+        a file's access time if it is on another system */
  172. >  #ifdef BSD
  173. >      if (utime(cur_folder, utime_buffer) != 0) {
  174. >  #else
  175. >***************
  176. >*** 569,574 ****
  177. >--- 572,578 ----
  178. >        error2("Error %s trying to change file %s access time.",
  179. >             error_name(errno), cur_folder);
  180. >      }
  181. >+ #endif  /* WORKNET */
  182. >
  183. >
  184. >      mailfile_size = bytes(cur_folder);
  185. >
  186. >
  187. >Jyrki Kuoppala    Helsinki University of Technology, Finland.
  188. >Internet :        jkp@cs.hut.fi           [128.214.3.119]
  189. >BITNET :          jkp@fingate.bitnet      Gravity is a myth, the Earth sucks!
  190.  
  191.                     Syd Weinstein
  192.                     Elm Coordinator
  193.                     elm@DSI.COM
  194.                     (dsinc!elm)
  195.