Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-08-2006, 11:45 AM   #1
LQ Newbie
Registered: Mar 2004
Location: da Big Apple
Distribution: FC3
Posts: 20

Rep: Reputation: 0
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why I can't change my Shell from bash to any other shells I have. johnsanty Linux - General 7 04-20-2006 08:03 PM
Can't start emacs from shell alaskazimm Ubuntu 1 07-24-2005 01:25 AM
emacs shell-mode doesn't interpret prompt variable CoonerTheRed Linux - Software 1 05-09-2005 05:23 AM
Shell in emacs tuananhbirm Mandriva 2 11-22-2004 12:19 PM
C shell prompt robson Linux - General 2 11-12-2001 09:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration