help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs shell


From: Sebastian Tennant
Subject: Re: emacs shell
Date: Mon, 22 May 2006 14:28:33 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Quoth Pedro Sa da Costa <op132650c@mail.telepac.pt>:
> in emacs shell i do an ls, and what i got is:
>
> ls
> ^[[a.java ^[[b.java ^[[c.java ^[[d.java ^[[e.java ^[[f.java
>
> and what i want is something similar to a bash ls. Ie, well formated:
>
> a.java    b.java
> c.java    d.java
> e.java    f.java

It's a colour issue.  The '^[['s are control characters.

Try:

  $ ls --color=none

and add something like this to your ~/.bashrc to avoid color
information being applied in your emacs shells:

# ls behaviour
[ "$EMACS" == "t" ] && alias ls="ls --color=none"

sdt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]