blob: 2caa53cb6b1496df0983a17041c4357d63ad28dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <gset.h>
include <gio.h>
include "gtr.h"
# GTR_PAGE -- Prepare the workstation for output of one or more pages of text.
# Whether or not the terminal is paged is optional. On terminals where the
# text and graphics are overlaid, it is possible to run the text by beneath
# the plot without affecting the plot.
procedure gtr_page (fd, stream)
int fd # output file
int stream # graphics stream
pointer tr
pointer gtr_init()
errchk gtr_init
begin
tr = gtr_init (stream)
if (TR_PAGE(tr) == YES)
call gki_deactivatews (stream, AW_CLEAR)
else
call gki_deactivatews (stream, 0)
TR_WAITPAGE(tr) = YES
end
|