aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/stdgraph/stglkcur.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gio/stdgraph/stglkcur.x')
-rw-r--r--sys/gio/stdgraph/stglkcur.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/gio/stdgraph/stglkcur.x b/sys/gio/stdgraph/stglkcur.x
new file mode 100644
index 00000000..6152534b
--- /dev/null
+++ b/sys/gio/stdgraph/stglkcur.x
@@ -0,0 +1,18 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <gset.h>
+include "stdgraph.h"
+
+# STG_LOCKCURSOR -- Lock the logical cursor number. Called interactively by
+# cursor mode in response to a ":.cursor N" command by the user. When the
+# cursor is not locked the logical cursor may be selected under program
+# control.
+
+procedure stg_lockcursor (new_cursor)
+
+int new_cursor # desired new logical cursor
+include "stdgraph.com"
+
+begin
+ g_cursor = new_cursor
+end