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



On 2014-09-09 Egmont Koblinger wrote:

On Tue, Sep 9, 2014 at 2:04 PM, Morten Bo Johansen <mbj 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]