You are not logged in.
Hi MC users,
After a recent upgrade when pressing Ctrl-o in mc to switch to full shell view the cursor ends up on unpredictable locations each time. It's almost never aligned to the prompt. One has to press Enter for it to normalize. Also, in MC window a prompt in a subshell disappeared.
I tried downgrading mc, vte3, ncurses, tilda, fish shell, but the same. It happens both with fish shell and bash.
I use xfce4 but the same thing persists in non-gui ttys, too.
I haven't gone as far as downgrading mesa, x.org, etc., though.
Last edited by ottoshmidt (2021-08-12 19:03:53)
Offline
Likely your PS1?
read pcomm < /proc/$PPID/comm
if [ "$pcomm" = "mc" ]; then
export PS1=somesimplestuff
else
export PS1=somefancystuff
fiNot sure about fish syntax.
Offline
Likely your PS1?
read pcomm < /proc/$PPID/comm if [ "$pcomm" = "mc" ]; then export PS1=somesimplestuff else export PS1=somefancystuff fiNot sure about fish syntax.
Your hint helped me, thanks. So, fish shell had a regression in the latest update: https://github.com/fish-shell/fish-shell/issues/8091 (Which turns out is an MC problem).
Btw, in fish they don't have PS1 but a function fish_prompt that prints prompt.
Solution:
I downgraded fish to v3.2.2 until mc 4.8.27 comes out.
Last edited by ottoshmidt (2021-08-12 20:30:41)
Offline