Fixing a blinking Windows Terminal

Eternal 70's

Connecting to my OmniOS NAS from the Windows 10 Terminal causes a blinking issue in nano. I usually fix it with:

% export TERM=vt100

But I sometimes forget - which can be a health risk.

I don’t want this in my shell config, since other terminal emulators work fine and need better TERM settings. So I added this to my .ssh/config on the Windows machine:

host NAS
  HostName NAS
  User username
  RequestTTY force
  RemoteCommand export TERM=vt100 && zsh

Now TERM is set only for this client - no more blinking - and everything else stays unaffected. Maybe one day we can leave 70’s terminal quirks behind.

Pic