[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28139: 25.2; TRAMP vs bash 4.4 / readline 7.0 "bracketed paste" mode
From: |
Michael Albinus |
Subject: |
bug#28139: 25.2; TRAMP vs bash 4.4 / readline 7.0 "bracketed paste" mode |
Date: |
Mon, 21 Aug 2017 18:17:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Daniel Pittman <slippycheeze@google.com> writes:
> However, `ansi-color-filter-region` and friends from the shipped ANSI
> SGR->face handling library can strip all control sequences out of a
> region, or string, and might be useful here; that would allow TRAMP to
> become insensitive to ANSI control codes injected anywhere into the
> output, which will also fix the next time a shell decides to add some
> additional terminal integration like bracketed paste mode.
Tramp does already something like this on its own, using
`tramp-display-escape-sequence-regexp' and
`tramp-device-escape-sequence-regexp'. Let me check, whether I could
rewrite this to the more general `ansi-color-filter-region`.
(I wouldn't reject a patch from your side :-)
Best regards, Michael.