aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/cursor/gtrgtty.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gio/cursor/gtrgtty.x')
-rw-r--r--sys/gio/cursor/gtrgtty.x20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/gio/cursor/gtrgtty.x b/sys/gio/cursor/gtrgtty.x
new file mode 100644
index 00000000..0e67a1fd
--- /dev/null
+++ b/sys/gio/cursor/gtrgtty.x
@@ -0,0 +1,20 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <gio.h>
+include <gki.h>
+include "gtr.h"
+
+# GTR_GTTY -- Get the graphcap descriptor for a stream.
+
+pointer procedure gtr_gtty (stream)
+
+int stream # graphics stream of interest
+
+pointer tr
+pointer gtr_init()
+errchk gtr_init
+
+begin
+ tr = gtr_init (stream)
+ return (TR_TTY(tr))
+end