From: Dan Davison <davison@stats.ox.ac.uk>
To: Alex Bennee <kernel-hacker@bennee.com>
Cc: help-gnu-emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: shell prompt undesired characters
Date: Fri, 10 Apr 2009 20:49:48 -0400 [thread overview]
Message-ID: <87y6u8auab.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <b2cdc9f30904101703r68d78b73uee4b7cff563de86@mail.gmail.com> (Alex Bennee's message of "Sat, 11 Apr 2009 10:03:54 +1000")
Alex Bennee <kernel-hacker@bennee.com> writes:
> 2009/4/9 Dan Davison <davison@stats.ox.ac.uk>:
>> 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?
>
> PS2? Bash has a whole bunch of env variables for various things,
> including one for a
> command to run after every line. I'd just do an 'env' and grep through
> for anything that
> looks like an escape character.
You're right; that revealed that the answer was $PROMPT_COMMAND. So it
looks like that'll be something to set in ~/.emacs_bash. I should have
looked into this more thoroughly myself... Thanks Peter and Alex for
replies.
Dan
next prev parent reply other threads:[~2009-04-11 0:49 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
2009-04-08 18:15 ` Peter Dyballa
2009-04-11 0:03 ` Alex Bennee
2009-04-11 0:49 ` Dan Davison [this message]
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=87y6u8auab.fsf@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--cc=help-gnu-emacs@gnu.org \
--cc=kernel-hacker@bennee.com \
/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.