comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: SunOS Clear Screen
Date: 1997/02/27
Date: 1997-02-27T00:00:00+00:00	[thread overview]
Message-ID: <dewar.857058369@merv> (raw)
In-Reply-To: 3314F0F8.6025@wmpenn.edu


Perry asks

<<Where can I find information on accomplishing a clear screen command for
Ada.  I am running GNAT under the Sun Solaris OS.>>

The important thing to realize is that this is not an Ada question at all.
Ada gives you the capability of generating output streams of bytes. You
have to find out how to clear a screen given the particular terminal drivers
and environment you are using, and either you must write some special
sequence out (e.g. a Ctrl-L might work in some cases), or you need to call
a specialized routine (e.g. an appropriate routine in the curses library).

But don't look to Ada for a solution to this. Note that exactly the same
would be true in C, there is no way to clear a screen in C either!





  reply	other threads:[~1997-02-27  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-26  0:00 SunOS Clear Screen Perry K. Lund
1997-02-27  0:00 ` Robert Dewar [this message]
1997-02-27  0:00   ` Larry Kilgallen
1997-02-27  0:00     ` Tom Moran
1997-02-28  0:00       ` Larry Kilgallen
1997-02-28  0:00   ` Jean-Etienne Doucet,149,6323
1997-03-03  0:00     ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox