projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
date and time created 83/08/09 18:37:55 by edward
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
wwupdate.c
#ifndef lint
static char
*
sccsid
=
"@(#)wwupdate.c 3.1 83/08/09"
;
#endif
#include
"ww.h"
wwupdate
()
{
register
i
,
j
;
register
union
ww_char
*
ns
, *
os
;
(*
tt
.
tt_setinsert
)(
0
);
for
(
i
=
0
;
i
<
wwnrow
;
i
++) {
ns
=
wwns
[
i
];
os
=
wwos
[
i
];
for
(
j
=
0
;
j
<
wwncol
;
j
++,
ns
++,
os
++) {
if
(
ns
->
c_w
!=
os
->
c_w
) {
(*
tt
.
tt_move
)(
i
,
j
);
(*
tt
.
tt_setmodes
)(
ns
->
c_m
);
(*
tt
.
tt_putc
)(
ns
->
c_c
);
*
os
= *
ns
;
}
}
}
}