bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Building on OS X 10.8.5 Mountain Lion - SOLVED and How to


From: Peter Teeson
Subject: Re: [Bug-apl] Building on OS X 10.8.5 Mountain Lion - SOLVED and How to setup your keyboard.
Date: Fri, 14 Mar 2014 11:18:48 -0400

OK. I am in the process of making a LATeX doc and will also update README-6-porting and send it to you when done.


respect….

Peter
On 2014-03-14, at 9:52 AM, Juergen Sauermann <address@hidden> wrote:

Hi Peter,

my plan was to include your information in our README-6-porting in the next release.

I am currently preparing that release, but have not reached that point yet because
I am working on keyboard input related proposals and methods.

Please feel invited to send an updated README-6-porting; I would be happy
to include that.

/// Jürgen


On 03/13/2014 10:12 PM, Peter Teeson wrote:
Sorry to intrude but…..
Is there a better list to share these steps about using your lovely implementation on Mac?
I can make a better formatted form (via TeX if desired).

The solution is much simpler. For Xcode 5:
Launch Xcode
Go to Xcode menu and select Preferences and Downloads
Choose Install Command Line Tools and click on Install.

Open Terminal and follow usual steps of ./configure, make, sudo make install.
It all works flawlessly (except for a whole bunch of warnings).
Attached is the log FWIW

The compiler used is llvm clang.

I'm also able to use the Mac keyboard with the APL font. Here is how.

Go to <http://www.dyalog.com/resources/>
Download the APL385 font (also the APL333 one if desired).
for OS X: Copy the font to /Library/Fonts/ (for all users) or ~/Library/Fonts for just yourself (which is what I did)
In the OS X Font & Keyboard section download the Dyalog APL for Unix Apple Macintosh Supplement (which is a pdf)
Try to download Dyalog Keyboard Layout for OS X. Your browser will not be able to do this. If you try you will likely see this
XML Parsing Error: reference to invalid character number
Line Number 96, Column 36:            <key code="51" output="&#x0008;"/>
-----------------------------------^
I contacted Dyalog and they sent me an email with it attached. Support said 

The XML error occurs as the keylayout file is an XML file, and Firefox is
trying to read it.
I've let my colleagues know of this and we'll try to improve that link.

Follow the instructions in the Dyalog APL for Unix Apple Macintosh Supplement.

In my case I setup a Terminal settings.terminal file with the APL385 as the font.
The keyboard layout should be placed in Library/Keyboards Layouts folder (or ~/Keyboard Layouts) which is what I did
You need to re-boot after that step. Now you're good to go.
Open a terminal window with the right settings.
From the menu bar Language menu (in my Case Canadian English) select the Dyalog Alt keyboard.
One other very nice feature that comes standard with OS X is the Keyboard Viewer.
From the Language menu select it, place it where you wish, launch APL in the Terminal window and have fun.

respect…

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]