(go to: table of contents, index, list of vms_smg, prev: PREV, next: RETURN_CURSOR_POS)
Format:
None
Arguments:
Screen layout, file: VMS_SMG_052.JPG
Screen layout, file: VMS_SMG_053.JPG
Notice that the first broadcast has scrolled away.
RESTORE_PHYSICAL_SCREEN - Restore Physical Pasteboard
Rewrite the pasteboard image as it was at the time the
vms_smg.save_physical_screen()
routine was called.
None = vms_smg.restore_physical_screen (pasteboard_id, display_id)
Returns:
Examples:
(go to: table of contents,
index, list of vms_smg,
prev: PREV,
next: RETURN_CURSOR_POS)
>>> import vms_smg
>>> import vms_smgdef
>>> # create a new DECwindows terminal using SMG
>>> status, pasteboard_id, number_of_pasteboard_rows, \
... number_of_pasteboard_columns, type_of_terminal, \
... device_name = vms_smg.create_pasteboard \
... (None, vms_smgdef.SMG_M_WORKSTATION)
>>>
>>> # create a virtual display
>>> status, display_id = vms_smg.create_virtual_display \
... (5, 10, vms_smgdef.SMG_M_BORDER, None, None)
>>>
>>> # paste the virtual display
>>> status = vms_smg.paste_virtual_display \
... (display_id, pasteboard_id, 3, 5, None)
>>>
>>> # save part of the physical screen
>>> display_id = vms_smg.save_physical_screen (pasteboard_id, 4, 7)
>>>
Notice that the screen range has been blanked:
Send 2 broadcasts to the terminal device from another process:
$ reply /terminal= _FTA23: -
"BRDCST1 ===== ===== ===== ===== ===== ===== "
$ reply /terminal= _FTA23: -
"BRDCST2 ===== ===== ===== ===== ===== ===== "
>>> # restore (part of) the pasteboard
>>> vms_smg.restore_physical_screen (pasteboard_id, display_id)
>>>