Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_set_quit_event(A) — Apollo Domain/OS SR10.3.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$SET_QUIT_EVENT               GPR Calls                GPR_$SET_QUIT_EVENT


NAME
     gpr_$set_quit_event - defines the event which causes a quit to be sent to
     the process.

FORMAT
     gpr_$set_quit_event (event_type, code, status)

DESCRIPTION
     This routine sets the quit character event for a GPR application.  It
     should be used in place of smd_$set_quit_char.  This routine takes a GPR
     event and a keyset value as arguments.

   Input Parameters
     event_type
          The event type, in gpr_$event_t format.  Possible values are:

             ⊕  gpr_$keystroke

             ⊕  gpr_$coded_keys

             ⊕  gpr_$function_keys

             ⊕  gpr_$physical_keys

     code
        The keystroke or key code

   Output Parameters
     status
          Completion status, in status_$t format.

NOTES
     The default quit character is CTRL/Q.

     The quit character event does not have to be enabled by
     gpr_$enable_events. If enabled, it will still generate a quit fault and
     NOT be delivered to the application.


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