terminfo: cleaner, use %c on linux.