How?In my installation the login shell has been replaced globally for all users fromsh
tobash
.
How?In my installation the login shell has been replaced globally for all users fromsh
tobash
.
3010 # This is the only entry which you should have to customize, since "xterm"
3011 # is widely used for a variety of incompatible terminal emulations including
3012 # color_xterm and rxvt.
3013 xterm|X11 terminal emulator:\
3014 <------>:te=\E[?1049l:ti=\E[?1049h:\
3015 <------>:tc=xterm-new:
3016 #<----->:tc=xterm-r6:
# cap_mkdb -f /usr/share/misc/termcap /etc/termcap
setenv TERM xterm-clear ; setenv term xterm-clear
export TERM=xterm-clear ; export term=xterm-clear
This is not a real solutions: mc() doesn't depend on bash() (which is not a part of the base system):I have solved this problem by switching to bash shell
chsh -s /usr/local/bin/bash
% pkg info -d mc
mc-4.8.22_1:
libXext-1.3.4,1
libX11-1.6.8,1
diffutils-3.7
libssh2-1.8.2,3
python27-2.7.16_1
perl5-5.30.0
libslang2-2.3.2_1
glib-2.56.3_6,1
gettext-runtime-0.20.1
That's true for regular users, but the OP mentioned he cannot use it for root. It's not recommended to change the default shell for root...Actually it works fine under 'tcsh' as well. And tcsh is a real solution.
chsh -s /bin/tcsh
CTRL+O
. There has an issue with csh or so. From that shell misc/mc refused to start or even crashed because of the subshell. mc -u
starts the program with the subshell option disabled. This allowed using misc/mc slightly limited in the problematic shell. I am not sure if the problem still exists.