Still away from a computer. If you can set a variable using that method and have it pass through for you to test in lisp, then it would be a good idea to recommend. We could suggest using TERM_PROGRAM and setting it to "Putty".

On Mon, Dec 23, 2024 at 4:07 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Ship Mints <shipmints@gmail.com>
> Date: Mon, 23 Dec 2024 15:44:02 +0100
> Cc: jared@finder.org, rms@gnu.org, gerd.moellmann@gmail.com,
>       fgunbin@fastmail.fm, 74833@debbugs.gnu.org
>
> Away from a computer, but I think this is still the same in 0.82 these days and I assume you're using modern
> ssh.
>
> https://serverfault.com/a/819740

OK, so does this mean we want to tell PuTTY users to configure this in
some specific way that Emacs can recognize?