I am trying to turn off the command line readline action.*  If that were 
possible, it would be a big help to me.  Does anyone know?

I am running Sage on a recent Ubuntu, using a recent install.  I believe 
the readline behavior arises from pyreadline that comes in as part of 
ipython.  I can find no documentation in ipython on how to stop readline 
while the repl is running (which would be ideal for me) and I tried putting 
in a configuration file pyreadlineconfig.ini and uncommenting its second 
line, but that had no effect that I could see.

$ head -n2 $HOME/pyreadlineconfig.ini
#Bind keys for exit (keys only work on empty lines
disable_readline(True)        #Disable pyreadline completely.

I also had a look in the source but came away unenlightened.  Thanks for 
any help.
Jim

 *(The reason I want to turn off readlline is that I am using pyexpect to 
feed things to and read things from the Sage prompt and when the line is 
too long then I am getting responses filled with odd characters including 
lots of ^H's.)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to