From 9492c9dd8dab636e5eacfcc02863cefb324f3283 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 21 Feb 2021 16:05:12 +0000 Subject: [PATCH] Fix Plink-doesn't-support-SUPDUP messages. It's the backend that needs terminal emulation, not Plink. --- unix/uxplink.c | 3 ++- windows/winplink.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/unix/uxplink.c b/unix/uxplink.c index a698c010..0af98ec5 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -825,7 +825,8 @@ int main(int argc, char **argv) if (backvt->flags & BACKEND_NEEDS_TERMINAL) { fprintf(stderr, - "Plink must have a terminal to run.\n"); + "Plink doesn't support %s, which needs terminal emulation\n", + backvt->displayname); return 1; } diff --git a/windows/winplink.c b/windows/winplink.c index f521861c..79fa5ab4 100644 --- a/windows/winplink.c +++ b/windows/winplink.c @@ -398,7 +398,8 @@ int main(int argc, char **argv) if (vt->flags & BACKEND_NEEDS_TERMINAL) { fprintf(stderr, - "Plink must have a terminal to run.\n"); + "Plink doesn't support %s, which needs terminal emulation\n", + vt->displayname); return 1; }