From owner-freebsd-ports@FreeBSD.ORG Mon Mar 30 16:50:01 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52756A39 for ; Mon, 30 Mar 2015 16:50:01 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18B98E8C for ; Mon, 30 Mar 2015 16:50:01 +0000 (UTC) Received: by iedm5 with SMTP id m5so122929157ied.3 for ; Mon, 30 Mar 2015 09:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=LjyomylvrsB6W3qSSsLIO70/rg/ozuqcNZxfYPSa9Sc=; b=o2xfMeQrVkH7zlM84pg/PUsMMbYDknFeg29EBxj7XEPDAC4RaCvJGXXcB3p8GevR/m Xa0ISqXour6NAGm6k20JAnj3eU5mriy+aDaOAztDvWaPaDIjsArfT/LfWlKL4JtMk2r3 uz6oFczmMO6GbjiqLW6igmXzl5X4T+oksvrXK6PCTWG0ZdhLXkYj+bv8+5dGfhB4tdzS W+OcGx57HsDz54VHbxK+WZ/t5aa4kRoOlRJ63wOeXdMpCMdVVprIJ07fb41U+/r/wIZE QDj523Bf/SNzRJQF41tmNbzL7kP5J0QdVbEhZJWNYSP5CJR6B+8en1ckEDik7imsDXY1 awOw== X-Received: by 10.42.67.19 with SMTP id r19mr37323352ici.30.1427734200461; Mon, 30 Mar 2015 09:50:00 -0700 (PDT) MIME-Version: 1.0 References: <002601d068a9$e89ed730$b9dc8590$@protys.cz> In-Reply-To: <002601d068a9$e89ed730$b9dc8590$@protys.cz> From: Ben Woods Date: Mon, 30 Mar 2015 16:49:59 +0000 Message-ID: Subject: Re: FreeBSD Port: mc-4.8.14 To: lazan@protys.cz Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 16:50:01 -0000 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 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 > > > >