Suppose I'm at the Sage command line and I type

    sage: V = QQ^4
    sage: V.basis  <ctrl-c>

I am immediately returned to the Sage prompt, with a "KeyboardInterrupt" 
message. Great, just what I want. Now suppose I do

    sage: V = QQ^4
    sage: V.basis(0

and then I hit return. (I meant to type ")" but my finger slipped off of 
the shift, so I got "0" instead.) Now I get

    ....: 

I think I used to be able to hit ctrl-c and cancel this, getting back to 
the Sage prompt. Now if I hit ctrl-c, I get

    KeyboardInterrupt
    ....: 

I can complete the command (by typing ")" then RET), and it will execute 
and give me an error because "basis" doesn't take any arguments. Or I can 
type "]" then RET and get a SyntaxError. Is there any way to get back to 
the Sage prompt without executing the command? 

Should we be configuring IPython or readline or something differently to 
allow this?

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to