* This routine scrolls the window up a line.
* @(#)scroll.c 1.5 (Berkeley) %G%
for (i
= 1; i
< win
->_maxy
; i
++)
win
->_y
[i
- 1] = win
->_y
[i
];
for (sp
= temp
; sp
< &temp
[win
->_maxx
]; )
win
->_y
[win
->_maxy
- 1] = temp
;
fprintf(outf
, "SCROLL: win == curscr\n");
fprintf(outf
, "SCROLL: win [0%o] != curscr [0%o]\n",win
,curscr
);