OpenVMS RTL Screen Management (SMG$) ManualOrder Number: AA--PV6LB--TK
November 1996
This manual documents the screen management routines contained in the SMG$ facility of the OpenVMS Run-Time Library. Revision/Update Information: This manual supersedes the OpenVMS RTL Screen Management (SMG$) Manual, OpenVMS AXP Version 7.0 and OpenVMS VAX Version 7.0. Software Version: OpenVMS Alpha Version 7.1 OpenVMS VAX Version 7.1
November 1996 Digital Equipment Corporation makes no representations that the use of its products in the manner described in this publication will not infringe on existing or future patent rights, nor do the descriptions contained in this publication imply the granting of licenses to make, use, or sell equipment or software in accordance with the description. Possession, use, or copying of the software described in this publication is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. Digital conducts its business in a manner that conserves the environment and protects the safety and health of its employees, customers, and the community. © Digital Equipment Corporation 1996. All rights reserved. The following are trademarks of Digital Equipment Corporation: AXP, Bookreader, DEC, DECdirect, DECnet, DECterm, DECwindows, Digital, Digital Fortran, Digital GKS, FMS, LA50, OpenVMS, OpenVMS Cluster, ReGIS, VAX, VAX Ada, VAX BASIC, VAX BLISS-32, VAX C, VAX COBOL, VAX DIBOL, VAX DOCUMENT, VAX FMS, VAX MACRO, VAX Pascal, VAXcluster, VMS, VMScluster, VT, and the DIGITAL logo. The following are third-party trademarks: Adobe, Adobe Illustrator, Display POSTSCRIPT, and POSTSCRIPT are registered trademarks of Adobe Systems Incorporated. Motif, OSF, OSF/1, OSF/Motif, and Open Software Foundation are registered trademarks of the Open Software Foundation, Inc. All other trademarks and registered trademarks are the property of their respective holders.
ZK5935 The OpenVMS documentation set is available on CD-ROM.
PrefaceThis manual provides users of the OpenVMS operating system with detailed usage and reference information on screen management routines supplied in the SMG$ facility of the OpenVMS Run-Time Library (RTL). Intended AudienceThis manual is intended for system and application programmers who write programs that call SMG$ Run-Time Library routines. Document StructureThis manual is organized into two parts as follows:
Related DocumentsThe Run-Time Library routines are documented in a series of reference manuals. A description of how the Run-Time Library routines are accessed is presented in OpenVMS Programming Interfaces: Calling a System Routine. A description of OpenVMS features and functionality available through calls to the SMG$ Run-Time Library appears in the OpenVMS Programming Concepts Manual. Descriptions of other RTL facilities and their corresponding routines and usages are discussed in the following books:
The Guide to DECthreads contains guidelines and reference information for DECthreads, Digital's Multithreading Run-Time Library. The OpenVMS Command Definition, Librarian, and Message Utilities Manual provides information useful for writing applications that utilize line composition with keypad keys. The OpenVMS I/O User's Reference Manual contains information about using mailboxes. Application programmers using any programming language can refer to the Guide to Creating OpenVMS Modular Procedures for writing modular and reentrant code. High-level language programmers will find additional information on calling Run-Time Library routines in their language reference manual. Additional information may also be found in the language user's guide provided with your OpenVMS language software. For a complete list and description of the manuals in the OpenVMS documentation set, see the Overview of OpenVMS Documentation. For additional information on the Open Systems Software Group (OSSG) products and services, access the Digital OpenVMS World Wide Web site. Use the following URL:
Reader's CommentsDigital welcomes your comments on this manual. Print or edit the online form SYS$HELP:OPENVMSDOC_COMMENTS.TXT and send us your comments by:
How To Order Additional DocumentationUse the following table to order additional documentation or information. If you need help deciding which documentation best meets your needs, call 800-DIGITAL (800-344-4825).
ConventionsThe name of the OpenVMS AXP operating system has been changed to the OpenVMS Alpha operating system. Any references to OpenVMS AXP or AXP are synonymous with OpenVMS Alpha or Alpha. VMScluster systems are now referred to as OpenVMS Cluster systems. Unless otherwise specified, references to OpenVMS Clusters or clusters in this document are synonymous with VMSclusters. In this manual, every use of DECwindows and DECwindows Motif refers to DECwindows Motif for OpenVMS software. The following conventions are also used in this manual:
Part 1
This part of the OpenVMS RTL Screen Management (SMG$) Manual contains introductory chapters that
provide guidelines and reference material on specific types of screen
management routines. The material is covered as follows:
|
| SMG$DEL_TERM_TABLE | SMG$GET_NUMERIC_DATA |
| SMG$GET_TERM_DATA | SMG$INIT_TERM_TABLE |
| SMG$INIT_TERM_TABLE_BY_TYPE |
| SMG$ADD_KEY_DEF | SMG$CANCEL_INPUT |
| SMG$CREATE_KEY_TABLE | SMG$CREATE_VIRTUAL_KEYBOARD |
| SMG$DEFINE_KEY | SMG$DELETE_KEY_DEF |
| SMG$DELETE_VIRTUAL_KEYBOARD | SMG$GET_KEY_DEF |
| SMG$GET_KEYBOARD_ATTRIBUTES | SMG$KEYCODE_TO_NAME |
| SMG$LIST_KEY_DEFS | SMG$LOAD_KEY_DEFS |
| SMG$NAME_TO_KEYCODE | SMG$READ_COMPOSED_LINE |
| SMG$READ_KEYSTROKE | SMG$READ_LOCATOR |
| SMG$READ_STRING | SMG$READ_VERIFY |
| SMG$REPLACE_INPUT_LINE | SMG$RETURN_INPUT_LINE |
| SMG$SET_DEFAULT_STATE | SMG$SET_KEYPAD_MODE |
| SMG$BEGIN_DISPLAY_UPDATE | SMG$BEGIN_PASTEBOARD_UPDATE |
| SMG$CHANGE_PBD_CHARACTERISTICS | SMG$CHANGE_RENDITION |
| SMG$CHANGE_VIEWPORT | SMG$CHANGE_VIRTUAL_DISPLAY |
| SMG$CHECK_FOR_OCCLUSION | SMG$CONTROL_MODE |
| SMG$COPY_VIRTUAL_DISPLAY | SMG$CREATE_MENU |
| SMG$CREATE_PASTEBOARD | SMG$CREATE_SUBPROCESS |
| SMG$CREATE_VIEWPORT | SMG$CREATE_VIRTUAL_DISPLAY |
| SMG$CURSOR_COLUMN | SMG$CURSOR_ROW |
| SMG$DELETE_CHARS | SMG$DELETE_LINE |
| SMG$DELETE_MENU | SMG$DELETE_PASTEBOARD |
| SMG$DELETE_SUBPROCESS | SMG$DELETE_VIEWPORT |
| SMG$DELETE_VIRTUAL_DISPLAY | SMG$DISABLE_BROADCAST_TRAPPING |
| SMG$DISABLE_UNSOLICITED_INPUT | SMG$DRAW_CHAR |
| SMG$DRAW_LINE | SMG$DRAW_RECTANGLE |
| SMG$ENABLE_UNSOLICITED_INPUT | SMG$END_DISPLAY_UPDATE |
| SMG$END_PASTEBOARD_UPDATE | SMG$ERASE_CHARS |
| SMG$ERASE_COLUMN | SMG$ERASE_DISPLAY |
| SMG$ERASE_LINE | SMG$ERASE_PASTEBOARD |
| SMG$EXECUTE_COMMAND | SMG$FIND_CURSOR_DISPLAY |
| SMG$FLUSH_BUFFER | SMG$FLUSH_DISPLAY_UPDATE |
| SMG$GET_BROADCAST_MESSAGE | SMG$GET_CHAR_AT_PHYSICAL_CURSOR |
| SMG$GET_DISPLAY_ATTR | SMG$GET_PASTEBOARD_ATTRIBUTES |
| SMG$GET_PASTING_INFO | SMG$GET_VIEWPORT_CHAR |
| SMG$HOME_CURSOR | SMG$INSERT_CHARS |
| SMG$INSERT_LINE | SMG$INVALIDATE_DISPLAY |
| SMG$LABEL_BORDER | SMG$LIST_PASTEBOARD_ORDER |
| SMG$LIST_PASTING_ORDER | SMG$LOAD_VIRTUAL_DISPLAY |
| SMG$MOVE_TEXT | SMG$MOVE_VIRTUAL_DISPLAY |
| SMG$PASTE_VIRTUAL_DISPLAY | SMG$POP_VIRTUAL_DISPLAY |
| SMG$PRINT_PASTEBOARD | SMG$PUT_CHARS |
| SMG$PUT_CHARS_HIGHWIDE | SMG$PUT_CHARS_MULTI |
| SMG$PUT_CHARS_WIDE | SMG$PUT_HELP_TEXT |
| SMG$PUT_LINE | SMG$PUT_LINE_HIGHWIDE |
| SMG$PUT_LINE_MULTI | SMG$PUT_LINE_WIDE |
| SMG$PUT_PASTEBOARD | SMG$PUT_STATUS_LINE |
| SMG$READ_FROM_DISPLAY | SMG$REMOVE_LINE |
| SMG$REPAINT_LINE | SMG$REPAINT_SCREEN |
| SMG$REPASTE_VIRTUAL_DISPLAY | SMG$RESTORE_PHYSICAL_SCREEN |
| SMG$RETURN_CURSOR_POS | SMG$RING_BELL |
| SMG$SAVE_PHYSICAL_SCREEN | SMG$SAVE_VIRTUAL_DISPLAY |
| SMG$SCROLL_DISPLAY_AREA | SMG$SCROLL_VIEWPORT |
| SMG$SELECT_FROM_MENU | SMG$SET_BROADCAST_TRAPPING |
| SMG$SET_CURSOR_ABS | SMG$SET_CURSOR_MODE |
| SMG$SET_CURSOR_REL | SMG$SET_DISPLAY_SCROLL_REGION |
| SMG$SET_OUT_OF_BAND_ASTS | SMG$SET_PHYSICAL_CURSOR |
| SMG$SET_TERM_CHARACTERISTICS | SMG$SNAPSHOT |
| SMG$SNAPSHOT_TO_PRINTER | SMG$UNPASTE_VIRTUAL_DISPLAY |
The Screen Management Facility provides two important services:
The Screen Management Facility assumes that it has complete control of the terminal. Applications should not mix calls to SMG$ with calls to other screen products such as Digital GKS or VAX FMS. |
The following sections discuss the fundamental elements of screen management. These elements are the pasteboard, the virtual display, the viewport, and the virtual keyboard.
| Next | Contents | Index |
|
|
|
|
Copyright © Compaq Computer Corporation 1998. All rights reserved. Legal |
5935PRO.HTML
|
|