In the last episode (Jan 09), Dave Wood said:
On (08:38 07/01/09), Dave Wood <address@hidden> put forth the proposition:
> I seem to be unable to change my function keys in my custom
> terminfo file. I don't get any errors with tic.
>
> I am trying to set them like
>
> kf1=\E[11~, kf2=\E[12~, etc
>
> rather than the default
>
> kf1=\E[A~ or whatever, which gives a problem with vim keybinds.
>
> But they still show the old [[[A etc. This is for TERM=linux.
>
> Any ideas how I can do this, or why my terminfo is ignoring those F keys?
There must be some reason why my F1 to F5 produce [[A [[B etc. Is this
normal for a console? Why are my terminfo settings being ignored?
F6 - F12 work fine...
As far as keystrokes go, terminfo isn't a settings database that
terminal emulators use to decide what escape sequences to send when you
press certain keys; it's a translation table that applications use to
convert escape sequences back into keystrokes. If you want your
emulator to emit something other than Esc [ A when you press F1, you'll
have to edit its source (or if you're lucky, it can be configured with
a config file or X resources). Changing terminfo away from what your
emulator emits will only confuse your application.