Hi Blake,
never mid. I have added an APL popup window that one can use
for copy-and-paste APL characters.
I am working on an improved keyboard that pushes the characters
clicked into the APL window. It works so far for computing the
proper
character, but I am struggling with hot to transfer the character
from
the keyboard window to the APL window.
I tried a number of alternatives along the lines of:
var form =
window.opener.document.forms["APL_input"]["in_form"];
form.innerHTML = form.innerHTML + key;
While key is correct at this point, it never arrives in the
try-GNU-APL.html window, nor does
the above raise an error. I t very much looks like the destination
being is copied rather
than being referenced so that the key lands in the copy and has no
impact on the original.
/// Jürgen
On 4/7/19 10:49 PM, Blake McBride
wrote:
Now that I think about it a little more. I don't
think the link I gave you will help. I think
shellinabox allows an APL program to run over the net in a
browser, but it didn't allow APL characters to be displayed or
entered.
On Sun, Apr 7, 2019 at
10:49 AM Dr. Jürgen Sauermann < address@hidden>
wrote:
Hi Blake,
I see. Not really sure what a good solution would
be, but my current thinking is that the page
should get a separate column on the left side with
a number of links to other pages that are
related to GNU APL (GNU APL home, GNU APL
community, Bits-and-Pieces, info manual,
etc.).
One of the links could be a copy to a separate
window with an APL keyboard. Or maybe a
"Keyboard" button right to the "Enter:" button. I
am not a web designer so I have to figure how
to do that (ideally such that a click in the
keyboard window is pushed into the input field).
Any help is welcome (the current try-GNU-APL page
is websock/client/apl_js.html in SVN).
Best Regards,
/// Jürgen
On
4/7/19 5:29 PM, Blake McBride wrote:
Hi Jürgen,
I
kind of got all of that. Here is the
problem:
I
use "akt" to get to APL characters. I
don't use any keyboard configuration.
Likewise, those new to APL that wish to
"try" it are not going to have any special
keyboard setup either. The will be using
tryapl.org
with a regular browser on a
not-specially-configured keyboard.
Although I easily get all that you said,
the people interested in "trying" APL
won't.
Thanks.
Blake
On Sun, Apr
7, 2019 at 10:11 AM Dr. Jürgen Sauermann
< address@hidden>
wrote:
Hi
Blake,
there is an input field (after the text"APL
Input:") at the bottom of the page.
You enter your APL command or _expression_
into that field and then press enter
on your keyboard or push the button
labelled "Enter". The text entered then
goes
straight to the GNU APL interpreter.
If your keyboard is configured
accordingly, then you move the cursor
over the input
field (so that it gets the input focus)
and then simply type the APL characters
(using Ctrl-
or Alt- or whatever your keyboard
configuration requires). The normal
keyboard
configuration for GNU APL should do it.
Without a proper keyboard configuration
you can first enter command]keyb
to
display an APL keyboard in the APL
output. From that output you can then
copy
and paste individual APL characters to
the input field (in my browser you mark
the text
and then copy it with the middle mouse
button, like it is commonly done in
X-based systems).
Likewise you can copy and paste longer
APL input lines from other web pages
that display
APL code (in UTF-8 encoding).
Best Regards,
/// Jürgen
On
4/7/19 4:37 PM, Blake McBride wrote:
Interesting, but I
can't figure out how to input APL
characters.
--blake
On
Sat, Apr 6, 2019 at 1:41 PM Dr.
Jürgen Sauermann < address@hidden>
wrote:
|