Ticket #4531 (closed defect: duplicate)

Opened 9 months ago

Last modified 9 months ago

/bin/sh is not supported for mc as a subshell

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

Description

After a FreeBSD 14.0 fresh install you are going to face with strange error when you want to run mc command after installing it.

It says:

common.c: unimplemented subshell type 1
read (subshell_pty...): No such file or directory (2)

The problem:

FreeBSD 14.0 changed the default shell to /bin/sh which is not supported for mc as a subshell. The subshell is a forked process that you can run command in the background while mc is running, the hotkey to bring it up is CTRL + O.

The Workaround:

Change back your shell to /bin/csh.

That is the way:

pw user mod root -s /bin/csh

Change History

comment:1 Changed 9 months ago by andrew_b

  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone Future Releases deleted

Closed as duplicate of #373.
I know, It's so hard to use search and find #3658 and #373.

Note: See TracTickets for help on using tickets.