On Tue, May 11, 2021 at 5:22 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote: > > With ${[(I)]}, scanterminfo() is used, and evidently > doesn't return "kLFT5"; There's really no way for it to do so ... it can only return the base names, not attempt every possible suffix that tigetstr() might interpret as an argument.