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

📄 untitl~1.searchresults

📁 ncurses-5.4
💻 SEARCHRESULTS
📖 第 1 页 / 共 2 页
字号:
    initscr();
    cbreak();			/* immediate char return */
    noecho();			/* no immediate echo */
Lib_initscr.c (ncurses\base):38
**	The routines initscr(), and termname().
**
*/
Lib_initscr.c (ncurses\base):51
initscr(void)
{
    static bool initialized = FALSE;
Lib_initscr.c (ncurses\base):58
    T((T_CALLED("initscr()")));
    /* Portable applications must not call initscr() more than once */
    if (!initialized) {
	initialized = TRUE;
Lib_newterm.c (ncurses\base):57
 * SVr4/XSI Curses specify that hardware echo is turned off in initscr, and not
 * restored during the curses session.  The library simulates echo in software.
 * (The behavior is unspecified if the application enables hardware echo).
Lib_newterm.c (ncurses\base):61
 * The newterm function also initializes terminal settings, and since initscr
 * is supposed to behave as if it calls newterm, we do it here.
 */
Lib_newterm.c (ncurses\base):89
 * filter() has to be called before either initscr() or newterm(), so there is
 * apparently no way to make this flag apply to some terminals and not others,
 * aside from possibly delaying a filter() call until some terminals have been
Lib_setup.c (ncurses\tinfo):411
     * and termcap calls, it may call both initscr and tgetent.  This is not
     * really a good thing to do, but can happen if someone tries using ncurses
     * with the readline library.  The problem we are fixing is that when
Lib_setup.c (ncurses\tinfo):416
     * rather than the ones saved in initscr.  So we check if cur_term appears
     * to contain terminal settings for the same output file as our current
     * call - and copy those terminal settings.  (SVr4 curses does not do this,
Lib_setup.c (ncurses\tinfo):474
	 * If an application calls setupterm() rather than initscr() or
	 * newterm(), we will not have the def_prog_mode() call in
	 * _nc_setupscreen().  Do it now anyway, so we can initialize the
Lib_slk.c (ncurses\base):48
 * because slk_init() is called before initscr()/newterm().
 */
NCURSES_EXPORT_VAR(int)
Lib_slkinit.c (ncurses\base):37
 *      Initialize soft labels.  Called by the user before initscr().
 */
#include <curses.priv.h>
Lib_tstp.c (ncurses\tty):345
 * This is invoked once at the beginning (e.g., from 'initscr()'), to
 * initialize the signal catchers, and thereafter when spawning a shell (and
 * returning) to disable/enable the SIGTSTP (i.e., ^Z) catcher.
Lrtest.c (test):75
    initscr();
    noecho();
    cbreak();
Menu.3x.html (doc\html\man):69
       initialization  routine  such  as  <STRONG>initscr</STRONG>  must be called
       before using any of these  functions.   To  use  the  <STRONG>menu</STRONG>
       library, link with the options <STRONG>-lmenu</STRONG> <STRONG>-lcurses</STRONG>.
Ncurses-intro.html (doc\html):421
    (void) initscr();      /* initialize the curses library */
    keypad(stdscr, TRUE);  /* enable keyboard mapping */
    (void) nonl();         /* tell curses not to do NL-&gt;CR/NL on output */
Ncurses-intro.html (doc\html):472
allocated.  These function <CODE>initscr()</CODE> does both these things. Since it
must allocate space for the windows, it can overflow memory when attempting to
do so. On the rare occasions this happens, <CODE>initscr()</CODE> will terminate
the program with an error message.  <CODE>initscr()</CODE> must always be called
before any of the routines which affect windows are used.  If it is not, the
program will core dump as soon as either <CODE>curscr</CODE> or <CODE>stdscr</CODE> are
Ncurses-intro.html (doc\html):481
after <CODE>initscr()</CODE>. <P>

Once the screen windows have been allocated, you can set them up for
Ncurses-intro.html (doc\html):670
<CODE>initscr()</CODE> was first called, and moves the cursor down to the
lower-left corner.  Thus, anytime after the call to initscr, <CODE>endwin()</CODE>
should be called before exiting.

Ncurses-intro.html (doc\html):682
<DT> <CODE>initscr()</CODE>
<DD> The first function called should almost always be <CODE>initscr()</CODE>.
This will determine the terminal type and
initialize curses data structures. <CODE>initscr()</CODE> also arranges that
the first call to <CODE>refresh()</CODE> will clear the screen.  If an error
occurs a message is written to standard error and the program
Ncurses-intro.html (doc\html):689
called before initscr (<CODE>slk_init()</CODE>, <CODE>filter()</CODE>,
<CODE>ripofflines()</CODE>, <CODE>use_env()</CODE>, and, if you are using multiple
terminals, <CODE>newterm()</CODE>.)
Ncurses-intro.html (doc\html):701
<CODE>newterm()</CODE> instead of <CODE>initscr()</CODE>.  <CODE>newterm()</CODE> should
be called once for each terminal.  It returns a variable of type
<CODE>SCREEN *</CODE> which should be saved as a reference to that
Ncurses-intro.html (doc\html):915
The <CODE>initscr()</CODE> function actually calls a function named
<CODE>newterm()</CODE> to do most of its work.  If you are writing a program that
opens multiple terminals, use <CODE>newterm()</CODE> directly. <P>
Ncurses.3x.html (doc\html\man):90
       To initialize the routines, the routine <STRONG>initscr</STRONG> or <STRONG>newterm</STRONG>
       must  be called before any of the other routines that deal
       with windows and screens are  used.   The  routine  <STRONG>endwin</STRONG>
Ncurses.3x.html (doc\html\man):98
             <STRONG>initscr();</STRONG> <STRONG>cbreak();</STRONG> <STRONG>noecho();</STRONG>

       Most programs would additionally use the sequence:
Ncurses.3x.html (doc\html\man):187
       <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.
Ncurses.3x.html (doc\html\man):341
              initscr                 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
              innstr                  <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
              innwstr                 <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
Ncurses.c (test):4681
    initscr();
    bkgdset(BLANK);

Ncurses.def (misc):217
	"initscr"	@80	NONAME
	"innstr"	@83	NONAME
	"insch"	@85	NONAME
Newdemo.c (test):228
    initscr();
    if (has_colors())
	start_color();
Rain.c (test):44
    initscr();
    if (has_colors()) {
	int bg = COLOR_BLACK;
Table.html (doc\html\ada):96
<TR><TD>initscr()</TD><TD><A HREF="terminal_interface-curses__ads.htm#AFU_2">Init_Screen</A></TD><TD><A HREF="../man/curs_initscr.3x.html">curs_initscr.3x</A></TD></TR>
<TR><TD>initscr()</TD><TD><A HREF="terminal_interface-curses__ads.htm#AFU_3">Init_Windows</A></TD><TD><A HREF="../man/curs_initscr.3x.html">curs_initscr.3x</A></TD></TR>
<TR><TD>intrflush()</TD><TD><A HREF="terminal_interface-curses__ads.htm#AFU_47">Set_Flush_On_Interrupt_Mode</A></TD><TD><A HREF="../man/curs_inopts.3x.html">curs_inopts.3x</A></TD></TR>
<TR><TD>is_linetouched()</TD><TD><A HREF="terminal_interface-curses__ads.htm#AFU_76">Is_Touched</A></TD><TD><A HREF="../man/curs_touch.3x.html">curs_touch.3x</A></TD></TR>
Tclock.c (test):141
    initscr();
    noecho();
    cbreak();
Terminal_interface-curses__adb.htm (doc\...\ada):157
      <b>pragma</b> Import (C, <A HREF="terminal_interface-curses__adb.htm#152_16">Initscr</A>, "initscr");

      <FONT COLOR=red><A NAME="155_7">W</A></FONT> : <A HREF="terminal_interface-curses__ads.htm#56_9">Window</A>;
Terminal_interface-curses__ads.htm (doc\...\ada):488
   <FONT COLOR=green><EM>--  AKA: <A HREF="../man/curs_initscr.3x.html">initscr()</A></EM></FONT>
   <b>pragma</b> Inline (<A HREF="terminal_interface-curses__ads.htm#482_14">Init_Screen</A>);
   <b>pragma</b> Inline (Init_Windows);
Testaddch.c (test):26
    initscr();
    start_color();
    init_pair(1, COLOR_WHITE, COLOR_BLUE);
Testcurs.c (test):185
    initscr();
#ifdef PDCDEBUG
    PDC_debug("after initscr()\n");
#endif
#ifdef A_COLOR
Testscanw.c (test):17
    initscr();
    scrollok(stdscr, TRUE);
    idlok(stdscr, TRUE);
View.c (test):285
    (void) initscr();		/* initialize the curses library */
    keypad(stdscr, TRUE);	/* enable keyboard mapping */
    (void) nonl();		/* tell curses not to do NL->CR/NL on output */
Worm.c (test):239
    initscr();
    noecho();
    cbreak();
Xmas.c (test):193
    initscr();
    noecho();
    nonl();

⌨️ 快捷键说明

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