octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41337] Cannot retrieve command history from k


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #41337] Cannot retrieve command history from keyboard
Date: Mon, 03 Mar 2014 18:55:31 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0

Follow-up Comment #20, bug #41337 (project octave):

Michael,

The arrows work for me when I apply Torsten's modified patch
(mac_layout2.patch). 

Now about shortcuts (CTRLswap patch), there is a confusion due to the fact
that on mac there is a single menu for all windows. The menu item shortcuts
are updated depending on what window has the focus.

When the terminal has focus, CMD+p and CMD+n are not defined, with or without
the patch (see file/new and edit menu), so readline receives the shortcuts
(CMD is treated as Meta). 
The only shortcuts that are defined are CMD+c, CMD+v and CMD+z. The two first
ones work as expected for me and I don't know what the third should do but it
is triggered (see edit menu blink).

As far as I can see, shortcuts work if they are defined in the menu (in the
context of the window which has focus) and out of the m file editor. 

Can you test this:
 - test1: let e.g. command history window have focus and try CMD+SHIFT+n
(should open "new function" dialog) or CMD+SHIFT+f (should open "find file"
dialog)
 - test2: let the terminal have focus and


>>blabla #select the text and type CMD+c and CMD+v to copy/paste
>>pause (30) #CMD+c should interrupt
>>blabla #CTRL+a should got to begining of line CTRL+k kill the line ... 


If this works it is all the patch intended to show: overriding default Qt
CMD-CTRL swap let us use the Ctrl *and* CMD keys as we wish.  



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41337>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]