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.

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

Postby Vince|Dyalog on Tue Feb 01, 2011 1:46 pm

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.
Vince|Dyalog
 
Posts: 408
Joined: Wed Oct 01, 2008 9:39 am

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

Postby RichardP|Dyalog on Thu Mar 30, 2023 8:10 am

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).
RichardP|Dyalog
 
Posts: 30
Joined: Fri Oct 12, 2018 3:05 pm


Return to Frequently Asked Questions (FAQ)

Who is online

Users browsing this forum: Bing [Bot] and 1 guest