Package: screen
Version: 4.0.3-11
Severity: normal

Sorry if this report is a bit weird. Neither I have an idea when the
mess started, perhaps in the last weeks. Nor I am really sure whether
screen is the right package to file that bug report against. Feel free
to re-assign.

My screenrc contains a hardstatus line with "%c" (hour:minute), and a
while ago I noticed the display gets distorted every minute after a
terminal resize.


How to reproduce
----------------
Create a screenrc, called /tmp/screenrc here:
$ echo 'hardstatus alwayslastline "%c:%s"' >/tmp/screenrc

Start a new screen in a terminal emulator:
$ screen -c /tmp/screenrc
Now the last line of the terminal contains a clock changing every
second.

Maximize the terminal. The size of screen does not change, only the
area avaible before is used.

Restore the previous size. Now the entire contents is scrolled every
second. At least sometimes screen appearently did not learn about the
size change and draws overlong status lines.

This happened to me using the terminal emulators:
* (u)xterm (235-1)
* gnome-terminal (2.22.3-2)
* xfce4-terminal (0.2.8-5)

Tests were run using the gnome desktop environment and xfce4.

Workaround
----------
Disconnect the screen, resize the terminal, reconnect.


However it appears some unknown side effects influence the trouble.
Sometimes everything works as expected, sometimes even the workaround
does not help.

I was very glad if we could resolve the issue in Lenny.  screen is
close to unusable to me since resizing often takes place in the way I
use terminals.

    Christoph

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26.2 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages screen depends on:
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libncursesw5              5.6+20080713-1 shared libraries for terminal hand
ii  libpam0g                  1.0.1-2        Pluggable Authentication Modules l

screen recommends no packages.

screen suggests no packages.

-- debconf information:
  screen/old_upgrade_prompt: false

Attachment: signature.asc
Description: Digital signature

Reply via email to