Categories
Howto's

mc (on linux) and putty (on windows) view chars and lines problem

1) edit /usr/share/mc/bin/mc−wrapper.sh

2) add only BLUE lines:
……..
MC_PWD_FILE=”${TMPDIR−/tmp}/mc−$USER/mc.pwd.$$”

SAVE_LANG=”$LANG”
export LANG=”C”

/usr/bin/mc −P “$MC_PWD_FILE” “$@”

export LANG=”$SAVE_LANG”