This article is from the ZTerm FAQ, by Les Jones email@example.com with numerous contributions by others.
To send an escape, use the line:
where "[" is the lowercase left hand bracket, and "^" is the
shift-6 control character. Substitute "^j" for linefeeds.
Basically, you can send any ASCII character using a script. All you
need is a table of ASCII characters and their meaning.
Note that a break is not an ASCII character, so ZTerm 0.9 couldn't
send a break in a script. ZTerm 1.0 now has a send break command.