Package: screen
Version: 4.1.0~20120320gitdb59704-5
Severity: normal

Hi,
the new screen has introduced a bug that makes the split management almost
unusable.
After many tests and searches it seems related to the alternate screen support,
so here how to reproduce it:

- enable the alternate screen: ^A :altscreen on
- be sure to have at least two windows opened, then split with  ^A S
- open Vim
- make the current region bigger with  ^A :resize 83% (same with  +number or
  while decreasing the other size) or remove it entirely with  ^A X
- close Vim and screen crashes with  [screen caught signal 11. (core dumped)]

The same thing happens with Midnight Commander when the size of the region
increases; it also crashes immediately if launched automatically at the startup.
I tried in Xterm, Urxvt and tty, I was in trouble to crash Vim in tty but
eventually I won; MC doesn't crash but it can't redraw the screen properly, so
it makes a mess with the text.

Here a small .screenrc that should make tests easier, the two commented lines
make screen crashing immediately when you focus the MC window:

-------8<--------------------------------------------

altscreen on
bind + resize +3
bind - resize -3
bind = resize =
bind * resize max
bind / resize 83%

screen 0 bash
screen 1 bash
### screen 2 mc -x
split
focus bottom
### resize 83%
select 0

-------8<--------------------------------------------


And here some related bug report I've found.
http://savannah.gnu.org/bugs/?35757
http://savannah.gnu.org/bugs/?26742
https://bugzilla.redhat.com/show_bug.cgi?id=784504


Ciao.
skizzhg


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  debconf [debconf-2.0]  1.5.44
ii  dpkg                   1.16.4.3
ii  install-info           4.13a.dfsg.1-10
ii  libc6                  2.13-33
ii  libpam0g               1.1.3-7.1
ii  libtinfo5              5.9-10

screen recommends no packages.

Versions of packages screen suggests:
pn  iselect | screenie | byobu  <none>

-- debconf information:
* screen/410-upgrade:
  screen/403-copy-failed:

Attachment: signature.asc
Description: Digital signature

Reply via email to