Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getport(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getport()  —  Silicon Graphics Silicon Graphics

NAME

getport - creates a graphics port under the window manager

SPECIFICATION

C
getport(name)
char name[];

FORTRAN
subroutine getpor(name, length)
character*(*) name
integer*4 length

Pascal
procedure getport(name: pstring128);

DESCRIPTION

getport does a graphics initialization and creates a graphics port with the constraints specified in the commands preceding the call to getport.  The commands that specify these constraints are minsize, maxsize, keepaspect, prefsize, prefposition, stepunit, fudge, noport, and foreground.  These constraints are reset to no constraints after they are bound to the graphics port.  If no constraints are specified or the description is incomplete, the window manager prompts the user for the missing information.  The user employs the cursor to show the size and location of the graphics port.  getport puts the graphics program in the background, unless the foreground command is called (before getport ).  When it is called outside the window manager, getport creates a standard-sized graphics port: (xmin 0, xmax 1023, ymin 0, ymax 767).  In FORTRAN there is an extra argument, length, that is the number of characters in the name string. 

SEE ALSO

minsize, maxsize, keepaspect, prefsize, prefposition, stepunit, fudge, noport, foreground, winconstraints
“Multiple Exposure: The IRIS  Window Manager” in the IRIS User’s Guide

NOTE

This command can be used only in immediate mode. 

Version 2.4  —  May 08, 1986

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