This is the 2.2 release version of Dave Taylor's Elm mail system.

Elm 2.2 release is the 2.2 Version being prepared for release.

See the NOTICE and Instruct files for further details.

Limitations/Problems you might encounter in installing Elm:

The Configuration script has been known to exceed the default stack
size in Unix 286 sh's.  If Configure does not run correctly on this
type of machine increase the stack size and rerun it.
On Microport SysV/AT machines, Configure will run correctly under
ksh.  Obtain ksh from Microport (available to current version owners
without additional charge) and rerun Configure using it.

Also on Microport SysV/AT Machines, the C compiler produces improper code
for one of the arithmetic calls.  To fix this problem it is necessary to
reduce the complexity of the statement, as reported by one of our testers
here is the symptom and his patch.  Being this is a compiler bug on only
one system, we make the information available, but not incorporate it in
the main release.  Note, this may effect other areas of Elm, and in the
future, Microport may even fix this problem.
> I finally tracked down the bug that was causing the lengthy delays when
> the first message was displayed.  The Microport 80286 C compiler was
> generating bad code for the computation of padding in showmsg.c.  The
> compiler generated scratch variables in the expression were being
> located at weird offsets in the stack segment.  This caused the program
> to stall while the kernel attempted to grow the stack segment to a size
> that was large enough to contain the scratch variables.  This explains
> why it only happened the first time a message was displayed.  Here is a
> patch that fixes the problem:
> 
> *** showmsg.c.dist	Fri Mar 17 21:08:37 1989
> --- showmsg.c	Sat Mar 18 06:14:04 1989
> ***************
> *** 280,289
>   	           atoi(current_header->year), current_header->time);
>   
>   	  /* truncate or pad title2 portion on the right
> ! 	   * so that line fits exactly */
> ! 	  padding =
> ! 	    COLUMNS -
> ! 	    (strlen(title1) + (buf_len=strlen(title2)) + strlen(title3));
>   
>   	  sprintf(titlebuf, "%s%-*.*s%s\n", title1, buf_len+padding,
>   	      buf_len+padding, title2, title3);
> 
> --- 280,292 -----
>   	           atoi(current_header->year), current_header->time);
>   
>   	  /* truncate or pad title2 portion on the right
> ! 	   * so that line fits exactly, expression has been
> ! 	   * simplified to avoid bug in Microport 80286
> ! 	   * C compiler */
> ! 	  padding = COLUMNS;
> ! 	  padding -= strlen(title1);
> ! 	  padding -= (buf_len = strlen(title2));
> ! 	  padding -= strlen(title3);
>   
>   	  sprintf(titlebuf, "%s%-*.*s%s\n", title1, buf_len+padding,
>   	      buf_len+padding, title2, title3);
> 
> -- 
> John A. Limpert
> UUCP:	johnl@n3dmc.UUCP, johnl@n3dmc.UU.NET, uunet!n3dmc!johnl


If you run a nonstandard configuration of Mail, such as Xenix running smail,
Configure can get confused as to where to place items.  Be sure and check the
config.sh file for the correct placement before continuning.  If changes
are necessary, rerun Configure and fix the file before exiting.

On some systems, especially those based on the AT&T Port to 286's
the -O flag of the compiler produces improper code causing segmentation
violations.  If this happens, recompile the code without the -O flag.
This has been seen with Microport SysV/AT type systems.

GNUmake is slightly incompatible with standard make. If you plan on using
GNUmake instead of standard make, you will need to change instances of:
	-$(MAKEFLAGS)
to:
	$(MAKEFLAGS)
in all Makefiles that contain that construct.

>From: sun!mcnc.org!katylied.uucp!kdb (Kevin D. Bond)
There is a problem with Ultrix 2.2 in that it has both sgtty and termio, so
ELM uses termio, but the termio code and ELM don't get along.  The easiest
fix is to edit config.sh as a shell escape from Configure and change
	d_termio='define'
to:
	d_termio='undef'

					Syd Weinstein
					Elm Coordinator
					elm@dsinc.UUCP
					(dsinc!elm)
