Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PAD_$DM_CMD                       Domain/OS                        PAD_$DM_CMD


NAME
     pad_$dm_cmd - execute a Display Manager command

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/pad.h>

     void pad_$dm_cmd(
          ios_$id_t &stream_id,
          char *command,
          short &command_length,
          status_$t *status)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/pad.ins.pas';

     procedure pad_$dm_cmd(
          in stream_id: ios_$id_t;
          in command: univ pad_$string_t;
          in command_length: integer;
          out status: status_$t);

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/pad.ins.ftn'

           integer*4 status
           integer*2 stream_id, command_length
           character command*256

           call pad_$dm_cmd(stream_id, command, command_length, status)

DESCRIPTION
     Pad_$dm_cmd executes the Display Manager command specified by command.
     Use pad_$dm_cmd with caution because it executes the command as if it was
     typed at the keyboard.  The result will depend on the current position of
     the cursor, the current environment of the Display Manager, and other
     factors that are not obvious or necessarily under the program's control.

     stream_id
          The ID of the pad to use when executing the command.

     command
          The Display Manager command to execute.

     command_length
          The number of bytes in command.

     status
          The completion status.

SEE ALSO
     pad_$def_pfk, pad_$inq_kbd.

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