[ After seeing the following issue all day, I can't reproduce it. I'll
  try and find a way to reproduce the problem reliably. But perhaps it
  will ring bells for someone who has more knowledge of screen and/or
  rxvt-unicode. ]

I have a permanent caption set in ~/.screenrc which occupies the last
line of the console. Because of that I would expect that starting
screen in a console of, say, 80 lines would present a value of 79 to
programs running within a screen. However, LINES (in bash) remains at
80, and the following Python code would report the same thing:

  >>> from fcntl import ioctl
  >>> from struct import unpack
  >>> from termios import TIOCGWINSZ
  >>> lines, cols = unpack('HH', ioctl(1, TIOCGWINSZ, " " * 4))
  >>> print lines
  80

Perhaps that's part of the problem? But take that with a big pile of
salt; I'm not very familiar with the internals of screen or TTY
programming. Just a guess.

-- 
Corruption when working near the bottom of the screen
https://bugs.launchpad.net/bugs/302732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to