From: Andy Stewart <lazycat.manatee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: bad font in shell mode
Date: Sun, 15 Mar 2009 11:30:19 +0800 [thread overview]
Message-ID: <87ab7nihtg.fsf@debian.domain> (raw)
In-Reply-To: 22517618.post@talk.nabble.com
Brad from MA <brad.l.miller@gmail.com> writes:
> Hi,
> When I enter shell mode (M-x shell), I get a bunch of extraneous
> characters printing out. Instead of the bash command prompt '/home/user>'
> it comes out as:
>
> ^[[1;32m/home/user^[[1;00m>
>
> Any idea how to fix this?
>
> Thanks,
> Brad
YOu need add
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
for fix above problem.
You can try to use multi-shell.el, at
http://www.emacswiki.org/cgi-bin/emacs/multi-shell.el
Regards,
-- Andy
next prev parent reply other threads:[~2009-03-15 3:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 22:03 bad font in shell mode Brad from MA
2009-03-15 3:30 ` Andy Stewart [this message]
2009-03-15 14:41 ` Brad from MA
2009-03-15 8:55 ` Peter Dyballa
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=87ab7nihtg.fsf@debian.domain \
--to=lazycat.manatee@gmail.com \
--cc=help-gnu-emacs@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).