From: John Wiegley <johnw@gnu.org>
Subject: Re: color codes in eshell
Date: Mon, 10 Mar 2003 13:31:59 -0700 [thread overview]
Message-ID: <87isurnetc.fsf@alice.dynodns.net> (raw)
In-Reply-To: m24r6bat6b.fsf@ip217-30.mnet.bg
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?
Well, the truth is:
1. The manual has not been written.
2. Eshell is not a terminal emulator, so it does not attempt to
handle terminal escapes. You can try using ansi-color.el to
achieve this effect, but I am doubtful it will work as you
desire.
3. Eshell does not try to manage the prompts of external processes
(i.e., like when you run "su"). That is shell.el's job, and you
should run "M-x shell" when you want a root session using an
external shell.
John
next prev parent reply other threads:[~2003-03-10 20:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-10 20:00 color codes in eshell Alexander Nikolov
2003-03-10 20:31 ` John Wiegley [this message]
2003-03-10 21:20 ` Daniel Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87isurnetc.fsf@alice.dynodns.net \
--to=johnw@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).