I don't use terminfo. It is less standardized than ANSI terminal control. POSIX defines next to nothing about it beyond its existence.<p>While it can help programs work with totally different terminals, that has next to no value in the world in which everything speaks ANSI.<p>There are terminal-specific extensions to ANSI. Some of those are popular and so de facto standard. You can get away with using them.<p>terminfo won't help you with the ones that don't work everywhere. It cannot magically make a feature appear where it doesn't exist.<p>Antirez's Linenoise line editing library uses the escape goes directly. This is brilliant and helps it achieve its small size and no dependencies.<p>Every time I need to make any kind of program that uses terminal features I just use the sequences likewise.