Dear List,
I feel seriously intellectually challenged. I have compiled gnu apl under
NetBSD (SVN-1271) and all went fine.
But I'm just not up to configuring the X Window System to support APL input and
output. These are the steps I've taken so far:
1. set the locale to en_US. UTF-8 (by setting LC_ALL=en_US. UTF-8).
2. Compile the file trunk/
support-files/old-Keyboard/apl.xkm resulting in a file apl.xkb in the current
directory.
3. Try to configure the keyboard. A sample session looks like: (see attached
typescript).
4. I have not even attempted to add the APL fonts to a font directory. More
fun.
Is there any guide on doing this? ELI5, preferably in words of one syllable or
less.
Or should I give up on APL altogether?
With frustrated salutations,
-- Alexander
--
You have zero privacy anyway. Get over it.
Scott McNealy 1999
Script started on Mon Apr 27 19:52:31 2020
alex-pinebook$ setxkbmap -lauyout apl -variant sax -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Trying to load rules file ./rules/base...
Trying to load rules file /usr/X11R7/lib/X11/xkb/rules/base...
Success.
Applied rules from base:
rules: base
model: pc105
layout: apl
variant: sax
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+apl(sax)+inet(pc105)
geometry: pc(pc105)
Error loading new keyboard description
alex-pinebook$ setxkbmap -layout us,apl -variant sax -config ./apl.xkb -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Didn't find file ././apl.xkb
Didn't find file /usr/X11R7/lib/X11/xkb/./apl.xkb
Couldn't find configuration file "./apl.xkb"
alex-pinebook$ setxkbmap -layout us,apl -variant sax -config ./apl.xkb -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Didn't find file ./apl.xkb
Didn't find file /usr/X11R7/lib/X11/xkb/apl.xkb
Couldn't find configuration file "apl.xkb"
alex-pinebook$ pwd
/home/alexshendi/sources/packages/trunk/support-files
alex-pinebook$ setxkbmap -layout us,apl -variant sax -config ../apl.xkb -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Found file ./../apl.xkb
Couldn't parse configuration file "../apl.xkb"
alex-pinebook$ cd ..
alex-pinebook$ setxkbmap -layout us,apl -variant sax -config ./apl.xkb -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of rules file
Using command line, ignoring X server
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Trying to load rules file ./rules/./apl.xkb...
Trying to load rules file /usr/X11R7/lib/X11/xkb/rules/./apl.xkb...
Couldn't find rules file (./apl.xkb)
alex-pinebook$ setxkbmap -layout us,apl -variant sax -rules ./apl.xkb -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Trying to load rules file ./rules/base...
Trying to load rules file /usr/X11R7/lib/X11/xkb/rules/base...
Success.
Applied rules from base:
rules: base
model: pc105
layout: us,apl
variant: sax
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+inet(pc105)+apl:2
geometry: pc(pc105)
Error loading new keyboard description
alex-pinebook$ locale
LANG=""
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="C"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LANG=en_US.UTF-8 setxkbmap -layout us,apl -variant sax -I. -v 8
Setting verbose level to 8
locale is C
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Trying to load rules file ./rules/base...
Trying to load rules file /usr/X11R7/lib/X11/xkb/rules/base...
Success.
Applied rules from base:
rules: base
model: pc105
layout: us,apl
variant: sax
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+inet(pc105)+apl:2
geometry: pc(pc105)
Error loading new keyboard description
alex-pinebook$ exit
Script done on Mon Apr 27 20:00:00 2020