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

Michael Gold michael at bitplane.org
Tue May 31 23:49:49 UTC 2016

Package: mc
Version: 3:4.8.17-1

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.

E.g., open a urxvt window, run mc, press CTRL-O, and run "stty size";
then resize the window and run "stty size" again.  It should show the
new size, but instead shows the same values as before.  Outside of mc
this works as expected.

The effect can also be seen when viewing a text file in vim: after
enlarging the terminal, vim won't fill the screen.  However, when I
press F4 to run vim, its size does update correctly.

- Michael

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64, mips

Kernel: Linux 4.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages mc depends on:
ii  e2fslibs      1.43-2
ii  libc6         2.22-9
ii  libglib2.0-0  2.48.1-1
ii  libgpm2       1.20.4-6.2
ii  libslang2     2.3.0-2.3
ii  libssh2-1     1.5.0-2.1
ii  mc-data       3:4.8.17-1

Versions of packages mc recommends:
ii  mime-support  3.60
ii  perl          5.22.2-1
ii  unzip         6.0-20

Versions of packages mc suggests:
ii  arj                  3.10.22-14
ii  bzip2                1.0.6-8
ii  catdvi               0.14-12.1
pn  dbview               <none>
ii  djvulibre-bin
ii  evince [pdf-viewer]  3.20.0-3
ii  file                 1:5.25-2
ii  genisoimage          9:1.1.11-3
ii  gv [pdf-viewer]      1:3.7.4-1
ii  imagemagick          8:
ii  links                2.12-2
ii  lynx                 2.8.9dev9-1
ii  mupdf [pdf-viewer]   1.7a-1+b1
pn  odt2txt              <none>
ii  poppler-utils        0.38.0-3
ii  python               2.7.11-1
pn  python-boto          <none>
ii  python-tz            2015.7+dfsg-0.1
ii  texlive-binaries     2016.20160513.41080-2
ii  w3m                  0.5.3-28
ii  zip                  3.0-11

-- no debconf information
-------------- 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/20160531/040836af/attachment.sig>

More information about the Pkg-mc-devel mailing list