From: Tim X <timx@nospam.dev.null>
Subject: Re: "more", "ls -l", and column 80 in shell
Date: Sun, 25 Jun 2006 19:42:40 +1000 [thread overview]
Message-ID: <8764ip4lm7.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: mailman.3300.1151224578.9609.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> You could also check if $TERM is "emacs" ... If your ls does not
> colourise its output by default, you could switch that on in such a
> clause as above. I have to switch this off in ~/.emacs_tcsh because
> in *shell* buffer I would see a lot of ANSI Esc sequences to switch
> colour or brightness on or off.
>
You can get the colour version of ls to work using the various
ansi-color-* functions and variables built into emacs. Try an apropos
for ansi.
I have also noticed there seems to be quite a few systems which have
the ls --color= option set "oddly" - the gnu version of lis has a
number of options for preventing colour escape codes being used if the
output is either a dumb terminal or it is being redirected to some
other device/file - this makes it easy to pipe ls output into other
programs and avoid issues from weird escape sequences etc.
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2006-06-25 9:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-15 22:44 "more", "ls -l", and column 80 in shell RjjdBae
2006-06-15 23:46 ` Barry Margolin
2006-06-16 6:48 ` Tim X
2006-06-16 14:42 ` RjjdBae
2006-06-17 6:58 ` Tim X
2006-06-25 0:24 ` David Combs
2006-06-25 2:39 ` Tim X
2006-06-25 8:45 ` Peter Dyballa
2006-06-17 8:18 ` Peter Dyballa
[not found] ` <mailman.2970.1150533187.9609.help-gnu-emacs@gnu.org>
2006-06-25 0:30 ` David Combs
2006-06-25 8:35 ` Peter Dyballa
[not found] ` <mailman.3300.1151224578.9609.help-gnu-emacs@gnu.org>
2006-06-25 9:42 ` Tim X [this message]
2006-06-25 15:30 ` Peter Dyballa
[not found] ` <mailman.3306.1151249429.9609.help-gnu-emacs@gnu.org>
2006-06-25 21:44 ` Miles Bader
2006-06-25 22:58 ` Peter Dyballa
[not found] ` <mailman.3321.1151276298.9609.help-gnu-emacs@gnu.org>
2006-06-26 0:37 ` Miles Bader
2006-06-26 8:33 ` 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=8764ip4lm7.fsf@tiger.rapttech.com.au \
--to=timx@nospam.dev.null \
/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.