Subject: Display problem.

From: Frederik Vervaet <[email-masked]>
Date: Thu, 13 Feb 2003 18:33:52 +0100 (CET)

After having sent this to the comp.mail.pine newsgroup and having had 0
replies I though I'd try this list.

I have the following problem :

http://frederik.datohosting.be/images/pine.png
http://frederik.datohosting.be/images/pine2.png (i blanked out ips/emails)

As you can see SOME mails will show up without subject/to stuff.

I've tried pretty much every setting i can think of. This only started
happening recently. (I think it started when i upgraded to 4.53 sitewide).

Any help would be appreciated since theg newsgroup was no help at all :p.

I'd hate to have to force clients to use mutt considering how much i like
Pine :p

-- 
Frederik Vervaet <[email-masked]>

We, the unwilling, led by the unknowing, are doing the impossible for the
ungrateful. We have done so much, for so long, with so little, we are now
qualified to do anything with nothing.

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

---

From: "Bill Kearney" <[email-masked]>
Date: Thu, 13 Feb 2003 12:41:52 -0500

What's sending those funky looking From: addresses?  It looks like Outlook
Express but I've got to wonder what put those odd strings into it's addressbook.

---

From: Frederik Vervaet <[email-masked]>
Date: Thu, 13 Feb 2003 18:49:57 +0100 (CET)

> Express but I've got to wonder what put those odd strings into it's addressbook.

You know I had a lot of those funky replies. I then changed my character
setting to the setting that was infront of those from replies. Most of
those from's then turned normal. However a number of them stayed. The
amount of "hidden" mails however stayed the same. So other than removing
the odd stuff from a few from headers the change of the character setting
didn't do much.

This is the current setting :

character-set                    = iso-8859-1

The problem i'm currently haven't isn't restricted to outlook express.

X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10)

I have the same problem with mails from a friend that's using this client.

I can post a screenshot of the headers if you want them.

PS : Mr Kearny : Sorry for the double post. I'm on a laptop atm and I
pressed the wrong key combo (damn keyboard is smaller :p)

---

From: "Bill Kearney" <[email-masked]>
Date: Thu, 13 Feb 2003 13:12:36 -0500

> pressed the wrong key combo (damn keyboard is smaller :p)

No problem.

Character encoding is a tricky process and few developers seem to understand it
properly.  It's often made worse by a program assuming it's one form of encoding
while including another.  As in, it claims to be UTF-8 but is really ISO-8859-1
or vice versa.  I've had lots of trouble with this in XML applications because
of developer ignorance/naivete.

-Bill Kearney

---

From: Jeff Franklin <[email-masked]>
Date: Thu, 13 Feb 2003 10:40:29 -0800 (PST)

> As you can see SOME mails will show up without subject/to stuff.

We've seen this recently in cases where a Unicode terminal is being used.
This was first brought to our attention by people who had set up their
environments to be Unicode under Redhat 8.0.  In the cases we saw, the
blank lines were lines that had some sort of non-ASCII character to be
displayed.  One of the reasons for this problem is that Pine doesn't yet
support Unicode, but there does also seem to be some inconsitencies with
glibc and its use of sprintf.  When tinkering around with this Unicode
mode under Redhat 7.3, I also observed that man and less had similar
problems.

As for a fix, you can remove the call to setlocale(LC_CTYPE, ""); on line
3747 in file pico/osdep/unix and rebuild.  The problem will likely go
away, and there likely won't be any problems to spring up as a result of
changing that.  setlocale() is a function that looks at various
environment variables to determine the locale, so changing those variables
(redhat changes them from some sort of system prerences setting) might
also fix things.  The $LANG variable is the one that setlocale usually
depends on, and you can override specific behavior by setting other
variables (see the setlocale man page, for instance, you can override
LC_CTYPE behavior by setting an LC_CTYPE variable, and that would also
"fix" things without having to patch pine).  My LANG variable is set to
en_US.iso885915, the setting I used to reproduce the problem was
en_GB.UTF-8.

