From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60106 Path: news.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Mail body escape sequence fouls display Date: Wed, 06 Apr 2005 10:34:00 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112798300 26239 80.91.229.2 (6 Apr 2005 14:38:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 14:38:20 +0000 (UTC) Keywords: rev video,text,term,gnus,escape sequence,terminal Original-X-From: ding-owner+M8633@lists.math.uh.edu Wed Apr 06 16:38:15 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJBeE-0000WR-Sr for ding-account@gmane.org; Wed, 06 Apr 2005 16:36:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DJBbt-00070s-00; Wed, 06 Apr 2005 09:34:25 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DJBbl-00070k-00 for ding@lists.math.uh.edu; Wed, 06 Apr 2005 09:34:17 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DJBbi-0004Yq-2J for ding@lists.math.uh.edu; Wed, 06 Apr 2005 09:34:14 -0500 Original-Received: from zimbs-null.sp.cs.cmu.edu ([128.2.198.166] helo=mesquite.charcoal.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DJBbc-0008Dd-00 for ; Wed, 06 Apr 2005 16:34:08 +0200 Original-Received: from mesquite.charcoal.com (localhost [127.0.0.1]) by mesquite.charcoal.com (8.13.1/8.13.1) with ESMTP id j36EY1lx001777 for ; Wed, 6 Apr 2005 10:34:01 -0400 Original-Received: (from karl@localhost) by mesquite.charcoal.com (8.13.1/8.13.1/Submit) id j36EY0BT001776; Wed, 6 Apr 2005 10:34:00 -0400 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6 hR;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5-b20 (linux) X-Spam-Score: -4.1 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60106 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60106 After a very long hiatus, yesterday I upgraded to XEmacs 21.5.20 and No Gnus v0.03. When I get mail which contains literal escape characters in the text, it can make all text following that point, and all further mail in the same group, be grey or reverse video. Specific circumstance is that I have environment variables TERM_SO and TERM_SE, which contain the libcurses "standout" and "standout end" (rev video) sequences for the terminal. An automatic self-mail- sending function in my shell emails me dumps of my shell state in terminals, including env.variables. When these mails are subsequently seen in Gnus, the literal escape sequence of TERM_SO causes all further text downward in that email to be rev video. Weirder still, when reading the _next_ message in the same group, *all* text is rev video, *except* for the line following the TERM_SE sequence, which of course turns off rev video in a terminal, but then (because of the order of the dump) the following TERM_SO turns rev video back on again. But the _header_ is never rev video, even in 2nd-thru-Nth items. Since when does Gnus, or XEmacs in general, react to embedded escape sequences in text being displayed? (As opposed to using escape sequences heavily for terminal control, of course.) Screenshots... First message in group, text goes rev video at the TERM_SO: http://www.charcoal.com/~karl/gnus/screenshots/summary-personal.recall-1.png Second message, text is rev video from beginning; http://www.charcoal.com/~karl/gnus/screenshots/summary-personal.recall-2.png --karl