Date: Fri, 27 Mar 2015 17:20:15 +0100 From: "Jiri Lazansky" <lazan@protys.cz> To: <woodsb02@gmail.com> Cc: ports@FreeBSD.org Subject: FreeBSD Port: mc-4.8.14 Message-ID: <002601d068a9$e89ed730$b9dc8590$@protys.cz>
next in thread | raw e-mail | index | archive | help
Dear maintainer: I tried to upgrade well working mc-4.8.13_3 to mc-4.8.14 on FreeBSD 9.3 = (AMD64) with subshell using the port misc/mc. My shell is 'bash'. The result was: 1. Very long start-up time 2. Subshell not working (has not read ~/.bashrc). Following patch resolved the situation: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D --- src/subshell.c.orig +++ src/subshell.c @@ -874,8 +874,7 @@ { case BASH: g_snprintf (precmd, sizeof (precmd), - " = PROMPT_COMMAND=3D${PROMPT_COMMAND:+$PROMPT_COMMAND; }'pwd>&%d;kill -STOP = $$'\n", - subshell_pipe[WRITE]); + " PROMPT_COMMAND=3D'pwd>&%d;kill -STOP $$'\n", = subshell_pipe[WRITE]); break; case ZSH: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D The output of 'mc -V' is GNU Midnight Commander 4.8.14 Built with GLib 2.42.2 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, = smbfs Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: = 64; Please analyse the reasons and try to update the port. Best regards Jiri Lazansky <mailto:lazan@protys.cz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002601d068a9$e89ed730$b9dc8590$>