Ticket #4436 (closed defect: wontfix)

Opened 18 months ago

Last modified 18 months ago

oh-my-posh 13.7.0+ breaks Midnight Commander's subshell

Reported by: philip_petev Owned by:
Priority: major Milestone:
Component: mc-core Version: 4.8.26
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


Guys, any comments on this one:

Version 13.7.0 introduced changes in the function that hooks up with the bash prompt and that change causes mc to act like the -u parameter (no subshell) is used or the subshell support was never enabled in the first place.
Now, the oh-my-posh author claims there is nothing wrong on his side and the problem must be on your side.

Tested on:
Debian 11 (amd64, bash 5.1.4, mc 4.8.26)
Ubuntu 22.04.1 (amd64, bash 5.1.16, mc 4.8.27)
my NAS (Linux 4.2.8, aarch64, bash 5.2.15, mc 4.8.29)

Providing config to oh-my-posh or using the stock settings doesn't matter.

Some logs from the Debian machine:

GNU Midnight Commander 4.8.26
Built with GLib 2.66.8
Built with S-Lang 2.3.2 with terminfo database
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Home directory: /home/philip
Profile root directory: /home/philip

[System data]
    Config directory: /etc/mc/
    Data directory:   /usr/share/mc/
    File extension handlers: /usr/lib/mc/ext.d/
    VFS plugins and scripts: /usr/lib/mc/
        extfs.d:        /usr/lib/mc/extfs.d/
        fish:           /usr/lib/mc/fish/

[User data]
    Config directory: /home/philip/.config/mc/
    Data directory:   /home/philip/.local/share/mc/
        skins:          /home/philip/.local/share/mc/skins/
        extfs.d:        /home/philip/.local/share/mc/extfs.d/
        fish:           /home/philip/.local/share/mc/fish/
        mcedit macros:  /home/philip/.local/share/mc/mc.macros
        mcedit external macros: /home/philip/.local/share/mc/mcedit/macros.d/macro.*
    Cache directory:  /home/philip/.cache/mc/
mc --configure-options
 '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'AWK=awk' 'X11_WWW=x-www-browser' '--libexecdir=/usr/lib' '--with-x' '--with-screen=slang' '--disable-rpath' '--disable-static' '--disable-silent-rules' '--enable-aspell' '--enable-vfs-sftp' '--enable-vfs-undelfs' '--enable-tests' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/mc-xlv0ck/mc-4.8.26=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'

I've selected version mc 4.8.26, but it happens pretty much with every version after this one. Can't say are the version before this one affected or not since 4.8.26 is the oldest I've got.

Change History

comment:1 Changed 18 months ago by zaytsev-work

  • Status changed from new to closed
  • Resolution set to wontfix

I've commented in GitHub:


Will close this until there is something to do on our side.

comment:2 Changed 18 months ago by zaytsev-work

  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.