all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.