From: Dan Davison <davison@stats.ox.ac.uk>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: shell prompt undesired characters
Date: Wed, 08 Apr 2009 13:53:58 -0400 [thread overview]
Message-ID: <8763hf2frd.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <BE28402B-0A3B-4E75-96A3-A5EB761EB604@Web.DE> (Peter Dyballa's message of "Wed, 8 Apr 2009 19:25:47 +0200")
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
next prev parent reply other threads:[~2009-04-08 17:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 17:00 shell prompt undesired characters Dan Davison
2009-04-08 17:25 ` Peter Dyballa
2009-04-08 17:53 ` Dan Davison [this message]
2009-04-08 18:15 ` Peter Dyballa
2009-04-11 0:03 ` Alex Bennee
2009-04-11 0:49 ` Dan Davison
2009-04-08 17:28 ` 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=8763hf2frd.fsf@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--cc=Peter_Dyballa@web.de \
--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).