aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/tedit/screen.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/utilities/nttools/tedit/screen.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/utilities/nttools/tedit/screen.h')
-rw-r--r--pkg/utilities/nttools/tedit/screen.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/utilities/nttools/tedit/screen.h b/pkg/utilities/nttools/tedit/screen.h
new file mode 100644
index 00000000..ec9c6fe4
--- /dev/null
+++ b/pkg/utilities/nttools/tedit/screen.h
@@ -0,0 +1,18 @@
+# SCREEN.H -- Tedit screen descriptor
+
+define MAXSCR 10 # maximum number of screens
+
+define TED_SCRLEN 10 # screen descriptor length
+
+define TED_WINDOW Memi[$1] # window descriptor
+define TED_TABLE Memi[$1+1] # table descriptor (or NULL)
+define TED_PASTE Memi[$1+2] # paste table descriptor (or NULL)
+define TED_LOROW Memi[$1+3] # lowest row on screen
+define TED_HIROW Memi[$1+4] # highest row on screen
+define TED_LOCOL Memi[$1+5] # lowest column on screen
+define TED_HICOL Memi[$1+6] # highest column on the screen
+define TED_CURROW Memi[$1+7] # current row on the screen
+define TED_CURCOL Memi[$1+8] # current column on the screen
+define TED_SCRIDX Memi[$1+9] # current character within the field
+
+