On 11/18/2010 01:45 AM, Kwankyu wrote: > If I put the following line > > "\C-k": kill-whole-line > > into "~/.inputrc", Sage does not recognize it, that is, ctrl-k always > does "kill-line" On the other hand, in IPython invoked by "sage - > ipython", ctril-k does "kill-whole-line" as expected. > > Why is it so? Does Sage set keys in its own way?
You can set this in the IPython configuration file ~/.sage/ipython/ipythonrc (or $DOT_SAGE/ipython/ipythonrc, if you've set DOT_SAGE to a place other than $HOME/.sage), which for me contains the line readline_parse_and_bind "\C-k": kill-line -- 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 For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org