Additional settings / "TCP/IP" tab ([Setup] menu)

Add host list when new connection
If this option is selected, a host name entered in the [File] New connection dialog box is appended to the top of host list.
Edit host list
Edit host list.
Telnet
Use the telnet protocol. Usually, you should select this option.
Not used for SSH connections (SSH uses the macOS ssh command).
Port#:
TCP port number.
22: SSH
23: Telnet
Keep alive on Telnet
This feature is called by Telnet keep-alive(heart-beat) mechanism. If this feature is enabled, Tera Term will send NOP message(IAC NOP: 255 241) periodically. 0 to turn off. The default value is 300 seconds.
Auto window close
Closes the window when the connection is closed.
Term type:
Terminal type to be reported to the host when the telnet connection is established.
When TermType is set to "xterm" the applications (e.g. vim6) supporting ANSI color will appear in color.
When connecting to a Windows Telnet Server, you should specify "vt100" or "ANSI". "xterm" will cause a problem.