gnome-terminal page-up keys under Solaris



My problem is that the page_up/down keys always control the scrollbar
in gnome-terminal.  I understand that this should be the behaviour of
shift-page_up/down only, and that page_up/down should be usable in,
for example, emacs -nw.

I'm using the Sun package of gnome-2.0.  I know that this annoying
behaviour is also exhibited by the dtterm of Sun's very own CDE.

I've made xterm behave in the usual way, with this in my .Xresources
file:

 *VT100.Translations: #override \
              <Key>Home:      string("\033[1~")\n\
              <Key>End:       string("\033[4~")\n\
              <Key>osfPageUp: string(prior)\n\
	      <Key>osfPageDown: string(next)

Is there a similar solution in the case of gnome-terminal?  It seems
that it ignores .Xresources.

Things I've tried already:

xev reveals that my keypresses for page_up are generating:

  KeyPress event, serial 24, synthetic NO, window 0x880001,
      root 0x25, subw 0x0, time 3191507620, (3,8), root:(608,465),
      state 0x0, keycode 82 (keysym 0xff55, Prior), same_screen YES,
      XLookupString gives 0 characters:  ""

  KeyRelease event, serial 24, synthetic NO, window 0x880001,
      root 0x25, subw 0x0, time 3191507708, (3,8), root:(608,465),
      state 0x0, keycode 82 (keysym 0xff55, Prior), same_screen YES,
      XLookupString gives 0 characters:  ""

I've tried using xmodmap to generate Page_Up and Prior commands, but
both of these control the scrollbar.  

  ! Page Up
  keycode 82 = Prior Page_Up

xmodmap is "working" in the sense that if I set the page_up key to
some character, it "does the right thing".  But gnome-terminal just
interprets all Page_Up, Prior, and so forth commands as controlling
the scrollbar.

Is there any documentation for how to *really* configure
gnome-terminal?

Will.

-- 
Will Greenland
HFS Team
Oxford University Computing Services

Room: 108.30.23
Mail: william greenland computing-services oxford ac uk
Fone: 01865 283 418  (internal 83418)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]