From: Juergen.Pfeifer@t-online.de (Juergen Pfeifer)
Subject: Re: Clear screen command?
Date: 1998/03/05
Date: 1998-03-05T00:00:00+00:00 [thread overview]
Message-ID: <6dnb7j$4gd$1@news01.btx.dtag.de> (raw)
In-Reply-To: 6dl7sd$6r0$1@tuvoc.udayton.edu
Jeremy Mlazovsky wrote:
>
> Right now, I am stuck doing the generic ADA output that pushes the screen up
> one line at a time as another line of text is output.
>
> I need to know how to clear the screen after a certain number of lines have
> been output to the screen.
>
> Is there some way to make it so that the screen is "locked" in one position,
> so that text at the top of the screen remains at the top, and subsequent
> lines of output go to the bottom of the screen?
>
You can solve your problem by using the curses library provided with almost
any UNIX like system. The curses library is a set of C routines allowing to
program your screen in a terminal independent way. If you think this is the
right way to go you may pick up the just released free software implementation
of curses named "ncurses" from ftp://prep.ai.mit.edu/pub/gnu. The nice thing
with ncurses is, that it comes with a complete Ada95 binding tested and
developed for GNAT.
Juergen
next prev parent reply other threads:[~1998-03-05 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-04 0:00 Clear screen command? Jeremy Mlazovsky
1998-03-05 0:00 ` Juergen Pfeifer [this message]
1998-03-05 0:00 ` Tarjei Tj�stheim Jensen
1998-03-05 0:00 ` Markus Kuhn
1998-03-06 0:00 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox