Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2019-06-17 22:49:46 +0300
committerSimon Tatham <anakin@pobox.com>2019-06-18 08:58:51 +0300
commite3a14e1ad6844b8dd4d4e9bb179080d10d00e451 (patch)
tree10ec2c826542f3bb92603d08722193401cb14ff1 /ldisc.c
parent9fccb065a67c283d978b2e3394d6fff69b4f4f30 (diff)
Withdraw support for the DECEDM escape sequence.
Having decided that the terminal's local echo setting shouldn't be allowed to propagate through to termios, I think the local edit setting shouldn't either. Also, no other terminal emulator I know seems to implement this sequence, and if you enable it, things get very confused in general. I think it's generally better off absent; if somebody turns out to have been using it, then we'll at least be able to find out what it's good for.
Diffstat (limited to 'ldisc.c')
-rw-r--r--ldisc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ldisc.c b/ldisc.c
index 660e05d6..bd7ffb05 100644
--- a/ldisc.c
+++ b/ldisc.c
@@ -15,12 +15,10 @@
#define ECHOING (ldisc->localecho == FORCE_ON || \
(ldisc->localecho == AUTO && \
- (backend_ldisc_option_state(ldisc->backend, LD_ECHO) || \
- term_ldisc(ldisc->term, LD_ECHO))))
+ (backend_ldisc_option_state(ldisc->backend, LD_ECHO))))
#define EDITING (ldisc->localedit == FORCE_ON || \
(ldisc->localedit == AUTO && \
- (backend_ldisc_option_state(ldisc->backend, LD_EDIT) || \
- term_ldisc(ldisc->term, LD_EDIT))))
+ (backend_ldisc_option_state(ldisc->backend, LD_EDIT))))
static void c_write(Ldisc *ldisc, const void *buf, int len)
{