xref: /freebsd/contrib/netbsd-tests/lib/libcurses/tests/clear (revision 9268022b74279434ed6300244e3f977e56a8ceb5)
1*57718be8SEnji Cooperinclude addstr
2*57718be8SEnji Coopercall OK clear
3*57718be8SEnji Coopercall OK refresh
4*57718be8SEnji Coopercompare clear1.chk
5*57718be8SEnji Coopercall OK move 5 5
6*57718be8SEnji Coopercall OK addstr "abcde"
7*57718be8SEnji Coopercall OK move 20 5
8*57718be8SEnji Coopercall OK addstr "fghij"
9*57718be8SEnji Coopercall OK move 10 5
10*57718be8SEnji Coopercall OK refresh
11*57718be8SEnji Coopercompare clear2.chk
12*57718be8SEnji Coopercall OK clrtobot
13*57718be8SEnji Coopercall OK refresh
14*57718be8SEnji Coopercompare clear3.chk
15*57718be8SEnji Coopercall OK erase
16*57718be8SEnji Coopercall OK refresh
17*57718be8SEnji Coopercompare clear4.chk
18*57718be8SEnji Cooperinclude fill_screen
19*57718be8SEnji Coopercompare fill.chk
20*57718be8SEnji Coopercall OK erase
21*57718be8SEnji Coopercall OK refresh
22*57718be8SEnji Coopercompare clear5.chk
23*57718be8SEnji Cooper# create a window to play with, defines win1 var
24*57718be8SEnji Cooperinclude window_create
25*57718be8SEnji Coopercall OK waddstr $win1 "abc"
26*57718be8SEnji Coopercall OK mvwaddstr $win1 4 1 "efg"
27*57718be8SEnji Coopercall OK wmove $win1 1 0
28*57718be8SEnji Coopercall OK wrefresh $win1
29*57718be8SEnji Coopercompare clear6.chk
30*57718be8SEnji Coopercall OK wclrtobot $win1
31*57718be8SEnji Coopercall OK wrefresh $win1
32*57718be8SEnji Coopercompare clear7.chk
33*57718be8SEnji Cooperinclude fill_screen
34*57718be8SEnji Coopercomparend home.chk
35*57718be8SEnji Coopercompare fill.chk
36*57718be8SEnji Coopercall OK wrefresh $win1
37*57718be8SEnji Coopercall OK wclear $win1
38*57718be8SEnji Coopercall OK wrefresh $win1
39*57718be8SEnji Coopercompare clear8.chk
40*57718be8SEnji Coopercall OK clear
41*57718be8SEnji Coopercall OK refresh
42*57718be8SEnji Coopercompare clear1.chk
43*57718be8SEnji Cooperinclude fill_screen
44*57718be8SEnji Coopercompare fill.chk
45*57718be8SEnji Coopercall OK werase $win1
46*57718be8SEnji Coopercall OK wrefresh $win1
47*57718be8SEnji Coopercompare clear9.chk
48*57718be8SEnji Coopercall OK waddstr $win1 "abc"
49*57718be8SEnji Coopercall OK mvwaddstr $win1 4 1 "efg"
50*57718be8SEnji Coopercall OK wmove $win1 1 0
51*57718be8SEnji Coopercall OK wrefresh $win1
52*57718be8SEnji Coopercompare clear6.chk
53*57718be8SEnji Coopercall OK wmove $win1 4 0
54*57718be8SEnji Coopercall OK wclrtoeol $win1
55*57718be8SEnji Coopercall OK wrefresh $win1
56*57718be8SEnji Coopercompare clear10.chk
57*57718be8SEnji Cooper
58