all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: help-gnu-emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: shell prompt undesired characters
Date: Wed, 8 Apr 2009 19:25:47 +0200	[thread overview]
Message-ID: <BE28402B-0A3B-4E75-96A3-A5EB761EB604@Web.DE> (raw)
In-Reply-To: <877i1vkrmd.fsf@stats.ox.ac.uk>


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

--
Greetings

   Pete

There's no place like 127.0.0.1
			– origin unknown







  reply	other threads:[~2009-04-08 17:25 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 [this message]
2009-04-08 17:53   ` Dan Davison
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

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

  git send-email \
    --in-reply-to=BE28402B-0A3B-4E75-96A3-A5EB761EB604@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=davison@stats.ox.ac.uk \
    --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.
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.