|
From: | Peter Teeson |
Subject: | Re: Latin-American APL keyboard layout? |
Date: | Wed, 12 Oct 2022 12:40:08 -0400 |
There is this marvellous utility that I have used. It might be helpful. https://software.sil.org/ukelele/ If the user is on an Apple Mac then this extract from the Installation Guide may be helpful. Keyboard Setup To make the keyboard work correctly with the APL interpreter we need two things - a correct APL font and a mapping of the keyboard key codes. Fortunately these are both available. The fonts I used are from http://dyalog.com/apl-font-keyboard.htm. Here is a quote from that page: This page contains resources that are believed to be of general
interest to the APL community. The fonts are freely available,
to everyone irrespective of whether you use Dyalog
(or any other APL system for that matter).
Indeed they are and we applaud Dyalog for making them available. ![]() (1) Installing the APL Fonts. Download the APL385 font, and also APL333 if you want a proportional version. You can save them in your usual download place and manually install them. Alterately when prompted select the default Open with Font Book. Installing it in /Library/Fonts/ will make it available to all Accounts on this computer. In my case I placed it in my user account at ~/Library/Fonts/ instead. That was easy. (2) A keyboard layout. There is one available on the same web page but it is for UK Dyalog users. For GNU APL there is a recommended one provided in the distribution which fully matches that displayed with the ]keyb command. You can find it in the support-files folder in the OS-X-keyboard folder. It is the MacAplAlt.keylayout file. You install it by copying it to /Library/Keyboard Layouts which makes it available for all users or ~/Library/Keyboard Layouts for just that user. (3) Terminal Settings Terminal Help gives instructions for these. However you might not want to use the defauts.. My personal preference is to make a new Profile from the Preferences Profiles menu by selecting New Window and then choosing MacAplAlt. Set the Font attributes using the Text tab in the Profiles window. (4) Using Terminal with APL Start a Terminal window and, from the Input Source (a.k.a. Language) menu, top right on the Menu Bar, select MacAplAlt. Also select Show Keyboard Viewer from the same menu. Now you can see the key mappings; press the alt key and voila your familiar APL symbols. Try Shift+Alt to get the rest. Type apl in the terminal window and enjoy. respect…. Peter
|
[Prev in Thread] | Current Thread | [Next in Thread] |