From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44908: emacs -nw: view-lossage polluted by termcap / terminfo jazz Date: Mon, 30 Nov 2020 20:48:28 +0200 Message-ID: <83360qk7er.fsf@gnu.org> References: <87mtz2d2km.5.fsf@jidanni.org> <87lfekh379.fsf@gnus.org> <83sg8skvw4.fsf@gnu.org> <874kl8f81r.fsf@gnus.org> <83pn3wktlq.fsf@gnu.org> <87blffdu48.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6174"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44908-done@debbugs.gnu.org, jidanni@jidanni.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 19:50:02 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjoFO-0001TR-FC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 19:50:02 +0100 Original-Received: from localhost ([::1]:37152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjoFN-0000PF-GV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 13:50:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjoER-0008NT-HX for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 13:49:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjoEQ-0005CD-94 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 13:49:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjoEQ-0007xq-8N for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 13:49:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44908 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Mail-Followup-To: 44908@debbugs.gnu.org, eliz@gnu.org, jidanni@jidanni.org Original-Received: via spool by 44908-done@debbugs.gnu.org id=D44908.160676212530583 (code D ref 44908); Mon, 30 Nov 2020 18:49:02 +0000 Original-Received: (at 44908-done) by debbugs.gnu.org; 30 Nov 2020 18:48:45 +0000 Original-Received: from localhost ([127.0.0.1]:56656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjoE9-0007xC-4x for submit@debbugs.gnu.org; Mon, 30 Nov 2020 13:48:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjoE6-0007wz-Ko for 44908-done@debbugs.gnu.org; Mon, 30 Nov 2020 13:48:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34360) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjoE0-00059c-Tc; Mon, 30 Nov 2020 13:48:36 -0500 Original-Received: from [176.228.60.248] (port=4119 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjoDz-0007a3-TS; Mon, 30 Nov 2020 13:48:36 -0500 In-Reply-To: <87blffdu48.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 30 Nov 2020 11:19:51 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194672 Archived-At: > From: Lars Ingebrigtsen > Cc: 44908@debbugs.gnu.org, jidanni@jidanni.org > Date: Mon, 30 Nov 2020 11:19:51 +0100 > > Eli Zaretskii writes: > > > Does the below fix the problem? > > Yes, that fixes the problem. Thanks, installed on the emacs-27 branch. > > (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?) > > Hm... is it useful to have the events in the dribble file? They are not events, they are responses by the terminal emulator to our queries about its capabilities. Emacs cannot distinguish between such characters and those the user types, as they are read in the same way. Anyway, I convinced myself that the dribble file cannot be open at this point, since all the functions that use xterm--read-event-for-query do that during terminal initialization. So I'm closing this bug report.