|
From: | Blake McBride |
Subject: | Re: [Bug-apl] Is there a way to clear the screen? |
Date: | Mon, 26 May 2014 19:51:00 -0500 |
Blake,
If you are looking for instant gratification,
⍞ ← (⎕UCS 27), '[2J'
will do the job on any terminal that honors ansi escape sequences.
Regards,
Fred
Retired Chemical Engineer
On Mon, 2014-05-26 at 19:29 -0500, Blake McBride wrote:
> Dear Elias,
>
>
> On one hand, I would still love to see a basic ^L ability without
> having to get into external code.
>
>
> On the other hand, perhaps I should start to take a look at library
> code. (I actually have over 20 years of C experience.) I fear my
> reaction once I see how it works. I'm sure the possibilities are
> endless. I haven't even looked at it yet. Is there a hello world
> sample?
>
>
> Thanks.
>
>
> Blake
>
>
>
>
> On Mon, May 26, 2014 at 6:47 PM, Elias Mårtenson <address@hidden>
> wrote:
> The correct way to do that is to use the native interface to
> provide an interface to Curses. It should be fairly trivial to
> implement.
>
>
> On 27 May 2014 07:32, "Blake McBride" <address@hidden>
> wrote:
> >
> > If I execute ⎕AV[8] the terminal sounds the bell. If I type
> ^L my xterm screen clears. I need one of the ⎕AV characters
> to do what ^L does. That gives me the absolute basics of
> screen IO.
> >
> > Thanks.
> >
> > Blake
> >
>
>
>
>
>
[Prev in Thread] | Current Thread | [Next in Thread] |