TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"W. Wesley Groleau x4923" <[log in to unmask]>
Reply To:
W. Wesley Groleau x4923
Wed, 26 May 1999 14:28:17 -0500
text/plain (27 lines)
> Because Control-L  ASCII 12 is the Form Feed character.
> Most printers interpret this correctly and move to the
> top of the next page.
> For CRT screens there usually isn't the notion of a page,
> so using the New_Page procedure doesn't make a lot of
> sense.
> As Jacob pointed out, if you need this kind of functionality
> for a screen then use a different package.

If your "screen" is ANSI.SYS on a PC or VT100 compatible, or an xterm, or
an Open Look cmdtool, try the routines included in Chapter 11 of Ada 95
Quality and Style: Guidelines for Professional Programmers.  You should be
able to  find that under

If on VMS, try the SMG$ services.

If none of these help, try

   for I in 1 .. Screen_Height loop
   end loop;

Since you have an "insiders" privileges, you could also check with the Ada
experts via [log in to unmask]