Without this parameter Tera Term will start connecting with the value of 'Telnet' in teraterm.ini file. In case it was SSH than your macro will try to connect via SSH and will eventually fail. Without this parameter Tera Term will start connecting with the same method (telnet or SSH) that was used during last time when teraterm.ini file was saved. Connection via COM port Telnet connections connect ' myserver:23 /nossh /T=1' connect ' myserver:23' Using /nossh is strongly recommended. Communication commands except 'connect', ' and ' can not be executed before the link is established.Ĭonnection method There are 3 types of connection you can establish from Tera Term macro. To test the current link and connect status before executing the 'connect' command, use the ' command.
1 Connection to the host has not been made, but link to Tera Term has been made.Ģ Both connection and link have been made.
As a result of this command, the system variable 'result' is set to one of the following values depending on the link and connection status: Value Status 0 Link to Tera Term has not been made. If MACRO has already been linked to Tera Term and Tera Term has already been connected to the host, this command is ignored. If MACRO has already been linked to Tera Term and Tera Term is not connected to the host, this command causes Tera Term to connect to the host specified. Connect Remarks If MACRO is not linked to Tera Term, this command runs Tera Term with, and links it to MACRO. 'ABC' send $41 $42 $43 '1' value = $31 send value '31' value = $31 sprintf2 command '%02X' value send command /* 'CTRL+C' is 3 in binary so just send.Ĭonnect connect Connects.