unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* shell prompt undesired characters
@ 2009-04-08 17:00 Dan Davison
  2009-04-08 17:25 ` Peter Dyballa
  2009-04-08 17:28 ` Peter Dyballa
  0 siblings, 2 replies; 7+ messages in thread
From: Dan Davison @ 2009-04-08 17:00 UTC (permalink / raw)
  To: help-gnu-emacs mailing list

I am having trouble getting a clean prompt with bash running under M-x
shell. Each line in the shell starts with

^[]0;~\a

(
I don't know how those two control characters will appear to you; what I
see in my emacs buffer is
^[]0;~^G
)

This is true if I set PS1='', so I believe my problem is not related to
escape characters in $PS1 (in fact they work fine if I use them).

I have tried with the system default .bashrc and the problem
persists. However, if I change to sh, then I get a normal, clean prompt
that displays just the contents of PS1.

Where are the strange initial characters above coming from when I run a
bash shell in emacs and how can I fix it?

Thanks a lot,

Dan
emacs 23.0.60.1
ubuntu 8.10




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-11  0:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-04-08 17:28 ` Peter Dyballa

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