Keyboard shortcuts in the debugger
6 posts
• Page 1 of 1
Keyboard shortcuts in the debugger
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
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:
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
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: 444
- Joined: Wed Oct 01, 2008 9:39 am
Re: Keyboard shortcuts in the debugger
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
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
Hi AugustK,
<TC> is near the bottom of the page, in Table 35: Special Operations.
Regards,
Vince
<TC> is near the bottom of the page, in Table 35: Special Operations.
Regards,
Vince
- Vince|Dyalog
- Posts: 444
- Joined: Wed Oct 01, 2008 9:39 am
Re: Keyboard shortcuts in the debugger
Hi AugustK,
My colleague Andy points out that you could use ⎕KL which tells the label associated with a keycode.
Andy writes:
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
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: 444
- Joined: Wed Oct 01, 2008 9:39 am
Re: Keyboard shortcuts in the debugger
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: 444
- Joined: Wed Oct 01, 2008 9:39 am
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group