LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-08-2006, 10:45 AM   #1
CoonerTheRed
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:

Code:
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!
 
  


Reply



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 07:03 PM
Can't start emacs from shell alaskazimm Ubuntu 1 07-24-2005 12:25 AM
emacs shell-mode doesn't interpret prompt variable CoonerTheRed Linux - Software 1 05-09-2005 04:23 AM
Shell in emacs tuananhbirm Mandriva 2 11-22-2004 11:19 AM
C shell prompt robson Linux - General 2 11-12-2001 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 AM.

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