Is there a way to match terminal/console features with entries in terminfo database?
For example, to find a closest match to Windows console or other type of non-traditional terminal.
There are no online services, so I expect that the problem is non-trivial and it is interesting to know why.
UPDATE: Terminfo database gives a set of features for a known terminal type or name. I am trying to do the reverse task - match features of unknown terminal against existing terminfo entries.
UPDATE2: How it should work...
- I select my terminal capabilities from a long list
- Matcher finds profiles that are either
- 2.1. implement all those capabilities exactly with no other capabilities
- 2.2. implement almost all capabilities exactly with no other capabilities
- 2.3. implement capabilities exactly with some other capabilities
- 2.4. implement almost all capabilities and adds some other capabilities