Keyboard shortcuts in the debugger

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...

Keyboard shortcuts in the debugger

Postby augustk on Mon Jun 07, 2021 9:52 pm

I wonder how a user of Dyalog APL is supposed to find out what the keyboard shortcuts are for the navigation buttons in the debugger toolbar? It would be natural to add the shortcuts to the button tooltips. I know that the return key invokes "Execute expression" but what are the other shortcuts? I use Dyalog APL 16.0 Classic.
augustk
 
Posts: 27
Joined: Tue Feb 05, 2019 11:54 am

Re: Keyboard shortcuts in the debugger

Postby Vince|Dyalog on Tue Jun 08, 2021 9:30 am

Hi AugustK,

Sorry that it can be hard to find things in our documentation if you do not know where to look first!

This is documented in our User Guide and also the supplied "Dyalog for Microsoft Windows UI Guide" in the help subdirectory of your Dyalog install.

You could also find a link to our online docs by searching the internet for:
Dyalog keyboard shortcuts classic

In a Classic version, these keystrokes are defined in a .din Input Translate file.

Find out which Input Translate file is in use, and open it readonly in a text editor.

For example:
      +2 ⎕nq '.'  'getenvironment' 'aplkeys'
C:\Program Files (x86)\Dyalog\Dyalog APL 16.0 Classic\aplkeys

+2 ⎕nq '.' 'getenvironment' 'aplk'
uk.din


Not all the debugger buttons have keystrokes defined.

If you wish to modify the Input Translate file, please contact us at Dyalog Support for advice.

I have logged your request in our RFE Requests Database for your suggestion that info about the keyboard shortcuts be added to the tracer toolbar buttons' hints/tips.

For our Unicode users (which is our recommended and default version), there is a list of such keyboard shortcuts in Options|Configure|Keyboard Shortcuts.

Regards,

Vince
Vince|Dyalog
 
Posts: 408
Joined: Wed Oct 01, 2008 9:39 am

Re: Keyboard shortcuts in the debugger

Postby augustk on Tue Jun 08, 2021 11:03 am

Thanks for the detailed answer! The missed the keyboard command for Trace (Ctrl+Enter) on the keyboard shortcuts page:

https://help.dyalog.com/16.0/Content/Us ... rtcuts.htm
augustk
 
Posts: 27
Joined: Tue Feb 05, 2019 11:54 am

Re: Keyboard shortcuts in the debugger

Postby Vince|Dyalog on Wed Jun 09, 2021 8:05 am

Hi AugustK,

<TC> is near the bottom of the page, in Table 35: Special Operations.

Regards,

Vince
Vince|Dyalog
 
Posts: 408
Joined: Wed Oct 01, 2008 9:39 am

Re: Keyboard shortcuts in the debugger

Postby Vince|Dyalog on Thu Jun 10, 2021 9:11 am

Hi AugustK,

My colleague Andy points out that you could use ⎕KL which tells the label associated with a keycode.

Andy writes:
      To find all the definitions, he could try
a←⎕a,819⌶⎕a
a←,a∘.,a
z←↑{⍵ (⎕kl ⍵)}¨a
cmds←(z[;1]≢¨z[;2])⌿z
or a bit more terse
cmds←{(⍵[;2]≢¨⍵[;1])⌿⍵}↑{⍵(⎕KL ⍵)}¨,∘.,⍨(⎕A,819⌶⎕A)

and for those with 18.0 onwards use ⎕c ⎕a rather than 819⌶.

Oh, and FWIW in 18.1 ⎕kl will work in Unicode.

For readers who are non-Windows users, the Appendices in the UNIX User Guide list the commands and common ways of being able to type them.

Are you able to upgrade to a newer version than 16.0 Classic?

Regards,

Vince
Vince|Dyalog
 
Posts: 408
Joined: Wed Oct 01, 2008 9:39 am

Re: Keyboard shortcuts in the debugger

Postby Vince|Dyalog on Mon Jun 14, 2021 8:19 am

For users of Unicode Dyalog, my colleague Adám points out that you can also see a list of all these special keyboard shortcuts by hovering over the ⌨ keyboard icon on the APL Language Bar.
Vince|Dyalog
 
Posts: 408
Joined: Wed Oct 01, 2008 9:39 am


Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest