id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4371	mc can't start on RedHat8	nameless2002		"I have two VMware hosts with 4.8.19 installed on both.
Both hosts version is:
{{{#!sh
GNU Midnight Commander 4.8.19
Built with GLib 2.56.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
}}}

RedHat version is:
{{{#!sh
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.4 (Ootpa)
}}}

mc starts as alias for:
{{{#!sh
# alias | grep mc
alias mc='. /usr/libexec/mc/mc-wrapper.sh'
}}}

and file content is:
{{{#!sh
# cat /usr/libexec/mc/mc-wrapper.sh
MC_USER=`id | sed 's/[^(]*(//;s/).*//'`
MC_PWD_FILE=""${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$""
/usr/bin/mc -P ""$MC_PWD_FILE"" ""$@""

if test -r ""$MC_PWD_FILE""; then
        MC_PWD=""`cat ""$MC_PWD_FILE""`""
        if test -n ""$MC_PWD"" && test -d ""$MC_PWD""; then
                cd ""$MC_PWD""
        fi
        unset MC_PWD
fi

rm -f ""$MC_PWD_FILE""
unset MC_PWD_FILE
unset MC_USER
}}}

When I start mc on host1 it start normally and I can use C-o combination to go back to shell and use commands as usual.

But when I start mc on host2 I have a screen like this:
"	defect	closed	minor		mc-core	4.8.19	wontfix					no branch	
