Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;abtsev (abort_severity_level), revision 1.0, 88/01/21
abtsev (abort_severity) -- Set or display the abort-severity level
abtsev  [-f | -w | -e | -o | -i | -p | -m]




DESCRIPTION
     The abtsev command lets you set the severity level at which a shell
     command or program aborts. The abort-severity level is initially set to
     -error when a shell is created.  If any command returns a severity level
     greater than or equal to the abort-severity level, then that shell
     program, and all its ancestors, are immediately terminated.

     The abort-severity level is on a per-shell basis.  A new level is
     established every time a shell program or a new shell is invoked.  A
     shell program inherits the abort-severity level of the preceding level.
     The severity level is restored when you exit from the shell program.

     abtsev is an internal shell command.

     See the pgm_$set_severity description in the Domain/OS System Call
     Reference for further information on severity levels.


     Every shell command or program returns a completion status message to its
     caller.  The message may indicate that the program completed
     successfully, or it may inform its caller of a fatal internal error.
     Completion status messages vary in their severity. The following
     completion status messages appear in order of their severity:

     ok              Program completed successfully and performed the
                     requested action.

     true            Program completed successfully; its purpose was to test a
                     condition, and the value of that condition was true.

     false           Program completed successfully; its purpose was to test a
                     condition, and the value of that condition was false.

     warning         Program completed successfully and performed the
                     requested action.  However, an unusual (but nonfatal)
                     condition was detected.

     error           Program could not perform the requested action because of
                     an error in the input.  The output, however, is sound.

     output invalid  Program could not perform the requested action because of
                     a syntactic error in the input, and the output is not
                     structurally sound.

     internal fatal  Program detected an internal fatal error and stopped.
                     The state of the output is unknown.

OPTIONS
     Specifying abtsev without options displays the current abort-severity
     level.

     -f[alse]       Set level to false.

     -w[arning]     Set level to warning.

     -e[rror]       Set level to error.

     -o[utinv]      Set level to output invalid.

     -i[ntfatal]    Set level to internal fatal error.

     -p[gmflt]      Set level to program fatal error.

     -m[ax_severity]
                    Set level to maximum severity error.

EXAMPLES
     Show initial setting.

     $ abtsev
     error
     $


     Set level to warning.

     $ abtsev -w


     Show new level.

     $ abtsev
     warning
     $

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026