all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Jensen <daniel-news@bigwalter.net>
Subject: Re: color codes in eshell
Date: Mon, 10 Mar 2003 22:20:47 +0100	[thread overview]
Message-ID: <86smtux6j4.fsf@bigwalter.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?

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")

      parent reply	other threads:[~2003-03-10 21:20 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
2003-03-10 21:20 ` Daniel Jensen [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86smtux6j4.fsf@bigwalter.net \
    --to=daniel-news@bigwalter.net \
    --cc=daniel@bigwalter.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.