Pure-PHP ANSI Decoder
PHP version 5
If you call read() in \phpseclib\Net\SSH2 you may get {@link http://en.wikipedia.org/wiki/ANSI_escape_code ANSI escape codes} back. They'd look like chr(0x1B) . '[00m' or whatever (0x1B = ESC). They tell a {@link http://en.wikipedia.org/wiki/Terminal_emulator terminal emulator} how to format the characters, what color to display them in, etc. \phpseclib\File\ANSI is a {@link http://en.wikipedia.org/wiki/VT100 VT100} terminal emulator.
ANSI | Pure-PHP ANSI Decoder |