Bug#580946: xterm: how to reproduce?
Package: xterm
Severity: normal
> It only affects xterm. I'm reporting this in rxvt, which doesn't suffer
> from that problem.
I don't know how I could have possibly written that. I'm *not* reporting
this in rxvt. But it's true that rxvt doesn't suffer from this problem,
it's xterm specific.
The problem *is* related with the scroll lock key, thanks for pointing
out that element of the manual. However, the problem is that the scroll
lock key setting persists after xterm is started. Only the initial value
counts.
So for example, if I start xterm with scroll lock pressed, the bug
happens, and even if i "depress" the key, the bug stays there. If I
start xterm with the key depressed, the bug doesn't happen.
I must mention I use a peculiar X configuration that allows me to switch
keyboards with the scroll lock key. I strongly suspect the problem lies
there... I have this in my .xsession:
setxkbmap -layout ca,us -option -option 'grp:sclk_toggle,grp_led:scroll'
If I run this command:
setxkbmap -layout us
the bug goes away, although scroll lock just doesn't work at all
anymore.
I also suspect the problem doesn't lie only within kfreebsd systems, but
I'll do more testing before removing that tag.
So in short, to reproduce the bug:
1. set the keymap to switch on scroll lock, for example:
setxkbmap -layout ca,us -option -option 'grp:sclk_toggle,grp_led:scroll'
2. hit the scroll lock key so it is lit
3. start xterm
4. cat a file longer than the number of lines in the xterm
Expected result:
* the last N lines of the file are shown (where N is the heigth of the
terminal)
Actual result:
* only the first N lines of the file are displayed
I hope this is clearer. :)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 7.3-1-686
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xterm depends on:
ii libc0.1 2.10.2-7 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libutempter0 1.1.5-3 A privileged helper for utmp/wtmp
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxaw7 2:1.0.7-1 X11 Athena Widget library
ii libxft2 2.1.14-2 FreeType-based font drawing librar
ii libxmu6 2:1.0.5-1 X11 miscellaneous utility library
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii xbitmaps 1.1.0-1 Base X bitmaps
Versions of packages xterm recommends:
ii x11-utils 7.5+3 X11 utilities
Versions of packages xterm suggests:
pn xfonts-cyrillic <none> (no description available)
-- no debconf information
Reply to: