PDA

View Full Version : PHP CLI Text location on screen



niiize
September 14th, 2009, 08:31 PM
Hello
I've been googling for any information on how to access the screen offset bytes in the console in regular textmode.
Some days ago I found something but forgot to Favourite the site. :)
something like H33[]
I guess that 33h is the low or high byte value of the "accumulator?" register, to access this data. but I dont remember the PHP syntax now since I forgot the site url.

anyway, if theres someone who knows of how to do this, feel welcome to share it :)

januzi
September 14th, 2009, 09:10 PM
ncurses : http://devzone.zend.com/article/1083
escape sequence: http://www.linuxselfhelp.com/howtos/Bash-Prompt/Bash-Prompt-HOWTO-6.html