• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
        • Defun
        • Declare
        • System-utilities
          • Saving-event-data
          • Trans-eval
          • System-utilities-non-built-in
            • Pseudo-event-formp
            • Pseudo-event-form-listp
            • Directed-untranslate
            • Irrelevant-formals-info
            • Numbered-names
            • Context-message-pair
            • Prove$
            • Minimize-ruler-extenders
            • Paired-names
            • Orelse
            • Fresh-name-in-world-with-$s
            • Encapsulate-report-errors
            • On-failure
            • Chk-irrelevant-formals-ok
            • Named-formulas
            • Pseudo-event-landmarkp
            • All-program-fns
            • All-logic-fns
            • Trans-eval-error-triple
            • Trans-eval-state
            • Pseudo-tests-and-callsp
            • User-interface
              • Manage-screen-output
                • Control-screen-output
                • Maybe-suppress-output
                • Suppress-output
              • Pseudo-command-landmarkp
              • Pseudo-tests-and-calls-listp
              • Pseudo-command-formp
              • Orelse*
              • Identity-macro
            • Get-event-data
            • Untranslate
            • Constraint-info
          • Stobj
          • State
          • Mutual-recursion
          • Memoize
          • Mbe
          • Io
          • Defpkg
          • Apply$
          • Loop$
          • Programming-with-state
          • Arrays
          • Characters
          • Time$
          • Defconst
          • Fast-alists
          • Defmacro
          • Loop$-primer
          • Evaluation
          • Guard
          • Equality-variants
          • Compilation
          • Hons
          • ACL2-built-ins
          • Developers-guide
          • System-attachments
          • Advanced-features
          • Set-check-invariant-risk
          • Numbers
          • Efficiency
          • Irrelevant-formals
          • Introduction-to-programming-in-ACL2-for-those-who-know-lisp
          • Redefining-programs
          • Lists
          • Invariant-risk
          • Errors
          • Defabbrev
          • Conses
          • Alists
          • Set-register-invariant-risk
          • Strings
          • Program-wrapper
          • Get-internal-time
          • Basics
          • Packages
          • Oracle-eval
          • Defmacro-untouchable
          • <<
          • Primitive
          • Revert-world
          • Unmemoize
          • Set-duplicate-keys-action
          • Symbols
          • Def-list-constructor
          • Easy-simplify-term
          • Defiteration
          • Fake-oracle-eval
          • Defopen
          • Sleep
        • Operational-semantics
        • Real
        • Start-here
        • Miscellaneous
        • Output-controls
        • Bdd
        • Macros
        • Installation
        • Mailing-lists
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • User-interface

    Manage-screen-output

    Manage the screen output generated from an event form.

    Signature
    (manage-screen-output verbose form) → form-with-output-managed
    Arguments
    form — Guard (pseudo-event-formp form).
    Returns
    form-with-output-managed — Type (pseudo-event-formp form-with-output-managed), given the guard.

    If verbose is not nil or 'nil, keep all screen output. If verbose is nil or 'nil, suppress all non-error screen output.

    This function can be used in a macro of the following form:

    (defmacro mac (... &key verbose ...)
      (manage-screen-output verbose `(make-event ...)))
    Invoking mac at the ACL2 top-level will submit the event, with the screen output managed by verbose.

    Note that if form is an event (see embedded-event-form), then (manage-screen-output verbose form) evaluates to an event.

    Definitions and Theorems

    Function: manage-screen-output

    (defun manage-screen-output (verbose form)
      (declare (xargs :guard (pseudo-event-formp form)))
      (let ((__function__ 'manage-screen-output))
        (declare (ignorable __function__))
        (manage-screen-output-aux verbose form nil)))

    Theorem: pseudo-event-formp-of-manage-screen-output

    (defthm pseudo-event-formp-of-manage-screen-output
     (implies
       (and (pseudo-event-formp form))
       (b*
        ((form-with-output-managed (manage-screen-output verbose form)))
        (pseudo-event-formp form-with-output-managed)))
     :rule-classes :rewrite)