Previous: prsopt Up: ../plot79_p.html Next: prspls
INTEGER FUNCTION PRSPEC (STATUS)
C$ (Parse Support - Edit Characters)
C$ Since it may be occasionally be convenient for the user to
C$ modify the edit, comment, help, and recognition characters,
C$ this routine is provided to handle the parsing of
C$ subcommands once the invoking keyword and noise (usually
C$ EDIT (code for function)) has been parsed. The subcommands
C$ may be a code type followed by a quoted string defining the
C$ one- or two-character edit sequence. On return, STATUS and
C$ the function value are set to the final parsing code, and
C$ end-of-line has been parsed.
C$
C$ The command which is parsed is of the form
C$
C$ EDIT (code for function) ABORT-COMMAND -->
C$ CHARACTER-DELETE
C$ COMMENT-CHARACTER
C$ CONTINUATION-CHARACTER
C$ END-OF-COMMAND
C$ ERROR-DELETE
C$ FULL-RECOGNITION
C$ HELP-CHARACTER
C$ INDIRECT-FILE-PREFIX
C$ LAST-LINE
C$ LINE-DELETE
C$ PARTIAL-RECOGNITION
C$ QUOTE-NEXT-CHARACTER
C$ REPEAT-COUNT
C$ RETYPE-LINE
C$ SYSTEM-DEFAULTS
C$ WORD-DELETE
C$
C$ --> BackSpace
C$ Control "x"
C$ Control "xy"
C$ DELete
C$ ESCape
C$ LineFeed
C$ TAB
C$ ""
C$ "x"
C$ "xy"
C$
C$ A bare EDIT command with no options results in the display
C$ of the current edit function settings. The subcommand
C$ SYSTEM-DEFAULTS must be followed by end-of-line, and resets
C$ all edit functions to their default values for the host
C$ installation.
C$
C$ All of the others expect either the keywords BackSpace,
C$ DELete, ESCape, LineFeed, or TAB (corresponding to keys so
C$ marked on a conventional ASCII keyboard), or the keyword
C$ Control followed by a one- or two-character string (which
C$ causes the first character in the string to be
C$ "controlified" by using only the low-order five bits of its
C$ ASCII ordinal), or a zero- to two-character string.
C$
C$ If the host permits it, control characters can be entered
C$ directly in the quoted strings, in which case the CONTROL
C$ keyword need not be used. If a null string is specified,
C$ both one- and two-character strings for that edit function
C$ are disabled.
C$
C$ NUL, TAB and blank are universally considered as white
C$ space through the parsing utility, and may not be used for
C$ any edit function. If the user attempts to do so, an error
C$ message will be issued, and the request ignored. The
C$ status code returned in such a case is NOPUER.
C$ (25-APR-84)