terminfo: hex only on macosx.