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

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

Re: ls lists funky names within M-x shell


From: Peter Dyballa
Subject: Re: ls lists funky names within M-x shell
Date: Sat, 11 Feb 2006 12:30:06 +0100


Am 11.02.2006 um 00:52 schrieb Doug Morris:

doug@gladyce ~/keep/dev/javagui/cmd $ ls -l
total 24
-rwxr-xr-x  1 doug users 1196 Jan 25 15:40 compile
-rwxr-xr-x  1 doug users 1196 Jul  7  2003 compile~
drwxr-xr-x  3 doug users  176 Jul  7  2003 cvs

You could set in your ~/.emacs_<shell> file an alias for ls that invokes it without colorising its output, or you can make ~/.emacs_<shell> to un-set an environment variable that makes ls colorise its output.

You should invoke M-x manual-entry RET ls RET in emacs to read about your system's actual ls implementation, and maybe do an M-x manual- entry RET <your shell> RET too.


This ls output colorisation can't work, IMO, inside an usual Emacs shell since its TERM value is set to dumb. It might work better inside the more complete terminal emulation (M-x term <RET>), but could be you need a modern implementation of ANSI to see colours from ls in the running shell, i.e. GNU Emacs 22 from CVS.

--
Greetings

  Pete

There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. - Jeremy S. Anderson






reply via email to

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