?? announce.html
字號:
insists on adding a blank on each side of the token. </ul> <li>workarounds for broken tools: <ul> <li>add configure check for wchar_t and wint_t types, rather than rely on preprocessor definitions. Also work around for gcc <code>fixinclude</code> bug which creates a shadow copy of curses.h if it sees these symbols apparently typedef'd. <li>modify configure script to omit -Winline for gcc 3.3, since that feature is broken. <li>several script fixes to work around the ironically named <em>POSIXLY_CORRECT</em> feature of GNU sed 4.0. <li>modify configure script to avoid using "head -1", which does not work if POSIXLY_CORRECT (sic) is set. <li>update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL, which is broken in autoconf 2.5x for Mac OS X 10.2.3. <li>repair check for missing C++ compiler, which is broken in autoconf 2.5x by hardcoding it to g++. </ul> <li>corrected ifdef's relating to configure check for wchar_t, etc. <li>remove configure script check to allow -Wconversion for older versions of gcc <li>modify configure script to accommodate libtool 1.5, as well as add an parameter to the "--with-libtool" option which can specify the pathname of libtool. <li>change several sed scripts to avoid using "\+" since it is not a BRE (basic regular expression). One instance caused terminfo.5 to be misformatted on FreeBSD. <li>use '%' as sed substitute delimiter in run_tic script to avoid problems with pathname delimiters such as ':' and '@'. <li>add -D_XOPEN_SOURCE=500 if needed when configuring with "--enable-widec", to get <code>mbstate_t</code> declaration on HPUX 11.11. </ul> <li>library: <ul> <li>adjust include-options in CF_ETIP_DEFINES to avoid missing ncurses_dll.h, fixing special definitions that may be needed for etip.h. <li>modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a ".so" suffix. <li>improve ifdef's to guard against redefinition of wchar_t and wint_t in curses.h. <li>remove an #undef for KEY_EVENT from curses.tail used in the experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses Debian <code>dpkg</code>'s build script. </ul></ul><H1>Features of Ncurses</H1>The ncurses package is fully compatible with SVr4 (System V Release 4) curses:<UL><LI>All 257 of the SVr4 calls have been implemented (and are documented).<LI>Full support for SVr4 curses features including keyboard mapping, color,forms-drawing with ACS characters, and automatic recognition of keypadand function keys.<LI>An emulation of the SVr4 panels library, supportinga stack of windows with backing store, is included.<LI>An emulation of the SVr4 menus library, supportinga uniform but flexible interface for menu programming, is included.<LI>An emulation of the SVr4 form library, supportingdata collection through on-screen forms, is included.<LI>Binary terminfo entries generated by the ncurses tic(1) implementationare bit-for-bit-compatible with the entry format SVr4 curses uses.<LI>The utilities have options to allow you to filter terminfoentries for use with less capable <STRONG>curses</STRONG>/<STRONG>terminfo</STRONG>versions such as the HP/UX and AIX ports.</UL>The ncurses package also has many useful extensions over SVr4:<UL><LI>The API is 8-bit clean and base-level conformant with the X/OPEN cursesspecification, XSI curses (that is, it implements all BASE level features,but not all EXTENDED features). Most EXTENDED-level features not directlyconcerned with wide-character support are implemented, including manyfunction calls not supported under SVr4 curses (but portability of allcalls is documented so you can use the SVr4 subset only).<LI>Unlike SVr3 curses, ncurses can write to the rightmost-bottommost cornerof the screen if your terminal has an insert-character capability.<LI>Ada95 and C++ bindings.<LI>Support for mouse event reporting with X Window xterm and OS/2 console windows.<LI>Extended mouse support via Alessandro Rubini's gpm package.<LI>The function <CODE>wresize()</CODE> allows you to resize windows, preservingtheir data.<LI>The function <CODE>use_default_colors()</CODE> allows you touse the terminal's default colors for the default color pair,achieving the effect of transparent colors.<LI>The functions <CODE>keyok()</CODE>and <CODE>define_key()</CODE> allowyou to better control the use of function keys,e.g., disabling the ncurses KEY_MOUSE,or by defining more than one control sequence to map to a given key code.<LI>Support for 16-color terminals, such as aixterm and XFree86 xterm.<LI>Better cursor-movement optimization. The package now features acursor-local-movement computation more efficient than either BSD'sor System V's.<LI>Super hardware scrolling support. The screen-update code incorporatesa novel, simple, and cheap algorithm that enables it to make optimaluse of hardware scrolling, line-insertion, and line-deletionfor screen-line movements. This algorithm is more powerful thanthe 4.4BSD curses quickch() routine.<LI>Real support for terminals with the magic-cookie glitch. Thescreen-update code will refrain from drawing a highlight if the magic-cookie unattributed spaces required just before the beginning andafter the end would step on a non-space character. It willautomatically shift highlight boundaries when doing so would make itpossible to draw the highlight without changing the visual appearanceof the screen.<LI>It is possible to generate the library with a list of pre-loadedfallback entries linked to it so that it can serve those terminal types evenwhen no terminfo tree or termcap file is accessible (this may be usefulfor support of screen-oriented programs that must run in single-user mode).<LI>The tic(1)/captoinfo utility provided with ncurses has theability to translate many termcaps from the XENIX, IBM andAT&T extension sets.<LI>A BSD-like tset(1) utility is provided.<LI>The ncurses library and utilities will automatically read terminfoentries from $HOME/.terminfo if it exists, and compile to that directoryif it exists and the user has no write access to the system directory.This feature makes it easier for users to have personal terminfo entrieswithout giving up access to the system terminfo directory.<LI>You may specify a path of directories to search for compileddescriptions with the environment variable TERMINFO_DIRS (thisgeneralizes the feature provided by TERMINFO under stock System V.)<LI>In terminfo source files, use capabilities may refer not just toother entries in the same source file (as in System V) but also tocompiled entries in either the system terminfo directory or the user's$HOME/.terminfo directory.<LI>A script (<STRONG>capconvert</STRONG>) is provided to help BSD userstransition from termcap to terminfo. It gathers the information in aTERMCAP environment variable and/or a ~/.termcap local entries fileand converts it to an equivalent local terminfo tree under $HOME/.terminfo.<LI>Automatic fallback to the /etc/termcap file can be compiled inwhen it is not possible to build a terminfo tree. This feature is neitherfast nor cheap, you don't want to use it unless you have to,but it's there.<LI>The table-of-entries utility <STRONG>toe</STRONG> makes it easy for users tosee exactly what terminal types are available on the system.<LI>The library meets the XSI requirement that every macro entrypoint have a corresponding function which may be linked (and will beprototype-checked) if the macro definition is disabled with<CODE>#undef</CODE>.<LI>An HTML "Introduction to Programming with NCURSES" document providesa narrative introduction to the curses programming interface.</UL><H1>State of the Package</H1>Numerous bugs present in earlier versions have been fixed; thelibrary is far more reliable than it used to be. Bounds checking in many`dangerous' entry points has been improved. The code is now type-safeaccording to gcc -Wall. The library has been checked for malloc leaks andarena corruption by the Purify memory-allocation tester.<P>The ncurses code has been tested with a wide variety of applicationsincluding (versions starting with those noted):<DL><DT> cdk<DD> Curses Development Kit<br><A HREF="http://invisible-island.net/cdk/">http://invisible-island.net/cdk/</A><br><A HREF="http://www.vexus.ca/products/CDK/">http://www.vexus.ca/products/CDK/</a><DT> ded<DD> directory-editor<br><A HREF="http://invisible-island.net/ded/">http://invisible-island.net/ded/</A><DT> dialog<DD> the underlying application used in Slackware's setup, and the basisfor similar applications on GNU/Linux.<br><A HREF="http://invisible-island.net/dialog/">http://invisible-island.net/dialog/</A><DT> lynx<DD> the character-screen WWW browser<br><A HREF="http://lynx.isc.org/release/">http://lynx.isc.org/release/</A><DT> Midnight Commander<DD> file manager<br><A HREF="http://www.ibiblio.org/mc/">http://www.ibiblio.org/mc/</A><DT> mutt<DD> mail utility<br><A HREF="http://www.mutt.org/">http://www.mutt.org/</A><DT> ncftp<DD> file-transfer utility<br><A HREF="http://www.ncftp.com/">http://www.ncftp.com/</A><DT> nvi<DD> New vi versions 1.50 are able to use ncurses versions 1.9.7 and later.<br><A HREF="http://www.bostic.com/vi/">http://www.bostic.com/vi/</A><br><DT> pinfo<DD> Lynx-like info browser.<A HREF="http://dione.ids.pl/~pborys/software/pinfo/">http://dione.ids.pl/~pborys/software/pinfo/</A><DT> tin<DD> newsreader, supporting color, MIME<A HREF="http://www.tin.org/">http://www.tin.org/</A><DT> vh-1.6<DD> Volks-Hypertext browser for the Jargon File<br><A HREF="http://www.debian.org/Packages/unstable/text/vh.html">http://www.debian.org/Packages/unstable/text/vh.html</A></DL>as well as some that use ncurses for the terminfo support alone:<DL><DT> minicom<DD> terminal emulator<br><A HREF="http://www.netsonic.fi/~walker/minicom.html">http://www.netsonic.fi/~walker/minicom.html</A><DT> vile<DD> vi-like-emacs<br><A HREF="http://invisible-island.net/vile/">http://invisible-island.net/vile/</A></DL><P>The ncurses distribution includes a selection of test programs (includinga few games).<H2>Who's Who and What's What</H2>Zeyd Ben-Halimstarted it from a previous package pcurses, written by Pavel Curtis.Eric S. Raymondcontinued development.Jürgen Pfeifer wrote most of the form and menu libraries.Ongoing work is being done by<A HREF="mailto:dickey@invisible-island.net">Thomas Dickey</A>.Thomas Dickeyacts as the maintainer for the Free Software Foundation,which holds the copyright on ncurses.Contact the current maintainers at<A HREF="mailto:bug-ncurses@gnu.org">bug-ncurses@gnu.org</A>.<P>To join the ncurses mailing list, please write email to<CODE>bug-ncurses-request@gnu.org</CODE> containing the line:<PRE> subscribe <name>@<host.domain></PRE>This list is open to anyone interested in helping with the development andtesting of this package.<P>Beta versions of ncurses and patches to the current release are made available at<A HREF="ftp://invisible-island.net/ncurses/">ftp://invisible-island.net/ncurses/</A> .<H2>Future Plans</H2><UL><LI>Extended-level XPG4 conformance, with internationalization support.<LI>Ports to more systems, including DOS and Windows.</UL>We need people to help with these projects. If you are interested in workingon them, please join the ncurses list.<H2>Other Related Resources</H2>The distribution provides a newer version of the terminfo-formatterminal description file maintained by<A HREF="http://www.catb.org/~esr/terminfo/">Eric Raymond</A> .Unlike the older version, the termcap and terminfo data are providedin the same file.<P>You can find lots of information on terminal-related topicsnot covered in the terminfo file at<A HREF="http://www.cs.utk.edu/~shuford/terminal_index.html">Richard Shuford'sarchive</A> .</BODY></HTML><!--# The following sets edit modes for GNU EMACS# Local Variables:# mode:html# case-fold-search:nil# fill-column:70# End:-->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -