* Bill Joy UCB September, 1977
* Clear the entire (physical and logical) screen
vclrbyte(vtube0
, LINES
* COLUMNS
);
* Put out a control sequence to the terminal.
putchar(tp
> dol
? '~' : '@');
* Clear to the end of the current physical line
destline
=+ destcol
/ VCOLUMNS
;
if (destline
< 0 || destline
> TUBELINES
)
error("Internal error: vclreol@- please tell someone");
tp
= vtube
[destline
] + destcol
;
while (i
> 0 && *tp
!= 0) {