GNU bug report logs -
#44908
emacs -nw: view-lossage polluted by termcap / terminfo jazz
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Fri, 27 Nov 2020 21:48:02 UTC
Severity: wishlist
Tags: confirmed
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 44908 <at> debbugs.gnu.org, jidanni <at> jidanni.org
> Date: Sun, 29 Nov 2020 17:21:20 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> I get a *Help* buffer that has:
> >>
> >> ESC [ > ESC [ > 6 5 ; 6 2 0 1 ; 1 c ;;
> >
> > What do you have in recent-keys in that case?
>
> emacs -Q -nw --eval '(message "%s" (recent-keys))'
>
> gives me the following *Messages*:
>
> [27 91 62 27 91 62 54 53 59 54 50 48 49 59 49 99]
Does the below fix the problem? (But maybe we should still arrange
for recording these events in the dribble file? or is it impossible to
have dribble active at this point?)
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index 1a727e3..7094100 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -767,7 +767,8 @@ xterm--read-event-for-query
By not redisplaying right away for xterm queries, we can avoid
unsightly flashing during initialization. Give up and redisplay
anyway if we've been waiting a little while."
- (let ((start-time (current-time)))
+ (let ((start-time (current-time))
+ (inhibit--record-char t))
(or (let ((inhibit-redisplay t))
(read-event nil nil xterm-query-redisplay-timeout))
(read-event nil nil
This bug report was last modified 4 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.