[Bug-apl] Assertion failure after indexing ⍺ or ⍵

2014-08-16 Thread Kacper Gutowski
{1=⍵} ,1 1 {1=⍵[1]} ,1 1 {⍵=1} ,1 1 {⍵[1]=1} ,1 == Assertion failed: Avec::is_quad(idname[0]) in Function: get_nc in file: NamedObject.cc:42 Call stack:

[Bug-apl] Possible bugs in ]keyb output

2014-08-16 Thread Chris Moller
For a few days, David Lamkins and I have been kicking around a problem in the ]keyb output. Turns out the least tractable of these seems to be the result of two different utf8 sequences used for the epsilon-underbar character: ]keybuses utf8 e2 8b b8, unicode 22f8, "ELEMENT OF WITH UNDERB

[Bug-apl] MacAplAlt.keylayout & updated Installation Guide

2014-08-16 Thread Peter Teeson
I have a Mac keyboard layout available as well as an updated Installation Guide. May I suggest that a new folder be created in /support-files named OS X-keyboard? The Guide provides manual instructions on how to install it - a simple drag and drop to either /Library/Keyboard Layouts or preferab

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

2014-08-16 Thread Chris Moller
I'm not sure what you're trying to do. Would this do it? if (((key_event->state == 0 || key_event->state == GDK_MOD2_MASK) && key_event->keyval == GDK_KEY_Return) || (key_event->state == GDK_MOD2_MASK && key_event->keyval == GDK_KEY_KP_Enter)) { // se

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

2014-08-16 Thread Frederick H. Pitts
Chris, I'm using if ( /* Filter out NumLock status from event state */ ( key_event->state & ~ GDK_MOD2_MASK ) == 0 && ( key_event->keyval == GDK_KEY_Return || /* Honor numeric keypad enter key */ key_event->keyval == GDK_KEY_KP_Enter )

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

2014-08-16 Thread Chris Moller
Applied, committed, and pushed to github. Chris Retired Computer Engineer On 08/16/14 17:51, Frederick H. Pitts wrote: Chris, I'm using if ( /* Filter out NumLock status from event state */ ( key_event->state & ~ GDK_MOD2_MASK ) == 0 && ( key_event->k

Re: [Bug-apl] Additional issues with aplwrap

2014-08-16 Thread David B. Lamkins
1 and 2 should be resolved with the most recent push. On Wed, 2014-08-13 at 18:23 -0500, Blake McBride wrote: > 1. Space issue while defining functions: > > > GNU APL > > > > > ∇test > [1] 1 > [2] 2 > [3] 3 > [4] ∇ > > > > APLWRAP: > > > ∇test > > > [1] 1 > > > [2] 2 >

[Bug-apl] Requesting a couple of minor keyboard tweaks.

2014-08-16 Thread David B. Lamkins
There are two small tweaks that I'd like to see w.r.t. key mapping and binding: 1. GNOME binds alt-` to rotate through an applications windows, making this keystroke unavailable for ◊ in aplwrap. Through trial and error I discovered that I can use ctrl-alt-` instead. While documenting this would

Re: [Bug-apl] Requesting a couple of minor keyboard tweaks.

2014-08-16 Thread Chris Moller
On 08/16/14 22:09, David B. Lamkins wrote: There are two small tweaks that I'd like to see w.r.t. key mapping and binding: 1. GNOME binds alt-` to rotate through an applications windows, making this keystroke unavailable for ◊ in aplwrap. Through trial and error I discovered that I can use ctrl

Re: [Bug-apl] Requesting a couple of minor keyboard tweaks.

2014-08-16 Thread David B. Lamkins
On Sat, 2014-08-16 at 22:45 -0400, Chris Moller wrote: > > On 08/16/14 22:09, David B. Lamkins wrote: > > > There are two small tweaks that I'd like to see w.r.t. key mapping and > > binding: > > > > 1. GNOME binds alt-` to rotate through an applications windows, making > > this keystroke unavai

Re: [Bug-apl] Requesting a couple of minor keyboard tweaks.

2014-08-16 Thread Chris Moller
The built-in keymap image in aplwrap Help>>Keymap shows diamond on alt-shift-D. Between older keyboards that have Break but not Windows, and newer that have Windows but not Break, I don't think interrupting on ctrl-Period is necessary, so I left that out. Other than that, it's been pushed. On

Re: [Bug-apl] Requesting a couple of minor keyboard tweaks.

2014-08-16 Thread David B. Lamkins
Thanks. On Sun, 2014-08-17 at 01:12 -0400, Chris Moller wrote: > The built-in keymap image in aplwrap Help>>Keymap shows diamond on > alt-shift-D. > > Between older keyboards that have Break but not Windows, and newer > that have Windows but not Break, I don't think interrupting on > ctrl-Period