Hopefully some of the information I've thrown at you is of use.  You can
also check out the Redhat Bugzilla report of this bug at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=70518.  I'm not sure
if this problem is specific to Redhat distributions, but we are
considering adding Unicode support (no small undertaking) in pine, which
would permanently fix the problem.

Jeff

---

From: Frederik Vervaet <[email-masked]>
Date: Thu, 13 Feb 2003 20:12:08 +0100 (CET)

> en_US.iso885915, the setting I used to reproduce the problem was

Thanks. I fixed it by changing the LANG variable to your setting.
Will change the systemwide setting lateron :p
Thanks guys for this fix. Would it be possible to add this to the PINE faq
on the site ? Considering many redhat systems have this bug I imagine a
lot of users might be affected by it.

> would permanently fix the problem.

I hope you do. Sofar this problem has been the only negative point I've
found in pine.

-- 
Frederik Vervaet <[email-masked]>
-The Lean Mean Mailing Machine

---

From: tomas pospisek <[email-masked]>
Date: Thu, 13 Feb 2003 21:49:57 +0100 (CET)

On Thu, 13 Feb 2003, Jeff Franklin wrote:

> I'm not sure if this problem is specific to Redhat distributions, but
> we are considering adding Unicode support (no small undertaking) in
> pine, which would permanently fix the problem.

I can't find no words for how much this would fill me with joy. At
__least__ being able to read emails from my czech and swiss contacts in
one session. Phew, would that be ****nice**** ...
*t

--
                                 will kill for oil

---

From: Jeff Baxter <[email-masked]>
Date: Thu, 13 Feb 2003 16:01:57 -0500 (EST)

Hi all -

Is there any way to strip attachments when the message is being written
to my sent-mail folder?

I use Pine on a UNIX system, connecting to a different IMAP system. I
obviously want the attachment to go out on the SMTP message to my
recipient, but I don't want to have to send a copy via IMAP to my
sent-mail folder. First off, it wastes time waiting for it get there, and
second, it just wastes disk space...

I already have the attachment, so I really just want a record of when I
sent the message, what text was in the message, and possibly what
attachments were there, but *not* the actual attachments.

As it is right now, I'm going into my sent-mail after sending large
e-mails, going into the attachment view, deleting the attachment and
re-saving to the same folder. That's tedious...

To be honest, I doubt this is possible to do automatically (without
patching), and I couldn't see any obvious way to do it, but it sure would
be nice.

Thanks!

Jeff Baxter
Information Systems and Services
George Washington University

---

From: Frederik Vervaet <[email-masked]>
Date: Thu, 13 Feb 2003 23:14:20 +0100 (CET)

> George Washington University

Afaik the message gets FCC'ed to your send mail folder.
One of the Features in the config screen is

[EXTRACT FROM HELP]

FEATURE: fcc-without-attachments

This features controls the way FCC's (File Carbon Copies) are made of the
messages you send.

Normally, Pine saves an exact copy of your message as it was sent. When
this feature is enabled, the "body" of the message you send (the text you
type in the composer) is preserved in the copy as before, however all
attachments are replaced with text explaining what had been sent rather
than the attachments themselves.

[/EXTRACT FROM HELP]

Unless I misunderstood this does exactly what you wanted ?

---

From: Jeff Baxter <[email-masked]>
Date: Thu, 13 Feb 2003 17:19:27 -0500 (EST)

I feel like a complete idiot. Thanks so much for pointing that out, my
eyes must have just skipped right over it.

Every time I think I've found something that Pine doesn't do, I'm proven
wrong... hehehe...

Thanks!

Jeff Baxter

---

From: Frederik Vervaet <[email-masked]>
Date: Thu, 13 Feb 2003 23:27:36 +0100 (CET)

> George Washington University

I know the feeling :p

Can't count the times the fix was right in front of me but I was just too
tired/annoyed/bored to notice it :p