[Pkg-mc-devel] Bug#825974: Bug#825974: mc: subshell no longer sees correct terminal size

Michael Gold michael at bitplane.org
Tue Jun 7 01:30:56 UTC 2016


On Wed, Jun 01, 2016 at 14:07:01 +0200, Yury V. Zaytsev wrote:
> On Tue, 31 May 2016, Michael Gold wrote:
> 
> > When I press CTRL-O in mc to use the subshell, and resize the terminal,
> > applications no longer see the new size (as they used to)--they always
> > see the original size.
> 
> Hi Michael,
> 
> I think that this might be a regression caused by this fix:
> 
>    http://www.midnight-commander.org/ticket/3639#comment:13
> 
> It would be great if you could confirm that the proposed solution fixes your
> problem... Sorry about that!

Thank you.  Reverting the linked changeset and applying that diff fixed
the problem.  I've attached an automated regression test.  (If running
without installing, prepend the build directory to $PATH.)

-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-terminal-resize-test.c
Type: text/x-csrc
Size: 5481 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20160606/66c86fad/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20160606/66c86fad/attachment.sig>


More information about the Pkg-mc-devel mailing list