From: Steve Revilak <steve@srevilak.net>
To: help-gnu-emacs@gnu.org
Subject: Turning off ls colors (was: impossible to leave a shell frame ...)
Date: Sun, 13 Feb 2011 13:41:09 -0500 [thread overview]
Message-ID: <20110213184109.GB3719@srevilak.net> (raw)
In-Reply-To: <68602C46-A681-4EDE-9E81-AD9253B0C599@Web.DE>
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
>The "^[[01;34m" texts are ANSI Escape Sequences to colourise the
>output of (g)ls. You can switch that off. Or execute ansi-color-for-
>comint-mode-on. For example in your init file.
In many cases, ls gets coloring information from the environment
variable LS_COLORS. From a shell prompt, you can examine the value of
this variable by
echo $LS_COLORS
if LS_COLORS has a value, you can try unsetting the variable, to see
what effect that has
unset LS_COLORS
ls is not the only program that uses escape sequences for
colorization. For example, there are distributions that use escape
sequences to colorize the the shell prompt. bash's command prompt
comes from the environment variable $PS1; tcsh uses the environment
variable $prompt. You may want to look at these variables as well.
Steve
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-02-13 18:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2.1297533681.16928.help-gnu-emacs@gnu.org>
2011-02-13 0:47 ` impossible to leave a shell frame with C-o Tim X
2011-02-13 12:34 ` paragoge
2011-02-13 12:47 ` Peter Dyballa
2011-02-13 14:44 ` paragoge
2011-02-13 15:11 ` Peter Dyballa
2011-02-13 16:28 ` paragoge
2011-02-13 16:40 ` Peter Dyballa
2011-02-13 18:41 ` Steve Revilak [this message]
2011-02-13 14:51 ` Perry Smith
2011-02-11 18:39 paragoge
2011-02-12 23:30 ` Peter Dyballa
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=20110213184109.GB3719@srevilak.net \
--to=steve@srevilak.net \
--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.