PTC MKS Toolkit Product Documentation

All on-line PTC MKS Toolkit, PTC X/Server, MKS AlertCentre, and PTC Lex & YACC documentation refers to the currently shipping version of the product and is © 1986-2022 PTC.


PTC MKS Toolkit Curses Reference

Commands

infocmp — compare or print out terminfo descriptions
reset — terminal initialization
tic — the terminfo entry-description compiler
tput — initialize a terminal or query terminfo database
tset — terminal initialization

Functions

addch — add a character (with attributes) to a curses window, then advance the cursor
addchnstr — add a string of characters (and attributes) to a curses window
addchstr — add a string of characters (and attributes) to a curses window
addnstr — add a string of characters to a curses window and advance cursor
addstr — add a string of characters to a curses window and advance cursor
attroff — curses character and window attribute control routines
attron — curses character and window attribute control routines
attrset — curses character and window attribute control routines
baudrate — curses environment query routines
beep — curses bell and screen flash routines
bkgd — curses window background manipulation routines
bkgdset — curses window background manipulation routines
border — create curses borders, horizontal and vertical lines
bottom_panel — panel stack extension for curses
box — create curses borders, horizontal and vertical lines
can_change_color — curses color manipulation routines
cbreak — curses input options
clear — clear all or part of a curses window
clearok — curses output options
clrtobot — clear all or part of a curses window
clrtoeol — clear all or part of a curses window
color_content — curses color manipulation routines
copywin — overlay and manipulate overlapped curses windows
curs_set — low-level xscurses routines
def_prog_mode — low-level xscurses routines
def_shell_mode — low-level xscurses routines
delay_output — miscellaneous curses utility routines
delch — delete character under the cursor in a curses window
del_curterm — curses interfaces to terminfo database
deleteln — delete and insert lines in a curses window
del_panel — panel stack extension for curses
delscreen — curses screen initialization and manipulation routines
delwin — create curses windows
derwin — create curses windows
doupdate — refresh curses windows and lines
dupwin — create curses windows
echo — curses input options
echochar — add a character (with attributes) to a curses window, then advance the cursor
endwin — curses screen initialization and manipulation routines
erase — clear all or part of a curses window
erasechar — curses environment query routines
filter — miscellaneous curses utility routines
flash — curses bell and screen flash routines
flushinp — miscellaneous curses utility routines
form_cursor — position a form window cursor
form_data — test for off-scrren data in form
form_driver — command-processing loop of the form system
form_field — make and break connections between fields and forms
form_field_attributes — color and attribute control for form fields
form_field_buffer — field buffer control
form_field_info — retrieve field characteristics
form_field_just — retrieve field characteristics
form_field_new — create and destroy form fields
form_field_opts — set and get field options
form_fieldtype — define validation-field types
form_field_userptr — associate application data with a form field
form_field_validation — data type validation for fields
form_hook — set hooks for automatic invocation by applications
form_new — create and destroy forms
form_new_page — form pagination functions
form_opts — set and get form options
form_page — set and get form page number
form_post — write or erase forms from associated subwindows
form_requestname — handle printable form request names
forms — curses extension for programming forms
form_userptr — associate application data with a form item
form_win — make and break form window and subwindow associations
getbegyx — get curses cursor and window coordinates
getbkgd — curses window background manipulation routines
getch — get (or push back) characters from curses terminal keyboard
getmaxyx — get curses cursor and window coordinates
getmouse — mouse interface through curses
getnstr — accept character strings from curses terminal keyboard
getparyx — get curses cursor and window coordinates
getstr — accept character strings from curses terminal keyboard
getsyx — low-level xscurses routines
getwin — miscellaneous curses utility routines
getyx — get curses cursor and window coordinates
halfdelay — curses input options
has_colors — curses color manipulation routines
has_ic — curses environment query routines
has_il — curses environment query routines
hide_panel — panel stack extension for curses
hline — create curses borders, horizontal and vertical lines
idcok — curses output options
idlok — curses output options
immedok — curses output options
inch — get a character and attributes from a curses window
inchnstr — get a string of characters (and attributes) from a curses window
inchstr — get a string of characters (and attributes) from a curses window
init_color — curses color manipulation routines
init_pair — curses color manipulation routines
initscr — curses screen initialization and manipulation routines
innstr — get a string of characters from a curses window
insch — insert a character before cursor in a curses window
insdelln — delete and insert lines in a curses window
insertln — delete and insert lines in a curses window
insnstr — insert string before cursor in a curses window
insstr — insert string before cursor in a curses window
instr — get a string of characters from a curses window
intrflush — curses input options
isendwin — curses screen initialization and manipulation routines
is_linetouched — curses refresh control routines
is_wintouched — curses refresh control routines
keyname — miscellaneous curses utility routines
keypad — curses input options
killchar — curses environment query routines
leaveok — curses output options
longname — curses environment query routines
mcprint — ship binary data to printer
menu_attributes — color and attribute control for menus
menu_cursor — position a menu's cursor
menu_driver — command-processing loop of the menu system
menu_format — set and get menu sizes
menu_hook — set hooks for automatic invocation by applications
menu_items — make and break connections between items and menus
menu_mark — get and set the menu mark string
menu_new — create and destroy menus
menu_opts — set and get menu options
menu_pattern — get and set a menu's pattern buffer
menu_post — write or erase menus from associated subwindows
menu_requestname — handle printable menu request names
menus — curses extension for programming menus
menu_spacing — Control spacing between menu items.
menu_userptr — associate application data with a menu item
menu_win — make and break menu window and subwindow associations
meta — curses input options
mitem_current — set and get current_menu_item
mitem_name — get menu item name and description fields
mitem_new — create and destroy menu items
mitem_opts — set and get menu item options
mitem_userptr — associate application data with a menu item
mitem_value — set and get menu item values
mitem_visible — check visibility of a menu item
mousemask — mouse interface through curses
move — move curses window cursor
move_panel — panel stack extension for curses
mvaddch — add a character (with attributes) to a curses window, then advance the cursor
mvaddchnstr — add a string of characters (and attributes) to a curses window
mvaddchstr — add a string of characters (and attributes) to a curses window
mvaddnstr — add a string of characters to a curses window and advance cursor
mvaddstr — add a string of characters to a curses window and advance cursor
mvcur — curses interfaces to terminfo database
mvdelch — delete character under the cursor in a curses window
mvderwin — create curses windows
mvgetch — get (or push back) characters from curses terminal keyboard
mvgetnstr — accept character strings from curses terminal keyboard
mvgetstr — accept character strings from curses terminal keyboard
mvhline — create curses borders, horizontal and vertical lines
mvinch — get a character and attributes from a curses window
mvinchnstr — get a string of characters (and attributes) from a curses window
mvinchstr — get a string of characters (and attributes) from a curses window
mvinnstr — get a string of characters from a curses window
mvinsch — insert a character before cursor in a curses window
mvinsnstr — insert string before cursor in a curses window
mvinsstr — insert string before cursor in a curses window
mvinstr — get a string of characters from a curses window
mvprintw — print formatted output in curses windows
mvscanw — convert formatted input from a curses widow
mvwaddch — add a character (with attributes) to a curses window, then advance the cursor
mvwaddchnstr — add a string of characters (and attributes) to a curses window
mvwaddchstr — add a string of characters (and attributes) to a curses window
mvwaddnstr — add a string of characters to a curses window and advance cursor
mvwaddstr — add a string of characters to a curses window and advance cursor
mvwdelch — delete character under the cursor in a curses window
mvwgetch — get (or push back) characters from curses terminal keyboard
mvwgetnstr — accept character strings from curses terminal keyboard
mvwgetstr — accept character strings from curses terminal keyboard
mvwin — create curses windows
mvwinch — get a character and attributes from a curses window
mvwinchnstr — get a string of characters (and attributes) from a curses window
mvwinchstr — get a string of characters (and attributes) from a curses window
mvwinnstr — get a string of characters from a curses window
mvwinsch — insert a character before cursor in a curses window
mvwinsnstr — insert string before cursor in a curses window
mvwinsstr — insert string before cursor in a curses window
mvwinstr — get a string of characters from a curses window
mvwprintw — print formatted output in curses windows
mvwscanw — convert formatted input from a curses widow
napms — low-level xscurses routines
ncurses — CRT screen handling and optimization package
newpad — create and display curses pads
new_panel — panel stack extension for curses
newterm — curses screen initialization and manipulation routines
newwin — create curses windows
nl — curses output options
nocbreak — curses input options
nodelay — curses input options
noecho — curses input options
nonl — curses output options
noqiflush — curses input options
noraw — curses input options
notimeout — curses input options
overlay — overlay and manipulate overlapped curses windows
overwrite — overlay and manipulate overlapped curses windows
pair_content — curses color manipulation routines
panel_above — panel stack extension for curses
panel_below — panel stack extension for curses
panel_hidden — panel stack extension for curses
panel_userptr — panel stack extension for curses
panel_window — panel stack extension for curses
pechochar — create and display curses pads
pnoutrefresh — create and display curses pads
prefresh — create and display curses pads
printw — print formatted output in curses windows
putp — curses interfaces to terminfo database
putwin — miscellaneous curses utility routines
qiflush — curses input options
raw — curses input options
redrawwin — refresh curses windows and lines
refresh — refresh curses windows and lines
replace_panel — panel stack extension for curses
reset_prog_mode — low-level xscurses routines
reset_shell_mode — low-level xscurses routines
resetty — low-level xscurses routines
resizeterm — change the curses terminal size
restartterm — curses interfaces to terminfo database
ripoffline — low-level xscurses routines
savetty — low-level xscurses routines
scanw — convert formatted input from a curses widow
scr_dump — read (write) a curses screen from (to) a file
scr_init — read (write) a curses screen from (to) a file
scrl — scroll a curses window
scroll — scroll a curses window
scrollok — curses output options
scr_restore — read (write) a curses screen from (to) a file
scr_set — read (write) a curses screen from (to) a file
set_curterm — curses interfaces to terminfo database
set_panel_userptr — panel stack extension for curses
setscrreg — curses output options
setsyx — low-level xscurses routines
setterm — curses interfaces to terminfo database
set_term — curses screen initialization and manipulation routines
setupterm — curses interfaces to terminfo database
show_panel — panel stack extension for curses
slk_attroff — curses soft label routines
slk_attron — curses soft label routines
slk_attrset — curses soft label routines
slk_clear — curses soft label routines
slk_init — curses soft label routines
slk_label — curses soft label routines
slk_noutrefresh — curses soft label routines
slk_refresh — curses soft label routines
slk_restore — curses soft label routines
slk_set — curses soft label routines
slk_touch — curses soft label routines
standend — curses character and window attribute control routines
standout — curses character and window attribute control routines
start_color — curses color manipulation routines
subpad — create and display curses pads
subwin — create curses windows
syncok — create curses windows
termattrs — curses environment query routines
termname — curses environment query routines
tgetent — direct curses interface to the terminfo capability database
tgetflag — direct curses interface to the terminfo capability database
tgetnum — direct curses interface to the terminfo capability database
tgetstr — direct curses interface to the terminfo capability database
tgoto — direct curses interface to the terminfo capability database
tigetflag — curses interfaces to terminfo database
tigetnum — curses interfaces to terminfo database
tigetstr — curses interfaces to terminfo database
timeout — curses input options
top_panel — panel stack extension for curses
touchline — curses refresh control routines
touchwin — curses refresh control routines
tparm — curses interfaces to terminfo database
tputs — curses interfaces to terminfo database
tputs — direct curses interface to the terminfo capability database
typeahead — curses input options
unctrl — miscellaneous curses utility routines
ungetch — get (or push back) characters from curses terminal keyboard
ungetmouse — mouse interface through curses
untouchwin — curses refresh control routines
update_panels — panel stack extension for curses
use_env — miscellaneous curses utility routines
vidattr — curses interfaces to terminfo database
vidputs — curses interfaces to terminfo database
vline — create curses borders, horizontal and vertical lines
vwprintw — print formatted output in curses windows
vwscanw — convert formatted input from a curses widow
waddch — add a character (with attributes) to a curses window, then advance the cursor
waddchnstr — add a string of characters (and attributes) to a curses window
waddchstr — add a string of characters (and attributes) to a curses window
waddnstr — add a string of characters to a curses window and advance cursor
waddstr — add a string of characters to a curses window and advance cursor
wattroff — curses character and window attribute control routines
wattron — curses character and window attribute control routines
wattrset — curses character and window attribute control routines
wbkgd — curses window background manipulation routines
wbkgdset — curses window background manipulation routines
wborder — create curses borders, horizontal and vertical lines
wclear — clear all or part of a curses window
wclrtobot — clear all or part of a curses window
wclrtoeol — clear all or part of a curses window
wcursyncup — create curses windows
wdelch — delete character under the cursor in a curses window
wdeleteln — delete and insert lines in a curses window
wechochar — add a character (with attributes) to a curses window, then advance the cursor
werase — clear all or part of a curses window
wgetch — get (or push back) characters from curses terminal keyboard
wgetnstr — accept character strings from curses terminal keyboard
wgetstr — accept character strings from curses terminal keyboard
whline — create curses borders, horizontal and vertical lines
winch — get a character and attributes from a curses window
winchnstr — get a string of characters (and attributes) from a curses window
winchstr — get a string of characters (and attributes) from a curses window
winnstr — get a string of characters from a curses window
winsch — insert a character before cursor in a curses window
winsdelln — delete and insert lines in a curses window
winsertln — delete and insert lines in a curses window
winsnstr — insert string before cursor in a curses window
winsstr — insert string before cursor in a curses window
winstr — get a string of characters from a curses window
wmove — move curses window cursor
wnoutrefresh — refresh curses windows and lines
wprintw — print formatted output in curses windows
wredrawln — refresh curses windows and lines
wrefresh — refresh curses windows and lines
wresize — resize a curses window
wscanw — convert formatted input from a curses widow
wscrl — scroll a curses window
wsetscrreg — curses output options
wstandend — curses character and window attribute control routines
wstandout — curses character and window attribute control routines
wsyncdown — create curses windows
wsyncup — create curses windows
wtimeout — curses input options
wtouchln — curses refresh control routines
wvline — create curses borders, horizontal and vertical lines

Miscellaneous

term — format of compiled term file
terminfo — terminal capability data base

Other

term — conventions for naming terminal types