Re: Emacs and shell display
On 2003-02-19 21:56, fbrian@nac.net wrote:
> > On Wednesday, February 19, 2003 12:30, fbrian@nac.net wrote:
> >> When I run a shell in emacs <M> shell
> >>
> >> I get this garbled output...
> >>
> >> [mbfurry@EULER:~$ lss
> >
> > If this only occurred for ls, I'd suggest telling us what "lss" is an
> > alias for, however control characters (as shown by the box character)
> > are even appearing in your prompt.
>
> lss was a typo in my part.
>
> > The control characters look like they're trying to color the prompt and
> > file names. This sort of colorization only works in some extended
> > terminals such as xterm-color and rxvt.
>
> My .profile uses colorized options.
>
[...]
>
> So I guess to use emacs shell capabiliteis I should not use colorized
> commands???
>
Sorry if you have discussed this already, but adding this
(ansi-color-for-comint-mode-on)
to your .emacs might fix it.
--
Nick
Reply to: