This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: mutt-1.6.0-1
- From: Ismail Donmez <ismail at i10z dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Apr 2016 15:15:46 +0300
- Subject: Re: [ANNOUNCEMENT] Updated: mutt-1.6.0-1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 5703D3AD dot 4070505 at gmail dot com> <CAFo71_4QMTHT49ZKZ8+rB2d-OO=VE9u-mJo1f6waJPXD2Ku6sA at mail dot gmail dot com> <5704D000 dot 5020502 at gmail dot com> <CAFo71_6XkS=3kBAW4eZ3stEYg3g7Ee_yVh0nUCZKATx+bs53Qw at mail dot gmail dot com> <5704D573 dot 5020909 at gmail dot com> <CAFo71_5C4stSvWjkTcN7N6pzFfGF=BY4d1hH+4TP7xtO3_5G9g at mail dot gmail dot com> <5704E829 dot 1060808 at gmail dot com>
Hi,
On Wed, Apr 6, 2016 at 1:42 PM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> On 06/04/2016 11:32, Ismail Donmez wrote:
>>
>> Hi,
>>
>> On Wed, Apr 6, 2016 at 12:22 PM, Marco Atzeri <marco.atzeri@gmail.com>
>> wrote:
>>>
>>> A counter example:
>>>
>>> http://chbrauner.blogspot.de/2014/02/mutt-compiled-against-ncurses-and.html
>>>
>>> try and let me know
>>
>>
>> I am not using a mutt colorscheme but a mintty one which mutt fails to
>> render. I will, however, try the change but a quote from the page
>>
>> "The solution is to replace a lot of the very specific color
>> specifications of the colorscheme by the value default. "
>>
>> This proves the point that mutt is unable to use 256-color specifications.
>>
>> Thanks,
>> Ismail
>
>
> ncurse can handle 256 color.
> I doubt that mutt is different from other programs.
>
>
> which TERM variable are you using ?
>
> $ TERM="xterm"
> $ tput colors
> 8
>
> $ TERM="xterm-256color"
> $ tput colors
> 256
My TERM is also xterm-256color but however that won't matter because
looking at mutt-1.6.0/color.c
I see:
#ifdef USE_SLANG_CURSES
static char *get_color_name (char *dest, size_t destlen, int val)
{
static const char * const missing[3] = {"brown", "lightgray", "default"};
int i;
[...]
#endif
and similar functions. So looks like "some" color functionality
depends on slang.
Regards,
ismail
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple