Hi David and others,

Thanks a lot for the describtion of how keys are handled...it surprises me that
it's done this way, as there is one layer more than I expected. I thought
that the codes from terminfo are the ones programs see (if they use it, no
matter how it is done), and so it is important that terminfo is correct. Why
does ncurses do a second translation? That's just a thought of mine, don't
feel you have to answer....I'm just getting the feeling that I'm wasting
your time with my stupid problem...don't want to annoy you.

I thought it was clear which codes are in terminfo, but I must have written
it between the lines, so here it is:

terminfo $TERM says (just grabbed all the keys which might have to do with
the problem):

#       Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm
xterm|xterm terminal emulator (X Window System),
....
knp=\E[6~, kpp=\E[5~, khome=\EOH, kend=\EOF,home=\E[H, kEND=\EOq, 
kHOM=\EOw,kNXT=\EOr,
....

Now I'll the short program that was send.


regards, Jens

-- 
            Jens Wilhelm Wulf  ***  [EMAIL PROTECTED]  
      Interested in comfortable CD-burning under linux/X11?
       Take a look at: http://www.uni-karlsruhe.de/~um12/

Reply via email to