Terminfo based terminal handling.
The color handling assumes tektronix like. No HP support provided. If the terminal is not one I have easy access to then color support is entirely based of the docs. Probably with some assumptions mixed in.
Copyright Corey O'Connor (firstname.lastname@example.org)
Uses terminfo for all control codes. While this should provide the most compatible terminal - terminfo does not support some features that would increase efficiency and improve compatibility: - - * determine the character encoding supported by the terminal. Should this be taken from the LANG - environment variable? - - * Provide independent string capabilities for all display attributes. - - todo: Some display attributes like underline and bold have independent string capabilities that - should be used instead of the generic "sgr" string capability.