Terminal control/Clear the screen

Using a cached-function:

func clear { print(static x = `clear`) }
clear()

Directly invoking the `clear` command:

Sys.run('clear')

Alternatively, without reliance on the command line:

print "\e[3J\e[H\e[2J"