Bug 208659

Summary: mail/mutt: thread display bad with NCURSES, OK with SLANG
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Tilman Keskinoz <arved>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: Udo.Schweigert, arved, pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mutt-bad
none
mutt-good/slang
none
mutt-1.7.2-with-nurses-still-bad none

Description Kurt Jaeger freebsd_committer freebsd_triage 2016-04-09 19:17:55 UTC
Created attachment 169130 [details]
mutt-bad

If built with NCURSES, the thread display is broken, see the two screenshots attached.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2016-04-09 19:18:24 UTC
Created attachment 169131 [details]
mutt-good/slang
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2016-04-10 16:21:34 UTC
maintainer tried to reproduce, more context is needed.
Comment 3 Udo.Schweigert 2016-10-17 05:12:58 UTC
I propose to close this, as now there is already version 1.7.0 released which probably fixes that problem (not double-checked, as I can't reproduce).
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2016-10-17 05:17:30 UTC
I will test again with the newer mutt.
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2017-01-19 20:21:21 UTC
Did you test with the latest version? Still reproducable?
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2017-01-19 20:42:43 UTC
Sorry that it took me so long to re-test. Re-tested on 12amd64 just
a few minutes ago, yes, problem still persists.

Attachment follows.
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2017-01-19 20:43:31 UTC
Created attachment 179089 [details]
mutt-1.7.2-with-nurses-still-bad
Comment 8 Tilman Keskinoz freebsd_committer freebsd_triage 2017-01-19 20:52:02 UTC
m, the screenshot looks like your locale is messed up. (see Mail from Ulrich Sp??rlein for example.).

Maybe mutt ncurses uses non-ascii/unicode characters to render the threads?
Comment 9 Kurt Jaeger freebsd_committer freebsd_triage 2017-01-19 20:58:52 UTC
LC_CTYPE=C
LANG=C

what would you suggest to change ?
Comment 10 Tilman Keskinoz freebsd_committer freebsd_triage 2017-01-19 21:08:50 UTC
I use en_US.UTF8 and it looks ok.

See also this thread:
https://lists.debian.org/debian-user/2008/01/msg00236.html

e.g.:

try this:

echo -e "\0342\0224\0224\0342\0224\0200\0076"

should give you "└─>" (mutt's arrow showing a reply in a thread).