One of the most difficult things to do properly is motion opti‐
mization. After using and to get the terminal descriptions, the
function deals with this task. It usage is simple: simply tell
it where you are now and where you want to go. For example
mvcur(00LINES/2COLS/2); would move the cursor from the home posi‐
tion (00) to the middle of the screen. If you wish to force ab‐
solute addressing, you can use the function from the routines, or
you can tell that you are impossibly far away, For example, to
absolutely address the lower left hand corner of the screen fromanywhere just claim that you are in the upper right hand corner:mvcur(0COLS−1LINES−10);