You are not logged in.
Pages: 1
Hey, I am trying to launch a new xterm session and run mc with 256 colors, but mc keeps complaining about not having 256 color terminal. Weird thing is that when I try to launch the colored mc inside the mc that was complaining, it works just as it is supposed to. And if I launch a new terminal and type in the exact same command, it also works like a charm. Somehow this is about that "-e" and I am out of ideas.
Last edited by vnykanen (2012-11-19 09:36:57)
Offline
It's in the manpage: xterm sets $TERM based on a short list. If you are using TERM=xterm-256color, then you could pass that via a script using the -tn option, e.g., xterm -tn $TERM -e mc
Offline
Thanks! It works.
Offline
Pages: 1