From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Unusual Characters in Interactive Console Date: Tue, 2 Dec 2008 20:31:36 +0100 Message-ID: References: <5FE6F6FC-FEED-412F-9F88-8FF2DB4A766B@webfirm.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1228246410 30385 80.91.229.12 (2 Dec 2008 19:33:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 19:33:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Colin Campbell-McPherson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 20:34:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7b0q-0000pd-Ad for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 20:34:24 +0100 Original-Received: from localhost ([127.0.0.1]:39674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7azg-0000Fj-1t for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 14:33:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7ayK-0008OR-BS for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 14:31:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7ayI-0008NQ-9q for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 14:31:47 -0500 Original-Received: from [199.232.76.173] (port=51816 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7ayI-0008NJ-0f for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 14:31:46 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:35767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7ayH-0000Og-8L for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 14:31:45 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id C3AD3FA2FF54; Tue, 2 Dec 2008 20:31:43 +0100 (CET) Original-Received: from [91.35.246.92] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1L7ayF-00032p-00; Tue, 02 Dec 2008 20:31:43 +0100 In-Reply-To: <5FE6F6FC-FEED-412F-9F88-8FF2DB4A766B@webfirm.com.au> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19zdal9ihoEKABP/rJalMSMs57lBlumJkJCJNmM cI4PxUNPtkRQGiM9YPNg+l6VtFNYw+HPaHAOrMvtag2+R2dw7F uC6DFxrQ2iclG2xYprhA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60320 Archived-At: Am 02.12.2008 um 03:59 schrieb Colin Campbell-McPherson: > ^[[0;36m2^[[0;0m > irb(main):005:0> nil > nil > ^[[0;32mnil^[[0;0m ^[[0;32m and ^[[0;36m and ^[[0;0m are ANSI Escape Sequences that =20 control particular aspects of the terminal (the first two set =20 foreground colours, green and cyan, the latter resets to normal). In =20 GNU Emacs' ANSI *terminal* emulation (M-x term RET) these sequences =20 are transformed into colours. Could be your application just needs to run some hook with: ansi-=20 color-for-comint-mode-on. RTFM. (I'm only using shell command =20 interpreters ...) BTW, the characters are very usual. ^[ is a control character, and =20 it's equal to ESC. -- Greetings Pete If it does exist, it's out of date. =96 Arnold's Second Law of Documentation