ncurses.3x.html 85 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234
  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2. <!--
  3. * t
  4. ****************************************************************************
  5. * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. *
  6. * *
  7. * Permission is hereby granted, free of charge, to any person obtaining a *
  8. * copy of this software and associated documentation files (the *
  9. * "Software"), to deal in the Software without restriction, including *
  10. * without limitation the rights to use, copy, modify, merge, publish, *
  11. * distribute, distribute with modifications, sublicense, and/or sell *
  12. * copies of the Software, and to permit persons to whom the Software is *
  13. * furnished to do so, subject to the following conditions: *
  14. * *
  15. * The above copyright notice and this permission notice shall be included *
  16. * in all copies or substantial portions of the Software. *
  17. * *
  18. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
  19. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
  20. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
  21. * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
  22. * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
  23. * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
  24. * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
  25. * *
  26. * Except as contained in this notice, the name(s) of the above copyright *
  27. * holders shall not be used in advertising or otherwise to promote the *
  28. * sale, use or other dealings in this Software without prior written *
  29. * authorization. *
  30. ****************************************************************************
  31. * @Id: ncurses.3x,v 1.91 2008/10/11 20:43:11 tom Exp @
  32. -->
  33. <HTML>
  34. <HEAD>
  35. <TITLE>ncurses 3x</TITLE>
  36. <link rev=made href="mailto:bug-ncurses@gnu.org">
  37. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  38. </HEAD>
  39. <BODY>
  40. <H1>ncurses 3x</H1>
  41. <HR>
  42. <PRE>
  43. <!-- Manpage converted by man2html 3.0.1 -->
  44. <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>
  45. </PRE>
  46. <H2>NAME</H2><PRE>
  47. <STRONG>ncurses</STRONG> - CRT screen handling and optimization package
  48. </PRE>
  49. <H2>SYNOPSIS</H2><PRE>
  50. <STRONG>#include</STRONG> <STRONG>&lt;curses.h&gt;</STRONG>
  51. </PRE>
  52. <H2>DESCRIPTION</H2><PRE>
  53. The <STRONG>ncurses</STRONG> library routines give the user a terminal-
  54. independent method of updating character screens with rea-
  55. sonable optimization. This implementation is ``new
  56. curses'' (ncurses) and is the approved replacement for
  57. 4.4BSD classic curses, which has been discontinued. This
  58. describes <STRONG>ncurses</STRONG> version 5.6 (patch 20081011).
  59. The <STRONG>ncurses</STRONG> library emulates the <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> library of
  60. System V Release 4 UNIX, and XPG4 (X/Open Portability
  61. Guide) curses (also known as XSI curses). XSI stands for
  62. X/Open System Interfaces Extension. The <STRONG>ncurses</STRONG> library
  63. is freely redistributable in source form. Differences
  64. from the SVr4 curses are summarized under the <STRONG>EXTENSIONS</STRONG>
  65. and <STRONG>PORTABILITY</STRONG> sections below and described in detail in
  66. the respective <STRONG>EXTENSIONS</STRONG>, <STRONG>PORTABILITY</STRONG> and <STRONG>BUGS</STRONG> sections
  67. of individual man pages.
  68. The <STRONG>ncurses</STRONG> library also provides many useful extensions,
  69. i.e., features which cannot be implemented by a simple
  70. add-on library but which require access to the internals
  71. of the library.
  72. A program using these routines must be linked with the
  73. <STRONG>-lncurses</STRONG> option, or (if it has been generated) with the
  74. debugging library <STRONG>-lncurses_g</STRONG>. (Your system integrator
  75. may also have installed these libraries under the names
  76. <STRONG>-lcurses</STRONG> and <STRONG>-lcurses_g</STRONG>.) The ncurses_g library generates
  77. trace logs (in a file called 'trace' in the current direc-
  78. tory) that describe curses actions. See also the section
  79. on <STRONG>ALTERNATE</STRONG> <STRONG>CONFIGURATIONS</STRONG>.
  80. The <STRONG>ncurses</STRONG> package supports: overall screen, window and
  81. pad manipulation; output to windows and pads; reading ter-
  82. minal input; control over terminal and <STRONG>curses</STRONG> input and
  83. output options; environment query routines; color manipu-
  84. lation; use of soft label keys; terminfo capabilities; and
  85. access to low-level terminal-manipulation routines.
  86. The library uses the locale which the calling program has
  87. initialized. That is normally done with <STRONG>setlocale</STRONG>:
  88. <STRONG>setlocale(LC_ALL,</STRONG> <STRONG>"");</STRONG>
  89. If the locale is not initialized, the library assumes that
  90. characters are printable as in ISO-8859-1, to work with
  91. certain legacy programs. You should initialize the locale
  92. and not rely on specific details of the library when the
  93. locale has not been setup.
  94. The function <STRONG>initscr</STRONG> or <STRONG>newterm</STRONG> must be called to initial-
  95. ize the library before any of the other routines that deal
  96. with windows and screens are used. The routine <STRONG>endwin</STRONG>
  97. must be called before exiting.
  98. To get character-at-a-time input without echoing (most
  99. interactive, screen oriented programs want this), the fol-
  100. lowing sequence should be used:
  101. <STRONG>initscr();</STRONG> <STRONG>cbreak();</STRONG> <STRONG>noecho();</STRONG>
  102. Most programs would additionally use the sequence:
  103. <STRONG>nonl();</STRONG>
  104. <STRONG>intrflush(stdscr,</STRONG> <STRONG>FALSE);</STRONG>
  105. <STRONG>keypad(stdscr,</STRONG> <STRONG>TRUE);</STRONG>
  106. Before a <STRONG>curses</STRONG> program is run, the tab stops of the ter-
  107. minal should be set and its initialization strings, if
  108. defined, must be output. This can be done by executing
  109. the <STRONG>tput</STRONG> <STRONG>init</STRONG> command after the shell environment variable
  110. <STRONG>TERM</STRONG> has been exported. <STRONG>tset(1)</STRONG> is usually responsible
  111. for doing this. [See <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> for further details.]
  112. The <STRONG>ncurses</STRONG> library permits manipulation of data struc-
  113. tures, called <EM>windows</EM>, which can be thought of as two-
  114. dimensional arrays of characters representing all or part
  115. of a CRT screen. A default window called <STRONG>stdscr</STRONG>, which is
  116. the size of the terminal screen, is supplied. Others may
  117. be created with <STRONG>newwin</STRONG>.
  118. Note that <STRONG>curses</STRONG> does not handle overlapping windows,
  119. that's done by the <STRONG><A HREF="panel.3x.html">panel(3x)</A></STRONG> library. This means that you
  120. can either use <STRONG>stdscr</STRONG> or divide the screen into tiled win-
  121. dows and not using <STRONG>stdscr</STRONG> at all. Mixing the two will
  122. result in unpredictable, and undesired, effects.
  123. Windows are referred to by variables declared as <STRONG>WINDOW</STRONG> <STRONG>*</STRONG>.
  124. These data structures are manipulated with routines
  125. described here and elsewhere in the <STRONG>ncurses</STRONG> manual pages.
  126. Among those, the most basic routines are <STRONG>move</STRONG> and <STRONG>addch</STRONG>.
  127. More general versions of these routines are included with
  128. names beginning with <STRONG>w</STRONG>, allowing the user to specify a
  129. window. The routines not beginning with <STRONG>w</STRONG> affect <STRONG>stdscr</STRONG>.
  130. After using routines to manipulate a window, <STRONG>refresh</STRONG> is
  131. called, telling <STRONG>curses</STRONG> to make the user's CRT screen look
  132. like <STRONG>stdscr</STRONG>. The characters in a window are actually of
  133. type <STRONG>chtype</STRONG>, (character and attribute data) so that other
  134. information about the character may also be stored with
  135. each character.
  136. Special windows called <EM>pads</EM> may also be manipulated.
  137. These are windows which are not constrained to the size of
  138. the screen and whose contents need not be completely dis-
  139. played. See <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG> for more information.
  140. In addition to drawing characters on the screen, video
  141. attributes and colors may be supported, causing the char-
  142. acters to show up in such modes as underlined, in reverse
  143. video, or in color on terminals that support such display
  144. enhancements. Line drawing characters may be specified to
  145. be output. On input, <STRONG>curses</STRONG> is also able to translate
  146. arrow and function keys that transmit escape sequences
  147. into single values. The video attributes, line drawing
  148. characters, and input values use names, defined in
  149. <STRONG>&lt;curses.h&gt;</STRONG>, such as <STRONG>A_REVERSE</STRONG>, <STRONG>ACS_HLINE</STRONG>, and <STRONG>KEY_LEFT</STRONG>.
  150. If the environment variables <STRONG>LINES</STRONG> and <STRONG>COLUMNS</STRONG> are set, or
  151. if the program is executing in a window environment, line
  152. and column information in the environment will override
  153. information read by <EM>terminfo</EM>. This would affect a program
  154. running in an AT&amp;T 630 layer, for example, where the size
  155. of a screen is changeable (see <STRONG>ENVIRONMENT</STRONG>).
  156. If the environment variable <STRONG>TERMINFO</STRONG> is defined, any pro-
  157. gram using <STRONG>curses</STRONG> checks for a local terminal definition
  158. before checking in the standard place. For example, if
  159. <STRONG>TERM</STRONG> is set to <STRONG>att4424</STRONG>, then the compiled terminal defini-
  160. tion is found in
  161. <STRONG>/usr/share/terminfo/a/att4424</STRONG>.
  162. (The <STRONG>a</STRONG> is copied from the first letter of <STRONG>att4424</STRONG> to avoid
  163. creation of huge directories.) However, if <STRONG>TERMINFO</STRONG> is
  164. set to <STRONG>$HOME/myterms</STRONG>, <STRONG>curses</STRONG> first checks
  165. <STRONG>$HOME/myterms/a/att4424</STRONG>,
  166. and if that fails, it then checks
  167. <STRONG>/usr/share/terminfo/a/att4424</STRONG>.
  168. This is useful for developing experimental definitions or
  169. when write permission in <STRONG>/usr/share/terminfo</STRONG> is not avail-
  170. able.
  171. The integer variables <STRONG>LINES</STRONG> and <STRONG>COLS</STRONG> are defined in
  172. <STRONG>&lt;curses.h&gt;</STRONG> and will be filled in by <STRONG>initscr</STRONG> with the size
  173. of the screen. The constants <STRONG>TRUE</STRONG> and <STRONG>FALSE</STRONG> have the val-
  174. ues <STRONG>1</STRONG> and <STRONG>0</STRONG>, respectively.
  175. The <STRONG>curses</STRONG> routines also define the <STRONG>WINDOW</STRONG> <STRONG>*</STRONG> variable
  176. <STRONG>curscr</STRONG> which is used for certain low-level operations like
  177. clearing and redrawing a screen containing garbage. The
  178. <STRONG>curscr</STRONG> can be used in only a few routines.
  179. <STRONG>Routine</STRONG> <STRONG>and</STRONG> <STRONG>Argument</STRONG> <STRONG>Names</STRONG>
  180. Many <STRONG>curses</STRONG> routines have two or more versions. The rou-
  181. tines prefixed with <STRONG>w</STRONG> require a window argument. The rou-
  182. tines prefixed with <STRONG>p</STRONG> require a pad argument. Those with-
  183. out a prefix generally use <STRONG>stdscr</STRONG>.
  184. The routines prefixed with <STRONG>mv</STRONG> require a <EM>y</EM> and <EM>x</EM> coordinate
  185. to move to before performing the appropriate action. The
  186. <STRONG>mv</STRONG> routines imply a call to <STRONG>move</STRONG> before the call to the
  187. other routine. The coordinate <EM>y</EM> always refers to the row
  188. (of the window), and <EM>x</EM> always refers to the column. The
  189. upper left-hand corner is always (0,0), not (1,1).
  190. The routines prefixed with <STRONG>mvw</STRONG> take both a window argument
  191. and <EM>x</EM> and <EM>y</EM> coordinates. The window argument is always
  192. specified before the coordinates.
  193. In each case, <EM>win</EM> is the window affected, and <EM>pad</EM> is the
  194. pad affected; <EM>win</EM> and <EM>pad</EM> are always pointers to type <STRONG>WIN-</STRONG>
  195. <STRONG>DOW</STRONG>.
  196. Option setting routines require a Boolean flag <EM>bf</EM> with the
  197. value <STRONG>TRUE</STRONG> or <STRONG>FALSE</STRONG>; <EM>bf</EM> is always of type <STRONG>bool</STRONG>. Most of
  198. the data types used in the library routines, such as <STRONG>WIN-</STRONG>
  199. <STRONG>DOW</STRONG>, <STRONG>SCREEN</STRONG>, <STRONG>bool</STRONG>, and <STRONG>chtype</STRONG> are defined in <STRONG>&lt;curses.h&gt;</STRONG>.
  200. Types used for the terminfo routines such as <STRONG>TERMINAL</STRONG> are
  201. defined in <STRONG>&lt;term.h&gt;</STRONG>.
  202. This manual page describes functions which may appear in
  203. any configuration of the library. There are two common
  204. configurations of the library:
  205. ncurses
  206. the "normal" library, which handles 8-bit
  207. characters. The normal (8-bit) library stores
  208. characters combined with attributes in <STRONG>chtype</STRONG>
  209. data.
  210. Attributes alone (no corresponding character)
  211. may be stored in <STRONG>chtype</STRONG> or the equivalent
  212. <STRONG>attr_t</STRONG> data. In either case, the data is
  213. stored in something like an integer.
  214. Each cell (row and column) in a <STRONG>WINDOW</STRONG> is
  215. stored as a <STRONG>chtype</STRONG>.
  216. ncursesw
  217. the so-called "wide" library, which handles
  218. multibyte characters (See the section on
  219. <STRONG>ALTERNATE</STRONG> <STRONG>CONFIGURATIONS</STRONG>). The "wide" library
  220. includes all of the calls from the "normal"
  221. library. It adds about one third more calls
  222. using data types which store multibyte charac-
  223. ters:
  224. <STRONG>cchar_t</STRONG>
  225. corresponds to <STRONG>chtype</STRONG>. However it is a
  226. structure, because more data is stored
  227. than can fit into an integer. The char-
  228. acters are large enough to require a full
  229. integer value - and there may be more
  230. than one character per cell. The video
  231. attributes and color are stored in sepa-
  232. rate fields of the structure.
  233. Each cell (row and column) in a <STRONG>WINDOW</STRONG> is
  234. stored as a <STRONG>cchar_t</STRONG>.
  235. <STRONG>wchar_t</STRONG>
  236. stores a "wide" character. Like <STRONG>chtype</STRONG>,
  237. this may be an integer.
  238. <STRONG>wint_t</STRONG>
  239. stores a <STRONG>wchar_t</STRONG> or <STRONG>WEOF</STRONG> - not the same,
  240. though both may have the same size.
  241. The "wide" library provides new functions
  242. which are analogous to functions in the "nor-
  243. mal" library. There is a naming convention
  244. which relates many of the normal/wide vari-
  245. ants: a "_w" is inserted into the name. For
  246. example, <STRONG>waddch</STRONG> becomes <STRONG>wadd_wch</STRONG>.
  247. <STRONG>Routine</STRONG> <STRONG>Name</STRONG> <STRONG>Index</STRONG>
  248. The following table lists each <STRONG>curses</STRONG> routine and the name
  249. of the manual page on which it is described. Routines
  250. flagged with `*' are ncurses-specific, not described by
  251. XPG4 or present in SVr4.
  252. <STRONG>curses</STRONG> Routine Name Manual Page Name
  253. --------------------------------------------
  254. COLOR_PAIR <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  255. PAIR_NUMBER <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  256. _nc_tracebits <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  257. _traceattr <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  258. _traceattr2 <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  259. _tracechar <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  260. _tracechtype <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  261. _tracechtype2 <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  262. _tracedump <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  263. _tracef <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  264. _tracemouse <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  265. add_wch <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
  266. add_wchnstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  267. add_wchstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  268. addch <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
  269. addchnstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  270. addchstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  271. addnstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  272. addnwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  273. addstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  274. addwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  275. assume_default_colors <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>*
  276. attr_get <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  277. attr_off <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  278. attr_on <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  279. attr_set <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  280. attroff <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  281. attron <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  282. attrset <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  283. baudrate <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  284. beep <STRONG><A HREF="curs_beep.3x.html">curs_beep(3x)</A></STRONG>
  285. bkgd <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>
  286. bkgdset <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>
  287. bkgrnd <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>
  288. bkgrndset <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>
  289. border <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  290. border_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  291. box <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  292. box_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  293. can_change_color <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  294. cbreak <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  295. chgat <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  296. clear <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  297. clearok <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  298. clrtobot <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  299. clrtoeol <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  300. color_content <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  301. color_set <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  302. copywin <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>
  303. curs_set <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  304. curses_version <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG>*
  305. def_prog_mode <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  306. def_shell_mode <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  307. define_key <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>*
  308. del_curterm <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  309. delay_output <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  310. delch <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG>
  311. deleteln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>
  312. delscreen <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
  313. delwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  314. derwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  315. doupdate <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
  316. dupwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  317. echo <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  318. echo_wchar <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
  319. echochar <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
  320. endwin <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
  321. erase <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  322. erasechar <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  323. erasewchar <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  324. filter <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  325. flash <STRONG><A HREF="curs_beep.3x.html">curs_beep(3x)</A></STRONG>
  326. flushinp <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  327. get_wch <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
  328. get_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  329. getattrs <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  330. getbegx <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  331. getbegy <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  332. getbegyx <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>
  333. getbkgd <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>
  334. getbkgrnd <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>
  335. getcchar <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG>
  336. getch <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
  337. getcurx <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  338. getcury <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  339. getmaxx <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  340. getmaxy <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  341. getmaxyx <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>
  342. getmouse <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  343. getn_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  344. getnstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  345. getparx <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  346. getpary <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>*
  347. getparyx <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>
  348. getstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  349. getsyx <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  350. getwin <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  351. getyx <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>
  352. halfdelay <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  353. has_colors <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  354. has_ic <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  355. has_il <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  356. has_key <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>*
  357. hline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  358. hline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  359. idcok <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  360. idlok <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  361. immedok <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  362. in_wch <STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>
  363. in_wchnstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  364. in_wchstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  365. inch <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
  366. inchnstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  367. inchstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  368. init_color <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  369. init_pair <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  370. initscr <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
  371. innstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  372. innwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  373. ins_nwstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  374. ins_wch <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
  375. ins_wstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  376. insch <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG>
  377. insdelln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>
  378. insertln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>
  379. insnstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  380. insstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  381. instr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  382. intrflush <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  383. inwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  384. is_cleared <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  385. is_idcok <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  386. is_idlok <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  387. is_immedok <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  388. is_keypad <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  389. is_leaveok <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  390. is_linetouched <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
  391. is_nodelay <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  392. is_notimeout <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  393. is_scrollok <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  394. is_syncok <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG>*
  395. is_term_resized <STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG>*
  396. is_wintouched <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
  397. isendwin <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
  398. key_defined <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>*
  399. key_name <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  400. keybound <STRONG><A HREF="keybound.3x.html">keybound(3x)</A></STRONG>*
  401. keyname <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  402. keyok <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>*
  403. keypad <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  404. killchar <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  405. killwchar <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  406. leaveok <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  407. longname <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  408. mcprint <STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG>*
  409. meta <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  410. mouse_trafo <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  411. mouseinterval <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  412. mousemask <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  413. move <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG>
  414. mvadd_wch <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
  415. mvadd_wchnstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  416. mvadd_wchstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  417. mvaddch <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
  418. mvaddchnstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  419. mvaddchstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  420. mvaddnstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  421. mvaddnwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  422. mvaddstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  423. mvaddwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  424. mvchgat <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  425. mvcur <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  426. mvdelch <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG>
  427. mvderwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  428. mvget_wch <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
  429. mvget_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  430. mvgetch <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
  431. mvgetn_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  432. mvgetnstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  433. mvgetstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  434. mvhline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  435. mvhline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  436. mvin_wch <STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>
  437. mvin_wchnstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  438. mvin_wchstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  439. mvinch <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
  440. mvinchnstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  441. mvinchstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  442. mvinnstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  443. mvinnwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  444. mvins_nwstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  445. mvins_wch <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
  446. mvins_wstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  447. mvinsch <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG>
  448. mvinsnstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  449. mvinsstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  450. mvinstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  451. mvinwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  452. mvprintw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG>
  453. mvscanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG>
  454. mvvline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  455. mvvline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  456. mvwadd_wch <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
  457. mvwadd_wchnstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  458. mvwadd_wchstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  459. mvwaddch <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
  460. mvwaddchnstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  461. mvwaddchstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  462. mvwaddnstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  463. mvwaddnwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  464. mvwaddstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  465. mvwaddwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  466. mvwchgat <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  467. mvwdelch <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG>
  468. mvwget_wch <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
  469. mvwget_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  470. mvwgetch <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
  471. mvwgetn_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  472. mvwgetnstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  473. mvwgetstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  474. mvwhline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  475. mvwhline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  476. mvwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  477. mvwin_wch <STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>
  478. mvwin_wchnstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  479. mvwin_wchstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  480. mvwinch <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
  481. mvwinchnstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  482. mvwinchstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  483. mvwinnstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  484. mvwinnwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  485. mvwins_nwstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  486. mvwins_wch <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
  487. mvwins_wstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  488. mvwinsch <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG>
  489. mvwinsnstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  490. mvwinsstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  491. mvwinstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  492. mvwinwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  493. mvwprintw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG>
  494. mvwscanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG>
  495. mvwvline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  496. mvwvline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  497. napms <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  498. newpad <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
  499. newterm <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
  500. newwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  501. nl <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  502. nocbreak <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  503. nodelay <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  504. noecho <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  505. nofilter <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>*
  506. nonl <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  507. noqiflush <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  508. noraw <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  509. notimeout <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  510. overlay <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>
  511. overwrite <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>
  512. pair_content <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  513. pechochar <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
  514. pnoutrefresh <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
  515. prefresh <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
  516. printw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG>
  517. putp <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  518. putwin <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  519. qiflush <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  520. raw <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  521. redrawwin <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
  522. refresh <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
  523. reset_prog_mode <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  524. reset_shell_mode <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  525. resetty <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  526. resizeterm <STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG>*
  527. restartterm <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  528. ripoffline <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  529. savetty <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  530. scanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG>
  531. scr_dump <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
  532. scr_init <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
  533. scr_restore <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
  534. scr_set <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
  535. scrl <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>
  536. scroll <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>
  537. scrollok <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  538. set_curterm <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  539. set_term <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
  540. setcchar <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG>
  541. setscrreg <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  542. setsyx <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
  543. setterm <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  544. setupterm <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  545. slk_attr <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>*
  546. slk_attr_off <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  547. slk_attr_on <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  548. slk_attr_set <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  549. slk_attroff <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  550. slk_attron <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  551. slk_attrset <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  552. slk_clear <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  553. slk_color <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  554. slk_init <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  555. slk_label <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  556. slk_noutrefresh <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  557. slk_refresh <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  558. slk_restore <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  559. slk_set <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  560. slk_touch <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
  561. standend <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  562. standout <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  563. start_color <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
  564. subpad <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
  565. subwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  566. syncok <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  567. term_attrs <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  568. termattrs <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  569. termname <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>
  570. tgetent <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>
  571. tgetflag <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>
  572. tgetnum <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>
  573. tgetstr <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>
  574. tgoto <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>
  575. tigetflag <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  576. tigetnum <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  577. tigetstr <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  578. timeout <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  579. touchline <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
  580. touchwin <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
  581. tparm <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  582. tputs <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>
  583. tputs <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  584. trace <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*
  585. typeahead <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  586. unctrl <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  587. unget_wch <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
  588. ungetch <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
  589. ungetmouse <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  590. untouchwin <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
  591. use_default_colors <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>*
  592. use_env <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  593. use_extended_names <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG>*
  594. use_legacy_coding <STRONG><A HREF="legacy_coding.3x.html">legacy_coding(3x)</A></STRONG>*
  595. vid_attr <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  596. vid_puts <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  597. vidattr <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  598. vidputs <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
  599. vline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  600. vline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  601. vw_printw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG>
  602. vw_scanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG>
  603. vwprintw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG>
  604. vwscanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG>
  605. wadd_wch <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
  606. wadd_wchnstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  607. wadd_wchstr <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>
  608. waddch <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
  609. waddchnstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  610. waddchstr <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>
  611. waddnstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  612. waddnwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  613. waddstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
  614. waddwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
  615. wattr_get <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  616. wattr_off <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  617. wattr_on <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  618. wattr_set <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  619. wattroff <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  620. wattron <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  621. wattrset <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  622. wbkgd <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>
  623. wbkgdset <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>
  624. wbkgrnd <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>
  625. wbkgrndset <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>
  626. wborder <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  627. wborder_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  628. wchgat <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  629. wclear <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  630. wclrtobot <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  631. wclrtoeol <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  632. wcolor_set <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  633. wcursyncup <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  634. wdelch <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG>
  635. wdeleteln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>
  636. wecho_wchar <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
  637. wechochar <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
  638. wenclose <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  639. werase <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
  640. wget_wch <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
  641. wget_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  642. wgetbkgrnd <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>
  643. wgetch <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
  644. wgetn_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
  645. wgetnstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  646. wgetstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
  647. whline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  648. whline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  649. win_wch <STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>
  650. win_wchnstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  651. win_wchstr <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
  652. winch <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
  653. winchnstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  654. winchstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
  655. winnstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  656. winnwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  657. wins_nwstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  658. wins_wch <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
  659. wins_wstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
  660. winsch <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG>
  661. winsdelln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>
  662. winsertln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>
  663. winsnstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  664. winsstr <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
  665. winstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
  666. winwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
  667. wmouse_trafo <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*
  668. wmove <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG>
  669. wnoutrefresh <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
  670. wprintw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG>
  671. wredrawln <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
  672. wrefresh <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
  673. wresize <STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG>*
  674. wscanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG>
  675. wscrl <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>
  676. wsetscrreg <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
  677. wstandend <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  678. wstandout <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
  679. wsyncdown <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  680. wsyncup <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
  681. wtimeout <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
  682. wtouchln <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
  683. wunctrl <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
  684. wvline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
  685. wvline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
  686. </PRE>
  687. <H2>RETURN VALUE</H2><PRE>
  688. Routines that return an integer return <STRONG>ERR</STRONG> upon failure
  689. and an integer value other than <STRONG>ERR</STRONG> upon successful com-
  690. pletion, unless otherwise noted in the routine descrip-
  691. tions.
  692. All macros return the value of the <STRONG>w</STRONG> version, except
  693. <STRONG>setscrreg</STRONG>, <STRONG>wsetscrreg</STRONG>, <STRONG>getyx</STRONG>, <STRONG>getbegyx</STRONG>, and <STRONG>getmaxyx</STRONG>. The
  694. return values of <STRONG>setscrreg</STRONG>, <STRONG>wsetscrreg</STRONG>, <STRONG>getyx</STRONG>, <STRONG>getbegyx</STRONG>,
  695. and <STRONG>getmaxyx</STRONG> are undefined (i.e., these should not be used
  696. as the right-hand side of assignment statements).
  697. Routines that return pointers return <STRONG>NULL</STRONG> on error.
  698. </PRE>
  699. <H2>ENVIRONMENT</H2><PRE>
  700. The following environment symbols are useful for customiz-
  701. ing the runtime behavior of the <STRONG>ncurses</STRONG> library. The most
  702. important ones have been already discussed in detail.
  703. BAUDRATE
  704. The debugging library checks this environment symbol
  705. when the application has redirected output to a file.
  706. The symbol's numeric value is used for the baudrate.
  707. If no value is found, <STRONG>ncurses</STRONG> uses 9600. This allows
  708. testers to construct repeatable test-cases that take
  709. into account costs that depend on baudrate.
  710. CC When set, change occurrences of the command_character
  711. (i.e., the <STRONG>cmdch</STRONG> capability) of the loaded terminfo
  712. entries to the value of this symbol. Very few ter-
  713. minfo entries provide this feature.
  714. COLUMNS
  715. Specify the width of the screen in characters.
  716. Applications running in a windowing environment usu-
  717. ally are able to obtain the width of the window in
  718. which they are executing. If neither the <STRONG>COLUMNS</STRONG>
  719. value nor the terminal's screen size is available,
  720. <STRONG>ncurses</STRONG> uses the size which may be specified in the
  721. terminfo database (i.e., the <STRONG>cols</STRONG> capability).
  722. It is important that your application use a correct
  723. size for the screen. This is not always possible
  724. because your application may be running on a host
  725. which does not honor NAWS (Negotiations About Window
  726. Size), or because you are temporarily running as
  727. another user. However, setting <STRONG>COLUMNS</STRONG> and/or <STRONG>LINES</STRONG>
  728. overrides the library's use of the screen size
  729. obtained from the operating system.
  730. Either <STRONG>COLUMNS</STRONG> or <STRONG>LINES</STRONG> symbols may be specified
  731. independently. This is mainly useful to circumvent
  732. legacy misfeatures of terminal descriptions, e.g.,
  733. xterm which commonly specifies a 65 line screen. For
  734. best results, <STRONG>lines</STRONG> and <STRONG>cols</STRONG> should not be specified
  735. in a terminal description for terminals which are run
  736. as emulations.
  737. Use the <STRONG>use_env</STRONG> function to disable all use of exter-
  738. nal environment (including system calls) to determine
  739. the screen size.
  740. ESCDELAY
  741. Specifies the total time, in milliseconds, for which
  742. ncurses will await a character sequence, e.g., a
  743. function key. The default value, 1000 milliseconds,
  744. is enough for most uses. However, it is made a vari-
  745. able to accommodate unusual applications.
  746. The most common instance where you may wish to change
  747. this value is to work with slow hosts, e.g., running
  748. on a network. If the host cannot read characters
  749. rapidly enough, it will have the same effect as if
  750. the terminal did not send characters rapidly enough.
  751. The library will still see a timeout.
  752. Note that xterm mouse events are built up from char-
  753. acter sequences received from the xterm. If your
  754. application makes heavy use of multiple-clicking, you
  755. may wish to lengthen this default value because the
  756. timeout applies to the composed multi-click event as
  757. well as the individual clicks.
  758. In addition to the environment variable, this imple-
  759. mentation provides a global variable with the same
  760. name. Portable applications should not rely upon the
  761. presence of ESCDELAY in either form, but setting the
  762. environment variable rather than the global variable
  763. does not create problems when compiling an applica-
  764. tion.
  765. HOME Tells <STRONG>ncurses</STRONG> where your home directory is. That is
  766. where it may read and write auxiliary terminal
  767. descriptions:
  768. $HOME/.termcap
  769. $HOME/.terminfo
  770. LINES
  771. Like COLUMNS, specify the height of the screen in
  772. characters. See COLUMNS for a detailed description.
  773. MOUSE_BUTTONS_123
  774. This applies only to the OS/2 EMX port. It specifies
  775. the order of buttons on the mouse. OS/2 numbers a
  776. 3-button mouse inconsistently from other platforms:
  777. 1 = left
  778. 2 = right
  779. 3 = middle.
  780. This symbol lets you customize the mouse. The symbol
  781. must be three numeric digits 1-3 in any order, e.g.,
  782. 123 or 321. If it is not specified, <STRONG>ncurses</STRONG> uses
  783. 132.
  784. NCURSES_ASSUMED_COLORS
  785. Override the compiled-in assumption that the termi-
  786. nal's default colors are white-on-black (see
  787. <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>). You may set the foreground and
  788. background color values with this environment vari-
  789. able by proving a 2-element list: foreground,back-
  790. ground. For example, to tell ncurses to not assume
  791. anything about the colors, set this to "-1,-1". To
  792. make it green-on-black, set it to "2,0". Any posi-
  793. tive value from zero to the terminfo <STRONG>max_colors</STRONG> value
  794. is allowed.
  795. NCURSES_GPM_TERMS
  796. This applies only to ncurses configured to use the
  797. GPM interface.
  798. If present, the environment variable is a list of one
  799. or more terminal names against which the TERM envi-
  800. ronment variable is matched. Setting it to an empty
  801. value disables the GPM interface; using the built-in
  802. support for xterm, etc.
  803. If the environment variable is absent, ncurses will
  804. attempt to open GPM if TERM contains "linux".
  805. NCURSES_NO_HARD_TABS
  806. <STRONG>Ncurses</STRONG> may use tabs as part of the cursor movement
  807. optimization. In some cases, your terminal driver
  808. may not handle these properly. Set this environment
  809. variable to disable the feature. You can also adjust
  810. your <STRONG>stty</STRONG> settings to avoid the problem.
  811. NCURSES_NO_MAGIC_COOKIES
  812. Some terminals use a magic-cookie feature which
  813. requires special handling to make highlighting and
  814. other video attributes display properly. You can
  815. suppress the highlighting entirely for these termi-
  816. nals by setting this environment variable.
  817. NCURSES_NO_PADDING
  818. Most of the terminal descriptions in the terminfo
  819. database are written for real "hardware" terminals.
  820. Many people use terminal emulators which run in a
  821. windowing environment and use curses-based
  822. applications. Terminal emulators can duplicate all
  823. of the important aspects of a hardware terminal, but
  824. they do not have the same limitations. The chief
  825. limitation of a hardware terminal from the standpoint
  826. of your application is the management of dataflow,
  827. i.e., timing. Unless a hardware terminal is inter-
  828. faced into a terminal concentrator (which does flow
  829. control), it (or your application) must manage
  830. dataflow, preventing overruns. The cheapest solution
  831. (no hardware cost) is for your program to do this by
  832. pausing after operations that the terminal does
  833. slowly, such as clearing the display.
  834. As a result, many terminal descriptions (including
  835. the vt100) have delay times embedded. You may wish
  836. to use these descriptions, but not want to pay the
  837. performance penalty.
  838. Set the NCURSES_NO_PADDING symbol to disable all but
  839. mandatory padding. Mandatory padding is used as a
  840. part of special control sequences such as <EM>flash</EM>.
  841. NCURSES_NO_SETBUF
  842. Normally <STRONG>ncurses</STRONG> enables buffered output during ter-
  843. minal initialization. This is done (as in SVr4
  844. curses) for performance reasons. For testing pur-
  845. poses, both of <STRONG>ncurses</STRONG> and certain applications, this
  846. feature is made optional. Setting the
  847. NCURSES_NO_SETBUF variable disables output buffering,
  848. leaving the output in the original (usually line
  849. buffered) mode.
  850. NCURSES_NO_UTF8_ACS
  851. During initialization, the <STRONG>ncurses</STRONG> library checks for
  852. special cases where VT100 line-drawing (and the cor-
  853. responding alternate character set capabilities)
  854. described in the terminfo are known to be missing.
  855. Specifically, when running in a UTF-8 locale, the
  856. Linux console emulator and the GNU screen program
  857. ignore these. Ncurses checks the TERM environment
  858. variable for these. For other special cases, you
  859. should set this environment variable. Doing this
  860. tells ncurses to use Unicode values which correspond
  861. to the VT100 line-drawing glyphs. That works for the
  862. special cases cited, and is likely to work for termi-
  863. nal emulators.
  864. When setting this variable, you should set it to a
  865. nonzero value. Setting it to zero (or to a nonnum-
  866. ber) disables the special check for Linux and screen.
  867. NCURSES_TRACE
  868. During initialization, the <STRONG>ncurses</STRONG> debugging library
  869. checks the NCURSES_TRACE symbol. If it is defined,
  870. to a numeric value, <STRONG>ncurses</STRONG> calls the <STRONG>trace</STRONG> function,
  871. using that value as the argument.
  872. The argument values, which are defined in <STRONG>curses.h</STRONG>,
  873. provide several types of information. When running
  874. with traces enabled, your application will write the
  875. file <STRONG>trace</STRONG> to the current directory.
  876. TERM Denotes your terminal type. Each terminal type is
  877. distinct, though many are similar.
  878. TERMCAP
  879. If the <STRONG>ncurses</STRONG> library has been configured with <EM>term-</EM>
  880. <EM>cap</EM> support, <STRONG>ncurses</STRONG> will check for a terminal's
  881. description in termcap form if it is not available in
  882. the terminfo database.
  883. The TERMCAP symbol contains either a terminal
  884. description (with newlines stripped out), or a file
  885. name telling where the information denoted by the
  886. TERM symbol exists. In either case, setting it
  887. directs <STRONG>ncurses</STRONG> to ignore the usual place for this
  888. information, e.g., /etc/termcap.
  889. TERMINFO
  890. Overrides the directory in which <STRONG>ncurses</STRONG> searches for
  891. your terminal description. This is the simplest, but
  892. not the only way to change the list of directories.
  893. The complete list of directories in order follows:
  894. - the last directory to which <STRONG>ncurses</STRONG> wrote, if any,
  895. is searched first
  896. - the directory specified by the TERMINFO symbol
  897. - $HOME/.terminfo
  898. - directories listed in the TERMINFO_DIRS symbol
  899. - one or more directories whose names are configured
  900. and compiled into the ncurses library, e.g.,
  901. /usr/share/terminfo
  902. TERMINFO_DIRS
  903. Specifies a list of directories to search for termi-
  904. nal descriptions. The list is separated by colons
  905. (i.e., ":") on Unix, semicolons on OS/2 EMX. All of
  906. the terminal descriptions are in terminfo form, which
  907. makes a subdirectory named for the first letter of
  908. the terminal names therein.
  909. TERMPATH
  910. If TERMCAP does not hold a file name then <STRONG>ncurses</STRONG>
  911. checks the TERMPATH symbol. This is a list of file-
  912. names separated by spaces or colons (i.e., ":") on
  913. Unix, semicolons on OS/2 EMX. If the TERMPATH symbol
  914. is not set, <STRONG>ncurses</STRONG> looks in the files /etc/termcap,
  915. /usr/share/misc/termcap and $HOME/.termcap, in that
  916. order.
  917. The library may be configured to disregard the following
  918. variables when the current user is the superuser (root),
  919. or if the application uses setuid or setgid permissions:
  920. $TERMINFO, $TERMINFO_DIRS, $TERMPATH, as well as $HOME.
  921. </PRE>
  922. <H2>ALTERNATE CONFIGURATIONS</H2><PRE>
  923. Several different configurations are possible, depending
  924. on the configure script options used when building
  925. <STRONG>ncurses</STRONG>. There are a few main options whose effects are
  926. visible to the applications developer using <STRONG>ncurses</STRONG>:
  927. --disable-overwrite
  928. The standard include for <STRONG>ncurses</STRONG> is as noted in <STRONG>SYN-</STRONG>
  929. <STRONG>OPSIS</STRONG>:
  930. <STRONG>#include</STRONG> <STRONG>&lt;curses.h&gt;</STRONG>
  931. This option is used to avoid filename conflicts when
  932. <STRONG>ncurses</STRONG> is not the main implementation of curses of
  933. the computer. If <STRONG>ncurses</STRONG> is installed disabling
  934. overwrite, it puts its headers in a subdirectory,
  935. e.g.,
  936. <STRONG>#include</STRONG> <STRONG>&lt;ncurses/curses.h&gt;</STRONG>
  937. It also omits a symbolic link which would allow you
  938. to use <STRONG>-lcurses</STRONG> to build executables.
  939. --enable-widec
  940. The configure script renames the library and (if the
  941. <STRONG>--disable-overwrite</STRONG> option is used) puts the header
  942. files in a different subdirectory. All of the
  943. library names have a "w" appended to them, i.e.,
  944. instead of
  945. <STRONG>-lncurses</STRONG>
  946. you link with
  947. <STRONG>-lncursesw</STRONG>
  948. You must also define <STRONG>_XOPEN_SOURCE_EXTENDED</STRONG> when com-
  949. piling for the wide-character library to use the
  950. extended (wide-character) functions. The <STRONG>curses.h</STRONG>
  951. file which is installed for the wide-character
  952. library is designed to be compatible with the normal
  953. library's header. Only the size of the <STRONG>WINDOW</STRONG> struc-
  954. ture differs, and very few applications require more
  955. than a pointer to <STRONG>WINDOW</STRONG>s. If the headers are
  956. installed allowing overwrite, the wide-character
  957. library's headers should be installed last, to allow
  958. applications to be built using either library from
  959. the same set of headers.
  960. --with-shared
  961. --with-normal
  962. --with-debug
  963. --with-profile
  964. The shared and normal (static) library names differ
  965. by their suffixes, e.g., <STRONG>libncurses.so</STRONG> and <STRONG>libn-</STRONG>
  966. <STRONG>curses.a</STRONG>. The debug and profiling libraries add a
  967. "_g" and a "_p" to the root names respectively, e.g.,
  968. <STRONG>libncurses_g.a</STRONG> and <STRONG>libncurses_p.a</STRONG>.
  969. --with-trace
  970. The <STRONG>trace</STRONG> function normally resides in the debug
  971. library, but it is sometimes useful to configure this
  972. in the shared library. Configure scripts should
  973. check for the function's existence rather than assum-
  974. ing it is always in the debug library.
  975. </PRE>
  976. <H2>FILES</H2><PRE>
  977. /usr/share/tabset
  978. directory containing initialization files for the
  979. terminal capability database /usr/share/terminfo ter-
  980. minal capability database
  981. </PRE>
  982. <H2>SEE ALSO</H2><PRE>
  983. <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> and related pages whose names begin "curs_"
  984. for detailed routine descriptions.
  985. </PRE>
  986. <H2>EXTENSIONS</H2><PRE>
  987. The <STRONG>ncurses</STRONG> library can be compiled with an option
  988. (<STRONG>-DUSE_GETCAP</STRONG>) that falls back to the old-style /etc/term-
  989. cap file if the terminal setup code cannot find a terminfo
  990. entry corresponding to <STRONG>TERM</STRONG>. Use of this feature is not
  991. recommended, as it essentially includes an entire termcap
  992. compiler in the <STRONG>ncurses</STRONG> startup code, at significant cost
  993. in core and startup cycles.
  994. The <STRONG>ncurses</STRONG> library includes facilities for capturing
  995. mouse events on certain terminals (including xterm). See
  996. the <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> manual page for details.
  997. The <STRONG>ncurses</STRONG> library includes facilities for responding to
  998. window resizing events, e.g., when running in an xterm.
  999. See the <STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG> and <STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG> manual pages for
  1000. details. In addition, the library may be configured with
  1001. a SIGWINCH handler.
  1002. The <STRONG>ncurses</STRONG> library extends the fixed set of function key
  1003. capabilities of terminals by allowing the application
  1004. designer to define additional key sequences at runtime.
  1005. See the <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>, and <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG> man-
  1006. ual pages for details.
  1007. The <STRONG>ncurses</STRONG> library can exploit the capabilities of termi-
  1008. nals which implement the ISO-6429 SGR 39 and SGR 49 con-
  1009. trols, which allow an application to reset the terminal to
  1010. its original foreground and background colors. From the
  1011. users' perspective, the application is able to draw col-
  1012. ored text on a background whose color is set indepen-
  1013. dently, providing better control over color contrasts.
  1014. See the <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG> manual page for details.
  1015. The <STRONG>ncurses</STRONG> library includes a function for directing
  1016. application output to a printer attached to the terminal
  1017. device. See the <STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG> manual page for details.
  1018. </PRE>
  1019. <H2>PORTABILITY</H2><PRE>
  1020. The <STRONG>ncurses</STRONG> library is intended to be BASE-level confor-
  1021. mant with XSI Curses. The EXTENDED XSI Curses functional-
  1022. ity (including color support) is supported.
  1023. A small number of local differences (that is, individual
  1024. differences between the XSI Curses and <STRONG>ncurses</STRONG> calls) are
  1025. described in <STRONG>PORTABILITY</STRONG> sections of the library man
  1026. pages.
  1027. This implementation also contains several extensions:
  1028. The routine <STRONG>has_key</STRONG> is not part of XPG4, nor is it
  1029. present in SVr4. See the <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> manual page
  1030. for details.
  1031. The routine <STRONG>slk_attr</STRONG> is not part of XPG4, nor is it
  1032. present in SVr4. See the <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> manual page
  1033. for details.
  1034. The routines <STRONG>getmouse</STRONG>, <STRONG>mousemask</STRONG>, <STRONG>ungetmouse</STRONG>, <STRONG>mou-</STRONG>
  1035. <STRONG>seinterval</STRONG>, and <STRONG>wenclose</STRONG> relating to mouse interfac-
  1036. ing are not part of XPG4, nor are they present in
  1037. SVr4. See the <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> manual page for
  1038. details.
  1039. The routine <STRONG>mcprint</STRONG> was not present in any previous
  1040. curses implementation. See the <STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG> manual
  1041. page for details.
  1042. The routine <STRONG>wresize</STRONG> is not part of XPG4, nor is it
  1043. present in SVr4. See the <STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG> manual page for
  1044. details.
  1045. The WINDOW structure's internal details can be hidden
  1046. from application programs. See <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG> for
  1047. the discussion of <STRONG>is_scrollok</STRONG>, etc.
  1048. In historic curses versions, delays embedded in the capa-
  1049. bilities <STRONG>cr</STRONG>, <STRONG>ind</STRONG>, <STRONG>cub1</STRONG>, <STRONG>ff</STRONG> and <STRONG>tab</STRONG> activated corresponding
  1050. delay bits in the UNIX tty driver. In this implementa-
  1051. tion, all padding is done by sending NUL bytes. This
  1052. method is slightly more expensive, but narrows the inter-
  1053. face to the UNIX kernel significantly and increases the
  1054. package's portability correspondingly.
  1055. </PRE>
  1056. <H2>NOTES</H2><PRE>
  1057. The header file <STRONG>&lt;curses.h&gt;</STRONG> automatically includes the
  1058. header files <STRONG>&lt;stdio.h&gt;</STRONG> and <STRONG>&lt;unctrl.h&gt;</STRONG>.
  1059. If standard output from a <STRONG>ncurses</STRONG> program is re-directed
  1060. to something which is not a tty, screen updates will be
  1061. directed to standard error. This was an undocumented fea-
  1062. ture of AT&amp;T System V Release 3 curses.
  1063. </PRE>
  1064. <H2>AUTHORS</H2><PRE>
  1065. Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey.
  1066. Based on pcurses by Pavel Curtis.
  1067. <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>
  1068. </PRE>
  1069. <HR>
  1070. <ADDRESS>
  1071. Man(1) output converted with
  1072. <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
  1073. </ADDRESS>
  1074. </BODY>
  1075. </HTML>