From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/gio/cursor/gtrpage.x | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys/gio/cursor/gtrpage.x (limited to 'sys/gio/cursor/gtrpage.x') diff --git a/sys/gio/cursor/gtrpage.x b/sys/gio/cursor/gtrpage.x new file mode 100644 index 00000000..2caa53cb --- /dev/null +++ b/sys/gio/cursor/gtrpage.x @@ -0,0 +1,30 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include +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 -- cgit