To set the terminal type:
user@host> set cli terminal terminal-type
The terminal type can be one of the following: ansi, vt100, xterm, or dumb.