Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / html / python / lib / module-curses.html
CommitLineData
86530b38
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="lib.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="lib.html" title='Python Library Reference' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="next" href="module-curses.textpad.html" />
13<link rel="prev" href="module-getpass.html" />
14<link rel="parent" href="allos.html" />
15<link rel="next" href="curses-functions.html" />
16<meta name='aesop' content='information' />
17<title>6.15 curses -- Terminal handling for character-cell displays</title>
18</head>
19<body>
20<DIV CLASS="navigation">
21<div id='top-navigation-panel' xml:id='top-navigation-panel'>
22<table align="center" width="100%" cellpadding="0" cellspacing="2">
23<tr>
24<td class='online-navigation'><a rel="prev" title="6.14 getpass "
25 href="module-getpass.html"><img src='../icons/previous.png'
26 border='0' height='32' alt='Previous Page' width='32' /></A></td>
27<td class='online-navigation'><a rel="parent" title="6. Generic Operating System"
28 href="allos.html"><img src='../icons/up.png'
29 border='0' height='32' alt='Up One Level' width='32' /></A></td>
30<td class='online-navigation'><a rel="next" title="6.15.1 Functions"
31 href="curses-functions.html"><img src='../icons/next.png'
32 border='0' height='32' alt='Next Page' width='32' /></A></td>
33<td align="center" width="100%">Python Library Reference</td>
34<td class='online-navigation'><a rel="contents" title="Table of Contents"
35 href="contents.html"><img src='../icons/contents.png'
36 border='0' height='32' alt='Contents' width='32' /></A></td>
37<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
38 border='0' height='32' alt='Module Index' width='32' /></a></td>
39<td class='online-navigation'><a rel="index" title="Index"
40 href="genindex.html"><img src='../icons/index.png'
41 border='0' height='32' alt='Index' width='32' /></A></td>
42</tr></table>
43<div class='online-navigation'>
44<b class="navlabel">Previous:</b>
45<a class="sectref" rel="prev" href="module-getpass.html">6.14 getpass </A>
46<b class="navlabel">Up:</b>
47<a class="sectref" rel="parent" href="allos.html">6. Generic Operating System</A>
48<b class="navlabel">Next:</b>
49<a class="sectref" rel="next" href="curses-functions.html">6.15.1 Functions</A>
50</div>
51<hr /></div>
52</DIV>
53<!--End of Navigation Panel-->
54
55<H1><A NAME="SECTION0081500000000000000000">
566.15 <tt class="module">curses</tt> --
57 Terminal handling for character-cell displays</A>
58</H1>
59
60<P>
61<A NAME="module-curses"></A>
62
63<P>
64
65<span class="versionnote">Changed in version 1.6:
66Added support for the <code>ncurses</code> library and
67 converted to a package.</span>
68
69<P>
70The <tt class="module">curses</tt> module provides an interface to the curses
71library, the de-facto standard for portable advanced terminal
72handling.
73
74<P>
75While curses is most widely used in the <span class="Unix">Unix</span> environment, versions
76are available for DOS, OS/2, and possibly other systems as well. This
77extension module is designed to match the API of ncurses, an
78open-source curses library hosted on Linux and the BSD variants of
79<span class="Unix">Unix</span>.
80
81<P>
82<div class="seealso">
83 <p class="heading">See Also:</p>
84
85 <dl compact="compact" class="seemodule">
86 <dt>Module <b><tt class="module"><a href="module-curses.ascii.html">curses.ascii</a></tt>:</b>
87 <dd>Utilities for working with ASCII
88 characters, regardless of your locale
89 settings.
90 </dl>
91 <dl compact="compact" class="seemodule">
92 <dt>Module <b><tt class="module"><a href="module-curses.panel.html">curses.panel</a></tt>:</b>
93 <dd>A panel stack extension that adds depth to
94 curses windows.
95 </dl>
96 <dl compact="compact" class="seemodule">
97 <dt>Module <b><tt class="module"><a href="module-curses.textpad.html">curses.textpad</a></tt>:</b>
98 <dd>Editable text widget for curses supporting
99 <b class="program">Emacs</b>-like bindings.
100 </dl>
101 <dl compact="compact" class="seemodule">
102 <dt>Module <b><tt class="module"><a href="module-curses.wrapper.html">curses.wrapper</a></tt>:</b>
103 <dd>Convenience function to ensure proper
104 terminal setup and resetting on
105 application entry and exit.
106 </dl>
107 <dl compact="compact" class="seetitle">
108 <dt><em class="citetitle"><a href="http://www.python.org/doc/howto/curses/curses.html"
109 >Curses
110 Programming with Python</a></em></dt>
111 <dd>Tutorial material on using curses
112 with Python, by Andrew Kuchling and Eric Raymond, is
113 available on the Python Web site.</dd>
114 </dl>
115 <div class="seetext"><p>The <span class="file">Demo/curses/</span> directory in the Python source
116 distribution contains some example programs using the
117 curses bindings provided by this module.</p></div>
118</div>
119
120<P>
121
122<p><br /></p><hr class='online-navigation' />
123<div class='online-navigation'>
124<!--Table of Child-Links-->
125<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></a>
126
127<UL CLASS="ChildLinks">
128<LI><A href="curses-functions.html">6.15.1 Functions</a>
129<LI><A href="curses-window-objects.html">6.15.2 Window Objects</a>
130<LI><A href="node267.html">6.15.3 Constants</a>
131</ul>
132<!--End of Table of Child-Links-->
133</div>
134
135<DIV CLASS="navigation">
136<div class='online-navigation'>
137<p></p><hr />
138<table align="center" width="100%" cellpadding="0" cellspacing="2">
139<tr>
140<td class='online-navigation'><a rel="prev" title="6.14 getpass "
141 href="module-getpass.html"><img src='../icons/previous.png'
142 border='0' height='32' alt='Previous Page' width='32' /></A></td>
143<td class='online-navigation'><a rel="parent" title="6. Generic Operating System"
144 href="allos.html"><img src='../icons/up.png'
145 border='0' height='32' alt='Up One Level' width='32' /></A></td>
146<td class='online-navigation'><a rel="next" title="6.15.1 Functions"
147 href="curses-functions.html"><img src='../icons/next.png'
148 border='0' height='32' alt='Next Page' width='32' /></A></td>
149<td align="center" width="100%">Python Library Reference</td>
150<td class='online-navigation'><a rel="contents" title="Table of Contents"
151 href="contents.html"><img src='../icons/contents.png'
152 border='0' height='32' alt='Contents' width='32' /></A></td>
153<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
154 border='0' height='32' alt='Module Index' width='32' /></a></td>
155<td class='online-navigation'><a rel="index" title="Index"
156 href="genindex.html"><img src='../icons/index.png'
157 border='0' height='32' alt='Index' width='32' /></A></td>
158</tr></table>
159<div class='online-navigation'>
160<b class="navlabel">Previous:</b>
161<a class="sectref" rel="prev" href="module-getpass.html">6.14 getpass </A>
162<b class="navlabel">Up:</b>
163<a class="sectref" rel="parent" href="allos.html">6. Generic Operating System</A>
164<b class="navlabel">Next:</b>
165<a class="sectref" rel="next" href="curses-functions.html">6.15.1 Functions</A>
166</div>
167</div>
168<hr />
169<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
170</DIV>
171<!--End of Navigation Panel-->
172<ADDRESS>
173See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
174</ADDRESS>
175</BODY>
176</HTML>