Ticket #1699 (closed defect: invalid)

Opened 10 years ago

Last modified 9 years ago

Incorrect gray color

Reported by: sergey-feo Owned by:
Priority: minor Milestone: 4.7
Component: mc-skin Version: 4.7.0-pre3
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

The next skin:

[core]

_default_=lightgray;gray

gives black background in place of gray.

But in this variant:

[core]

_default_=lightgray;red

skin gives correct red background.

I test this under "plain" console in Slackware 13.0 in xterm, ROXTerm and Terminal.

Change History

comment:1 Changed 10 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid

In according with http://www.s-lang.org/doc/html/cslang.html#toc8.4, gray color is not supported as background one.

comment:3 Changed 10 years ago by sergey-feo

mc must give some error message if it can't set gray background.

comment:4 follow-up: ↓ 5 Changed 10 years ago by sergey-feo

By the way: what about ncurses? It can work with 256 colors AFAIK.

comment:5 in reply to: ↑ 4 Changed 10 years ago by andrew_b

Replying to sergey-feo:

By the way: what about ncurses? It can work with 256 colors AFAIK.

It depends...

http://www.c-for-dummies.com/ncurses/
http://www.c-for-dummies.com/ncurses/256color/

comment:6 follow-up: ↓ 7 Changed 10 years ago by sergey-feo

Does mc can use 256 colors if ncurses compiled with --enable-ext-colors option?

comment:7 in reply to: ↑ 6 Changed 10 years ago by andrew_b

Replying to sergey-feo:

Does mc can use 256 colors if ncurses compiled with --enable-ext-colors option?

No.

comment:8 Changed 10 years ago by sergey-feo

I speak with John E. Davis in slang-users mail list about color support in s-lang. S-lang supports 256 colors. John give excellent hint. 256-color mode requires

export TERM="xterm-256color"

command. With this command mc can show normal gray background! It works if mc compiled with s-lang. It does not work if mc compiled with ncurses.

comment:9 Changed 9 years ago by egmont

See ticket #2169 for a complete solution!

Note: See TracTickets for help on using tickets.