On 17 January 2014 12:18, Simon King <[email protected]> wrote: > Hi John, > > On 2014-01-17, John Cremona <[email protected]> wrote: >> Press return after making sure there's a syntax error? > > OK, that seems to work: > > sage: def foo(x): > ....: print typo(x) > ....: arrg! > ....: > File "<ipython-input-2-30ab1452dfbb>", line 3 > arrg! > ^ > SyntaxError: invalid syntax > >> Holding down >> the Backspace key? > > Nope, since it will only bring you to the beggining of the line, which > won't help in a multiline command.
That's funny -- in my terminal that does work. And even after the next Sage prompt if I press the up-arrow then the whole multiline input is there and you can go back and forth in it at will across the line breaks using left and right arrows. This is using Gnome terminal, which is the standard terminal application on ubuntu (but right now I am running it in another flavour of linux as provided by my university). John > > Best regards, > Simon > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" 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-devel. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sage-devel" 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-devel. For more options, visit https://groups.google.com/groups/opt_out.
