[IPython-User] Getting the qtconsole to respect my readline settings
Tue Aug 2 23:49:02 CDT 2011
On Tue, Aug 2, 2011 at 10:41 PM, MinRK <firstname.lastname@example.org> wrote:
> On Tue, Aug 2, 2011 at 21:31, Aaron Meurer <email@example.com> wrote:
>> Ah. Well, in that case, is there any way to edit the "readline"
>> settings. I don't like how up arrow searches the history from the
>> text that is entered rather than all history, and also I would like to
>> make C-d exit the console.
> This is not currently editable, but there are plans to do so:
>> Also, it bugged me about libedit the first time I used it, which
>> certainly led me to believe it was using readline.
> If it bugs you about libedit, it isn't using readline, it is using
> BSD's editline :).
Yeah, but it told me to install readline :)
It's obvious to me now that this isn't using readline, but it
certainly caught me off guard, and no doubt would catch others off
guard as well.
> I suppose the InteractiveShell object in the kernel is still
> initializing readline, which would cause the warning. I'm not sure if
> readline actually does anything in the backend, though. The frontend
> definitely does not use readline, especially not for keybindings.
> Since it's a GUI widget, we have to write all the keybindings and
> customization tools ourselves.
>> Aaron Meurer
>> On Tue, Aug 2, 2011 at 10:01 PM, MinRK <firstname.lastname@example.org> wrote:
>>> What readline settings? The qt console doesn't use readline.
>>> On Tue, Aug 2, 2011 at 21:00, Aaron Meurer <email@example.com> wrote:
>>>> Is there a way to make the qtconsole respect my readline settings in
>>>> my ipython_config.py file? I tried changing the settings from
>>>> TerminalInteractiveShell to just InteractiveShell and even
>>>> BaseIPythonApplication, but it doesn't work.
>>>> Aaron Meurer
>>>> IPython-User mailing list
More information about the IPython-User