1
I'm on Windows 10, using Win32-OpenSSH via Powershell to connect to a CentOS 7 machine on my network.
If I launch vi
on a new file, or on occasion open other files, any and all new text in my window turns blue.
This continues until I close the Powershell window.
Any idea why this is happening, and if there's a workaround that doesn't involve using a different ssh
client or environment? I understand I can just use a "proper" terminal emulator like PuTTYm, but my question is whether or not there's a known fix for this particular scenario.
Does it happen when you use another client (e.g. PuTTY) to connect? – Kamil Maciorowski – 2018-06-25T05:09:23.897
Are you using vim, neovim, nvi, or ex-vi? – user1686 – 2018-06-25T12:51:27.850
@KamilMaciorowski I haven't tried another terminal emulator. However, this doesn't happen when I'm using the machine directly, i.e. by connecting to it via the Hyper-V manager. – p0lar_bear – 2018-06-28T15:23:11.067
@grawity I have no idea off the top of my head. As the buffer shows I'm executing
vi
and this is a barely-modified CentOS 7 minimal install, I'm assuming this is just vanilla vi. And I do remember trying to executevim
and getting a "command not found". – p0lar_bear – 2018-06-28T15:23:24.057