FreeBSD Port: mc-4.8.14
Ben Woods
woodsb02 at gmail.com
Mon Mar 30 16:50:01 UTC 2015
Hi Jiri,
I am having difficulty replicating this fault, however it is no doubt
linked to the change made in 4.8.14 under MC bug report #2027. See here:
http://www.midnight-commander.org/ticket/2027
Have you set a custom bash prompt in a .bashrc or .bash_profile or
/etc/profile? If so, what have you set so that I can try and replicate this
issue?
Thanks,
Ben
On Sat, Mar 28, 2015 at 12:20 AM Jiri Lazansky <lazan at protys.cz> wrote:
> 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:
>
> ==========================
> --- src/subshell.c.orig
> +++ src/subshell.c
> @@ -874,8 +874,7 @@
> {
> case BASH:
> g_snprintf (precmd, sizeof (precmd),
> - " PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND;
> }'pwd>&%d;kill -STOP $$'\n",
> - subshell_pipe[WRITE]);
> + " PROMPT_COMMAND='pwd>&%d;kill -STOP $$'\n",
> subshell_pipe[WRITE]);
> break;
>
> case ZSH:
> ===========================
>
> 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 at protys.cz>
>
>
>
More information about the freebsd-ports
mailing list