/* Move down, if necessary, until we are at the desired line */
while (outline < destline) {
j = destline - outline;
/* Move down, if necessary, until we are at the desired line */
while (outline < destline) {
j = destline - outline;
/* Win big on Tek 4025 */
tputs(tgoto(DOWN_PARM, 0, j), j, plodput);
outline += j;
/* Win big on Tek 4025 */
tputs(tgoto(DOWN_PARM, 0, j), j, plodput);
outline += j;
tputs(tgoto(LEFT_PARM, 0, j), j, plodput);
outcol -= j;
}
tputs(tgoto(LEFT_PARM, 0, j), j, plodput);
outcol -= j;
}
/* Move up, if necessary, to desired row */
while (outline > destline) {
j = outline - destline;
/* Move up, if necessary, to desired row */
while (outline > destline) {
j = outline - destline;
/* Win big on Tek 4025 */
tputs(tgoto(UP_PARM, 0, j), j, plodput);
outline -= j;
/* Win big on Tek 4025 */
tputs(tgoto(UP_PARM, 0, j), j, plodput);
outline -= j;
/*
* This probably happens rarely, if at all.
* It seems mainly useful for ANSI terminals
/*
* This probably happens rarely, if at all.
* It seems mainly useful for ANSI terminals