[GRASS5] g.help key codes

Markus Neteler neteler at geog.uni-hannover.de
Mon Oct 23 15:06:08 EDT 2000


On Mon, Oct 23, 2000 at 11:07:13AM -0700, Rich Shepard wrote:
> On Mon, 23 Oct 2000, Markus Neteler wrote:
> 
> > to have g.help more convenient, I have modified the control
> > keys:
> > 
> >    d        - Scrolls down one line   r         - Redraws the screen         
> >    PAGEUP   - Scrolls down a screen   RETURN    - Moves "*" to a topic/word  
> >    u        - Scrolls up one line     SPACE BAR - Selects a topic/word       
> >    PAGEDOWN - Scrolls up a screen     q         - Returns to previous topic  
> > 
> > Unfortunately I don't know "Cursor Up" and "Cursor Down".  Does anyone
> > know these key codes?
> 
> Markus,
> 
>   There is a very useful little tool called 'xkeycaps' that you can find on
> freshmeat. It gives you the keycode and scancode for every key on your
> keyboard.
> 
 Rich,

thanks for this: I have found it on my Linux box.
But...
The strange thing is that the *working* keycodes are different
from any program output (I tried different than xkeycaps).

PAGEUP    '\065'     
PAGEDOWN  '\066'
ESC       '\033'

I guess this is hex, octal or whatever. But even with converting
to dec I could not find out:
LINEUP
LINEDOWN

So, if you could reproduce the coding for PAGEUP and PAGEDOWN,
we might derive the cursor keys.

Thanks in advance

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list