/ Published in: C
A simple and hacky alternative for calling system("clear"); (which you really shouldn't use...). If you really have to get such an clear effect - use this snippet.
Although I realllly recommend using some lib to properly controll the terminal if you need such functions, for example ncurses http://pl.wikipedia.org/wiki/Ncurses or pdcurses http://pdcurses.sourceforge.net/ .
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.

http://www.phpcoding.cn/2009/06/03/print-control-on-terminal-by-php/
control printer in php
采用php开发终端字符界面 http://www.phpcoding.cn/2009/06/01/dev-terminal-by-php/
http://www.phpcoding.cn/2009/06/03/print-control-on-terminal-by-php/