aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/tv/iis/src/reset.x
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/images/tv/iis/src/reset.x')
-rw-r--r--pkg/images/tv/iis/src/reset.x37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkg/images/tv/iis/src/reset.x b/pkg/images/tv/iis/src/reset.x
new file mode 100644
index 00000000..3a2e60e9
--- /dev/null
+++ b/pkg/images/tv/iis/src/reset.x
@@ -0,0 +1,37 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <ctotok.h>
+include <ctype.h>
+include "../lib/ids.h"
+
+# RESET -- reset the display
+
+procedure reset()
+
+char token[SZ_LINE]
+int tok
+
+include "cv.com"
+
+begin
+ call gargtok (tok, token, SZ_LINE)
+ call strlwr (token)
+ if (tok == TOK_IDENTIFIER) {
+ switch(token[1]) {
+ case 'r':
+ call cvreset( IDS_R_SOFT)
+
+ case 't':
+ call cvreset( IDS_R_MEDIUM)
+
+ case 'i':
+ call cvreset( IDS_R_HARD)
+
+ case 'a':
+ call cvreset( IDS_R_SOFT)
+ call cvreset( IDS_R_MEDIUM)
+ call cvreset( IDS_R_HARD)
+
+ }
+ }
+end