#104 ^C in rmaxima does not kill the line

None
closed
nobody
None
5
2013-05-24
2013-05-02
ManDay
No

^C does not behave as expected in rmaxima, where readline bindings should work. Instead, one gets

Maxima encountered a Lisp error:

 Interactive interrupt at #x7FFFF73F9A58.

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.

and the prompt remains unchanged.

Discussion

  • ManDay
    ManDay
    2013-05-02

    Also, enter on an empty line should just re-prompt. In general, I'd say readline in Maxima should behave much like readline in bash - anything else seems to be suboptimal (imho).

     
  • Robert Dodier
    Robert Dodier
    2013-05-24

    Thanks for the suggestions. Since rmaxima makes use of rlwrap to handle the readline stuff, I think that the question of handling control-C is a problem for rlwrap to solve.

    Also, although I can see that there is a reason for re-prompting if the input line is empty, I think it's safe to say that most users are comfortable with the current behavior and won't want to change it.

    Closing this request in an effort to filter out things which are unlikely to ever be implemented.

     
  • Robert Dodier
    Robert Dodier
    2013-05-24

    • status: open --> closed
     
  • Robert Dodier
    Robert Dodier
    2013-05-24

    Ticket moved from /p/maxima/bugs/2573/