diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/images/tv/iis/src/reset.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/images/tv/iis/src/reset.x')
-rw-r--r-- | pkg/images/tv/iis/src/reset.x | 37 |
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 |