-   Linux - Software (
-   -   emacs prompt in shells (esp. py-shell) (

CoonerTheRed 05-08-2006 11:45 AM

emacs prompt in shells (esp. py-shell)
So I regularly use xemacs for writing python. Recently (thanks to ipyton.el and others) I've been executing python in xemacs. Unfortunately, xemacs and python-mode.el seem to want to take my tcsh prompt variable for their own shell prompt... I end up with a screen that looks like this:


Python 2.4 (#5, Nov 10 2005, 14:02:48)
Type "copyright", "credits" or "license" for more information.

IPython 0.7.2.svn -- An enhanced Interactive Python.
?      -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

^[[0;34mIn [^[[1;34m1^[[0;34m]: ^[[0m

Now, I know xemacs can overwrite the prompt for its own eshell (using eshell-prompt-function) and make it look all pretty again. Is there a way to make it do so for py-shell as well? I don't really care WHAT the prompt is, so maybe there's a way to undefine prompt when starting xemacs?

Thanks much!

All times are GMT -5. The time now is 04:21 PM.