unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs shell
@ 2006-05-20 17:54 Pedro Sa da Costa
  2006-05-22 13:28 ` Sebastian Tennant
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Sa da Costa @ 2006-05-20 17:54 UTC (permalink / raw)


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

How can i do this?

Thanks,
Pedro

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs shell
       [not found] <mailman.2104.1148147678.9609.help-gnu-emacs@gnu.org>
@ 2006-05-20 21:05 ` Gary Wessle
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Wessle @ 2006-05-20 21:05 UTC (permalink / raw)


Pedro Sa da Costa <op132650c@mail.telepac.pt> writes:

> 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
> 
> How can i do this?
> 
> Thanks,
> Pedro

check out the answer for the post titled "accessing shell in emacs"
few posts before you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs shell
  2006-05-20 17:54 Pedro Sa da Costa
@ 2006-05-22 13:28 ` Sebastian Tennant
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Tennant @ 2006-05-22 13:28 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-22 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2104.1148147678.9609.help-gnu-emacs@gnu.org>
2006-05-20 21:05 ` emacs shell Gary Wessle
2006-05-20 17:54 Pedro Sa da Costa
2006-05-22 13:28 ` Sebastian Tennant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).