256 color skins and screen. Was: Midnight Commander 4.8.13 released

Morten Bo Johansen mbj at spamcop.net
Tue Sep 9 12:28:07 UTC 2014


On 2014-09-09 Egmont Koblinger wrote:

> On Tue, Sep 9, 2014 at 2:04 PM, Morten Bo Johansen <mbj at spamcop.net> wrote:

>>   ~/ % echo $TERM
>>   rxvt-unicode-256color

> Is this what you get *inside* screen, too?

Yes.

> Then on one hand I don't understand why mc doesn't give you 256
> colors; on the other hand I guess your top line (the menu bar) is not
> properly painted.  Screen requires that inside it TERM is set to
> screen (or some variant, e.g. screen-256color).

> Try putting this in your .screenrc:
> term screen-256color

I did so, but it makes no difference.

However, I just noticed that I only get the error message if I start mc
via a screen hotkey, not if I start mc via the shell command line. I have
the following stanza in the .screenrc

  bind C screen -t 'mc'  mc -x
  
so I cannot use a 256 color skin if I use this hotkey. If I
start mc via the shell command line, I can use the skin but
terminal attributes such a bold for directories are lost.

Thanks,

Morten




More information about the mc-devel mailing list