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

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

Re: color codes in eshell


From: Daniel Jensen
Subject: Re: color codes in eshell
Date: Mon, 10 Mar 2003 22:20:47 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50

Alexander Nikolov <alexander@ip217-30.mnet.bg> writes:

> I am very enthusiastic about using a shell from inside emacs but I
> find eshell has some frustrating weaknesses. First, the documentation
> is far from complete. Second, I have this problem with color codes:
> When I log in as a normal user everything is displayed
> correctly. However, when I am root color codes are displayed as numbers
> and letters in between the useful text. There is no shell history in
> root mode, either. I hope this can be fixed with some lisp code but
> sadly I have very limited knowledge of the language and the
> implementation in emacs.
> Suggestions?

Try adding "su" to `eshell-visual-commands'. It'll make su open in a
terminal emulation buffer, which will hopefully be able to interpret
the color codes correctly. I suppose it will also make the (bash?)
history available to you.

-- 
Daniel Jensen
$ (format (concat "mailto:"; "%s@%s.%s") "daniel" "bigwalter" "net")


reply via email to

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