It seems as though the ANSI escape sequence "ESC[2J" is not implemented. This means that the /usr/bin/clear command does not work as intended.