Why don't Ctrl-X, Ctrl-C, and Ctrl-V work in Dyalog Unicode?

The Dyalog "Knowledgebase". This forum is read-only
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.
Post Reply
Vince|Dyalog
Posts: 439
Joined: Wed Oct 01, 2008 9:39 am

Why don't Ctrl-X, Ctrl-C, and Ctrl-V work in Dyalog Unicode?

Post by Vince|Dyalog »

We have an option in Options/Configure/Keyboard Shortcuts to allow you to specify whether to use Ctrl-x,c,v for clipboard operations or for generating the APL characters ⊃∩∪.

The following advice applies to versions 13.0 onwards of the Dyalog Unicode IME.

After un-ticking this checkbox, you will also need to tell the Unicode IME to generate the APL characters for these keystrokes.

You do this by editing the Unicode IME translate table file.

1) in Options|Configure|Unicode Input, choose the Unicode IME and hit the Configure Layout button. The next dialog will tell you where the translate table file for the Unicode IME is.
In a normal installation, that will be "C:\Program Files\Dyalog\UnicodeIME\aplkeys\". The translate table files have a .din extension. Let us use en-US.din as an example.

2) On Windows 7 (and 8), you will need to start your text editor such as notepad.exe with “Run as Administrator” in order to be able to successfully edit the en-US.din file

Hit the Windows logo button, and type notepad.exe into the "Search programs and files" edit field. When you can see a notepad icon, right click on it and choose "Run as Administrator".

3) In the text editor, File|Open and choose the translate table .din file found in step 1.

4) Find these lines and remove the + sign in front of them:

+,8834=Ctrl+z : 2 90 + Left-Shoe (Enclose) Uncomment for APL usage not Windows
+,8835=Ctrl+x : 2 88 + Right-Shoe (Disclose) Uncomment for APL usage not Windows
+,8745=Ctrl+c : 2 67 + Up-Shoe (Intersect) Uncomment for APL usage not Windows
+,8746=Ctrl+v : 2 86 + Down-Shoe (Union) Uncomment for APL usage not Windows

5) Save your changes.

6) Restart Dyalog.
RichardP|Dyalog
Posts: 33
Joined: Fri Oct 12, 2018 3:05 pm

Re: Why don't Ctrl-X, Ctrl-C, and Ctrl-V work in Dyalog Unic

Post by RichardP|Dyalog »

Also Ctrl+Alt+Backspace will suspend the IME for one keystroke. That is, the subsequent keystroke (e.g. Ctrl+S) will revert to standard behaviour and not cause glyph output instead (save file in this example).
Post Reply