APL Keyboard map for X Windows

APL Keyboard map for X Windows

Post by Tim Nelso » Wed, 24 Jun 2009 14:38:37


k, I've included the APL keyboard map for X Windows below. No doubt
there will be people who are unhappy with it, but it should be a starting
point at least. There's also no Compose map. Maybe I'll get that
finished someday too. As I'm not an APL programmer, I'm not going to be
returning here regularly, but if anyone wants to e-mail me with comments
and suggestions about this file, that would be fine.

HTH,

------------------------------------------------------------


// APL Keyboard Layouts

// This file supports:
// - The Sharp APL for Unix (SAX) layout
// - The IBM APL2 layout
// - The Manugistics APL*PLUS II (Version 5.1, 1993) keyboard layout

// Unicode APL table: http://aplwiki.com/UnicodeAplTable
// ...and another: http://publibfp.boulder.ibm.com/epubs/pdf/h2110611.pdf
(appendix A)
// Generic Unicode stuff: http://www.fileformat.info/info/unicode/
category/index.htm

// Tim Nelson (this file's creator) says:

// This file doesn't deal with all the combining stuff -- I'm not an APL
// programmer, and am not quite sure what's needed here. However, it may
be
// possible to get this working with dead keys and the like. Patches
// gratefully accepted. On my system, it would be helpful to look in
// /usr/share/X11/locale/en_US.UTF-8/Compose for details.

// Some of the shift-key assignments may differ from the APL tradition.
If
// that's not considered acceptable, it should be possible to remap the
// shift keys. I have striven, however, to ensure that the use of shift
keys
// in these maps is at least self-consistent.

// I'm assuming that this will be used with another keyboard layout (ie.
for
// your language), with a Level3 (and in some cases Level 5) shift key to
use
// these maps.

partial alphanumeric_keys modifier_keys
xkb_symbols "common" {
name[Group1]= "APL Keyboard Symbols: Common";

key <AE01> { [ NoSymbol, NoSymbol,
diaeresis ] };
key <AE02> { [ NoSymbol, NoSymbol, U00AF ] }; //
-- Macron
key <AE03> { [ NoSymbol, NoSymbol, less ] };
key <AE04> { [ NoSymbol, NoSymbol, U2264 ] }; //
-- Less-than Or Equal To
key< { [ NoSymbol, NoSymbol, equal ] };
key< { [ NoSymbol, NoSymbol, U2265 ] }; //
-- Greater-than Or Equal To
ke< { [ NoSymbol, NoSymbol, greater ] };
ke< { [ NoSymbol, NoSymbol, U2260 ] }; //
-- Not Equal To
k<y { [ NoSymbol, NoSymbol, U2228 ] }; //
-- Logical Or
<ey <>E10> { [ NoSymbol, NoSymbol, U2227 ] }; //
-- Logical And

// Q
key >AD01> { [ NoSymbol, NoSymbol,
question ] };
// W
key >AD02> { [ NoSymbol, NoSymbol,
U2375 ] }; // -- APL Functional Symbol Omega
// E
k<y> { [ NoSymbol, NoSymbol,
U220A ] }; // -- Small Element Of
// R
<e> { [ NoSymbol, NoSymbol,
U2374 ] }; // -- APL Functional Symbol Rho
// T
<k>y { [ NoSymbol, NoSymbol,
asciitilde ] };
// Y
<k>y { [ NoSymbol, NoSymbol,
U2191 ] }; // -- Upwards Arrow
// U < >ey { [ NoSymbol, NoSymbol,
U2193 ] }; // -- Downwards Arrow
// I< -- APL Functional Symbol Iota
// < > key { [ NoSymbol, NoSymbol, U25CB ] }; //
-- White Circle
//<P> key { [ NoSymbol, NoSymbol, U22C6 ] }; //
-- Should this be a plain asterisk, or the star operator???
/< >
key { [ NoSymbol, NoSymbol, U2190 ] }; //
 
 
 

APL Keyboard map for X Windows

Post by urbancam » Wed, 24 Jun 2009 17:02:13

Thanks Tim,

I suppose I should try it out really, seeing as I'm staring at the
keyboard in that picture ;)

Mark.