mc "Midnight Commander" wrong colors and keys

2»

Comments

  • @ehab said:
    @angstrom

    i started an alpine docker image and at interactive env

    HOSTNAME=38953153f826
    SHLVL=1
    HOME=/root
    TERM=xterm
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PWD=/
    

    so i check my current local env
    TERM=xterm-256color

    and changed to
    export TERM=xterm

    vola ... mc is happy

    (Sorry, just a last word)

    So, in sum, you're saying that the change from xterm-256color to xterm made the big difference?

    As I said above, this shouldn't make a difference for mc, which would be happy with either of these two terminal types

    But perhaps the terminal emulator that you're using doesn't support the terminal type xterm-256color, or perhaps the terminfo database on the server doesn't support the terminal type xterm-256color (even if this second possibility seems improbable nowadays)

    In any case, if the terminal type made the big difference, then I may have been mistaken that it was an issue of console fonts

    (I'll leave it at this :) )

    Thanked by (1)ehab

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

Sign In or Register to comment.