FreeBSD Bugzilla – Attachment 218560 Details for
Bug 208391
misc/mc SUBSHELL not working with /bin/sh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add pkg-message explaining the issue
mc.patch (text/plain), 1.72 KB, created by
Mateusz Piotrowski
on 2020-10-06 13:55:14 UTC
(
hide
)
Description:
Add pkg-message explaining the issue
Filename:
MIME Type:
Creator:
Mateusz Piotrowski
Created:
2020-10-06 13:55:14 UTC
Size:
1.72 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 551579) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= mc > PORTVERSION= 4.8.24 >+PORTREVISION= 1 > CATEGORIES= misc shells > MASTER_SITES= http://ftp.midnight-commander.org/ \ > https://ftp.osuosl.org/pub/midnightcommander/ >@@ -56,6 +57,7 @@ > smb-codepagedir=${LOCALBASE}/etc/codepages > > SUBSHELL_CONFIGURE_WITH=subshell >+SUBSHELL_SUB_FILES= pkg-message > > X11_CONFIGURE_ENABLE= x > X11_USES= xorg >Index: files/pkg-message.in >=================================================================== >--- files/pkg-message.in (nonexistent) >+++ files/pkg-message.in (working copy) >@@ -0,0 +1,21 @@ >+[ >+{ type: install >+ message: <<EOM >+Midnight Commander does not recognize FreeBSD sh(1) as a supported concurrent >+shell. It means is that if mc(1) is started with the SHELL environment >+variable set to "/bin/sh" (e.g., because it is a login shell) then mc(1) is >+going to fail like this: >+ >+ $ env SHELL=/bin/sh mc >+ common.c: unimplemented subshell type 1 >+ read (subshell_pty...): No error: 0 (0) >+ >+A workaround here is to pass the -u flag (--nosubshell) when starting mc(1): >+ >+ $ env SHELL=/bin/sh mc -u >+ >+See the following Bugzilla PR for more details: >+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208391 >+EOM >+} >+] > >Property changes on: files/pkg-message.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
0mp
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 208391
: 218560