You are not logged in.

#1 2010-12-13 09:11:17

rogorido
Member
Registered: 2009-08-17
Posts: 111

[SOLVED] Strange problem with PageUp PageDown keys

I am experiencing since 2 weeks one very strange and irritating problem which i did not manage to solve yet.

The problem
=================
I use to use the pageup/down keys in the console (xterm) to search the history, and also CTRL-arrowleft and arrowback to spring in the console from one 'word' to another. The problem is that this is not working anymore. I get instead:
~      ---> when i press pageup/down
;5D  ---> when i press ctrl-arrowleft
;2C  ---> when i press ctrl-arrowright

BUT
============

1. I don't see anything strange with dmesg or in Xorg.0.log
http://pastebin.com/PuSkayLS
http://pastebin.com/q42LDFik

2. The keys are working well in emacs, vim, etc. etc. etc.

3. I get this with xev when I press pageUP

KeyPress event, serial 30, synthetic NO, window 0x4000001,
    root 0x14e, subw 0x0, time 88334808, (-361,-7), root:(617,347),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4000001,
    root 0x14e, subw 0x0, time 88334873, (-361,-7), root:(617,347),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

and pagedown:
KeyPress event, serial 30, synthetic NO, window 0x4000001,
    root 0x14e, subw 0x0, time 88372841, (-416,250), root:(562,604),
    state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4000001,
    root 0x14e, subw 0x0, time 88372931, (-416,250), root:(562,604),
    state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False


Has anyone any hints where I could look? It's really irritating bc I use it every day since 10 years!!

thanks

Last edited by rogorido (2010-12-14 14:30:57)

Offline

#2 2010-12-13 18:10:40

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: [SOLVED] Strange problem with PageUp PageDown keys

What shell are you using?
Can you pastebin the contents of your ~/.inputrc in case it's bash, or the output of `bindkey' in case it's zsh?

EDIT: Seems you're not the only one. Have a look at this thread: https://bbs.archlinux.org/viewtopic.php?id=110057

Last edited by ber_t (2010-12-14 12:09:56)

Offline

#3 2010-12-14 14:30:06

rogorido
Member
Registered: 2009-08-17
Posts: 111

Re: [SOLVED] Strange problem with PageUp PageDown keys

thanks, for your answer.

I deleted my .inputrc in which I had:

set meta-flag on
set convert-meta off
set output-meta on

(I think it was in order to use emacs with xterm...)

and everything is working again!

Offline

Board footer

Powered by FluxBB