GNU bug report logs - #7512
24.0.50; emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 28 Nov 2010 23:06:02 UTC

Severity: minor

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 7512 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 7512 <at> debbugs.gnu.org, rfrancoise <at> debian.org, jidanni <at> jidanni.org
Subject: Re: 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
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Date: Sat, 02 Jul 2011 23:28:33 +0200
> Cc: rfrancoise <at> debian.org, 7512 <at> debbugs.gnu.org
> 
> jidanni <at> 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.




This bug report was last modified 13 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.