I am using PHP in cgi-mode as shell program, how can i control the curser position?, i have tryed using ansii esc squences, but not luck, any ideas?, i just want to clear the screen and clear a line. thankS!