That's a very alluring thing. :-) It's bad though, since it will come out as garbage if the output device does not support it.
On 27 May 2014 08:43, "Frederick H. Pitts" <
address@hidden> wrote:
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
> >
>
>
>
>
>