terminfo: load escape code strings directly
lib: implement error descriptions