Of which I have no memory at all! (Brain steadily going downhill now.)

I'm just relying on comments in files.

Are they not generating anything, or generating the wrong sequences?

I think that the keys are generating the expected sequences, but ved is not interpreting them correctly. When I press the uparrow, an A appears in the file and when I press the downarrow a B appears, consistent with the keys generating esc [ A|B, but the vedescapetable not leading ved to the desired function.

You may already know this but you can find out what sequences are produced
by doing this in Ved (or xved)

   ENTER inkeys

Hmm. With TERM set to xterm, uparrow gets me \^[[A, so esc [ A, as in my last message, and vedescapetable has the right entries for that to map to ved charup. With TERM set to rxvt-unicode inkeys gives \^[OA for uparrow. O is ascii 79, so esc O A. So vedescapetable(79) ought to be getting invoked. vedescapetable(79) is the procedure vedlinebelow. I may well be seeing the result of vedlinebelow followed by the letter A. Anyway, it appears that with TERM set to rxvt-unicode vedescapetable has the wrong mapping for the uparrow key.

Try $usepop/pop/ved/src/vdkeys.p
search for newescapetable oldescapetable ??

Thanks, but been there and none the wiser as to how the table gets fed from terminfo.

Steve

Reply via email to