FS#10689 - Build mutt against ncurses instead of slang.
Attached to Project:
Arch Linux
Opened by Loui Chang (louipc) - Wednesday, 18 June 2008, 20:37 GMT
Last edited by Greg (dolby) - Thursday, 19 June 2008, 12:14 GMT
Opened by Loui Chang (louipc) - Wednesday, 18 June 2008, 20:37 GMT
Last edited by Greg (dolby) - Thursday, 19 June 2008, 12:14 GMT
|
Details
I'm not sure whether to put this in a feature request or a
bug report,
but I'll stick it to a bug report. Hopefully it'll get more attention. Here's a few reasons: * Building mutt against slang seems to cause some quirks with background and highlighting. (At least for me) * Ncurses is in core so there's a greater chance people already have it installed. * Ncurses seems to be the default build configuration. I've attached two images of what mutt looks like with slang and with ncurses. Notice how the highlighting is all broken up by whitespace with slang whereas highlighting is continuous with ncurses. |
This task depends upon
I attached a file that you can easily copy into your .muttrc or source it from there.
EDIT:----------------------------------------
slang also allows the terminal to be resized once mutt is already opened
Can you link me to a disccussion about utf-8 issues? Thanks.
Also the resizing thing seems to work fine with ncurses.
The utf-8 was reported by users from asian coutries straight into my inbox several times. After I encouraged some of them to rebuild mutt against slang the complaints went away. So eventually I opted for a general build against slang as it involves less trouble, except for the colour issu which can be resolve by a config file for good.
in any terminal.
What were their issues exactly? I'd like to investigate if
you can dig up what the issues were. I think in general utf-8
problems belong to the terminal or to font configurations.
I did do some googling and it seemed some issues with ncurses
mutt and utf-8 might have been solved about four years ago.
Open a terminal (I reproduced with xterm and rxvt-unicode) in standard size, open an ncurses application (htop will do)
While it is open, resize the terminal, the application might or might not resize. Close the application. Open mutt with ncurses.
Screenie attached
It will be shrunk to 80x25 even though the term is bigger. Now if I resize the term, mutt will redraw and you will see most of the stuff but not always completely!
some vertical bars might be drawn longer than 80 chars some might not be, I have not completely figured out how that is triggered.
You can repeat that as long as you want. Close and reopen it, it's back to 80x25. The only way to change it for good is to close mutt, resize the terminal and then reopen mutt.
You will have to do that anytime you wanna resize your terminal. Slang on the other side never had that issue.
For the encoding, I had only reports and some screenies, but never actually reproduced the issue. It was also reported by users I trust over the years.
Also, the resizing is annoying enough to switch to slang.
Freaking computers! I can't reproduce this.
Well at least someone can confirm a similar problem
http://dev.mutt.org/trac/ticket/2960