[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] FILE_IO/apl.html keyboard.txt keyboard1.txt keyboard.png attac
From: |
enztec |
Subject: |
[Bug-apl] FILE_IO/apl.html keyboard.txt keyboard1.txt keyboard.png attachments |
Date: |
Thu, 24 Apr 2014 11:22:52 -0600 |
Thanks Jürgen for pointing out the FILE_IO help display
on my svn 220 install the apl.html only gave up to FUN[ 3] as options - so I
missed it
on my svn 220 install the FUN '' or '' FUN '' shown on the apl.html
both give DOMAIN ERROR while FUN[0] '' or '' FUN[0] '' give the FULL help
-
using this as popen/fgets example
http://pubs.opengroup.org/onlinepubs/009696699/functions/popen.html the apl
doesn't end read with NULL but there is no ⎕av char 10 at end of the line after
'good data' (I could use some explanation about what is happening here if
someone knows)
a testing apl function i used is
[0] rs←ls;fp;a
[1] 'lib_file_io.so' ⎕FX 'FILE_IO'
[2] fp←'r' FILE_IO[24] '/bin/ls'
[3] rs←a←''
[4] l1:
[5] a←5000 FILE_IO[8] fp
[6] a
[7] ⍎(10≠1↑⌽a)/'FILE_IO[25] fp ◊ →0'
[8] rs←rs,a←⎕av[1+a]
[9] a
[10] ⍴a
[11] →l1
my apl install adds its own line breaks with just 'ls' so i needed to use
'⍞←ls' for correct display
(I actually made a generic 'rs←host args' fns that returns rs as an array of
the results so this is just a testing fns)
---
I have attached an updated keyboard.txt and keyboard1.txt (from supported-files
dir) with the newly added alt-shift-x key addition 'χ' (xX⊃χ) that was in the
new support-files/apl.xmodmap and not in the keyboard.txt or keyboard1.txt yet
also attached a quick scrot -s of the keyboard.txt (keyboard.png) that i use
with 'feh -x keyboard.png' as popup on a fluxbox function key in case anyone
can use it
-
xmodmap apl char support
The original apl.xmodmap has a typo keycode 76 = F1 -> keycode 76 = F10
(It gives a fluxbox keys warning/error)
I use right-alt and shift-right-alt for apl keys on debian (leaving left-alt
for use for fluxbox key bindings or application key bindings) - by just
redefining 'keycode 108 = Alt_R Meta_R Alt_R Meta_R' to 'keycode 108 =
Mode_switch Meta_L' on the support-files/apl.xmodmap (both left and right alt
keys were doing apl chars on my default debian keyboard map so this makes left
alt a Mod1 key for the fluxbox keys)
On my lfs/blf/mandrake hybrid linux system I assigned the apl chars to the
Alt_GR/right-alt and shift-right-alt directly by editing the
support-files/apl.xmodmap and shifting the apl chars key definitions right two
place by inserting NoSymbol NoSymbol
---
If anyone wants more info please just ask
enztec
my apl centric signature → I use ⍎ and +.= whenever possible - just cause I can
---
keyboard.txt
Description: Binary data
keyboard1.txt
Description: Binary data
keyboard.png
Description: Binary data