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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7512 in the body.
You can then email your comments to 7512 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org:
bug#7512; Package emacs. (Sun, 28 Nov 2010 23:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org. (Sun, 28 Nov 2010 23:06:02 GMT) Full text and rfc822 format available.

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

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50;
	emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm
Date: Mon, 29 Nov 2010 01:58:55 +0800
X-debbugs-CC: dickey <at> invisible-island.net

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.

$ env|grep -i xterm
TERM=xterm
XTERM_SHELL=/bin/bash
XTERM_LOCALE=zh_TW.UTF-8
XTERM_VERSION=XTerm(266)

In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-11-21 on elegiac, modified by Debian




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7512; Package emacs. (Sat, 02 Jul 2011 21:44:02 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: rfrancoise <at> debian.org, 7512 <at> debbugs.gnu.org
Subject: Re: bug#7512: 24.0.50;
	emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm
Date: Sat, 02 Jul 2011 23:28:33 +0200
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?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7512; Package emacs. (Sun, 03 Jul 2011 06:23:01 GMT) Full text and rfc822 format available.

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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7512; Package emacs. (Mon, 04 Jul 2011 02:05:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, jidanni <at> jidanni.org,
	rfrancoise <at> debian.org, 7512 <at> debbugs.gnu.org
Subject: Re: bug#7512: 24.0.50;
	emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm
Date: Sun, 03 Jul 2011 22:04:04 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

> 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.

And it's scarcely worth it to try to remove these characters from
lossage, so feel free to close this bug.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7512; Package emacs. (Mon, 04 Jul 2011 02:46:01 GMT) Full text and rfc822 format available.

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

From: jidanni <at> jidanni.org
To: cyd <at> stupidchicken.com
Cc: eliz <at> gnu.org, rfrancoise <at> debian.org, larsi <at> gnus.org, 7512 <at> debbugs.gnu.org
Subject: Re: bug#7512: 24.0.50;
	emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm
Date: Mon, 04 Jul 2011 10:45:21 +0800
>>>>> "CY" == Chong Yidong <cyd <at> stupidchicken.com> writes:
CY> Eli Zaretskii <eliz <at> gnu.org> writes:

>> 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.

CY> And it's scarcely worth it to try to remove these characters from
CY> lossage, so feel free to close this bug.

But maybe also p u t  s o m e  t i n y  h i n t  i n t o that buffer so
folks know what is going on. 




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7512; Package emacs. (Mon, 04 Jul 2011 05:29:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: eliz <at> gnu.org, rfrancoise <at> debian.org, larsi <at> gnus.org, 7512 <at> debbugs.gnu.org
Subject: Re: bug#7512: 24.0.50;
	emacs -Q -nw -eval '(view-lossage)' shows phantom chars under xterm
Date: Mon, 04 Jul 2011 01:28:18 -0400
jidanni <at> jidanni.org writes:

> But maybe also p u t  s o m e  t i n y  h i n t  i n t o that buffer so
> folks know what is going on.

No, I don't think it's worth it.

Closing the bug.




bug closed, send any further explanations to 7512 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Mon, 04 Jul 2011 05:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Aug 2011 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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