.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)doc.I 5.1 (Berkeley) %G%
If the character is a newline
the line will be cleared to the end,
and the current \*y will be changed to the
beginning off the next line
if newline mapping is on,
or to the next line at the same x co-ordinate
will move to the beginning of the line on the window.
will be expanded into spaces
in the normal tabstop positions of
Add the string pointed to by
on the window at the current \*y.
In this case, it will put on as much as it can.
Draws a box around the window using
as the character for drawing the vertical sides, and
for drawing the horizontal lines.
If scrolling is not allowed,
and the window encompasses the lower right-hand corner of the terminal,
the corners are left blank to avoid a scroll.
Resets the entire window to blanks.
this sets the clear flag,
which will cause a clear-screen sequence to be sent
This also moves the current \*y
.Fd clearok scr\*,boolf \*m
Sets the clear flag for the screen
this will force a clear-screen to be printed on the next
or stop it from doing so if
This only works on screens,
does not alter the contents of the screen.
call will cause a clear-screen,
even if the window passed to
Wipes the window clear from the current \*y to the bottom.
This does not force a clear-screen sequence on the next refresh
Wipes the window clear from the current \*y to the end of the line.
Delete the character at the current \*y.
Each character after it on the line shifts to the left,
and the last character becomes blank.
Every line below the current one will move up,
and the bottom line will become blank.
The current \*y will remain unchanged.
Erases the window to blanks without setting the clear flag.
except that it never causes a clear-screen sequence to be generated
Each character after it shifts to the right,
and the last character disappears.
Insert a line above the current one.
Every line below the current line
and the bottom line will disappear.
The current line will become blank,
and the current \*y will remain unchanged.
Change the current \*y of the window to
This is done non-destructively,
leave the contents of the space on
.Fd overwrite win1\*,win2
This is done destructively,
.Fd printw fmt\*,arg1\*,arg2\*,...
.Fd wprintw win\*,fmt\*,arg1\*,arg2\*,...
on the window starting at the current \*y.
to add the string on the window.
It is often advisable to use the field width options of
to avoid leaving things on the window from earlier calls.
Synchronize the terminal screen with the desired window.
If the window is not a screen,
only that part covered by it is updated.
In this case, it will update whatever it can
without causing the scroll.
Start and stop putting characters onto
causes any characters added to the window
to be put in standout mode on the terminal
(if it has that capability).
are used (see Appendix A).