home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / curses-bsd4.4 / PSD.doc / fns.doc < prev    next >
Encoding:
Text File  |  1994-06-01  |  17.2 KB  |  800 lines

  1. .\" Copyright (c) 1992, 1993
  2. .\"    The Regents of the University of California.  All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\"    notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\"    notice, this list of conditions and the following disclaimer in the
  11. .\"    documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\"    must display the following acknowledgement:
  14. .\"    This product includes software developed by the University of
  15. .\"    California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\"    may be used to endorse or promote products derived from this software
  18. .\"    without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\"     @(#)fns.doc    8.2 (Berkeley) 6/1/94
  33. .\"
  34. .Ds
  35. .Fn addch "char ch" \(dg
  36. .De
  37. Add the character
  38. .Vn ch
  39. on the window
  40. at the current \*y.
  41. If the character is a newline
  42. (\'\en\')
  43. the line will be cleared to the end,
  44. and the current \*y will be changed to the
  45. beginning off the next line
  46. if newline mapping is on,
  47. or to the next line at the same x co-ordinate
  48. if it is off.
  49. A return
  50. (\'\er\')
  51. will move to the beginning of the line on the window.
  52. Tabs
  53. (\'\et\')
  54. will be expanded into spaces
  55. in the normal tabstop positions of
  56. every eight characters.
  57. \*(Es
  58. .Ds
  59. .Fn addstr "char *str" \(dg
  60. .De
  61. Add the string pointed to by
  62. .Vn str
  63. on the window at the current \*y.
  64. \*(Es
  65. In this case, it will put on as much as it can.
  66. .Ds
  67. .Fn baudrate "" \(dg
  68. .De
  69. Returns the output baud rate of the terminal.
  70. This is a system dependent constant
  71. (defined in
  72. .b <sys/tty.h>
  73. on BSD systems,
  74. which is included by
  75. .b <curses.h> ).
  76. .Ds
  77. .Fn box "WINDOW win" "char vert" "char hor"
  78. .De
  79. .Pp
  80. Draws a box around the window using
  81. .Vn vert
  82. as the character for drawing the vertical sides, and
  83. .Vn hor
  84. for drawing the horizontal lines.
  85. If scrolling is not allowed,
  86. and the window encompasses the lower right-hand corner of the terminal,
  87. the corners are left blank to avoid a scroll.
  88. .Ds
  89. .Fn cbreak "" \(dg
  90. .De
  91. Set or the terminal to cbreak mode.
  92. .Ds
  93. .Fn clear "" \(dg
  94. .De
  95. Resets the entire window to blanks.
  96. If
  97. .Vn win
  98. is a screen,
  99. this sets the clear flag,
  100. which will cause a clear-screen sequence to be sent
  101. on the next
  102. .Fn refresh
  103. call.
  104. This also moves the current \*y
  105. to (0\*,0).
  106. .Ds
  107. .Fn clearok "WINDOW *scr" "int boolf" \(dg
  108. .De
  109. Sets the clear flag for the screen
  110. .Vn scr .
  111. If
  112. .Vn boolf
  113. is non-zero,
  114. this will force a clear-screen to be printed on the next
  115. .Fn refresh ,
  116. or stop it from doing so if
  117. .Vn boolf
  118. is 0.
  119. This only works on screens,
  120. and,
  121. unlike
  122. .Fn clear ,
  123. does not alter the contents of the screen.
  124. If
  125. .Vn scr
  126. is
  127. .Vn curscr ,
  128. the next
  129. .Fn refresh
  130. call will cause a clear-screen,
  131. even if the window passed to
  132. .Fn refresh
  133. is not a screen.
  134. .Ds
  135. .Fn clrtobot "" \(dg
  136. .De
  137. Wipes the window clear from the current \*y to the bottom.
  138. This does not force a clear-screen sequence on the next refresh
  139. under any circumstances.
  140. \*(Nm
  141. .Ds
  142. .Fn clrtoeol "" \(dg
  143. .De
  144. Wipes the window clear from the current \*y to the end of the line.
  145. \*(Nm
  146. .Ds
  147. .Fn crmode "" \(dg
  148. .De
  149. Identical to 
  150. .Fn cbreak .
  151. The misnamed macro
  152. .Fn crmode
  153. and
  154. .Fn nocrmode
  155. is retained for backwards compatibility
  156. with ealier versions of the library.
  157. .Ds
  158. .Fn delch ""
  159. .De
  160. Delete the character at the current \*y.
  161. Each character after it on the line shifts to the left,
  162. and the last character becomes blank.
  163. .Ds
  164. .Fn deleteln ""
  165. .De
  166. Delete the current line.
  167. Every line below the current one will move up,
  168. and the bottom line will become blank.
  169. The current \*y will remain unchanged.
  170. .Ds
  171. .Fn delwin "WINDOW *win"
  172. .De
  173. Deletes the window from existence.
  174. All resources are freed for future use by
  175. .b calloc (3).
  176. If a window has a
  177. .Fn subwin
  178. allocated window inside of it,
  179. deleting the outer window
  180. the subwindow is not affected,
  181. even though this does invalidate it.
  182. Therefore,
  183. subwindows should be deleted before their
  184. outer windows are.
  185. .Ds
  186. .Fn echo "" \(dg
  187. .De
  188. Sets the terminal to echo characters.
  189. .Ds
  190. .Fn endwin ""
  191. .De
  192. Finish up window routines before exit.
  193. This restores the terminal to the state it was before
  194. .Fn initscr
  195. (or
  196. .Fn gettmode
  197. and
  198. .Fn setterm )
  199. was called.
  200. It should always be called before exiting and before the final calls to 
  201. .Fn delwin .
  202. It does not exit.
  203. This is especially useful for resetting tty stats
  204. when trapping rubouts via
  205. .b signal (2).
  206. .Ds
  207. .Fn erase "" \(dg
  208. .De
  209. Erases the window to blanks without setting the clear flag.
  210. This is analagous to
  211. .Fn clear ,
  212. except that it never causes a clear-screen sequence to be generated
  213. on a
  214. .Fn refresh .
  215. \*(Nm
  216. .Ds
  217. .Fn erasechar "" \(dg
  218. .De
  219. Returns the erase character
  220. for the terminal,
  221. .i i.e. ,
  222. the character used by the user to erase a single character from the input.
  223. .Ds
  224. .Fn flushok "WINDOW *win" "int boolf"
  225. .De
  226. Normally,
  227. .Fn refresh
  228. .Fn fflush 's
  229. .Vn stdout
  230. when it is finished.
  231. .Fn flushok
  232. allows you to control this.
  233. if
  234. .Vn boolf
  235. is non-zero
  236. (\c
  237. .i i.e. ,
  238. non-zero)
  239. it will do the
  240. .Fn fflush ,
  241. otherwise it will not.
  242. .Ds
  243. .Fn getch "" \(dg
  244. .De
  245. Gets a character from the terminal and (if necessary)
  246. echos it on the window.
  247. \*(Es
  248. Otherwise, the character gotten is returned.
  249. If
  250. .i noecho
  251. has been set, then the window is left unaltered.
  252. In order to retain control of the terminal,
  253. it is necessary to have one of
  254. .i noecho ,
  255. .i cbreak ,
  256. or
  257. .i rawmode
  258. set.
  259. If you do not set one,
  260. whatever routine you call to read characters will set
  261. .i cbreak
  262. for you,
  263. and then reset to the original mode when finished.
  264. .Ds
  265. .Fn getstr "char *str" \(dg
  266. .De
  267. Get a string through the window
  268. and put it in the location pointed to by
  269. .Vn str ,
  270. which is assumed to be large enough to handle it.
  271. It sets tty modes if necessary,
  272. and then calls
  273. .Fn getch
  274. (or
  275. .Fn wgetch )
  276. to get the characters needed to fill in the string
  277. until a newline or EOF is encountered.
  278. The newline stripped off the string.
  279. \*(Es
  280. .Ds
  281. .Fn gettmode ""
  282. .De
  283. Get the tty stats.
  284. This is normally called by
  285. .Fn initscr .
  286. .Ds
  287. .Fn getyx "WINDOW *win" "int y" "int x"
  288. .De
  289. Puts the current \*y of
  290. .Vn win
  291. in the variables
  292. .Vn y
  293. and
  294. .Vn x .
  295. Since it is a macro,
  296. not a function,
  297. you do not pass the address
  298. of
  299. .Vn y
  300. and
  301. .Vn x .
  302. .Ds
  303. .Fn idlok "WINDOW *win" "int boolf"
  304. .De
  305. Reserved for future use.
  306. This will eventually signal to
  307. .Fn refresh
  308. that it is all right to use the insert and delete line sequences
  309. when updating the window.
  310. .ne 1i
  311. .Ds
  312. .Fn inch "" \(dg
  313. .De
  314. Returns the character at the current position on the given window.
  315. This does not make any changes to the window.
  316. .Ds
  317. .Fn initscr ""
  318. .De
  319. Initialize the screen routines.
  320. This must be called before any of the screen routines are used.
  321. It initializes the terminal-type data and such,
  322. and without it none of the routines can operate.
  323. If standard input is not a tty,
  324. it sets the specifications to the terminal
  325. whose name is pointed to by
  326. .Vn Def\*_term
  327. (initially "dumb").
  328. If the boolean
  329. .Vn My\*_term
  330. is non-zero,
  331. .Vn Def\*_term
  332. is always used.
  333. If the system supports the
  334. .b TIOCGWINSZ
  335. .i ioctl(2)
  336. call,
  337. it is used to get the number of lines and columns for the terminal,
  338. otherwise it is taken from the
  339. .b termcap
  340. description.
  341. .Ds
  342. .Fn insch "char c"
  343. .De
  344. Insert
  345. .Vn c
  346. at the current \*y
  347. Each character after it shifts to the right,
  348. and the last character disappears.
  349. \*(Es
  350. .Ds
  351. .Fn insertln ""
  352. .De
  353. Insert a line above the current one.
  354. Every line below the current line
  355. will be shifted down,
  356. and the bottom line will disappear.
  357. The current line will become blank,
  358. and the current \*y will remain unchanged.
  359. .Ds
  360. .Fn killchar "" \(dg
  361. .De
  362. Returns the line kill character
  363. for the terminal,
  364. .i i.e. ,
  365. the character used by the user to erase an entire line from the input.
  366. .Ds
  367. .Fn leaveok "WINDOW *win" "int boolf" \(dg
  368. .De
  369. Sets the boolean flag for leaving the cursor after the last change.
  370. If
  371. .Vn boolf
  372. is non-zero,
  373. the cursor will be left after the last update on the terminal,
  374. and the current \*y for
  375. .Vn win
  376. will be changed accordingly.
  377. If 
  378. .Vn boolf
  379.  is 0 the cursor will be moved to the current \*y.
  380. This flag
  381. (initially 0)
  382. retains its value until changed by the user.
  383. .Ds
  384. .Fn move "int y" "int x"
  385. .De
  386. Change the current \*y of the window to
  387. .Vn y\*,x ). (
  388. \*(Es
  389. .Ds
  390. .Fn mvcur "int lasty" "int lastx" "int newy" "int newx"
  391. .De
  392. Moves the terminal's cursor from
  393. .Vn lasty\*,lastx ) (
  394. to
  395. .Vn newy\*,newx ) (
  396. in an approximation of optimal fashion.
  397. This routine uses the functions borrowed from
  398. .i ex
  399. version 2.6.
  400. It is possible to use this optimization
  401. without the benefit of the screen routines.
  402. With the screen routines, this should not be called by the user.
  403. .Fn move
  404. and
  405. .Fn refresh
  406. should be used to move the cursor position,
  407. so that the routines know what's going on.
  408. .Ds
  409. .Fn mvprintw "int y" "int x" "const char *fmt" "..."
  410. .De
  411. Equivalent to:
  412. .(l
  413. move(y, x);
  414. printw(fmt, ...);
  415. .)l
  416. .Ds 
  417. .Fn mvscanw "int y" "int x" "const char *fmt" "..."
  418. .De
  419. Equivalent to:
  420. .(l
  421. move(y, x);
  422. scanw(fmt, ...);
  423. .)l
  424. .Ds
  425. .Fn mvwin "WINDOW *win" "int y" "int x"
  426. .De
  427. Move the home position of the window
  428. .Vn win
  429. from its current starting coordinates
  430. to
  431. .Vn y\*,x ). (
  432. If that would put part or all of the window
  433. off the edge of the terminal screen,
  434. .Fn mvwin
  435. returns ERR and does not change anything.
  436. For subwindows,
  437. .Fn mvwin
  438. also returns ERR if you attempt to move it off its main window.
  439. If you move a main window,
  440. all subwindows are moved along with it.
  441. .Ds
  442. .Fn mvwprintw "WINDOW *win" "int y" "int x" "const char *fmt" "..."
  443. .De
  444. Equivalent to:
  445. .(l
  446. wmove(win, y, x);
  447. printw(fmt, ...);
  448. .)l
  449. .Ds
  450. .Fn mvwscanw "WINDOW *win" "int y" "int x" "const char *fmt" "..."
  451. .De
  452. Equivalent to:
  453. .(l
  454. wmove(win, y, x);
  455. scanw(fmt, ...);
  456. .)l
  457. .Ds
  458. .Ft "WINDOW *"
  459. .Fn newwin "int lines" "int cols" "int begin_y" "int begin_x" 
  460. .De
  461. Create a new window with
  462. .Vn lines
  463. lines and
  464. .Vn cols
  465. columns starting at position
  466. .Vn begin\*_y\*,begin\*_x ). (
  467. If either
  468. .Vn lines
  469. or
  470. .Vn cols
  471. is 0 (zero),
  472. that dimension will be set to
  473. .Vn "LINES \- begin\*_y" ) (
  474. or
  475. .Vn "COLS \- begin\*_x" ) (
  476. respectively.
  477. Thus, to get a new window of dimensions
  478. .Vn LINES
  479. \(mu
  480. .Vn COLS ,
  481. use
  482. .Fn newwin 0 0 0 0 .
  483. .Ds
  484. .Fn nl "" \(dg
  485. .De
  486. Set the terminal to nl mode,
  487. .i i.e. ,
  488. start/stop the system from mapping
  489. .b <RETURN>
  490. to
  491. .b <LINE-FEED> .
  492. If the mapping is not done,
  493. .Fn refresh
  494. can do more optimization,
  495. so it is recommended, but not required, to turn it off.
  496. .Ds
  497. .Fn nocbreak "" \(dg
  498. .De
  499. Unset the terminal from cbreak mode.
  500. .Ds
  501. .Fn nocrmode "" \(dg
  502. .De
  503. Identical to
  504. .Fn nocbreak .
  505. The misnamed macro
  506. .Fn nocrmode
  507. is retained for backwards compatibility
  508. with ealier versions of the library.
  509. .Ds
  510. .Fn noecho "" \(dg
  511. .De
  512. Turn echoing of characters off.
  513. .Ds
  514. .Fn nonl "" \(dg
  515. .De
  516. Unset the terminal to from nl mode.  See 
  517. .Fn nl .
  518. .ne 1i
  519. .Ds
  520. .Fn noraw "" \(dg
  521. .De
  522. Unset the terminal from raw mode.  See 
  523. .Fn raw .
  524. .Ds
  525. .Fn overlay "WINDOW *win1" "WINDOW *win2"
  526. .De
  527. Overlay
  528. .Vn win1
  529. on
  530. .Vn win2 .
  531. The contents of
  532. .Vn win1 ,
  533. insofar as they fit,
  534. are placed on
  535. .Vn win2
  536. at their starting \*y.
  537. This is done non-destructively,
  538. i.e., blanks on
  539. .Vn win1
  540. leave the contents of the space on
  541. .Vn win2
  542. untouched.  Note that all non-blank characters are overwritten 
  543. destructively in the overlay.
  544. .Ds
  545. .Fn overwrite "WINDOW *win1" "WINDOW *win2"
  546. .De
  547. Overwrite
  548. .Vn win1
  549. on
  550. .Vn win2 .
  551. The contents of
  552. .Vn win1 ,
  553. insofar as they fit,
  554. are placed on
  555. .Vn win2
  556. at their starting \*y.
  557. This is done destructively,
  558. .i i.e. ,
  559. blanks on
  560. .Vn win1
  561. become blank on
  562. .Vn win2 .
  563. .Ds
  564. .Fn printw "char *fmt" "..."
  565. .De
  566. Performs a
  567. .Fn printf
  568. on the window starting at the current \*y.
  569. It uses
  570. .Fn addstr
  571. to add the string on the window.
  572. It is often advisable to use the field width options of
  573. .Fn printf
  574. to avoid leaving things on the window from earlier calls.
  575. \*(Es
  576. .Ds
  577. .Fn raw "" \(dg
  578. .De
  579. Set the terminal to raw mode.
  580. On version 7
  581. .Un \**
  582. .(f
  583. \**
  584. .Un
  585. is a trademark of Unix System Laboratories.
  586. .)f
  587. this also turns off newline mapping
  588. (see
  589. .Fn nl ).
  590. .Ds
  591. .Fn refresh "" \(dg
  592. .De
  593. Synchronize the terminal screen with the desired window.
  594. If the window is not a screen,
  595. only that part covered by it is updated.
  596. \*(Es
  597. In this case, it will update whatever it can
  598. without causing the scroll.
  599. .sp
  600. As a special case,
  601. if
  602. .Fn wrefresh
  603. is called with the window
  604. .Vn curscr
  605. the screen is cleared
  606. and repainted as it is currently.
  607. This is very useful for allowing the redrawing of the screen
  608. when the user has garbage dumped on his terminal.
  609. .Ds
  610. .Fn resetty "" \(dg
  611. .De
  612. .Fn resetty
  613. restores them to what
  614. .Fn savetty
  615. stored.
  616. These functions are performed automatically by
  617. .Fn initscr
  618. and
  619. .Fn endwin .  
  620. This function should not be used by the user.
  621. .Ds
  622. .Fn savetty "" \(dg
  623. .De
  624. .Fn savetty
  625. saves the current tty characteristic flags. See
  626. .Fn resetty .
  627. This function should not be used by the user.
  628. .Ds
  629. .Fn scanw "char *fmt" "..."
  630. .De
  631. Perform a
  632. .Fn scanf
  633. through the window using
  634. .Vn fmt .
  635. It does this using consecutive calls to 
  636. .Fn getch
  637. (or
  638. .Fn wgetch ).
  639. \*(Es
  640. .ne 1i
  641. .Ds
  642. .Fn scroll "WINDOW *win"
  643. .De
  644. Scroll the window upward one line.
  645. This is normally not used by the user.
  646. .Ds
  647. .Fn scrollok "WINDOW *win" "int boolf" \(dg
  648. .De
  649. Set the scroll flag for the given window.
  650. If
  651. .Vn boolf
  652. is 0, scrolling is not allowed.
  653. This is its default setting.
  654. .Ds
  655. .Fn standend "" \(dg
  656. .De
  657. End standout mode initiated by
  658. .Fn standout .
  659. .Ds
  660. .Fn standout "" \(dg
  661. .De
  662. Causes any characters added to the window
  663. to be put in standout mode on the terminal
  664. (if it has that capability).
  665. .Ds
  666. .Ft "WINDOW *"
  667. .Fn subwin "WINDOW *win" "int lines" "int cols" "int begin_y" "int begin_x"
  668. .De
  669. Create a new window with
  670. .Vn lines
  671. lines and
  672. .Vn cols
  673. columns starting at position
  674. .Vn begin\*_y\*,begin\*_x ) (
  675. inside the window
  676. .i win .
  677. This means that any change made to either window
  678. in the area covered
  679. by the subwindow will be made on both windows.
  680. .Vn begin\*_y\*,begin\*_x
  681. are specified relative to the overall screen,
  682. not the relative (0\*,0) of
  683. .Vn win .
  684. If either
  685. .Vn lines
  686. or
  687. .Vn cols
  688. is 0 (zero),
  689. that dimension will be set to
  690. .Vn "LINES \- begin\*_y" ) (
  691. or
  692. .Vn "COLS \- begin\*_x" ) (
  693. respectively.
  694. .Ds
  695. .Fn touchline "WINDOW *win" "int y" "int startx" "int endx"
  696. .De
  697. This function performs a function similar to
  698. .Fn touchwin
  699. on a single line.
  700. It marks the first change for the given line
  701. to be
  702. .Vn startx ,
  703. if it is before the current first change mark,
  704. and
  705. the last change mark is set to be
  706. .Vn endx
  707. if it is currently less than
  708. .Vn endx .
  709. .Ds
  710. .Fn touchoverlap "WINDOW *win1" "WINDOW *win2"
  711. .De
  712. Touch the window
  713. .Vn win2
  714. in the area which overlaps with
  715. .Vn win1 .
  716. If they do not overlap,
  717. no changes are made.
  718. .Ds
  719. .Fn touchwin "WINDOW *win"
  720. .De
  721. Make it appear that the every location on the window
  722. has been changed.
  723. This is usually only needed for refreshes with overlapping windows.
  724. .Ds
  725. .Fn tstp
  726. .De
  727. This function
  728. will save the current tty state
  729. and then put the process to sleep.
  730. When the process gets restarted,
  731. it restores the saved tty state
  732. and then calls
  733. .Fn wrefresh "curscr"
  734. to redraw the screen.
  735. .Fn Initscr
  736. sets the signal
  737. SIGTSTP
  738. to trap to this routine.
  739. .Ds
  740. .Fn unctrl "char *ch" \(dg
  741. .De
  742. Returns a string which is an ASCII representation of
  743. .Vn ch .  
  744. Characters are 8 bits long.
  745. .Ds
  746. .Fn unctrllen "char *ch" \(dg
  747. .De
  748. Returns the length of the ASCII representation of 
  749. .Vn ch .
  750. .ne 1i
  751. .Ds
  752. .Fn vwprintw "WINDOW *win" "const char *fmt" "va_list ap"
  753. .De
  754. Identical to 
  755. .Fn printw 
  756. except that it takes both a window specification and a pointer to a variable
  757. length argument list.
  758. .Ds
  759. .Fn vwscanw "WINDOW *win" "const char *fmt" "va_list ap"
  760. .De
  761. Identical to 
  762. .Fn scanw
  763. except that it takes both a window specification and a pointer to a variable
  764. length argument list.
  765. .Ds
  766. .Fn waddbytes "WINDOW *win" "char *str" "int len"
  767. .De
  768. This function is the low level character output function.  
  769. .Vn Len
  770. characters of the string
  771. .Vn str
  772. are output to the current \*y position of the window specified by
  773. .Vn win.
  774. .sp 2
  775. .pp
  776. \fIThe following functions differ from the standard functions only in their 
  777. specification of a window, rather than the use of the default
  778. .Vn stdscr.\fP
  779. .Ds
  780. .Fn waddch "WINDOW *win" "char ch" 
  781. .Fn waddstr "WINDOW *win" "char *str" 
  782. .Fn wclear "WINDOW *win"  
  783. .Fn wclrtobot "WINDOW *win"  
  784. .Fn wclrtoeol "WINDOW *win"  
  785. .Fn wdelch "WINDOW *win"  
  786. .Fn wdeleteln "WINDOW *win" 
  787. .Fn werase "WINDOW *win" 
  788. .Fn wgetch "WINDOW *win" 
  789. .Fn wgetstr "WINDOW *win" "char *str" 
  790. .Fn winch "WINDOW *win" \(dg
  791. .Fn winsch "WINDOW *win" "char c" 
  792. .Fn winsertln "WINDOW *win" 
  793. .Fn wmove "WINDOW *win" "int y" int x" 
  794. .Fn wprintw "WINDOW *win" "char *fmt" "..." 
  795. .Fn wrefresh "WINDOW *win" 
  796. .Fn wscanw "WINDOW *win" "char *fmt" "..." 
  797. .Fn wstandend "WINDOW *win" 
  798. .Fn wstandout "WINDOW *win"
  799. .Dg
  800.