From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7512: 24.0.50; emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm Date: Sun, 03 Jul 2011 02:22:25 -0400 Message-ID: References: <87d3pps528.fsf@jidanni.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1309674210 1060 80.91.229.12 (3 Jul 2011 06:23:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 06:23:30 +0000 (UTC) Cc: jidanni@jidanni.org, rfrancoise@debian.org, 7512@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 08:23:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdG5R-0003j5-Tv for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 08:23:22 +0200 Original-Received: from localhost ([::1]:45825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdG5Q-0001WO-Qm for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 02:23:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdG5B-0001WE-OP for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 02:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdG58-0005FT-Dn for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 02:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdG58-0005FP-9U for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 02:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdG57-00020M-MJ; Sun, 03 Jul 2011 02:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jul 2011 06:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7512 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7512-submit@debbugs.gnu.org id=B7512.13096741557675 (code B ref 7512); Sun, 03 Jul 2011 06:23:01 +0000 Original-Received: (at 7512) by debbugs.gnu.org; 3 Jul 2011 06:22:35 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdG4g-0001zk-VT for submit@debbugs.gnu.org; Sun, 03 Jul 2011 02:22:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdG4d-0001zW-7H for 7512@debbugs.gnu.org; Sun, 03 Jul 2011 02:22:32 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QdG4X-0001vr-4t; Sun, 03 Jul 2011 02:22:25 -0400 In-reply-to: (message from Lars Magne Ingebrigtsen on Sat, 02 Jul 2011 23:28:33 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 03 Jul 2011 02:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47816 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Sat, 02 Jul 2011 23:28:33 +0200 > Cc: rfrancoise@debian.org, 7512@debbugs.gnu.org > > jidanni@jidanni.org writes: > > > No big deal, but > > $ emacs -Q -nw -eval '(view-lossage)' > > shows > > ESC [ > 0 ; 2 6 6 ; 0 c ESC ] 1 1 ; r g b : 0 0 0 0 > > / 0 0 0 0 / 0 0 0 0 ESC \ > > when run in xterm. I did not type that. > > I can confirm this in a "C" locale, too: > > ESC [ > 0 ; 2 6 1 ; 0 c ESC ] 1 1 ; r g b : 0 0 0 0 > / 0 0 0 0 / 0 0 0 0 ESC \ d s d s RET ESC x ESC p ESC > x v i e w - l o s TAB RET > > Are those escape codes registered as typed keystrokes? See xterm.el:terminal-init-xterm, search for send-string-to-terminal. In a nutshell, we send special commands to the terminal to find out about its capabilities.