bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] akt (APL Keyboard Translator) version 2.0


From: David B. Lamkins
Subject: [Bug-apl] akt (APL Keyboard Translator) version 2.0
Date: Sat, 23 Jul 2016 00:16:26 -0700
User-agent: Mutt/1.6.1 (2016-04-27)

A while ago I wrote a small utility to remap a keyboard and pipe the output to 
another program. It worked, but there are some programs (shells, some visual 
editors) that either won't function with input from a pipe or (GNU APL) behave 
differently with piped input. This was `akt` version 1, which had some rough 
edges beyond the interoperability issues.

I've just completed `akt` version 2. This takes an entirely different approach. 
Rather than pipe the translated keystrokes to another program, `akt` version 2 
attaches to the other program via a pseudo-tty. To run GNU APL, simply `akt apl 
...`. To edit an APL file in vim, it's `akt vim ...`. You can even run a shell 
with an APL keyboard: `akt sh`.

I haven't yet put `akt` version 2 in its own repo. It's part of my development 
version of the package manager. You can download the needed files as:

$ curl -LO 
https://raw.githubusercontent.com/TieDyedDevil/apl-pkg/percy/extra/akt/akt.c
$ curl -LO 
https://raw.githubusercontent.com/TieDyedDevil/apl-pkg/percy/extra/akt/Makefile

Build the program:

$ make akt

Put it on your $PATH, then:

$ akt apl

Use the Alt key to access APL characters. The keyboard layout is here:

$ curl -LO 
https://raw.githubusercontent.com/TieDyedDevil/apl-pkg/percy/extra/keyboard1.txt



reply via email to

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