bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] A GTK wrapper for GNU APL


From: Chris Moller
Subject: Re: [Bug-apl] A GTK wrapper for GNU APL
Date: Thu, 14 Aug 2014 13:30:24 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Now that my eyeballs have gone all squiggly staring at alien characters, I think the latest push has the right keymap and keymap pop-up.

The GNU APL Avec.def file doesn't contain a "CENT" reference, so I faked one in aplwrap.  So far as I can tell, APL is cool with it as a character; it doesn't seem to break anything.

Chris

On 08/13/14 18:41, Blake McBride wrote:
Dear Chris,

Thanks.  That looks a lot better.  A couple of things I did notice, however.

1.  I noticed that the way your program maps is affected by my kxb settings.  Didn't expect that.  I completely rebooted my machine to eliminate any mapping issues.

2.  Keymap errors:

Format ⍕ is mapped to the bottom right key.  Should be slash-minus.  Quad-colon is missing on that same key too.

⍬ (zilde) is not mapped to the key with →

⍣(power) is not mapped to the P key

⍥ is not mapped to the O key

Cent key is missing form the C key.

Interestingly, I was able to get some of the above keys working by playing with my mappings, but the above results are with a rebooted machine and no mappings performed.


3.  Menu item Help / Keymap has some errors

Bottom right key has format on it.  Should be slash-minus.

F key is missing the underscore

The branch key is missing the zilda ⍬

4.  String display and display alignment

When I do a )FNS in GNU APL without aplwrap I get:

      )LOAD Utils
SAVED 2014-08-13 15:53:47 (GMT-5)
      )FNS
AddDays     Ail         Aln         Auto        Box             CAL
CCJ         CJ          CS          CSV∆Parse   CSV∆dequote     Catc
Catr        Change      Clear       Convt       Ctit            DATETIME
DIV         Date        Delete      Dtfmt       Dyofwk          EHN
ER          Ealn        Edit        Eoi         Err             Estart
Expd        Expnd       E∆          E∆Add       E∆Ail           E∆CJ
E∆CS        E∆Change    E∆Clear     E∆Copy      E∆Ctit          E∆DIV
E∆Delete    E∆EHN       E∆ER        E∆Ealn      E∆Edit          E∆EditLine
E∆Eoi       E∆LP        E∆LPH       E∆Lck       E∆List          E∆Move
E∆New       E∆O         E∆Omega     E∆PI        E∆Parse         E∆Pim
E∆Pin       E∆Pis       E∆Piv       E∆RND       E∆RS            E∆Replace
E∆Revert    E∆SS        E∆Save      E∆Screen    E∆VI            E∆Vck
FILE_IO     Fcj         Fld         Flj         Fn              Frj
Iota        JUL         LJ          LS          Lck             Lcn
Lhf         List        Lst         Mmofyr      Move            Mul
New         NumbStr     O           Omega       OpenPrinter     Out
PI          Parse       Parse2      Pg          Pic             Picd
Pid         Pim         Pin         Pis         Piv             Pnt
RJ          RND         RS          Rank        Rep             Replace
Rev         Roman       Romanu      Rot         Rpt             RptBt
RptPt       Rptc        Rpts        Rst         Screen          Sink
Sort        Sort1       Sort2       Srl         Subscn          Time
Tmfmt       To          Today       Trunc       UL              UL2
UL3         Unbox       Unique      VI          Vck             WPrintWS2
∆           ∆DT         ∆DT2        ∆LLP        ∆LP             ∆LPH
∆RD         ∆SS


However, with aplwrap, I get:

     )LOAD Utils 
SAVED 2014-08-13 15:53:47 (GMT-5)

      )FNS
AddDays     Ail         Aln         Auto        Box             CAL
CCJ         CJ          CS          CSV∆Parse   CSV∆dequote     Catc
Catr        Change      Clear       Convt       Ctit            DATETIME
DIV         Date        Delete      Dtfmt       Dyofwk          EHN
ER          Ealn        Edit        Eoi         Err             Estart
Expd        Expnd       E∆          E∆Add       E∆Ail           E∆CJ
E∆CS        E∆Change    E∆Clear     E∆Copy      E∆Ctit          E∆DIV
E∆Delete    E∆EHN       E∆ER        E∆Ealn      E∆Edit          E∆EditLine
E∆Eoi       E∆LP        E∆LPH       E∆Lck       E∆List          E∆Move
E∆New       E∆O         E∆Omega     E∆PI        E∆Parse         E∆Pim
E∆Pin       E∆Pis       E∆Piv       E∆RND       E∆RS            E∆Replace
E∆Revert    E∆SS        E∆Save      E∆Screen    E∆VI            E∆Vck
FILE_IO     Fcj         Fld         Flj         Fn              Frj
Iota        JUL         LJ          LS          Lck             Lcn
Lhf         List        Lst         Mmofyr      Move            Mul
New         NumbStr     O           Omega       OpenPrinter     Out
PI          Parse       Parse2      Pg          Pic             Picd
Pid         Pim         Pin         Pis         Piv             Pnt
RJ          RND         RS          Rank        Rep             Replace
Rev         Roman       Romanu      Rot         Rpt             RptBt
RptPt       Rptc        Rpts        Rst         Screen          Sink
Sort        Sort1       Sort2       Srl         Subscn          Time
Tmfmt       To          Today       Trunc       UL              UL2
UL3         Unbox       Unique      VI          Vck             WPrintWS2
∆           ∆DT            DT2        ∆LLP        ∆LP             ∆LPH
∆RD         ∆SS


Look at the ∆DT2 at the bottom of each.  Look at the subsequent alignment on that line.  Remember this is the same workspace.


Thanks.

Blake


On Wed, Aug 13, 2014 at 12:33 PM, Chris Moller <address@hidden> wrote:
I've just pushed a new version to github. 

  • Switched to the FreeMono font rather than the SimPL font.  ]keyb still doesn't look right, but I think it's the box characters screwing up and not the normal characters. Mono is now the default; use the -v option if you  want variable width.
  • Revised the keymap to match ]keyb.  There are a few symbols, circle-diaresis, star-diaresis, and quad-colon that GNU APL doesn't seem to support, and since I'm basing my keymap on the GNU APL Avec.def file, nothing happens when you press those keys.  Let me know if that's a problem and I'll try to do something about it.  Also, in the real world, diamond is on the alt-backquote key but KDE-world intercepts that key and there's no way to change that, so I've mapped diamond to the otherwise unused alt-d. ]keyb also shows a bizarre symbol, a tilde-zero or something like that, on alt-].  I  can't find anything similar in the Unicode tables, so I'm ignoring it,  Let me know if that's a problem.

Have fun,
cm


On 08/13/14 00:11, Blake McBride wrote:
Dear Chris,

Wow.  Very nice!  A few things I noticed:

1.  The -m did not put it in mono font for me (using current GIT).

2.  Mono font really should be the default otherwise nothing displays correctly.  Try ]keyb.  Try 5 5⍴⍳25

3.  You are using an old keyboard mapping.  It doesn't match the output of ]keyb.  It also doesn't match my actual keyboard (which was designed to match the GNU APL standard.)

Thanks.

Blake






reply via email to

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