use terminfo instead of zkbd