SYSCALLS/PAD - display manager pad calls 82/04/01
Include files:
Fortran: /sys/ins/pad.ins.ftn
Pascal: /sys/ins/pad.ins.pas
Procedures:
pad_$raw (stream_id, status)
Places an input or transcript pad in raw mode.
pad_$cooked (stream_id, status)
Disables raw mode I/O to a pad.
pad_$create_frame (stream_id, width, height, status)
Create a frame in the pad.
pad_$delete_frame (stream_id, status)
Delete the current frame from the pad
pad_$clear_frame (stream_id, start_key, status)
Clear everything after start_key in the current frame, and truncate
the pad
pad_$close_frame (stream_id, status)
Close the current frame, and leave it in the pad
pad_$create (pad_name, name_len, pad_type, related_pad_sid,
side, options, size, result_sid, status)
Create a new pad and a window pane for it
pad_$create_window (pad_name, name_len, pad_type, unit, window,
result_sid, status)
Create a new pad and a separate window for it
pad_$edit_wait(stream_id, status)
Wait for completion of editing on a user created edit pad
pad_$set_scale (stream_id, xs, ys, status)
Set coordinate scale factors for this pad to xs, ys
pad_$move (stream_id, rel_abs, x, y, status)
Move output cursor to position x, y within a frame
pad_$load_font (stream_id, font_name, name_len, font_index, status)
Load a new font for subsequent use within this pad
pad_$use_font (stream_id, font_index, status)
Switch to a font_index previously loaded and returned by pad_$load_font
pad_$inq_font (stream_id, fwidth, fheight, fname, fnsize, fnlen, status)
Return information about the font currently in use in this pad
pad_$inq_windows (stream_id, window_list, wl_size, window_cnt, status)
Return information about windows currently viewing this pad
pad_$inq_position (stream_id, x, y, status)
Return the current output cursor position within current frame
pad_$inq_disp_type (stream_id, disp_type, unit, status)
Return display unit and display type of display being used by display
manager on this stream
pad_$inq_kbd (stream_id, buff_size, kbd_suffix, length, status)
Obtain the key definition suffix string that the display manager uses
for /sys/dm/std_keys
pad_$inq_view (stream_id, window_no, line, eof_lnum, x, y, status)
Inquire of the display manager what part of the pad on this stream a
window is viewing
pad_$set_view (stream_id, window_no, line, x, y, status)
Reposition a window relative to a pad
pad_$set_tabs (stream_id, tabstop_buf, count, status)
Set tabstops in this pad. Can be used for input or transcript pads
pad_$cpr_enable (stream_id, cpr_type, status)
Enable cursor position reporting on raw input from this input pad.
pad_$locate (stream_id, x, y, char, status)
Return the keyboard cursor location along with the next raw keystroke
pad_$def_pfk (stream_id, key_name, def, def_len, status)
Define a display manager function key for use within windows viewing
this pad.
pad_$dm_cmd (stream_id, command, cmd_length, status)
Execute a display manager command.
pad_$pop_push_window( stream_id, window_no, flag, status )
Pops or pushes the specified window.
pad_$set_border( stream_id, window_no, flag, status )
Adds a border and banner to, or removes a border and banner from,
a window.