Followup-For: Bug #324463
Package: elinks
Version: 0.10.4-7

I believe I have tracked this bug to the following lines in
try_prefix_key() in src/viewer/text/view.c:

        if (!isdigit(get_kbd_key(ev)))
                return FRAME_EVENT_IGNORED;

The problem manifested after I upgraded my libc6 to the 2.3.5 packate
from unstable; it would seem that the new libc's isdigit() returns true
for some of the internal keycodes used by elinks for special keys like
PgDn.

I've rebuilt elinks with the above lines modified as follows, and so far
it seems to have fixed the problem:

        if (get_kbd_key(ev) >= KBD_ENTER || !isdigit(get_kbd_key(ev)))
                return FRAME_EVENT_IGNORED;

                                                -sbigham


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages elinks depends on:
ii  debconf                1.3.22            Debian configuration management sy
ii  libbz2-1.0             1.0.2-7           high-quality block-sorting file co
ii  libc6                  2.3.5-6           GNU C Library: Shared libraries an
ii  libexpat1              1.95.8-1          XML parsing C library - runtime li
ii  libgnutls11            1.0.16-9          GNU TLS library - runtime library
ii  libgpmg1               1.19.6-12.1       General Purpose Mouse Library [lib
ii  liblua50               5.0.2-5           Main interpreter library for the L
ii  liblualib50            5.0.2-5           Extension library for the Lua 5.0 
ii  libperl5.8             5.8.7-3           Shared Perl library
ii  zlib1g                 1:1.2.2-4.sarge.1 compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to