Subject: Bug dealing with enriched text? -- version 4.05

From: Marty Hoff <[email-masked]>
Date: Mon, 4 Jan 1999 15:18:51 -0600 (CST)

Hello and happy New Year, everyone.  I've come across a problem in Pine 4.05,
and I've verified that it is there in 4.02 as well.  This is on Solaris 2.5.x
and greater.  (I just verified that the bug also affects SunOS 4.1.x too.)

The bug manifests when you have an Enriched text message (such as those
generated by Eudora) where lines are bolded or the font is changed.  If the
last line of the message has a bold statement on it, then that line will not
be displayed in Pine.  If there is anything after the line, including just a
blank line, then the line displays normally.  I came up with a little test to
verify this:

cat /tmp/pine.enr | /usr/lib/sendmail <username>

where the file /tmp/pine.enr is:

--------------inserted file-----------
To: <email address>
From: <email address>
Subject: Enriched test on pine
Mime-Version: 1.0
Content-Type: text/enriched; charset="us-ascii"

Here is a bunch of junk to take up space.

<bold>
This has been bolded.

</bold>

Here is a bunch of junk to take up space.

<bold>This has been bolded.</bold>
----------end inserted file-----------
(I've removed my email address and username where I used them for my test.
Just substitute in your username if you'd like to test this and make sure
that your sendmail lives in the same path as mine.)

When you send this mail, look at it in pine.  The second line of "This has
been bolded." won't appear, at least not on my systems.  If there is even a
blank line after the last bold statement, then things are fine.

Anyone have any ideas on how to fix this problem?  It is fortunate that not
everyone in my group reads mail with pine -- I missed a line of an email
concerned with disabling a user.  If someone else hadn't seen that line and
disabled that user, my group could have gotten into big trouble, so I find
this bug to be very troubling.

Thanks for any help.

Marty

--------------------------------------------
Marty Hoff                   [email-masked] 
Associate Manager of System Administration   
Evolutionary Technologies International, Inc.  

Pickled walnut?

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: "Ed Greshko" <[email-masked]>
Date: Tue, 5 Jan 1999 06:17:35 +0800

Mary,

> and greater.  (I just verified that the bug also affects SunOS 4.1.x too.)

FWIW, it also fails on PC-pine.

> Anyone have any ideas on how to fix this problem?

The developers of pine have been made aware of this problem....

> It is
> fortunate that not

FYI, disabling a user is to be frowned upon.  You are encouraged to simply
disable a user's account.  To do the former may invite a lawsuit. :-) :-0

Ed