bugGNU Octave - Bugs: bug #36986, Readline key bindings ignored by...


bug #36986: Readline key bindings ignored by GUI

Submitted by:  Jordi GutiĆ©rrez Hermoso <jordigh>
Submitted on:  Sun 29 Jul 2012 02:06:04 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Sun 14 Jul 2013 11:23:00 AM UTC, comment #7:

Enabled Ctrl-W for readline with changeset

Concerning Ctrl-S I will have a look at how this is handled.

Torsten <ttl>
Project Member
Sat 13 Jul 2013 10:29:59 PM UTC, comment #6:

I agree, big improvement.

Ctrl-W only seems to close the current file in the editor. Otherwise I can't tell that it does anything useful. Can we add this to the list of keybindings that are allowed through in the terminal?

Mike Miller <mtmiller>
Project Administrator
Sat 13 Jul 2013 06:44:08 PM UTC, comment #5:

This changeset is a huge improvement.

One last thing, which may be impossible, is my use of <Ctrl-S> mapped to the "Esc" character. I have this key sequence mapped in my .inputrc file which is read by Readline and it works in terminal environments, including Konsole, which I believe forms the basis of our terminal widget.

The difficult thing is that Ctrl-S is often used by terminals for flow control. I don't know who is seeing the characters typed in to the Octave GUI first. Is it Readline or is it the terminal widget?

Rik <rik5>
Project Administrator
Sat 13 Jul 2013 08:31:53 AM UTC, comment #4:

Fixed with changeset

Torsten <ttl>
Project Member
Mon 20 Aug 2012 09:33:57 PM UTC, comment #3:

Can the keybindings change depending on keyboard focus? If the keyboard focus is in the command window, then I think the keybindings should be the same as they would be in a normal terminal window. If the focus is somewhere else, then the keybindings can be different.

John W. Eaton <jwe>
Project Administrator
Sun 29 Jul 2012 11:29:56 PM UTC, comment #2:

I'm in the same minority. I'd prefer to have at least Ctrl-R available, that's the one I've missed so far, not that there aren't others worth having too.

Isn't part of the audience for the GUI going to be people who are used to command-line Octave? They may expect the readline keybindings they used in terminal mode to still work.

Mike Miller <mtmiller>
Project Administrator
Sun 29 Jul 2012 06:02:53 PM UTC, comment #1:

I prefer to keep my own readline bindings as well. On the other hand, I also do most of my work using the CLI so maybe I am not the right audience for a GUI.

Rik <rik5>
Project Administrator
Sun 29 Jul 2012 02:06:04 AM UTC, original submission:

I'm aware I'm probably a minority who cares about readline, but certain readline keys don't work in the GUI at cset 1ffaad442161. C-n opens a new editor window and C-r results in a parse error.

I'm not sure this really should be fixed or not. The readline keys will naturally conflict with the keybindings that users will expect. I would like perhaps an overall Emacs keybinding theme. I believe Qt provides such a thing.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jordigh (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-13 ttl StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2013-04-11 rik5 Summaryproblems with readline keys => Readline key bindings ignored by GUI

    Back to the top

    Powered by Savane 3.3