Reported terminal type (VT200) incompaible with supported escape sequences/command sequences.
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.0beta6 (I believe problem started at beta4)
- OS version: 10.14.5. Beta (18F31a)
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
- Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
Detailed steps to reproduce the problem:
- Open session to OpenVMS host. Session char encoding is Western (ASCII) Report Terminal is (greyed out) vt100. The host inquires for terminal characteristics:
Terminal: _FTA723: Device_Type: VT200_Series Owner: _FTA723: Username: JON Input: 9600 LFfill: 0 Width: 80 Parity: None Output: 9600 CRfill: 0 Page: 46 Terminal Characteristics: Interactive Echo Type_ahead No Escape Hostsync TTsync Lowercase Tab Wrap Scope No Remote Eightbit Broadcast No Readsync No Form Fulldup No Modem No Local_echo No Autobaud No Hangup No Brdcstmbx No DMA No Altypeahd Set_speed No Commsync Line Editing Insert editing No Fallback No Dialup Secure server Disconnect No Pasthru No Syspassword No SIXEL Graphics No Soft Characters No Printer Port Numeric Keypad ANSI_CRT No Regis No Block_mode Advanced_video Edit_mode DEC_CRT DEC_CRT2 No DEC_CRT3 No DEC_CRT4 No DEC_CRT5 No Ansi_Color VMS Style Input <CTRL-H> Backspace
- execute editor.
- Terminal escape/command sequences are not interpreted correctly.
- Set terminal characteristics on OpemVMS host to 7-bit instead of 8-bit.
- execute editor.
- Escape/command sequences work correctly.
Alternatively at step 4: Set terminal characteristics to disable DEC_CRT2 (VT220) This fixes the problem.
What I believe happened:
Iterm2 is responding to the host query by reporting that it is a vt200; OpenVMS expects that a Vt220 with an eight-bit connection supports using the eight-bit CSI character 0x9B instead of the seven bit CSI sequence x1b + x5B (ESC [)
What should have happened:
Iterm2 should either report the terminal as vt100 or accept eight-bit CSI.