⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ncurses.html

📁 lfs3.1 从源代码构建linux。html版本。
💻 HTML
字号:
<HTML><HEAD><TITLE>Ncurses</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Package descriptions"HREF="../appendixa/appendixa.html"><LINKREL="PREVIOUS"TITLE="Findutils"HREF="../appendixa/findutils.html"><LINKREL="NEXT"TITLE="Vim"HREF="../appendixa/vim.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../appendixa/findutils.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Appendix A. Package descriptions</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../appendixa/vim.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="aa-ncurses">A.23. Ncurses</A></H1><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN5164">A.23.1. Contents</A></H2><P>The Ncurses package contains the ncurses, panel, menu and formlibraries. It also contains the clear, infocmp, tic, toe, tput and tsetprograms.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN5167">A.23.2. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5169">A.23.2.1. The libraries</A></H3><P>The libraries that make up the Ncurses library are used to display text(often in a fancy way) on the screen. An example where ncurses is usedis in the kernel's <SPANCLASS="QUOTE">"make menuconfig"</SPAN> process. The librariescontain routines to create panels, menu's, form and general text displayroutines.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5173">A.23.2.2. clear</A></H3><P>The clear program clears the screen if this is possible.  It looks inthe environment for the terminal type and then in the terminfo databaseto figure out how to clear the screen.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5176">A.23.2.3. infocmp</A></H3><P>The infocmp program can be used to compare a binary terminfo entry withother terminfo entries, rewrite a terminfo description to take advantage of the use=  terminfo field, or print  out  a  terminfo  description  from the binary file (term) in a variety of formats (the opposite of what tic does).</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5179">A.23.2.4. tic</A></H3><P>Tic is the terminfo entry-description compiler. The program translates aterminfo file from source format into the binary format for use with thencurses library routines. Terminfo files contain information about thecapabilities of a terminal.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5182">A.23.2.5. toe</A></H3><P>The toe program lists all available terminal types by primary name withdescriptions.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5185">A.23.2.6. tput</A></H3><P>The tput program uses the terminfo database to make the values ofterminal-dependent capabilities and  information available to the shell,to initialize or reset the terminal, or return the long name of therequested terminal type.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5188">A.23.2.7. tset</A></H3><P>The Tset program initializes terminals so they can be used, but it's notwidely used anymore. It's provided for 4.4BSD compatibility.</P></DIV></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../appendixa/findutils.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../appendixa/vim.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Findutils</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../appendixa/appendixa.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Vim</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -