[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell prompt undesired characters
From: |
Dan Davison |
Subject: |
Re: shell prompt undesired characters |
Date: |
Wed, 08 Apr 2009 13:53:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Peter Dyballa <Peter_Dyballa@web.de> writes:
> Am 08.04.2009 um 19:00 schrieb Dan Davison:
>
>> Where are the strange initial characters above coming from when I
>> run a
>> bash shell in emacs and how can I fix it?
>
>
> In ~/.emacs_bash you can set many things for a bash interpreter
> running *shell* buffer (similarly for sh, csh, tcsh, ksh, ...). The
> partial ANSI Esc code you gave looks like a reset/set normal of
> previous colour or effect setting. It might work better when you add:
>
> (add-hook 'shell-mode-hook (lambda ()
> (ansi-color-for-comint-mode-on)))
Thanks, but unfortunately that doesn't solve it. I've tried without any
~/.emacs and ~/.bashrc, on emacs22, and I still get those initial
characters. They're not coming from $PS1, so where are they coming from?
Dan
>
> --
> Greetings
>
> Pete
>
> There's no place like 127.0.0.1
> – origin unknown