Unbinding S-PgUp and S-PgDn

Aaron Griffin aaronmgriffin at gmail.com
Fri Mar 31 19:24:49 CEST 2006


On 3/31/06, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Fri, Mar 31, 2006 at 02:16:27AM -0600, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> > urxvt*keysym.S-Prior:
> > urxvt*keysym.S-Next:
> >
> > to my .Xdefaults, but to no avail.
>
> You need to specify a replacement string as the resource value to whatever
> you want to pass to the applicaiton in that case. Then everything should
> work.

Aha, I see, so I need something like "\e[5;1", correct?

> > On a side note, it'd be great if this same thing could be done with
> > mouse scrolls too, but I think that may be wishful thinking.
>
> That could be done with relative ease using a perl extension script.

Hmm, I didn't think about that route.  Typically, like alot of people,
I have problems with perl applications because almost no one, besides
the original developer and hardcore perl gurus can read the code
properly.  However, I must say the urxvt stuff is very nice and clean
- I like it alot.

Would you be able to point me in the proper direction?  I'd assume I
could base it off of the match_urls middle-click handler - but is
there anyway to say "send a S-Prior" and have it actually send the
keysym value, or should I check for that binding first?

While we're on the subject, I've been meaning to muck with the
'match_urls' script so that the "proto://" isn't required.  But I get
real lazy about trivial stuff like that.  I think it would be a nice
idea for the official script too, so that things like "google.com"
will match.


More information about the rxvt-unicode mailing list