HP 3000 Manuals

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


MPE/iX Developer's Kit Reference Manual Volume II

mvcur 

The mvcur routine is used to move the cursor (interface to terminfo).

Syntax 

     #include <curses.h>

     int mvcur (int oldrow, int oldcol, int newrow, int newcol);

Parameters 

oldrow                The row from which cursor is to be moved.

oldcol                The column from which cursor is to be moved.

newrow                The row to which cursor is to be moved.

newcol                The column to which cursor is to be moved.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The mvcur() routine is a low-level routine used only outside of CURSES
when the program has to deal directly with the database to handle certain
terminal capabilities.  The use of appropriate CURSES routines is
recommended in all other situations.

The mvcur() routine moves the cursor from the location specified by
oldrow and oldcol to the location specified by newrow and newcol.  The
program must keep track of the current cursor position.  All output will
be sent to stdout through _putchar()

Implementation Considerations 

Identical to XPG/3

Portability 

HP-UX, UNIX System V



MPE/iX 5.0 Documentation