HP 3000 Manuals

tgoto [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

tgoto 

The tgoto routine is used to decode the cursor motion values (interface
to termcap library).

Syntax 

     #include <curses.h>

     char *tgoto (char *cap, int col, int row);

Parameters 

cap                   The pointer to the termcap capability for cursor
                      motion.

col                   The column placement of the new cursor.

row                   The row placement of the new cursor.

Return Values 

On success, a pointer to the decoded cursor addressing string is
returned; otherwise, a null pointer is returned.

Description 

The tgoto() routine decodes cursor values returned from tgetstr().  A
pointer to a cursor addressing string is returned that, when sent to the
terminal with tputs(), moves the cursor to the new location.

The tgoto() routine is included for compatibility purposes with programs
that use the termcap library.  New programs should use terminfo routines.

Implementation Considerations 

UNIX System V implementation

See Also 

mvcur()

Portability 

HP-UX, UNIX System V



MPE/iX 5.0 Documentation