terminfo: add terminfo numbers
lib: not being initialised returns errors