I got the expression to work if I explicitly put newlines in the passed-in
expression, eg.
$ echo -e "2\nsqrt(x³)\nexit\n" | python3 /usr/local/bin/integral.py
<→WRAPPER-STARTED→>.
<→MODULES-IMPORTED→>.
_____
2⋅x⋅╲╱ x³
───────────
5
<→DONE→>. (/usr/local/bin/integral.py)
On Thu, Jan 29, 2026 at 9:00 AM <[email protected]> wrote:
> Send Bug-apl mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnu.org/mailman/listinfo/bug-apl
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bug-apl digest..."
>
>
> Today's Topics:
>
> 1. Re: Bug-apl Digest, Vol 146, Issue 16 (Christian Robert)
> 2. An other ]keyb - missing apl chars (Hans-Peter Sorge)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 28 Jan 2026 20:41:18 -0500
> From: Christian Robert <[email protected]>
> To: [email protected]
> Subject: Re: Bug-apl Digest, Vol 146, Issue 16
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Exact same error message here but with "Python 3.14.2" on Fedora 43.
>
>
> Xtian.
>
> On 2026-01-28 14:00, Russtopia wrote:
> > Hello,
> >
> > I just verified that
> >
> > sudo make install
> >
> > does indeed put integral.py in my /usr/local/bin, with execute perms.
> >
> > I must still have something wrong with my Python setup, though:
> >
> > $ echo "2 sqrt(x³)" | python3 /usr/local/bin/integral.py
> > <→WRAPPER-STARTED→>.
> > <→MODULES-IMPORTED→>.
> > Traceback (most recent call last):
> > File "/usr/local/bin/integral.py", line 133, in <module>
> > expr = input_filter(input())
> > EOFError: EOF when reading a line
> >
> > $ python3 --version
> > Python 3.9.2
> >
> > -Russ
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.gnu.org/archive/html/bug-apl/attachments/20260128/fa3cfd28/attachment.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 29 Jan 2026 17:45:02 +0100
> From: Hans-Peter Sorge <[email protected]>
> To: "[email protected]" <[email protected]>
> Subject: An other ]keyb - missing apl chars
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi,
>
> from SVN 1949M
>
> I get
>
> ]keyb
> US Keyboard Layout. Source: xmodmap -pk
>
>
> ╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
> ║ °⌻ ║ !! ║ "" ║ §§ ║ $$ ║ %% ║ && ║ // ║ (( ║ )) ║ == ║ ?? ║ `÷ ║
> ║
> ║ ^⋄ ║ 11 ║ 22 ║ 33 ║ 44 ║ 55 ║ 66 ║ 77 ║ 88 ║ 99 ║ 00 ║ ßß ║ ´× ║ BACKSP
> ║
>
> ╠════╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦══════╣
> ║ ║ QQ ║ WW ║ EE ║ RR ║ TT ║ ZZ ║ UU ║ II ║ OO ║ PP ║ Ü→ ║ ** ║ ''
> ║
> ║ TAB ║ qq ║ ww ║ ee ║ rr ║ tt ║ zz ║ uu ║ ii ║ oo ║ pp ║ ü← ║ ++ ║ ##
> ║
>
> ╠═══════╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩══════╣
> ║ (CAPS ║ AA ║ SS ║ DD ║ FF ║ GG ║ HH ║ JJ ║ KK ║ LL ║ Ö( ║ Ä) ║
> ║
> ║ LOCK) ║ aa ║ ss ║ dd ║ ff ║ gg ║ hh ║ jj ║ kk ║ ll ║ ö[ ║ ä] ║ RETURN
> ║
>
> ╠═════════╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═════════╣
> ║ ║ YY ║ XX ║ CC ║ VV ║ BB ║ NN ║ MM ║ ;; ║ :: ║ __ ║
> ║
> ║ SHIFT ║ yy ║ xx ║ cc ║ vv ║ bb ║ nn ║ mm ║ ,, ║ .. ║ -- ║ SHIFT
> ║
>
> ╠════╦═════╦══╩══╦═╩════╩════╩════╩════╩════╩════╩══╦═╩═══╦╩════╬═════╦════╣
> ║ ║ ║ ║ ║ ║ ║ !! ║
> ║
> ║CTRL║ Win ║ ALT ║ ║ ALT ║ Win ║ 119
> ║CTRL║
>
> ╚════╩═════╩═════╩══════════════════════════════════╩═════╩═════╩═════╩════╝
>
> Keyboard settings (de, us, apl) to not affect the output.
>
> On my iPad running Termius, connected to either server or laptop, the apl
> sessions reproduce the ]keyb layout, including the apl chars, within
> Termius correctly!
>
> Best Regards
> Hans-Peter
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.gnu.org/archive/html/bug-apl/attachments/20260129/6f383ee7/attachment.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Bug-apl mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-apl
>
>
> ------------------------------
>
> End of Bug-apl Digest, Vol 147, Issue 13
> ****************************************
>