Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_string_mode(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_string_mode(3g)  —  Subroutines

Name

pset_string_mode − Sets the operating mode and echo state of the string device. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

void pset_string_mode (
  Pint           wsid,      /∗ (I) Workstation identifier ∗/
  Pint           dev_num,   /∗ (I) String device number ∗/
  Pop_mode       mode,      /∗ (I) Operating mode ∗/
  Pecho_switch   echo       /∗ (I) Echo switch ∗/
)

Data Structures

typedef enum {
    POP_REQ,       /∗ request mode ∗/
    POP_SAMPLE,    /∗ sample mode ∗/
    POP_EVENT      /∗ event mode ∗/
} Pop_mode;
typedef enum {
    PSWITCH_NO_ECHO,    /∗ echo disabled ∗/
    PSWITCH_ECHO        /∗ echo enabled ∗/
} Pecho_switch;

Description

pset_string_mode sets the specified string device to the specified operating mode and sets the echo state of the device as specified.  Depending on the specified input operating mode, Digital PHIGS may begin or end an interaction with the device. 

Digital PHIGS stores the input device state defined by the operating mode and the echo switch in the workstation state list for the specified string device.  For more information on operating modes, see Input Operating Modes. 

See Also

pget_string
pinit_string
pinit_string3
pinq_string_st
preq_string
psample_string

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