TPUT

Need to copy a decent termcap file to /etc/termcap on the iphone
You can pick up an example from above (termcap.gz)
Then do the following to get 'clear' working:

echo "alias clear='tput clear'" >> /var/root/.profile ; chmod +x /var/root/.profile