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

📄 ncurses.3x.html

📁 ncurses-5.4 需要的就来下把 一定会有用的哦
💻 HTML
📖 第 1 页 / 共 5 页
字号:
       before  checking  in  the standard place.  For example, if       <STRONG>TERM</STRONG> is set to <STRONG>att4424</STRONG>, then the compiled terminal defini-       tion is found in             <STRONG>/usr/share/terminfo/a/att4424</STRONG>.       (The <STRONG>a</STRONG> is copied from the first letter of <STRONG>att4424</STRONG> to avoid       creation of huge directories.)  However,  if  <STRONG>TERMINFO</STRONG>  is       set to <STRONG>$HOME/myterms</STRONG>, <STRONG>curses</STRONG> first checks             <STRONG>$HOME/myterms/a/att4424</STRONG>,       and if that fails, it then checks             <STRONG>/usr/share/terminfo/a/att4424</STRONG>.       This  is useful for developing experimental definitions or       when write permission in <STRONG>/usr/share/terminfo</STRONG> is not avail-       able.       The  integer  variables  <STRONG>LINES</STRONG>  and  <STRONG>COLS</STRONG>  are  defined in       <STRONG>&lt;curses.h&gt;</STRONG> and will be filled in by <STRONG>initscr</STRONG> with the  size       of the screen.  The constants <STRONG>TRUE</STRONG> and <STRONG>FALSE</STRONG> have the val-       ues <STRONG>1</STRONG> and <STRONG>0</STRONG>, respectively.       The <STRONG>curses</STRONG> routines also  define  the  <STRONG>WINDOW</STRONG>  <STRONG>*</STRONG>  variable       <STRONG>curscr</STRONG> which is used for certain low-level operations like       clearing and redrawing a screen containing  garbage.   The       <STRONG>curscr</STRONG> can be used in only a few routines.   <STRONG>Routine</STRONG> <STRONG>and</STRONG> <STRONG>Argument</STRONG> <STRONG>Names</STRONG>       Many  <STRONG>curses</STRONG> routines have two or more versions.  The rou-       tines prefixed with <STRONG>w</STRONG> require a window argument.  The rou-       tines prefixed with <STRONG>p</STRONG> require a pad argument.  Those with-       out a prefix generally use <STRONG>stdscr</STRONG>.       The routines prefixed with <STRONG>mv</STRONG> require a <EM>y</EM> and <EM>x</EM> coordinate       to  move to before performing the appropriate action.  The       <STRONG>mv</STRONG> routines imply a call to <STRONG>move</STRONG> before the  call  to  the       other  routine.  The coordinate <EM>y</EM> always refers to the row       (of the window), and <EM>x</EM> always refers to the  column.   The       upper left-hand corner is always (0,0), not (1,1).       The routines prefixed with <STRONG>mvw</STRONG> take both a window argument       and <EM>x</EM> and <EM>y</EM> coordinates.  The window  argument  is  always       specified before the coordinates.       In  each  case, <EM>win</EM> is the window affected, and <EM>pad</EM> is the       pad affected; <EM>win</EM> and <EM>pad</EM> are always pointers to type <STRONG>WIN-</STRONG>       <STRONG>DOW</STRONG>.       Option setting routines require a Boolean flag <EM>bf</EM> with the       value <STRONG>TRUE</STRONG> or <STRONG>FALSE</STRONG>; <EM>bf</EM> is always of type <STRONG>bool</STRONG>.  The vari-       ables  <EM>ch</EM>  and <EM>attrs</EM> below are always of type <STRONG>chtype</STRONG>.  The       types <STRONG>WINDOW</STRONG>, <STRONG>SCREEN</STRONG>, <STRONG>bool</STRONG>,  and  <STRONG>chtype</STRONG>  are  defined  in       <STRONG>&lt;curses.h&gt;</STRONG>.   The  type  <STRONG>TERMINAL</STRONG>  is defined in <STRONG>&lt;term.h&gt;</STRONG>.       All other arguments are integers.   <STRONG>Routine</STRONG> <STRONG>Name</STRONG> <STRONG>Index</STRONG>       The following table lists each <STRONG>curses</STRONG> routine and the name       of  the  manual  page  on which it is described.  Routines       flagged with `*' are ncurses-specific,  not  described  by       XPG4 or present in SVr4.              <STRONG>curses</STRONG> Routine Name     Manual Page Name              --------------------------------------------              COLOR_PAIR              <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>              PAIR_NUMBER             <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              _nc_tracebits           <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _traceattr              <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _traceattr2             <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _tracechar              <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _tracechtype            <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _tracechtype2           <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _tracedump              <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _tracef                 <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              _tracemouse             <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>*              add_wch                 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>              add_wchnstr             <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>              add_wchstr              <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG>              addch                   <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>              addchnstr               <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>              addchstr                <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG>              addnstr                 <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>              addnwstr                <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>              addstr                  <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>              addwstr                 <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>              assume_default_colors   <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>*              attr_get                <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              attr_off                <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              attr_on                 <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              attr_set                <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              attroff                 <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              attron                  <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              attrset                 <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              baudrate                <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>              beep                    <STRONG><A HREF="curs_beep.3x.html">curs_beep(3x)</A></STRONG>              bkgd                    <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>              bkgdset                 <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>              bkgrnd                  <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>              bkgrndset               <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>              border                  <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>              border_set              <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>              box                     <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>              box_set                 <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>              can_change_color        <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>              cbreak                  <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>              chgat                   <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              clear                   <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>              clearok                 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>              clrtobot                <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>              clrtoeol                <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>              color_content           <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>              color_set               <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>              copywin                 <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>              curs_set                <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>              curses_version          <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG>*              def_prog_mode           <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>              def_shell_mode          <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>              define_key              <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>*              del_curterm             <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>              delay_output            <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>              delch                   <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG>              deleteln                <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG>              delscreen               <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>              delwin                  <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>              derwin                  <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>              doupdate                <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>              dupwin                  <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>              echo                    <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>              echo_wchar              <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>              echochar                <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>              endwin                  <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>              erase                   <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>              erasechar               <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>              erasewchar              <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>              filter                  <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>              flash                   <STRONG><A HREF="curs_beep.3x.html">curs_beep(3x)</A></STRONG>              flushinp                <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>              get_wch                 <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>              get_wstr                <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>              getbegyx                <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>              getbkgd                 <STRONG><A HREF="curs_bkgd.3x.html">curs_bkgd(3x)</A></STRONG>              getbkgrnd               <STRONG><A HREF="curs_bkgrnd.3x.html">curs_bkgrnd(3x)</A></STRONG>              getcchar                <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG>              getch                   <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>              getmaxyx                <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>              getmouse                <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>*              getn_wstr               <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>              getnstr                 <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>              getparyx                <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>              getstr                  <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>              getsyx                  <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>              getwin                  <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>              getyx                   <STRONG><A HREF="curs_getyx.3x.html">curs_getyx(3x)</A></STRONG>              halfdelay               <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>              has_colors              <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>              has_ic                  <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>              has_il                  <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG>              has_key                 <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>*              hline                   <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>              hline_set               <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>              idcok                   <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>

⌨️ 快捷键说明

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