All items of Tera Term setup file
How the setup file is used
Tera Term Mac keeps its settings in the macOS preferences (net.satoru.teramac). TERATERM.INI is used in these cases:
- [Setup]-[Save setup...] writes the current settings in TERATERM.INI format. The default file is
~/Library/Application Support/Tera Term Mac/TERATERM.INI, written as UTF-16 (LE, with BOM). When the file already exists, keys and sections that Tera Term Mac does not know are kept as they are. - [Setup]-[Restore setup...] reads the chosen TERATERM.INI, applies it to the current window and saves it in the preferences. A TERATERM.INI made with Tera Term on Windows (UTF-16, UTF-8 or Shift_JIS) can be read as is.
- Some file transfer, drag & drop and TEK settings (the XMODEM/ZMODEM items, FileSendFilter, ConfirmFileDragAndDrop, TEKColor and so on) are read directly from the TERATERM.INI that was last restored or saved. If there is none,
~/Library/Application Support/Tera Term Mac/TERATERM.INIis read. - The restoresetup macro command also reads TERATERM.INI.
On the first launch the settings are those of the TERATERM.INI bundled in the app, except for TermType=xterm-256color, BSKey=DEL (the delete key sends DEL), Title=Tera Term Mac and VTFontSpace=0,0,1,0.
The tables below list only the items Tera Term Mac reads. Other keys are not read, and Save setup does not write them (values already in the file are kept).
Tera Term
| item | Default of setup file | Default of program | Note |
|---|---|---|---|
| AcceptBroadcast | on | <- | |
| AcceptTitleChangeRequest | overwrite | <- | |
| Aixterm16Color | on | off | |
| AlphaBlendActive | 255 | * | * the value of AlphaBlend setting is used. |
| AlphaBlend | 255 | * | * the value of AlphaBlend setting is used. |
| ANSIColor | 0,0,0,0, 1,255,0,0, 2,0,255,0, 3,255,255,0, 4,128,128,255, 5,255,0,255, 6,0,255,255, 7,255,255,255, 8,64,64,64, 9,192,0,0, 10,0,192,0, 11,192,192,0, 12,64,64,192, 13,192,0,192, 14,0,192,192, 15,192,192,192 | 0,0,0,0, 1,255,0,0, 2,0,255,0, 3,255,255,0, 4,0,0,255, 5,255,0,255, 6,0,255,255, 7,255,255,255, 8,128,128,128, 9,128,0,0, 10,0,128,0, 11,128,128,0, 12,0,0,128, 13,128,0,128, 14,0,128,128, 15,192,192,192 | |
| Answerback | <- | ||
| AutoComPortReconnect | on | <- | |
| AutoComPortReconnectDelayNormal | 300 | <- | |
| AutoComPortReconnectRetryCount | 3 | <- | |
| AutoComPortReconnectRetryInterval | 1000 | <- | |
| AutoFileRename | on | off | |
| AutoScrollOnlyInBottomLine | on | off | |
| AutoTextCopy | on | <- | |
| AutoWinClose | on | <- | |
| AutoWinResize | off | <- | |
| AutoWinSwitch | off | <- | |
| BaudRate | 9600 | <- | |
| Beep | on | <- | |
| BeepVBellWait | 10 | <- | |
| BPAuto | off | <- | |
| BPEscCtl | off | <- | |
| BPLog | off | <- | |
| BSKey | BS | <- | |
| ClearOnResize | off | <- | |
| ClipboardAccessFromRemote | off | <- | |
| ConfirmChangePaste | on | <- | |
| ConfirmChangePasteCR | on | <- | |
| ConfirmChangePasteStringFile | <- | ||
| ConfirmDisconnect | on | <- | |
| ConfirmFileDragAndDrop | on | <- | |
| ConfirmPasteMouseRButton | off | <- | |
| CRReceive | CR | <- | |
| CRSend | CR | <- | |
| CursorCtrlSequence | off | <- | |
| CursorShape | block | <- | |
| DataBit | 8 | <- | |
| DecSpMappingDir | 2 | <- | |
| DelayPerChar | 0 | <- | |
| DelayPerLine | 0 | <- | |
| DeleteKey | on | off | |
| DisableAcceleratorSendBreak | off | <- | |
| DisableAppCursor | off | <- | |
| DisableAppKeypad | off | <- | |
| DisableMouseTrackingByCtrl | on | <- | |
| DisablePasteMouseMButton | on | <- | |
| DisablePasteMouseRButton | off | <- | |
| DrawingResizedFont | on | <- | |
| EnableANSIColor | on | <- | |
| EnableBlinkAttrColor | on | <- | |
| EnableBold | on | <- | |
| EnableBoldAttrColor | on | <- | |
| EnableClickableUrl | on | off | |
| EnableContinuedLineCopy | on | off | |
| IniAutoBackup | on | <- | |
| EnableReverseAttrColor | on | off | |
| EnableScrollBuff | on | <- | |
| EnableURLColor | on | <- | |
| FileDir | <- | If value is "", program uses "Download folder." | |
| FileReceiveFilter | <- | ||
| FileSendFilter | <- | ||
| FileSendHighSpeedMode | on | <- | |
| FlowCtrl | none | <- | |
| FlowCtrlDTR | 1 | <- | |
| FlowCtrlRTS | 1 | <- | |
| FontQuality | default | <- | |
| FTHideDialog | off | <- | |
| HistoryList | on | off | |
| KanjiIn | B | <- | |
| KanjiOut | B | J | |
| KanjiReceive | UTF-8 | SJIS | |
| KanjiSend | UTF-8 | SJIS | |
| KatakanaReceive | 8 | <- | |
| KatakanaSend | 8 | <- | |
| KmtFileAttr | off | <- | |
| KmtLog | off | <- | |
| KmtLongPacket | off | <- | |
| LocalEcho | off | <- | |
| LogAppend | on | off | |
| LogAutoStart | off | <- | |
| LogBinary | off | <- | |
| LogDefaultName | teraterm.log | <- | |
| LogDefaultPath | <- | ||
| LogHideDialog | off | <- | |
| LogIncludeScreenBuffer | off | off | |
| LogRotate | 0 | <- | |
| LogRotateSize | 0 | <- | |
| LogRotateSizeType | 0 | <- | |
| LogRotateStep | 0 | <- | |
| LogTimestamp | off | <- | |
| LogTimestampType | Local | <- | |
| LogTypePlainText | on | off | |
| MaxBroadcatHistory | 99 | <- | |
| MetaKey | off | <- | |
| MouseCursor | IBEAM | <- | |
| MouseEventTracking | on | <- | |
| MouseWheelScrollLine | 3 | <- | |
| NonblinkingCursor | off | <- | |
| NotifyClipboardAccess | on | <- | |
| NotifySound | on | <- | |
| Parity | none | <- | |
| PasteDelayPerLine | 10 | <- | |
| PcBoldColor | on | off | |
| PopupMenu | off | <- | |
| Port | tcpip | <- | |
| PrinterCtrlSequence | off | <- | |
| QVLog | off | <- | |
| QVWinSize | 8 | <- | |
| ReceivefileSkipOptionDialog | off | <- | |
| ReceivefileAutoStopWaitTime | 5 | <- | |
| SendfileDelayTick | 0 | <- | |
| SendfileDelayType | NoDelay | <- | |
| SendfileSequential | off | <- | |
| SendfileSize | 4096 | <- | |
| SendfileSkipOptionDialog | off | <- | |
| ScpSendDir | <- | ||
| ScrollBuffSize | 10000 | 100 | |
| SelectOnActivate | on | <- | |
| SelectOnlyByLButton | on | <- | |
| SendBreakTime | 1000 | <- | |
| StopBit | 1 | <- | |
| TCPPort | * | * value of TelPort | |
| TEKColor | 0,0,0,255,255,255 | <- | |
| TEKColorEmulation | off | <- | |
| TEKFont | Courier,0,-13,0 | ||
| TEKGINMouseCode | 32 | <- | |
| TelBin | off | <- | |
| TelKeepAliveInterval | 300 | <- | |
| Telnet | on | <- | |
| TerminalID | VT100 | <- | |
| TerminalSize | 80,24 | <- | |
| TermIsWin | on | off | |
| TermType | xterm | <- | |
| Title | Tera Term | <- | |
| TitleFormat | 13 | <- | |
| TitleReportSequence | empty | <- | |
| TransBin | off | <- | |
| TrimTrailingNLonPaste | off | <- | |
| UILanguageFile | <- | When empty, the macOS language setting is used (e.g. lang_utf8\ja_JP.lng) | |
| UnicodeAmbiguousWidth | 1 | <- | |
| UnicodeEmojiOverride | off | <- | |
| UnicodeEmojiWidth | 1 | <- | |
| UnicodeToDecSpMapping | 3 | <- | |
| UnderlineAttrColor | on | <- | |
| UnderlineAttrFont | on | <- | |
| URLColor | 0,255,255,0,0,0 | 0,255,0,255,255,255 | |
| URLUnderline | on | <- | |
| UseNormalBGColor | on | off | |
| ViewlogEditor | notepad.exe | When empty or notepad.exe, the log is opened in TextEdit. When an .app is given, the log is opened in that app. | |
| ViewlogEditorArg | <- | ||
| VTBlinkColor | 255,0,0,0,0,0 | 255,0,0,255,255,255 | |
| VTBoldColor | 255,255,0,0,0,0 | 0,0,255,255,255,255 | |
| VTColor | 255,255,255,0,0,0 | 0,0,0,255,255,255 | |
| VTFont | * | * the default font of Terminal.app (Menlo 11pt if it cannot be read) Used only when the font is a monospaced font installed on the Mac; otherwise only the size is used. |
|
| VTFontSpace | 0,0,0,0 | <- | |
| VTReverseColor | 0,0,0,255,255,255 | 255,255,255,0,0,0 | |
| VTUnderlineColor | 0,255,0,0,0,0 | 255,0,255,255,255,255 | |
| WindowCtrlSequence | on | <- | |
| WindowReportSequence | on | <- | |
| XmodemBin | on | <- | |
| XmodemLog | off | <- | |
| XmodemOpt | checksum | <- | |
| XmodemRcvCommand | <- | ||
| XmodemTimeouts | 10,3,10,20,60 | <- | |
| Xterm256Color | on | <- | |
| YmodemLog | off | <- | |
| YmodemRcvCommand | rb | ||
| YmodemTimeouts | 10,3,10,20,60 | <- | |
| ZmodemAuto | off | <- | |
| ZmodemDataLen | 1024 | <- | |
| ZmodemEscCtl | off | <- | |
| ZmodemLog | off | <- | |
| ZmodemRcvCommand | rz | <- | |
| ZmodemTimeouts | 10,0,10,3 | <- | |
| ZmodemWinSize | 32767 | <- |
Hosts
The entries are added to the history of the New connection dialog. The /F= /W= /X= /Y= options found in files made on Windows are removed, and entries starting with \\ or containing /R= or /C= are skipped. ssh:// and telnet:// entries work as is. Save setup writes the connection history (up to 20 entries).
host list[Hosts] Host1=1st item Host2=2nd item Host3=3rd item :
TTSSH
SSH in Tera Term Mac is the macOS ssh command (OpenSSH). The items below are turned into ssh options. It also reads and writes its own keys: TeraMacCiphers, TeraMacKexAlgorithms, TeraMacHostKeyAlgorithms, TeraMacMACs (comma-separated OpenSSH algorithm names; empty means the ssh default) and TeraMacGatewayPorts (1 means ssh -g).
| item | Default of setup file | Default of program | Note |
|---|---|---|---|
| Compression | 0 | <- | |
| DefaultAuthMethod | 3 | <- | |
| DefaultForwarding | <- | ||
| DefaultRSAPrivateKeyFile | <- | ||
| DefaultUserName | <- | ||
| DefaultUserType | 1 | <- | |
| ForwardAgent | 0 | <- | |
| HeartBeat | 300 | <- | |
| KnownHostsFiles | ssh_known_hosts | <- | The default ssh_known_hosts is treated as ~/.ssh/known_hosts. |
| LogLevel | 0 | <- | |
| UpdateHostkeys | 0 | <- | |
| VerifyHostKeyDNS | 0 | 1 |
TTProxy
Tera Term Mac has the same proxy feature as TTProxy built in, and reads and writes the items below.
| item | Default of setup file | Default of program | Note |
|---|---|---|---|
| ConnectionTimeout | "10" | <- | |
| SocksResolve | "auto" | <- | |
| TelnetConnectedMessage | "-- Connected to " | <- | |
| TelnetErrorMessage | "!!!!!!!!" | <- | |
| TelnetHostnamePrompt | ">> Host name: " | <- | |
| TelnetPasswordPrompt | "Password:" | <- | |
| TelnetUsernamePrompt | "Username:" | <- |