bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] aplwrap: bell & ANSI controls


From: Chris Moller
Subject: Re: [Bug-apl] aplwrap: bell & ANSI controls
Date: Mon, 08 Sep 2014 13:08:57 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

There was some discussion about setting the TERM environment variable, which David Lamkins did for aplwrap, setting it to "dumb"--i.e., aplwrap doesn't understand terminal controls.  Nothing says it can't be made to do so, but I've no idea at the moment the scope of work involved.

FWIW, though, I just pushed a patch that at least filters output from APL so it replaces unprintable characters (⎕av[⎕io+⍳32]) with spaces--⎕av used to be pretty ugly.  It also catches the ASCII BEL character (⎕AV[⎕IO+7]) and tries to emit a beep through the right GDK function, but that doesn't work in my hardware.  YMMV.

cm

On 09/08/14 10:12, Blake McBride wrote:
This was fixed before but doesn't work anymore.  I use it a lot, and having it work just like GNU APL without APLWRAP is very useful to me.

Thanks.

Blake



On Mon, Aug 18, 2014 at 10:23 AM, Blake McBride <address@hidden> wrote:
Greetings,

Some of my error handling code uses the bell (⎕AV[⎕IO+7]), and my editor uses some ANSI positioning sequences. I think all I use is clear and go to top of screen as follows:

    ∇
[0]   E∆Clear
[1]   ⍞←(⎕UCS 27),'[2J'
[2]   ⍞←(⎕UCS 27),'[1;1H'
    ∇

Anyway to get that working?

Thanks.

Blake




reply via email to

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