Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2017 18:59:33 +0000
From:      Ben Woods <woodsb02@gmail.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Ben Woods <woodsb02@freebsd.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r456456 - head/misc/mc
Message-ID:  <CAOc73CAhqJcWk2BvdaGv4ePHTEk9VgaJmHGcVsweSd59cmCKBA@mail.gmail.com>
In-Reply-To: <20171216103347.GA52930@FreeBSD.org>
References:  <201712160542.vBG5grwS007544@repo.freebsd.org> <20171216094433.GA37757@FreeBSD.org> <20171216103347.GA52930@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Dec 2017 at 11:33 pm, Alexey Dokuchaev <danfe@freebsd.org> wrote:

> On Sat, Dec 16, 2017 at 09:44:33AM +0000, Alexey Dokuchaev wrote:
> > On Sat, Dec 16, 2017 at 05:42:53AM +0000, Ben Woods wrote:
> > > New Revision: 456456
> > > URL: https://svnweb.freebsd.org/changeset/ports/456456
> > >
> > > Log:
> > >   misc/mc: Update to 4.8.20
> >
> > This version also suffers from notoriously known "screen contents not
> > preserved (or restored) when hiding/showing panels with Ctrl-O" bug.
> >
> > Last time the bug was fixed (after it resurfaced again) in r374372;
> > mc(1) behaves correctly as of version 4.8.14 on 8.4-STABLE here.  I'll
> > try to find one when it got broken again but that may take some time.
>
> It got broken with r414983 (r414982 behaves correctly), that's 19 months
> ago!  It's surprising that the bug survived unfixed for such a long time.
>
> Shall I file a PR for that, or you'd rather take care of it without the
> needless bureaucracy Ben?
>
> ./danfe
>
> P.S.  Ironically, older versions have another annoying bug: typing in
> commands with options (that is, typing dash aka minus) is impossible
> because dash is treated as "unselect" command. *facepalm*


Hi danfe,

Please do raise a PR or perhaps an upstream bug report. I suspect this
upstream report matches your problem.

http://midnight-commander.org/ticket/2633

When reporting, please include details such as:
1. which shell you are using (does this happen for both sh and csh),
2. Which terminal you are using (xterm in X11 or local console). Does it
affect both?
3. whether you are using SLANG or NCURSES option when building mc (does it
affect both?),
4. whether you are having this problem as the root user or a non-privileged
user.

I have heard report of this problem, and seen it myself once upon a time,
but it is not always easy to replicate. This problem was resolved once
before, but the code being fixed by a local patch in our ports tree was
changed. The patch needs to be fixed.

https://svnweb.freebsd.org/ports/head/misc/mc/files/patch-lib_tty_tty-ncurses.c?view=log

Regards,
Ben

> --

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CAhqJcWk2BvdaGv4ePHTEk9VgaJmHGcVsweSd59cmCKBA>