/* Ported to GNU C openVMS/Alpha by Klaus Kämpf, kkaempf@progis.de */ /* * * Screen management run-time library routines. */ #ifndef _SMG$ROUTINES_H #define _SMG$ROUTINES_H # ifdef __cplusplus extern "C" { # endif /* SMG$ADD_KEY_DEF -- add key definition */ #define smg$add_key_def SMG$ADD_KEY_DEF unsigned long smg$add_key_def(); /* SMG$ALLOW_ESCAPE -- allow escape sequences */ #define smg$allow_escape SMG$ALLOW_ESCAPE unsigned long smg$allow_escape(); /* SMG$BEGIN_DISPLAY_UPDATE -- begin batching of display updates */ #define smg$begin_display_update SMG$BEGIN_DISPLAY_UPDATE unsigned long smg$begin_display_update(); /* SMG$BEGIN_PASTEBOARD_UPDATE -- begin batching of pasteboard updates */ #define smg$begin_pasteboard_update SMG$BEGIN_PASTEBOARD_UPDATE unsigned long smg$begin_pasteboard_update(); /* SMG$CANCEL_INPUT -- cancel input request */ #define smg$cancel_input SMG$CANCEL_INPUT unsigned long smg$cancel_input(); /* SMG$CHANGE_MENU -- change highlighted menu item */ #define smg$change_menu SMG$CHANGE_MENU unsigned long smg$change_menu(); /* SMG$CHANGE_PBD_CHARACTERISTICS -- change pasteboard characteristics */ #define smg$change_pbd_characteristics SMG$CHANGE_PBD_CHARACTERISTICS unsigned long smg$change_pbd_characteristics(); /* SMG$CHANGE_RENDITION -- change default rendition */ #define smg$change_rendition SMG$CHANGE_RENDITION unsigned long smg$change_rendition(); /* SMG$CHANGE_VIEWPORT -- change the viewport */ #define smg$change_viewport SMG$CHANGE_VIEWPORT unsigned long smg$change_viewport(); /* SMG$CHANGE_VIRTUAL_DISPLAY -- change virtual display */ #define smg$change_virtual_display SMG$CHANGE_VIRTUAL_DISPLAY unsigned long smg$change_virtual_display(); /* SMG$CHECK_FOR_OCCLUSION -- check for occlusion */ #define smg$check_for_occlusion SMG$CHECK_FOR_OCCLUSION unsigned long smg$check_for_occlusion(); /* SMG$CONTROL_MODE -- control mode */ #define smg$control_mode SMG$CONTROL_MODE unsigned long smg$control_mode(); /* SMG$COPY_VIRTUAL_DISPLAY -- copy a virtual display */ #define smg$copy_virtual_display SMG$COPY_VIRTUAL_DISPLAY unsigned long smg$copy_virtual_display(); /* SMG$CURSOR_COLUMN -- return cursor column position */ #define smg$cursor_column SMG$CURSOR_COLUMN int smg$cursor_column(); /* SMG$CURSOR_ROW -- return cursor row position */ #define smg$cursor_row SMG$CURSOR_ROW int smg$cursor_row(); /* SMG$CREATE_KEY_TABLE -- create key table */ #define smg$create_key_table SMG$CREATE_KEY_TABLE unsigned long smg$create_key_table(); /* SMG$CREATE_MENU -- fill virtual display with a menu */ #define smg$create_menu SMG$CREATE_MENU unsigned long smg$create_menu(); /* SMG$CREATE_PASTEBOARD -- create a pasteboard */ #define smg$create_pasteboard SMG$CREATE_PASTEBOARD unsigned long smg$create_pasteboard(); /* SMG$CREATE_SUBPROCESS -- create and initialize a subprocess */ #define smg$create_subprocess SMG$CREATE_SUBPROCESS unsigned long smg$create_subprocess(); /* SMG$CREATE_VIEWPORT -- create a virtual viewport */ #define smg$create_viewport SMG$CREATE_VIEWPORT unsigned long smg$create_viewport(); /* SMG$CREATE_VIRTUAL_DISPLAY -- create a virtual display */ #define smg$create_virtual_display SMG$CREATE_VIRTUAL_DISPLAY unsigned long smg$create_virtual_display(); /* SMG$CREATE_VIRTUAL_KEYBOARD -- create virtual keyboard */ #define smg$create_virtual_keyboard SMG$CREATE_VIRTUAL_KEYBOARD unsigned long smg$create_virtual_keyboard(); /* SMG$DEL_TERM_TABLE -- delete terminal table */ #define smg$del_term_table SMG$DEL_TERM_TABLE unsigned long smg$del_term_table(); /* SMG$DEFINE_KEY -- perform a DEFINE/KEY command */ #define smg$define_key SMG$DEFINE_KEY unsigned long smg$define_key(); /* SMG$DELETE_CHARS -- delete characters */ #define smg$delete_chars SMG$DELETE_CHARS unsigned long smg$delete_chars(); /* SMG$DELETE_KEY_DEF -- delete key definition */ #define smg$delete_key_def SMG$DELETE_KEY_DEF unsigned long smg$delete_key_def(); /* SMG$DELETE_LINE -- delete line */ #define smg$delete_line SMG$DELETE_LINE unsigned long smg$delete_line(); /* SMG$DELETE_MENU -- end access to menu in virtual display */ #define smg$delete_menu SMG$DELETE_MENU unsigned long smg$delete_menu(); /* SMG$DELETE_PASTEBOARD -- delete pasteboard */ #define smg$delete_pasteboard SMG$DELETE_PASTEBOARD unsigned long smg$delete_pasteboard(); /* SMG$DELETE_SUBPROCESS -- terminate a subprocess */ #define smg$delete_subprocess SMG$DELETE_SUBPROCESS unsigned long smg$delete_subprocess(); /* SMG$DELETE_VIRTUAL_DISPLAY -- delete virtual display */ #define smg$delete_virtual_display SMG$DELETE_VIRTUAL_DISPLAY unsigned long smg$delete_virtual_display(); /* SMG$DELETE_VIRTUAL_KEYBOARD -- delete virtual keyboard */ #define smg$delete_virtual_keyboard SMG$DELETE_VIRTUAL_KEYBOARD unsigned long smg$delete_virtual_keyboard(); /* SMG$DELETE_VIEWPORT -- delete a viewport */ #define smg$delete_viewport SMG$DELETE_VIEWPORT unsigned long smg$delete_viewport(); /* SMG$DISABLE_BROADCAST_TRAPPING -- disable broadcast trapping */ #define smg$disable_broadcast_trapping SMG$DISABLE_BROADCAST_TRAPPING unsigned long smg$disable_broadcast_trapping(); /* SMG$DISABLE_UNSOLICITED_INPUT -- disable unsolicited input */ #define smg$disable_unsolicited_input SMG$DISABLE_UNSOLICITED_INPUT unsigned long smg$disable_unsolicited_input(); /* SMG$DRAW_CHAR -- draw character in virtual display */ #define smg$draw_char SMG$DRAW_CHAR unsigned long smg$draw_char(); /* SMG$DRAW_LINE -- draw a line */ #define smg$draw_line SMG$DRAW_LINE unsigned long smg$draw_line(); /* SMG$DRAW_RECTANGLE -- draw a rectangle */ #define smg$draw_rectangle SMG$DRAW_RECTANGLE unsigned long smg$draw_rectangle(); /* SMG$END_DISPLAY_UPDATE -- end display update */ #define smg$end_display_update SMG$END_DISPLAY_UPDATE unsigned long smg$end_display_update(); /* SMG$END_PASTEBOARD_UPDATE -- end pasteboard update */ #define smg$end_pasteboard_update SMG$END_PASTEBOARD_UPDATE unsigned long smg$end_pasteboard_update(); /* SMG$ENABLE_UNSOLICITED_INPUT -- enable unsolicited input */ #define smg$enable_unsolicited_input SMG$ENABLE_UNSOLICITED_INPUT unsigned long smg$enable_unsolicited_input(); /* SMG$ERASE_CHARS -- erase characters */ #define smg$erase_chars SMG$ERASE_CHARS unsigned long smg$erase_chars(); /* SMG$ERASE_COLUMN -- erase column from display */ #define smg$erase_column SMG$ERASE_COLUMN unsigned long smg$erase_column(); /* SMG$ERASE_DISPLAY -- erase virtual display */ #define smg$erase_display SMG$ERASE_DISPLAY unsigned long smg$erase_display(); /* SMG$ERASE_LINE -- erase line */ #define smg$erase_line SMG$ERASE_LINE unsigned long smg$erase_line(); /* SMG$ERASE_PASTEBOARD -- erase pasteboard */ #define smg$erase_pasteboard SMG$ERASE_PASTEBOARD unsigned long smg$erase_pasteboard(); /* SMG$EXECUTE_COMMAND -- execute command in a subprocess */ #define smg$execute_command SMG$EXECUTE_COMMAND unsigned long smg$execute_command(); /* SMG$FIND_CURSOR_DISPLAY -- find display */ #define smg$find_cursor_display SMG$FIND_CURSOR_DISPLAY unsigned long smg$find_cursor_display(); /* SMG$FLUSH_BUFFER -- flush buffer */ #define smg$flush_buffer SMG$FLUSH_BUFFER unsigned long smg$flush_buffer(); /* SMG$GET_BROADCAST_MESSAGE -- get broadcast message */ #define smg$get_broadcast_message SMG$GET_BROADCAST_MESSAGE unsigned long smg$get_broadcast_message(); /* SMG$GET_CHAR_AT_PHYSICAL_CURSOR -- return character at cursor */ #define smg$get_char_at_physical_cursor SMG$GET_CHAR_AT_PHYSICAL_CURSOR unsigned long smg$get_char_at_physical_cursor(); /* SMG$GET_DISPLAY_ATTR -- get display attributes */ #define smg$get_display_attr SMG$GET_DISPLAY_ATTR unsigned long smg$get_display_attr(); /* SMG$GET_KEY_DEF -- get key definition */ #define smg$get_key_def SMG$GET_KEY_DEF unsigned long smg$get_key_def(); /* SMG$GET_KEYBOARD_ATTRIBUTES -- get keyboard attributes */ #define smg$get_keyboard_attributes SMG$GET_KEYBOARD_ATTRIBUTES unsigned long smg$get_keyboard_attributes(); /* SMG$GET_NUMERIC_DATA -- get numeric terminal data */ #define smg$get_numeric_data SMG$GET_NUMERIC_DATA unsigned long smg$get_numeric_data(); /* SMG$GET_PASTEBOARD_ATTRIBUTES -- get pasteboard attributes */ #define smg$get_pasteboard_attributes SMG$GET_PASTEBOARD_ATTRIBUTES unsigned long smg$get_pasteboard_attributes(); /* SMG$GET_PASTING_INFO -- return pasting information */ #define smg$get_pasting_info SMG$GET_PASTING_INFO unsigned long smg$get_pasting_info(); /* SMG$GET_TERM_DATA -- get terminal data */ #define smg$get_term_data SMG$GET_TERM_DATA unsigned long smg$get_term_data(); /* SMG$GET_VIEWPORT_CHAR -- get characteristics of display viewport */ #define smg$get_viewport_char SMG$GET_VIEWPORT_CHAR unsigned long smg$get_viewport_char(); /* SMG$HOME_CURSOR -- home cursor */ #define smg$home_cursor SMG$HOME_CURSOR unsigned long smg$home_cursor(); /* SMG$INIT_TERM_TABLE -- initialize terminal table */ #define smg$init_term_table SMG$INIT_TERM_TABLE unsigned long smg$init_term_table(); /* SMG$INIT_TERM_TABLE_BY_TYPE -- initialize TERMTABLE by VMS terminal type */ #define smg$init_term_table_by_type SMG$INIT_TERM_TABLE_BY_TYPE unsigned long smg$init_term_table_by_type(); /* SMG$INSERT_CHARS -- insert characters */ #define smg$insert_chars SMG$INSERT_CHARS unsigned long smg$insert_chars(); /* SMG$INSERT_LINE -- insert line */ #define smg$insert_line SMG$INSERT_LINE unsigned long smg$insert_line(); /* SMG$INVALIDATE_DISPLAY -- mark a display as invalid */ #define smg$invalidate_display SMG$INVALIDATE_DISPLAY unsigned long smg$invalidate_display(); /* SMG$KEYCODE_TO_NAME -- translate key code into key name */ #define smg$keycode_to_name SMG$KEYCODE_TO_NAME unsigned long smg$keycode_to_name(); /* SMG$LABEL_BORDER -- label a virtual display border */ #define smg$label_border SMG$LABEL_BORDER unsigned long smg$label_border(); /* SMG$LIST_KEY_DEFS -- list key definitions */ #define smg$list_key_defs SMG$LIST_KEY_DEFS unsigned long smg$list_key_defs(); /* SMG$LIST_PASTEBOARD_ORDER -- return pasting information */ #define smg$list_pasteboard_order SMG$LIST_PASTEBOARD_ORDER unsigned long smg$list_pasteboard_order(); /* SMG$LIST_PASTING_ORDER -- return virtual display pasting information */ #define smg$list_pasting_order SMG$LIST_PASTING_ORDER unsigned long smg$list_pasting_order(); /* SMG$LOAD_KEY_DEFS -- load key definitions */ #define smg$load_key_defs SMG$LOAD_KEY_DEFS unsigned long smg$load_key_defs(); /* SMG$LOAD_VIRTUAL_DISPLAY -- load a virtual display */ #define smg$load_virtual_display SMG$LOAD_VIRTUAL_DISPLAY unsigned long smg$load_virtual_display(); /* SMG$MOVE_VIRTUAL_DISPLAY -- move virtual display */ #define smg$move_virtual_display SMG$MOVE_VIRTUAL_DISPLAY unsigned long smg$move_virtual_display(); /* SMG$MOVE_TEXT -- move text from one virtual display to another */ #define smg$move_text SMG$MOVE_TEXT unsigned long smg$move_text(); /* SMG$NAME_TO_KEYCODE -- translate key name into key code */ #define smg$name_to_keycode SMG$NAME_TO_KEYCODE unsigned long smg$name_to_keycode(); /* SMG$PASTE_VIRTUAL_DISPLAY -- paste virtual display */ #define smg$paste_virtual_display SMG$PASTE_VIRTUAL_DISPLAY unsigned long smg$paste_virtual_display(); /* SMG$PUT_CHARS -- write characters to virtual display */ #define smg$put_chars SMG$PUT_CHARS unsigned long smg$put_chars(); /* SMG$PUT_CHARS_HIGHWIDE -- write double-height double-width characters */ #define smg$put_chars_highwide SMG$PUT_CHARS_HIGHWIDE unsigned long smg$put_chars_highwide(); /* SMG$PUT_CHARS_MULTI -- put text with multiple renditions to display */ #define smg$put_chars_multi SMG$PUT_CHARS_MULTI unsigned long smg$put_chars_multi(); /* SMG$PUT_CHARS_WIDE -- write double-width characters */ #define smg$put_chars_wide SMG$PUT_CHARS_WIDE unsigned long smg$put_chars_wide(); /* SMG$PUT_HELP_TEXT -- output help text to the display */ #define smg$put_help_text SMG$PUT_HELP_TEXT unsigned long smg$put_help_text(); /* SMG$PUT_LINE -- write line to virtual display */ #define smg$put_line SMG$PUT_LINE unsigned long smg$put_line(); /* SMG$PUT_LINE_HIGHWIDE -- write double-height and double-width line */ #define smg$put_line_highwide SMG$PUT_LINE_HIGHWIDE unsigned long smg$put_line_highwide(); /* SMG$PUT_LINE_MULTI -- write line with multiple renditions to display */ #define smg$put_line_multi SMG$PUT_LINE_MULTI unsigned long smg$put_line_multi(); /* SMG$PUT_LINE_WIDE -- write double-width line */ #define smg$put_line_wide SMG$PUT_LINE_WIDE unsigned long smg$put_line_wide(); /* SMG$POP_VIRTUAL_DISPLAY -- delete series of virtual displays */ #define smg$pop_virtual_display SMG$POP_VIRTUAL_DISPLAY unsigned long smg$pop_virtual_display(); /* SMG$PRINT_PASTEBOARD -- print pasteboard using print queue */ #define smg$print_pasteboard SMG$PRINT_PASTEBOARD unsigned long smg$print_pasteboard(); /* SMG$PUT_PASTEBOARD -- output pasteboard using routine */ #define smg$put_pasteboard SMG$PUT_PASTEBOARD unsigned long smg$put_pasteboard(); /* SMG$PUT_STATUS_LINE -- output line of text to hardware status line */ #define smg$put_status_line SMG$PUT_STATUS_LINE unsigned long smg$put_status_line(); /* SMG$PUT_VIRTUAL_DISPLAY_ENCODED -- write encoded string to display */ #define smg$put_virtual_display_encoded SMG$PUT_VIRTUAL_DISPLAY_ENCODED unsigned long smg$put_virtual_display_encoded(); /* SMG$PUT_WITH_SCROLL -- write text and scroll */ #define smg$put_with_scroll SMG$PUT_WITH_SCROLL unsigned long smg$put_with_scroll(); /* SMG$READ_COMPOSED_LINE -- read composed line */ #define smg$read_composed_line SMG$READ_COMPOSED_LINE unsigned long smg$read_composed_line(); /* SMG$READ_FROM_DISPLAY -- read text from display */ #define smg$read_from_display SMG$READ_FROM_DISPLAY unsigned long smg$read_from_display(); /* SMG$READ_KEYSTROKE -- read a single character */ #define smg$read_keystroke SMG$READ_KEYSTROKE unsigned long smg$read_keystroke(); /* SMG$READ_LOCATOR -- read locator information */ #define smg$read_locator SMG$READ_LOCATOR unsigned long smg$read_locator(); /* SMG$READ_STRING -- read string */ #define smg$read_string SMG$READ_STRING unsigned long smg$read_string(); /* SMG$READ_VERIFY -- read and verify a string */ #define smg$read_verify SMG$READ_VERIFY unsigned long smg$read_verify(); /* SMG$REMOVE_LINE -- remove a line from virtual display */ #define smg$remove_line SMG$REMOVE_LINE unsigned long smg$remove_line(); /* SMG$REPAINT_LINE -- repaint one or more lines on current pasteboard */ #define smg$repaint_line SMG$REPAINT_LINE unsigned long smg$repaint_line(); /* SMG$REPAINT_SCREEN -- repaint current pasteboard */ #define smg$repaint_screen SMG$REPAINT_SCREEN unsigned long smg$repaint_screen(); /* SMG$REPASTE_VIRTUAL_DISPLAY -- repaste virtual display */ #define smg$repaste_virtual_display SMG$REPASTE_VIRTUAL_DISPLAY unsigned long smg$repaste_virtual_display(); /* SMG$REPLACE_INPUT_LINE -- replace input line */ #define smg$replace_input_line SMG$REPLACE_INPUT_LINE unsigned long smg$replace_input_line(); /* SMG$RESTORE_PHYSICAL_SCREEN -- restore physical pasteboard */ #define smg$restore_physical_screen SMG$RESTORE_PHYSICAL_SCREEN unsigned long smg$restore_physical_screen(); /* SMG$RETURN_CURSOR_POS -- return cursor position */ #define smg$return_cursor_pos SMG$RETURN_CURSOR_POS unsigned long smg$return_cursor_pos(); /* SMG$RETURN_INPUT_LINE -- return input line */ #define smg$return_input_line SMG$RETURN_INPUT_LINE unsigned long smg$return_input_line(); /* SMG$RING_BELL -- ring the terminal bell or buzzer */ #define smg$ring_bell SMG$RING_BELL unsigned long smg$ring_bell(); /* SMG$SAVE_VIRTUAL_DISPLAY -- save the virtual display to a file */ #define smg$save_virtual_display SMG$SAVE_VIRTUAL_DISPLAY unsigned long smg$save_virtual_display(); /* SMG$SAVE_PHYSICAL_SCREEN -- save physical screen */ #define smg$save_physical_screen SMG$SAVE_PHYSICAL_SCREEN unsigned long smg$save_physical_screen(); /* SMG$SCROLL_DISPLAY_AREA -- scroll display area */ #define smg$scroll_display_area SMG$SCROLL_DISPLAY_AREA unsigned long smg$scroll_display_area(); /* SMG$SCROLL_VIEWPORT -- scroll a display under a viewport */ #define smg$scroll_viewport SMG$SCROLL_VIEWPORT unsigned long smg$scroll_viewport(); /* SMG$SELECT_FROM_MENU -- make a selection from the menu */ #define smg$select_from_menu SMG$SELECT_FROM_MENU unsigned long smg$select_from_menu(); /* SMG$SET_BROADCAST_TRAPPING -- enable broadcast trapping */ #define smg$set_broadcast_trapping SMG$SET_BROADCAST_TRAPPING unsigned long smg$set_broadcast_trapping(); /* SMG$SET_CURSOR_ABS -- set absolute cursor position */ #define smg$set_cursor_abs SMG$SET_CURSOR_ABS unsigned long smg$set_cursor_abs(); /* SMG$SET_CURSOR_MODE -- set the cursor mode */ #define smg$set_cursor_mode SMG$SET_CURSOR_MODE unsigned long smg$set_cursor_mode(); /* SMG$SET_CURSOR_REL -- move cursor relative to current position */ #define smg$set_cursor_rel SMG$SET_CURSOR_REL unsigned long smg$set_cursor_rel(); /* SMG$SET_DEFAULT_STATE -- set default state */ #define smg$set_default_state SMG$SET_DEFAULT_STATE unsigned long smg$set_default_state(); /* SMG$SET_DISPLAY_SCROLL_REGION -- create display scrolling region */ #define smg$set_display_scroll_region SMG$SET_DISPLAY_SCROLL_REGION unsigned long smg$set_display_scroll_region(); /* SMG$SET_KEYPAD_MODE -- set keypad mode */ #define smg$set_keypad_mode SMG$SET_KEYPAD_MODE unsigned long smg$set_keypad_mode(); /* SMG$SET_OUT_OF_BAND_ASTS -- set out-of-band ASTs */ #define smg$set_out_of_band_asts SMG$SET_OUT_OF_BAND_ASTS unsigned long smg$set_out_of_band_asts(); /* SMG$SET_PHYSICAL_CURSOR -- set cursor on physical screen */ #define smg$set_physical_cursor SMG$SET_PHYSICAL_CURSOR unsigned long smg$set_physical_cursor(); /* SMG$SET_TERM_CHARACTERISTICS -- change terminal characteristics */ #define smg$set_term_characteristics SMG$SET_TERM_CHARACTERISTICS unsigned long smg$set_term_characteristics(); /* SMG$SNAPSHOT -- write snapshot */ #define smg$snapshot SMG$SNAPSHOT unsigned long smg$snapshot(); /* SMG$SNAPSHOT_TO_PRINTER -- write snapshot to printer */ #define smg$snapshot_to_printer SMG$SNAPSHOT_TO_PRINTER unsigned long smg$snapshot_to_printer(); /* SMG$UNPASTE_VIRTUAL_DISPLAY -- remove virtual display */ #define smg$unpaste_virtual_display SMG$UNPASTE_VIRTUAL_DISPLAY unsigned long smg$unpaste_virtual_display(); # ifdef __cplusplus } # endif #endif /*_SMG$ROUTINES_H*/