Documentation

ANSI.php

Pure-PHP ANSI Decoder

PHP version 5

If you call read() in \phpseclib\Net\SSH2 you may get ANSI escape codes back. They'd look like chr(0x1B) . '[00m' or whatever (0x1B = ESC). They tell a terminal emulator how to format the characters, what color to display them in, etc. \phpseclib\File\ANSI is a VT100 terminal emulator.

Tags
category

File

author

Jim Wigginton terrafrost@php.net

copyright

2012 Jim Wigginton

license

http://www.opensource.org/licenses/mit-license.html MIT License

link
http://phpseclib.sourceforge.net

Interfaces, Classes and Traits

ANSI
Pure-PHP ANSI Decoder

Search results