From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Colin Campbell-McPherson <colin@webfirm.com.au>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Unusual Characters in Interactive Console
Date: Tue, 2 Dec 2008 20:31:36 +0100 [thread overview]
Message-ID: <D171716E-6227-41F5-B4F3-CA6E64FA34DB@Web.DE> (raw)
In-Reply-To: <5FE6F6FC-FEED-412F-9F88-8FF2DB4A766B@webfirm.com.au>
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
control particular aspects of the terminal (the first two set
foreground colours, green and cyan, the latter resets to normal). In
GNU Emacs' ANSI *terminal* emulation (M-x term RET) these sequences
are transformed into colours.
Could be your application just needs to run some hook with: ansi-
color-for-comint-mode-on. RTFM. (I'm only using shell command
interpreters ...)
BTW, the characters are very usual. ^[ is a control character, and
it's equal to ESC.
--
Greetings
Pete
If it does exist, it's out of date.
– Arnold's Second Law of Documentation
next prev parent reply other threads:[~2008-12-02 19:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 2:59 Unusual Characters in Interactive Console Colin Campbell-McPherson
2008-12-02 19:31 ` Peter Dyballa [this message]
[not found] <mailman.1701.1228229612.26697.help-gnu-emacs@gnu.org>
2008-12-02 15:01 ` Andreas Politz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D171716E-6227-41F5-B4F3-CA6E64FA34DB@Web.DE \
--to=peter_dyballa@web.de \
--cc=colin@webfirm.com.au \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.