Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gslpat(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hft

gslpat

Purpose

     Sets the LPFK indicators.

C Syntax

     int gslpat_ (indicators)

     int *indicators;

FORTRAN Syntax

     INTEGER function gslpat (indicators)

     INTEGER indicators

Pascal Syntax

     FUNCTION gslpat_ (

     VAR indicators: INTEGER
     ): INTEGER [PUBLIC|;

Description

     The gslpat subroutine  turns on or off  the indicators on
     the Lighted Program Function Keyboard.

     Parameters

     indicators        Specifies the state of the LPFK indica-
                       tors.   Each bit  of indicators  corre-
                       sponds  to an  indicator  on the  LPFK,
                       with the  most significant  bit setting
                       the desired state (1=on, 0=off) for the
                       indicator  for LPFK  0,  the next  most
                       significant bit  setting the  state for
                       the indicator for LPFK 1, and so on.

                       The default state for all indicators is
                       off.

     An  attempt to  set the  LPFK indicators  may fail  for a
     variety of reasons, the most  likely of which is that the
     device is not attached.  The nature of the problem can be
     determined with a specific ioctl to the virtual terminal.
     (See "hft" for more information.)

Return Value

     GS_SUCC   Successful.
     GS_USUC   Unsuccessful.

Related Information

     In this book:  "hft."

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