Bug#291787: xterm: selection is cleared by scrolling
First, I want to say I couldn't be more pleased by the recent effort
(bug 277832) to improve selection handling. The new behavior is
generally quite pleasant. However, there appears to be a significant
regression. Any time the terminal scrolls (by which I mean, a newline
is received when the cursor is at the bottom, not scrolling of the view
with shift-pgup), the selection is cleared. To reproduce:
1. Open an xterm.
2. Press enter enough times to get the cursor to the bottom of the
3. Select something.
4. Press return to scroll one line. The selection is cleared.
I'm not sure exactly which version introduced this behavior, but I'm
guessing it was a side-effect of fixing bug 277832. I've verified that
in 4.1.0-16woody5, the selection remains in step 4.
-- System Information:
Debian Release: 3.0
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xterm depends on:
ii debconf 1.4.42 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libxaw7 4.1.0-16woody5 X Athena widget set library
ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
-- debconf information: