OSDN Git Service

Rename manpages with non-digit suffix like '.1m' or '.3x'.
[linuxjm/jm.git] / manual / ncurses / draft / man3 / ncurses.3
1 '\" t
2 .\" $Id: ncurses-ja.3x,v 1.3 1998/10/14 15:20:42 kanda Exp $
3 .\" Japanese Version Copyright (c) 1998 Kanda Mitsuru
4 .\"         all rights reserved.
5 .\" Translated Mon Oct 12 22:30:53 JST 1998
6 .\"         by Kanda Mitsuru <kanda@@nn.iij4u.or.jp>
7 .TH ncurses 3X ""
8 .ds n 5
9 .ds d /usr/share/terminfo
10 .\"0 .SH NAME
11 .SH Ì¾Á°
12 \fBncurses\fR - CRT screen handling and optimization package
13 \fBncurses\fR - CRT ¥¹¥¯¥ê¡¼¥ó¥Ï¥ó¥É¥ê¥ó¥°¤ÈºÇŬ²½¥Ñ¥Ã¥±¡¼¥¸
14 .\"0 .SH SYNOPSIS
15 .SH ½ñ¼°
16 \fB#include <curses.h>\fR
17 .br
18 .\"0 .SH DESCRIPTION
19 .SH ÀâÌÀ
20 .\"0 The \fBcurses\fR library routines give the user a terminal-independent method
21 .\"0 of updating character screens with reasonable optimization.  This
22 .\"0 implementation is ``new curses'' (ncurses) and is the approved replacement for
23 .\"0 4.4BSD classic curses, which has been discontinued.
24 \fBcurses\fR ¥é¥¤¥Ö¥é¥ê¥ë¡¼¥Á¥ó¤ÏŬÅ٤ʺÇŬ²½¤ò¤·¤ÆüËöÆÈΩ¤Ê
25 ʸ»úüËö¤Î¹¹¿·ÊýË¡¤òÄ󶡤¹¤ë¡£¤³¤Î¼ÂÁõ¤Ï ``new curses'' (ncurses) ¤È¤¤¤¦Ì¾¤Ç¤¢¤ê¡¢
26 ³«È¯¤Î»ß¤Þ¤Ã¤¿ 4.4BSD ÉÕ°¤Î¸ÅŵŪ¤Ê curses ¤ËÃÖ¤­´¹¤ï¤ë¤â¤Î¤Ç¤¢¤ë¡£
27
28 .\"0 The \fBncurses\fR routines emulate the \fBcurses\fR(3X) library of System V
29 .\"0 Release 4 UNIX, and the XPG4 curses standard (XSI curses) but the \fBncurses\fR
30 .\"0 library is freely redistributable in source form.  Differences from the SVr4
31 .\"0 curses are summarized under the EXTENSIONS and BUGS sections below and
32 .\"0 described in detail in the EXTENSIONS and BUGS sections of individual man
33 .\"0 pages.
34 \fBncurses\fR ¥ë¡¼¥Á¥ó¤Ï System V Release 4 UNIX ¤Î \fBcurses\fR(3X) ¥é¥¤¥Ö¥é¥ê¤È 
35 XPG4 curses ¥¹¥¿¥ó¥À¡¼¥É (XSI curses) ¤ò¥¨¥ß¥å¥ì¡¼¥È¤¹¤ë¡¢¤·¤«¤· \fBncurses\fR 
36 ¥é¥¤¥Ö¥é¥ê¤Ï ¥½¡¼¥¹¤ò¼«Í³¤ËÇÛÉÛ²Äǽ¤Ç¤¢¤ë¡£SVr4 curses ¤È¤Î°ã¤¤¤Ï ¸å½Ò¤¹¤ë
37  \fB³ÈÄ¥\fR ¤È \fB¥Ð¥°\fR ¤Î¥»¥¯¥·¥ç¥ó¤Ë¤Þ¤È¤á¤é¤ì¤Æ¤¤¤Æ¡¢
38 ³Æ¡¹¤Î man ¥Ú¡¼¥¸¤Î \fB³ÈÄ¥\fR ¤È \fB¥Ð¥°\fR ¤Î¥»¥¯¥·¥ç¥ó¤Ë¾Ü½Ò¤µ¤ì¤Æ¤¤¤ë¡£
39
40 .\"0 A program using these routines must be linked with the \fB-lncurses\fR option,
41 .\"0 or (if it has been generated) with the debugging library \fB-lncurses_g\fR. 
42 .\"0 (Your system integrator may also have installed these libraries under
43 .\"0 the names \fB-lcurses\fR and \fB-lcurses_g\fR.)
44 .\"0 The ncurses_g library generates trace logs (in a file called 'trace' in the
45 .\"0 current directory) that describe curses actions.
46 ¤³¤ì¤é¤Î¥ë¡¼¥Á¥ó¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤Ï \fB-lncurses\fR ¤«
47 (¤â¤·ºîÀ®¤·¤Æ¤¤¤¿¤Ê¤é¤Ð)¥Ç¥Ð¥Ã¥°ÍѤΥ饤¥Ö¥é¥ê \fB-lncurses_g\fR ¥ª¥×¥·¥ç¥ó¤ò
48 ÉÕ¤±¤Æ¥ê¥ó¥¯¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£(¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à´ÉÍý¼Ô¤¬¤³¤ì¤é¤Î¥é¥¤¥Ö¥é¥ê¤ò
49 \fB-lcurses\fR ¤È \fB-lcurses_g\fR ¤È¤¤¤¦Ì¾¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤¡£)
50 ncurses_g ¥é¥¤¥Ö¥é¥ê¤Ï curses ¤Î¥¢¥¯¥·¥ç¥ó¤òµ­½Ò¤·¤¿
51 (¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë 'trace' ¤È¤¤¤¦¥Õ¥¡¥¤¥ëÃæ¤Ë)¥È¥ì¡¼¥¹¥í¥°¤òÀ¸À®¤¹¤ë¡£
52
53 .\"0 The \fBncurses\fR package supports: overall screen, window and pad
54 .\"0 manipulation; output to windows and pads; reading terminal input; control over
55 .\"0 terminal and \fBcurses\fR input and output options; environment query
56 .\"0 routines; color manipulation; use of soft label keys; terminfo capabilities;
57 .\"0 and access to low-level terminal-manipulation routines.
58 \fBncurses\fR ¥Ñ¥Ã¥±¡¼¥¸¤Ï°Ê²¼¤Î¤â¤Î¤ò¥µ¥Ý¡¼¥È¤¹¤ë: 
59 ¥ª¡¼¥Ð¥ª¡¼¥ë¥¹¥¯¥ê¡¼¥ó¡¢¥¦¥¤¥ó¥É¥¦¡¢¥Ñ¥Ã¥É¤ÎÁàºî; ¥¦¥¤¥ó¥É¥¦¤È¥Ñ¥Ã¥É¤Î½ÐÎÏ; 
60 üËö¤«¤é¤ÎÆþÎϤÎÆɤ߹þ¤ß; Ã¼Ëö¤ä \fBcurses\fR ¤ÎÆþÎϤȽÐÎÏ¥ª¥×¥·¥ç¥ó¤ÎÀ©¸æ; 
61 ´Ä¶­Ì䤤¹ç¤ï¤»¥ë¡¼¥Á¥ó; ¥«¥é¡¼Áàºî; ¥½¥Õ¥È¥é¥Ù¥ë¥­¡¼¤Î»ÈÍÑ; terminfo ²Äǽ½ÐÎÏ; 
62 Äã¥ì¥Ù¥ëüËöÁàºî¥ë¡¼¥Á¥ó¤Ø¤Î¥¢¥¯¥»¥¹¡£
63
64 .\"0 To initialize the routines, the routine \fBinitscr\fR or \fBnewterm\fR
65 .\"0 must be called before any of the other routines that deal with windows
66 .\"0 and screens are used.  The routine \fBendwin\fR must be called before
67 .\"0 exiting.  To get character-at-a-time input without echoing (most
68 .\"0 interactive, screen oriented programs want this), the following
69 .\"0 sequence should be used:
70 ¥ë¡¼¥Á¥ó¤ò½é´ü²½¤¹¤ë¤¿¤á¤Ë¡¢¥¦¥¤¥ó¥É¥¦¤ä¥¹¥¯¥ê¡¼¥ó¤ò°·¤¦¤½¤Î¾¤Î¥ë¡¼¥Á¥ó¤ò
71 »ÈÍѤ¹¤ëÁ°¤Ë¡¢\fBinitscr\fR ¤â¤·¤¯¤Ï \fBnewterm\fR ¥ë¡¼¥Á¥ó¤ò
72 ¸Æ¤Ó½Ð¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£\fBendwin\fR ¥ë¡¼¥Á¥ó¤Ï½ªÎ»Á°¤Ë¸Æ¤Ó½Ð¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
73 ¤½¤Î¾ì¤Ç¤¹¤°¤Ë¥¨¥³¡¼Ìµ¤·¤Ç(¤Û¤È¤ó¤É¤ÏÂÐÏü°¤Ç¡¢¥¹¥¯¥ê¡¼¥ó¥ª¥ê¥¨¥ó¥Æ¥Ã¥É¤Ê
74 ¥×¥í¥°¥é¥à¤Ï¤³¤ì¤òɬÍפȤ¹¤ë)ʸ»úÆþÎϤòÆÀ¤ë¤¿¤á¤Ë¤Ï¡¢
75 °Ê²¼¤Î¥·¡¼¥±¥ó¥¹¤òÍѤ¤¤ì¤ÐÎɤ¤:
76
77       \fBinitscr(); cbreak(); noecho();\fR
78
79 .\"0 Most programs would additionally use the sequence:
80 ¿¤¯¤Î¥×¥í¥°¥é¥à¤Ï°Ê²¼¤Î¥·¡¼¥±¥ó¥¹¤âÉÕ¤±²Ã¤¨¤Æ»ÈÍѤ¹¤ë:
81
82       \fBnonl();\fR
83       \fBintrflush(stdscr, FALSE);\fR
84       \fBkeypad(stdscr, TRUE);\fR
85
86 .\"0 Before a \fBcurses\fR program is run, the tab stops of the terminal
87 .\"0 should be set and its initialization strings, if defined, must be
88 .\"0 output.  This can be done by executing the \fBtput init\fR command
89 .\"0 after the shell environment variable \fBTERM\fR has been exported.
90 .\"0 \fBtset(1)\fR is usually responsible for doing this.
91 .\"0 [See \fBterminfo\fR(\*n) for further details.]
92 \fBcurses\fR ¥×¥í¥°¥é¥à¤¬µ¯Æ°¤µ¤ì¤ëÁ°¤Ë¡¢Ã¼Ëö¤Î¥¿¥Ö¥¹¥È¥Ã¥×¤ÏÀßÄꤵ¤ì¡¢
93 ¤½¤Î½é´ü²½Ê¸»úÎ󤬡¢¤â¤·ÄêµÁ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢½ÐÎϤµ¤ì¤ë¡£
94 ¤³¤ì¤Ï¡¢¥·¥§¥ë¤Î´Ä¶­ÊÑ¿ô \fBTERM\fR ¤¬¥¨¥­¥¹¥Ý¡¼¥È¤µ¤ì¤¿¸å¤Ë
95  \fRtput init\fR ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ë¤è¤ê¹Ô¤ï¤ìÆÀ¤ë¡£
96 [¾Ü¤·¤¯¤Ï \fBterminfo\fR(\*n) »²¾È¤Î¤³¤È]
97
98 .\"0 The \fBcurses\fR library permits manipulation of data structures,
99 .\"0 called \fIwindows\fR, which can be thought of as two-dimensional
100 .\"0 arrays of characters representing all or part of a CRT screen.  A
101 .\"0 default window called \fBstdscr\fR, which is the size of the terminal
102 .\"0 screen, is supplied.  Others may be created with \fBnewwin\fR.
103 \fBcurses\fR ¥é¥¤¥Ö¥é¥ê¤Ï \fIwindows\fR ¤È¸Æ¤Ð¤ì¤ë¥Ç¡¼¥¿¹½Â¤ÂΤÎÁàºî¤ò
104 ²Äǽ¤Ë¤·¤Æ¤¤¤ë¡¢¤³¤ì¤Ïʸ»úÁ´¤Æɽ¤¹2¼¡¤ÎÇÛÎó¤â¤·¤¯¤Ï CRT ¥¹¥¯¥ê¡¼¥ó¤Î
105 Éôʬ¤È¤·¤Æ¹Í¤¨ÆÀ¤ë¡£(??) 
106 ¥Ç¥Õ¥©¥ë¥È¤Î¥¦¥¤¥ó¥É¥¦¤Ï \fBstdscr\fR ¤È¸Æ¤Ð¤ì¤ë¡¢¤³¤ì¤ÏüËö¤Î¥¹¥¯¥ê¡¼¥ó¤Î¥µ¥¤¥º
107 ¤È¤·¤ÆÄ󶡤µ¤ì¤ë¡£¤½¤Î¾¤Ï \fBnewwin\fR ¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤ë¡£
108
109 .\"0 Note that \fBcurses\fR does not handle overlapping windows, that's done by
110 .\"0 the \fBpanel\fR(3X) library. This means that you can either use
111 .\"0 \fBstdscr\fR or divide the screen into tiled windows and not using
112 .\"0 \fBstdscr\fR at all. Mixing the two will result in unpredictable, and
113 .\"0 undesired, effects.
114 Ãí°Õ¤¹¤ë¤³¤È¤Ï¡¢\fBcurses\fR ¤Ï¥¦¥¤¥ó¥É¥¦¤Î½Å¤Í¤¢¤ï¤»¤òÁàºî¤·¤Ê¤¤¤³¤È¤Ç¤¢¤ë¡¢
115 ¤½¤ì¤Ï \fBpanel\fR(3X) ¥é¥¤¥Ö¥é¥ê¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤ë¡£¤³¤ì¤Ï \fBstdscr\fR ¤ò
116 »ÈÍѤ¹¤ë¤«¡¢\fBstdscr\fR ¤òÁ´¤¯»ÈÍѤ»¤º¤Ë¥¿¥¤¥ë¤Î¤è¤¦¤Ë¥¦¥¤¥ó¥É¥¦¤òʬ³ä¤·¤Æ
117 »ÈÍѤ¹¤ë¤«¤·¤«½ÐÍè¤Ê¤¤¤³¤È¤ò°ÕÌ£¤¹¤ë¡££²¤Ä¤òº®¤¼¤Æ¤Î»ÈÍѤÏͽ´ü¤Ç¤­¤Ê¤¤¡¢
118 ˾¤Þ¤Ê¤¤·ë²Ì¤Ë¤Ê¤ë¤Ç¤¢¤í¤¦¡£
119
120 .\"0 Windows are referred to by variables declared as \fBWINDOW *\fR.
121 .\"0 These data structures are manipulated with routines described here and
122 .\"0 elsewhere in the \fBncurses\fR manual pages.  Among which the most basic
123 .\"0 routines are \fBmove\fR and \fBaddch\fR.  More general versions of
124 .\"0 these routines are included with names beginning with \fBw\fR,
125 .\"0 allowing the user to specify a window.  The routines not beginning
126 .\"0 with \fBw\fR affect \fBstdscr\fR.)
127 ¥¦¥¤¥ó¥É¥¦¤Ï \fBWINDOW\fR ¤È¤·¤ÆÀë¸À¤µ¤ì¤¿ÊÑ¿ô¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤ë¡£
128 ¤³¤ì¤é¤Î¥Ç¡¼¥¿¹½Â¤ÂΤϤ³¤³¤ä \fBncurses\fR ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸Ãæ¤Î¾¤Î¾ì½ê
129 ¤ÇÀâÌÀ¤µ¤ì¤ë¥ë¡¼¥Á¥ó¤ÇÁàºî¤µ¤ì¤ë¡£Â¿¤¯¤Î´ðËÜŪ¤Ê¥ë¡¼¥Á¥ó¤ÎÃæ¤Ë \fBmove\fR
130 ¤È \fBaddch\fR ¤¬¤¢¤ë¡£¤³¤ì¤é¤Î¥ë¡¼¥Á¥ó¤Î¿¤¯¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï \fBw\fR ¤Ç
131 ¤Ï¤¸¤Þ¤ë̾Á°¤ò»ý¤Á¡¢¥æ¡¼¥¶¤Ë¥¦¥¤¥ó¥É¥¦¤ò»ØÄꤵ¤»¤ë¡£\fBw\fR ¤Ç¤Ï¤¸¤Þ¤é¤Ê¤¤
132 ¥ë¡¼¥Á¥ó¤Ï \fBstdscr\fR ¤ËºîÍѤ¹¤ë¡£
133
134 .\"0 After using routines to manipulate a window, \fBrefresh\fR is called,
135 .\"0 telling \fBcurses\fR to make the user's CRT screen look like
136 .\"0 \fBstdscr\fR.  The characters in a window are actually of type
137 .\"0 \fBchtype\fR, (character and attribute data) so that other information
138 .\"0 about the character may also be stored with each character.
139 ¥¦¥¤¥ó¥É¥¦¤òÁàºî¤¹¤ë¤¿¤á¤Î¥ë¡¼¥Á¥ó¤ò»ÈÍѤ·¤¿¸å¤Ë¡¢¥æ¡¼¥¶¤Î CRT¥¹¥¯¥ê¡¼¥ó¤Ë 
140 \fBstdscr\fR  ¤Ê¤É¤ò¸«¤»¤ë¤³¤È¤ò \fBcurses\fR ¤ËÅÁ¤¨¤ë¤¿¤á¤Ë \fBrefresh\fR ¤ò¸Æ¤Ö¡£
141 ¥¦¥¤¥ó¥É¥¦Æâ¤Îʸ»ú¤Ï¼ÂºÝ¤Ï \fBchtype\fR ¤Î·¿(ʸ»ú¤È°À­¥Ç¡¼¥¿)¤Ç¤¢¤ë¡¢¤½¤ì¤Ç
142 ʸ»ú¤Ë¤Ä¤¤¤Æ¤Î¤½¤Î¾¤Î¾ðÊó¤Ï³Æʸ»ú¤È¶¦¤ËÃߤ¨¤é¤ì¤ë¡£
143
144 .\"0 Special windows called \fIpads\fR may also be manipulated.  These are windows
145 .\"0 which are not constrained to the size of the screen and whose contents need not
146 .\"0 be completely displayed.  See \fBcurs_pad\fR(3X) for more information.
147 \fIpad\fR ¤È¸Æ¤Ð¤ì¤ëÆÃÊ̤Υ¦¥¤¥ó¥É¥¦¤â¤Þ¤¿Æ±ÍͤËÁàºî¤µ¤ì¤ë¡£¤³¤ì¤é¤Ï
148 ¥¹¥¯¥ê¡¼¥ó¤Î¥µ¥¤¥º¤Ë«Çû¤µ¤ì¤Ê¤¤¥¦¥¤¥ó¥É¥¦¤Ç¤¢¤ê¡¢
149 ¤½¤ÎÃæ¿È¤Ï´°Á´¤Ëɽ¼¨¤µ¤ì¤ëɬÍפϤʤ¤¤â¤Î¤Ç¤¢¤ë¡£¤è¤ê¾ÜºÙ¤Ê¾ðÊó¤Ï \fBcurs_pad\fR(3X)
150 ¤ò»²¾È¤Î¤³¤È¡£
151
152 .\"0 In addition to drawing characters on the screen, video attributes and colors
153 .\"0 may be supported, causing the characters to show up in such modes as
154 .\"0 underlined, in reverse video, or in color on terminals that support such
155 .\"0 display enhancements.  Line drawing characters may be specified to be output.
156 .\"0 On input, \fBcurses\fR is also able to translate arrow and function keys that
157 .\"0 transmit escape sequences into single values.  The video attributes, line
158 .\"0 drawing characters, and input values use names, defined in \fB<curses.h>\fR,
159 .\"0 such as \fBA_REVERSE\fR, \fBACS_HLINE\fR, and \fBKEY_LEFT\fR.
160 ¥¹¥¯¥ê¡¼¥ó¾å¤Ëʸ»ú¤òÉÁ¤¯¤Î¤Ë²Ã¤¨¤Æ¡¢²¼Àþ¡¢È¿Å¾É½¼¨¡¢µ¡Ç½³ÈÄ¥¤µ¤ì¤¿¥Ç¥£¥¹¥×¥ì¥¤¤Î
161 üËö¾å¤Î¥«¥é¡¼¤Î¤è¤¦¤Ê¥â¡¼¥É¤Çʸ»ú¤òÌÜΩ¤¿¤»¤ë¤¿¤á¤Ë¤Ï¥Ó¥Ç¥ªÂ°À­¤È¥«¥é¡¼¤¬
162 ¥µ¥Ý¡¼¥È¤µ¤ì¤ëɬÍפ¬¤¢¤ë¡£Àþ¤òÉÁ¤¯Ê¸»ú¤Ï½ÐÎÏ»þ¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¡£
163 ÆþÎÏ»þ¤Ë¡¢\fBcurses\fR ¤Ï ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹Á÷¿®¤¹¤ëÌð°õ¥­¡¼¤ä¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥­¡¼¤ò
164 °ì¤Ä¤ÎÃͤËÊÑ´¹¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¡£\fBA_REVERSE\fR¡¢\fBACS_HLINE\fR¡¢\fBKEY_LEFT\fR 
165 ¤Ê¤É¤Î¥Ó¥Ç¥ªÂ°À­¡¢Àþ¤òÉÁ¤¯Ê¸»ú¡¢Ì¾Á°¤ò»ÈÍѤ¹¤ëÆþÎÏÊÑ¿ô¤Ï \fB<curses.h>\fR 
166 ¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
167
168 .\"0 If the environment variables \fBLINES\fR and \fBCOLUMNS\fR are set, or if the
169 .\"0 program is executing in a window environment, line and column information in
170 .\"0 the environment will override information read by \fIterminfo\fR.  This would
171 .\"0 effect a program running in an AT&T 630 layer, for example, where the size of a
172 .\"0 screen is changeable.
173 ¤â¤·´Ä¶­ÊÑ¿ô \fBLINES\fR ¤È \fBCOLUMNS\fR ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¥×¥í¥°¥é¥à¤¬
174 ¥¦¥¤¥ó¥É¥¦´Ä¶­¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢´Ä¶­Ãæ¤Î¥é¥¤¥ó¤È¥«¥é¥à¾ðÊó¤Ï AT&T 630 ¥ì¥¤¥ä¡¼Ãæ¤Ç
175 ¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Ë±Æ¶Á¤òÍ¿¤¨¤ë¡¢Î㤨¤Ð¡¢¥¹¥¯¥ê¡¼¥ó¤Î¥µ¥¤¥º¤ÏÊѹ¹²Äǽ¤Ç¤¢¤ë¡£
176
177 .\"0 If the environment variable \fBTERMINFO\fR is defined, any program using
178 .\"0 \fBcurses\fR checks for a local terminal definition before checking in the
179 .\"0 standard place.  For example, if \fBTERM\fR is set to \fBatt4424\fR, then the
180 .\"0 compiled terminal definition is found in
181 ¤â¤· ´Ä¶­ÊÑ¿ô \fBTERMINFO\fR ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢\fBcurses\fR ¤ò»ÈÍѤ·¤Æ¤¤¤ë
182 ¥×¥í¥°¥é¥à¤Ïɸ½àŪ¤Ê¾ì½ê¤ò¥Á¥§¥Ã¥¯¤¹¤ëÁ°¤Ë¥í¡¼¥«¥ë¤ÎüËöÄêµÁ¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
183 Î㤨¤Ð¡¢¤â¤· \fBTERM\fR ¤¬ \fBatt4424\fR ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢¥³¥ó¥Ñ¥¤¥ëºÑ¤ß¤ÎüËö
184 ÄêµÁ¤Ï°Ê²¼¤Î¤è¤¦¤Ë¸«¤Ä¤±¤é¤ì¤ë¡£
185
186 .\"0      \fB\*d/a/att4424\fR.
187       \fB\*d/a/att4424\fR
188
189 .\"0 (The \fBa\fR is copied from the first letter of \fBatt4424\fR to avoid
190 .\"0 creation of huge directories.)  However, if \fBTERMINFO\fR is set to
191 .\"0 \fB$HOME/myterms\fR, \fBcurses\fR first checks
192 (\fBa\fR ¤ÏµðÂç¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤ÎºîÀ®¤òÈò¤±¤ë¤¿¤á \fBatt4424\fR 
193 ¤ÎºÇ½é¤Îʸ»ú¤«¤é¥³¥Ô¡¼¤µ¤ì¤ë¡£) ¤·¤«¤·¤Ê¤¬¤é¡¢¤â¤· \fBTERMINFO\fR ¤¬
194 \fB$HOME/myterms\fR ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢\fBcurses\fR ¤ÏºÇ½é¤Ë
195 °Ê²¼¤ò¥Á¥§¥Ã¥¯¤·¡¢
196
197 .\"0       \fB$HOME/myterms/a/att4424\fR,
198       \fB$HOME/myterms/a/att4424\fR,
199
200 .\"0 and if that fails, it then checks
201 ¤½¤·¤Æ¤â¤·¼ºÇÔ¤¹¤ì¤Ð¡¢°Ê²¼¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
202
203 .\"0       \fB\*d/a/att4424\fR.
204       \fB\*d/a/att4424\fR
205
206 .\"0 This is useful for developing experimental definitions or when write
207 .\"0 permission in \fB\*d\fR is not available.
208 ¤³¤ì¤Ï ¼Â¸³Åª¤ÊÄêµÁ¤ò³«È¯¤¹¤ë¾ì¹ç¤ä¡¢\fB\*d\fR ¤Ë½ñ¤­¹þ¤ß¸¢¸Â¤¬¤Ê¤¤¾ì¹çÍ­±×¤Ç¤¢¤ë¡£
209
210 .\"0 The integer variables \fBLINES\fR and \fBCOLS\fR are defined in
211 .\"0 \fB<curses.h>\fR and will be filled in by \fBinitscr\fR with the size of the
212 .\"0 screen.  The constants \fBTRUE\fR and \fBFALSE\fR have the values \fB1\fR and
213 .\"0 \fB0\fR, respectively.
214 À°¿ô¤ÎÊÑ¿ô \fBLINES\fR ¤È \fBCOLS\fR ¤Ï \fB<curses.h>\fR ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤Æ¡¢
215 ¥¹¥¯¥ê¡¼¥ó¤Î¥µ¥¤¥º¤Ç \fBinitscr\fR ¤Ë¤è¤Ã¤ÆËþ¤¿¤µ¤ì¤ë¡£
216 Äê¿ô \fBTRUE\fR ¤È \fBFALSE\fR ¤Ï ³Æ¡¹ \fB1\fR ¤È \fB0\fR ¤ÎÃͤò»ý¤Ä¡£
217
218 .\"0 The \fBcurses\fR routines also define the \fBWINDOW *\fR variable \fBcurscr\fR
219 .\"0 which is used for certain low-level operations like clearing and redrawing a
220 .\"0 screen containing garbage.  The \fBcurscr\fR can be used in only a few
221 .\"0 routines.
222 \fBcurses\fR ¥ë¡¼¥Á¥ó¤ÏƱÍͤˠ¥´¥ß¤ò´Þ¤ó¤À¥¹¥¯¥ê¡¼¥ó¤Î¥¯¥ê¥¢¤äºÆÉÁ²è¤Î¤è¤¦¤Ê
223 Äã¥ì¥Ù¥ë¤ÎÁàºî¤Ë»È¤ï¤ì¤ë \fBWINDOW *\fR ÊÑ¿ô \fBcurscr\fR ¤òÄêµÁ¤·¤Æ¤¤¤ë¡£
224
225 .\"0 .SS Routine and Argument Names
226 .SS ¥ë¡¼¥Á¥ó¤È°ú¿ô̾
227 .\"0 Many \fBcurses\fR routines have two or more versions.  The routines prefixed
228 .\"0 with \fBw\fR require a window argument.  The routines prefixed with \fBp\fR
229 .\"0 require a pad argument.  Those without a prefix generally use \fBstdscr\fR.
230 ¿¤¯¤Î \fBcurses\fR ¥ë¡¼¥Á¥ó¤Ï £²¤Ä°Ê¾å¤Î¥Ð¡¼¥¸¥ç¥ó¤ò»ý¤Ã¤Æ¤¤¤ë¡£\fBw\fR ¤¬¤Ä¤¤¤¿
231 ¥ë¡¼¥Á¥ó¤Ï ¥¦¥¤¥ó¥É¥¦¤Î°ú¿ô¤òɬÍפȤ¹¤ë¡£\fBp\fR ¤¬¤Ä¤¤¤¿¥ë¡¼¥Á¥ó¤Ï ¥Ñ¥Ã¥É¤Î
232 °ú¤­¿ô¤òɬÍפȤ¹¤ë¡£¤³¤ì¤é¤¬¤Ä¤¤¤Æ¤¤¤Ê¤¤¤â¤Î¤Ï°ìÈ̤ˠ\fBstdscr\fR ¤ËÂФ·¤Æ»ÈÍѤ¹¤ë¡£
233
234 .\"0 The routines prefixed with \fBmv\fR require a \fIy\fR and \fIx\fR
235 .\"0 coordinate to move to before performing the appropriate action.  The
236 .\"0 \fBmv\fR routines imply a call to \fBmove\fR before the call to the
237 .\"0 other routine.  The coordinate \fIy\fR always refers to the row (of
238 .\"0 the window), and \fIx\fR always refers to the column.  The upper
239 .\"0 left-hand corner is always (0,0), not (1,1).
240 \fBmv\fR ¤¬¤Ä¤¤¤¿¥ë¡¼¥Á¥ó¤Ï ¼Â¹ÔÁ°¤Ë°ÜÆ°¤¹¤ë¤¿¤á¤Î \fIy\fR ¤È \fIx\fR 
241 ºÂɸ¤òɬÍפȤ¹¤ë¡£\fBmv\fR ¥ë¡¼¥Á¥ó¤Ï¾¤Î¥ë¡¼¥Á¥ó¤ò¸Æ¤ÖÁ°¤Ë \fBmove\fR ¤ò
242 ¸Æ¤Ö¤³¤È¤ò´Þ¤ó¤Ç¤¤¤ë¡£ºÂɸ \fIy\fR ¤Ï(¥¦¥¤¥ó¥É¥¦¤Î)Îó¤ò»Ø¤·¡¢\fIx\fR ¤Ï
243 ¹Ô¤ò»Ø¤¹¡£¥¦¥¤¥ó¥É¥¦¤Î¾åÊý¤Îº¸³Ñ¤Ï (0,0) ¤È¤Ê¤ê¡¢(1,1) ¤Ç¤Ï¤Ê¤¤¡£
244
245 .\"0 The routines prefixed with \fBmvw\fR take both a window argument and
246 .\"0 \fIx\fR and \fIy\fR coordinates.  The window argument is always
247 .\"0 specified before the coordinates.
248 \fBmvw\fR ¤Î¤Ä¤¤¤¿¥ë¡¼¥Á¥ó¤Ï ¥¦¥¤¥ó¥É¥¦¤Î°ú¿ô¤È \fIx\fR ¤È \fIy\fR ºÂɸ¤ò
249 ɬÍפȤ¹¤ë¡£¥¦¥¤¥ó¥É¥¦°ú¿ô¤ÏºÂɸ¤ÎÁ°¤Ë»ØÄꤹ¤ë¡£
250
251 .\"0 In each case, \fIwin\fR is the window affected, and \fIpad\fR is the
252 .\"0 pad affected; \fIwin\fR and \fIpad\fR are always pointers to type
253 .\"0 \fBWINDOW\fR.
254 ¤É¤Î¾ì¹ç¤Ë¤ª¤¤¤Æ¤â¡¢\fIwin\fR ¤Ï ¥¦¥¤¥ó¥É¥¦¤Ë±Æ¶Á¤·¡¢ \fIpad\fR ¤Ï¥Ñ¥Ã¥É¤Ë
255 ±Æ¶Á¤¹¤ë; \fIwin\fR ¤È \fIpad\fR ¤Ï \fBWINDOW\fR ·¿¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¢¤ë¡£
256
257 .\"0 Option setting routines require a Boolean flag \fIbf\fR with the value
258 .\"0 \fBTRUE\fR or \fBFALSE\fR; \fIbf\fR is always of type \fBbool\fR.  The
259 .\"0 variables \fIch\fR and \fIattrs\fR below are always of type
260 .\"0 \fBchtype\fR.  The types \fBWINDOW\fR, \fBSCREEN\fR, \fBbool\fR, and
261 .\"0 \fBchtype\fR are defined in \fB<curses.h>\fR.  The type \fBTERMINAL\fR
262 .\"0 is defined in \fB<term.h>\fR.  All other arguments are integers.
263 ¥ª¥×¥·¥ç¥óÀßÄê¥ë¡¼¥Á¥ó¤Ï \fBTRUE\fR ¤â¤·¤¯¤Ï \fBFALSE\fR ¤ÎÃͤǠBoolean ¥Õ¥é¥° 
264 \fIbf\fR ¤òɬÍפȤ¹¤ë; \fIbf\fR ¤Ï \fBbool\fR ·¿¤Ç¤¢¤ë¡£
265 ÊÑ¿ô \fIch\fR ¤È \fIattrs\fR ¤Ï \fBchtype\fR ·¿¤Ç¤¢¤ë¡£\fBWINDOW\fR¡¢\fBSCREEN\fR¡¢
266 \fBbool\fR¡¢\fBchtype\fR ¤Ï \fB<curses.h> ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£\fBTERMINAL\fR ¤Ï
267 \fB<term.h>\fR ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£Á´¤Æ¤Î°ú¿ô¤ÏÀ°¿ô¤Ç¤¢¤ë¡£
268
269 .\"0 .SS Routine Name Index
270 .SS ¥ë¡¼¥Á¥ó̾¤Îº÷°ú
271 .\"0 The following table lists each \fBcurses\fR routine and the name of
272 .\"0 the manual page on which it is described.  Routines flagged with `*'
273 .\"0 are ncurses-specific, not described by XPG4 or present in SVr4.
274 °Ê²¼¤Îɽ¤Ï \fBcurses\fR ¥ë¡¼¥Á¥ó¤È¤½¤ì¤¬ÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸Ì¾¤Ç¤¢¤ë¡£
275 '*' ¤¬¤Ä¤¤¤¿¥ë¡¼¥Á¥ó¤Ï ncurses ÆÃÍ­¤Î¤â¤Î¤Ç¤¢¤ê¡¢XPG4 ¤â¤·¤¯¤Ï SVr4¤Ç¤Ï
276 ÀâÌÀ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
277
278 .TS
279 center tab(/);
280 l l
281 l l .
282 .\"0 \fBcurses\fR Routine Name/Manual Page Name
283 \fBcurses\fR ¥ë¡¼¥Á¥ó̾/¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸Ì¾
284 =
285 addch/\fBcurs_addch\fR(3X)
286 addchnstr/\fBcurs_addchstr\fR(3X)
287 addchstr/\fBcurs_addchstr\fR(3X)
288 addnstr/\fBcurs_addstr\fR(3X)
289 addstr/\fBcurs_addstr\fR(3X)
290 attroff/\fBcurs_attr\fR(3X)
291 attron/\fBcurs_attr\fR(3X)
292 attrset/\fBcurs_attr\fR(3X)
293 baudrate/\fBcurs_termattrs\fR(3X)
294 beep/\fBcurs_beep\fR(3X)
295 bkgd/\fBcurs_bkgd\fR(3X)
296 bkgdset/\fBcurs_bkgd\fR(3X)
297 border/\fBcurs_border\fR(3X)
298 box/\fBcurs_border\fR(3X)
299 can_change_color/\fBcurs_color\fR(3X)
300 cbreak/\fBcurs_inopts\fR(3X)
301 clear/\fBcurs_clear\fR(3X)
302 clearok/\fBcurs_outopts\fR(3X)
303 clrtobot/\fBcurs_clear\fR(3X)
304 clrtoeol/\fBcurs_clear\fR(3X)
305 color_content/\fBcurs_color\fR(3X)
306 copywin/\fBcurs_overlay\fR(3X)
307 curs_set/\fBcurs_kernel\fR(3X)
308 def_prog_mode/\fBcurs_kernel\fR(3X)
309 def_shell_mode/\fBcurs_kernel\fR(3X)
310 define_key/\fBdefine_key\fR(3X)*
311 del_curterm/\fBcurs_terminfo\fR(3X)
312 delay_output/\fBcurs_util\fR(3X)
313 delch/\fBcurs_delch\fR(3X)
314 deleteln/\fBcurs_deleteln\fR(3X)
315 delscreen/\fBcurs_initscr\fR(3X)
316 delwin/\fBcurs_window\fR(3X)
317 derwin/\fBcurs_window\fR(3X)
318 doupdate/\fBcurs_refresh\fR(3X)
319 dupwin/\fBcurs_window\fR(3X)
320 echo/\fBcurs_inopts\fR(3X)
321 echochar/\fBcurs_addch\fR(3X)
322 endwin/\fBcurs_initscr\fR(3X)
323 erase/\fBcurs_clear\fR(3X)
324 erasechar/\fBcurs_termattrs\fR(3X)
325 filter/\fBcurs_util\fR(3X)
326 flash/\fBcurs_beep\fR(3X)
327 flushinp/\fBcurs_util\fR(3X)
328 getbegyx/\fBcurs_getyx\fR(3X)
329 getch/\fBcurs_getch\fR(3X)
330 getmaxyx/\fBcurs_getyx\fR(3X)
331 getmouse/\fBcurs_mouse\fR(3X)*
332 getparyx/\fBcurs_getyx\fR(3X)
333 getstr/\fBcurs_getstr\fR(3X)
334 getsyx/\fBcurs_kernel\fR(3X)
335 getwin/\fBcurs_util\fR(3X)
336 getyx/\fBcurs_getyx\fR(3X)
337 halfdelay/\fBcurs_inopts\fR(3X)
338 has_colors/\fBcurs_color\fR(3X)
339 has_ic/\fBcurs_termattrs\fR(3X)
340 has_il/\fBcurs_termattrs\fR(3X)
341 has_key/\fBcurs_getch\fR(3X)*
342 hline/\fBcurs_border\fR(3X)
343 idcok/\fBcurs_outopts\fR(3X)
344 idlok/\fBcurs_outopts\fR(3X)
345 immedok/\fBcurs_outopts\fR(3X)
346 inch/\fBcurs_inch\fR(3X)
347 inchnstr/\fBcurs_inchstr\fR(3X)
348 inchstr/\fBcurs_inchstr\fR(3X)
349 init_color/\fBcurs_color\fR(3X)
350 init_pair/\fBcurs_color\fR(3X)
351 initscr/\fBcurs_initscr\fR(3X)
352 innstr/\fBcurs_instr\fR(3X)
353 insch/\fBcurs_insch\fR(3X)
354 insdelln/\fBcurs_deleteln\fR(3X)
355 insertln/\fBcurs_deleteln\fR(3X)
356 insnstr/\fBcurs_insstr\fR(3X)
357 insstr/\fBcurs_insstr\fR(3X)
358 instr/\fBcurs_instr\fR(3X)
359 intrflush/\fBcurs_inopts\fR(3X)
360 is_linetouched/\fBcurs_touch\fR(3X)
361 is_wintouched/\fBcurs_touch\fR(3X)
362 isendwin/\fBcurs_initscr\fR(3X)
363 keyname/\fBcurs_util\fR(3X)
364 keyok/\fBkeyok\fR(3X)*
365 keypad/\fBcurs_inopts\fR(3X)
366 killchar/\fBcurs_termattrs\fR(3X)
367 leaveok/\fBcurs_outopts\fR(3X)
368 longname/\fBcurs_termattrs\fR(3X)
369 mcprint/\fBcurs_print\fR(3X)*
370 meta/\fBcurs_inopts\fR(3X)
371 mouseinterval/\fBcurs_mouse\fR(3X)*
372 mousemask/\fBcurs_mouse\fR(3X)*
373 move/\fBcurs_move\fR(3X)
374 mvaddch/\fBcurs_addch\fR(3X)
375 mvaddchnstr/\fBcurs_addchstr\fR(3X)
376 mvaddchstr/\fBcurs_addchstr\fR(3X)
377 mvaddnstr/\fBcurs_addstr\fR(3X)
378 mvaddstr/\fBcurs_addstr\fR(3X)
379 mvcur/\fBcurs_terminfo\fR(3X)
380 mvdelch/\fBcurs_delch\fR(3X)
381 mvderwin/\fBcurs_window\fR(3X)
382 mvgetch/\fBcurs_getch\fR(3X)
383 mvgetstr/\fBcurs_getstr\fR(3X)
384 mvinch/\fBcurs_inch\fR(3X)
385 mvinchnstr/\fBcurs_inchstr\fR(3X)
386 mvinchstr/\fBcurs_inchstr\fR(3X)
387 mvinnstr/\fBcurs_instr\fR(3X)
388 mvinsch/\fBcurs_insch\fR(3X)
389 mvinsnstr/\fBcurs_insstr\fR(3X)
390 mvinsstr/\fBcurs_insstr\fR(3X)
391 mvinstr/\fBcurs_instr\fR(3X)
392 mvprintw/\fBcurs_printw\fR(3X)
393 mvscanw/\fBcurs_scanw\fR(3X)
394 mvwaddch/\fBcurs_addch\fR(3X)
395 mvwaddchnstr/\fBcurs_addchstr\fR(3X)
396 mvwaddchstr/\fBcurs_addchstr\fR(3X)
397 mvwaddnstr/\fBcurs_addstr\fR(3X)
398 mvwaddstr/\fBcurs_addstr\fR(3X)
399 mvwdelch/\fBcurs_delch\fR(3X)
400 mvwgetch/\fBcurs_getch\fR(3X)
401 mvwgetstr/\fBcurs_getstr\fR(3X)
402 mvwin/\fBcurs_window\fR(3X)
403 mvwinch/\fBcurs_inch\fR(3X)
404 mvwinchnstr/\fBcurs_inchstr\fR(3X)
405 mvwinchstr/\fBcurs_inchstr\fR(3X)
406 mvwinnstr/\fBcurs_instr\fR(3X)
407 mvwinsch/\fBcurs_insch\fR(3X)
408 mvwinsnstr/\fBcurs_insstr\fR(3X)
409 mvwinsstr/\fBcurs_insstr\fR(3X)
410 mvwinstr/\fBcurs_instr\fR(3X)
411 mvwprintw/\fBcurs_printw\fR(3X)
412 mvwscanw/\fBcurs_scanw\fR(3X)
413 napms/\fBcurs_kernel\fR(3X)
414 newpad/\fBcurs_pad\fR(3X)
415 newterm/\fBcurs_initscr\fR(3X)
416 newwin/\fBcurs_window\fR(3X)
417 nl/\fBcurs_outopts\fR(3X)
418 nocbreak/\fBcurs_inopts\fR(3X)
419 nodelay/\fBcurs_inopts\fR(3X)
420 noecho/\fBcurs_inopts\fR(3X)
421 nonl/\fBcurs_outopts\fR(3X)
422 noqiflush/\fBcurs_inopts\fR(3X)
423 noraw/\fBcurs_inopts\fR(3X)
424 notimeout/\fBcurs_inopts\fR(3X)
425 overlay/\fBcurs_overlay\fR(3X)
426 overwrite/\fBcurs_overlay\fR(3X)
427 pair_content/\fBcurs_color\fR(3X)
428 pechochar/\fBcurs_pad\fR(3X)
429 pnoutrefresh/\fBcurs_pad\fR(3X)
430 prefresh/\fBcurs_pad\fR(3X)
431 printw/\fBcurs_printw\fR(3X)
432 putp/\fBcurs_terminfo\fR(3X)
433 putwin/\fBcurs_util\fR(3X)
434 qiflush/\fBcurs_inopts\fR(3X)
435 raw/\fBcurs_inopts\fR(3X)
436 redrawwin/\fBcurs_refresh\fR(3X)
437 refresh/\fBcurs_refresh\fR(3X)
438 reset_prog_mode/\fBcurs_kernel\fR(3X)
439 reset_shell_mode/\fBcurs_kernel\fR(3X)
440 resetty/\fBcurs_kernel\fR(3X)
441 resizeterm/\fBresizeterm\fR(3X)*
442 restartterm/\fBcurs_terminfo\fR(3X)
443 ripoffline/\fBcurs_kernel\fR(3X)
444 savetty/\fBcurs_kernel\fR(3X)
445 scanw/\fBcurs_scanw\fR(3X)
446 scr_dump/\fBcurs_scr_dump\fR(3X)
447 scr_init/\fBcurs_scr_dump\fR(3X)
448 scr_restore/\fBcurs_scr_dump\fR(3X)
449 scr_set/\fBcurs_scr_dump\fR(3X)
450 scrl/\fBcurs_scroll\fR(3X)
451 scroll/\fBcurs_scroll\fR(3X)
452 scrollok/\fBcurs_outopts\fR(3X)
453 set_curterm/\fBcurs_terminfo\fR(3X)
454 set_term/\fBcurs_initscr\fR(3X)
455 setscrreg/\fBcurs_outopts\fR(3X)
456 setsyx/\fBcurs_kernel\fR(3X)
457 setterm/\fBcurs_terminfo\fR(3X)
458 setupterm/\fBcurs_terminfo\fR(3X)
459 slk_attr/\fBcurs_slk\fR(3X)*
460 slk_attroff/\fBcurs_slk\fR(3X)
461 slk_attron/\fBcurs_slk\fR(3X)
462 slk_attrset/\fBcurs_slk\fR(3X)
463 slk_clear/\fBcurs_slk\fR(3X)
464 slk_init/\fBcurs_slk\fR(3X)
465 slk_label/\fBcurs_slk\fR(3X)
466 slk_noutrefresh/\fBcurs_slk\fR(3X)
467 slk_refresh/\fBcurs_slk\fR(3X)
468 slk_restore/\fBcurs_slk\fR(3X)
469 slk_set/\fBcurs_slk\fR(3X)
470 slk_touch/\fBcurs_slk\fR(3X)
471 standend/\fBcurs_attr\fR(3X)
472 standout/\fBcurs_attr\fR(3X)
473 start_color/\fBcurs_color\fR(3X)
474 subpad/\fBcurs_pad\fR(3X)
475 subwin/\fBcurs_window\fR(3X)
476 syncok/\fBcurs_window\fR(3X)
477 termattrs/\fBcurs_termattrs\fR(3X)
478 termname/\fBcurs_termattrs\fR(3X)
479 tgetent/\fBcurs_termcap\fR(3X)
480 tgetflag/\fBcurs_termcap\fR(3X)
481 tgetnum/\fBcurs_termcap\fR(3X)
482 tgetstr/\fBcurs_termcap\fR(3X)
483 tgoto/\fBcurs_termcap\fR(3X)
484 tigetflag/\fBcurs_terminfo\fR(3X)
485 tigetnum/\fBcurs_terminfo\fR(3X)
486 tigetstr/\fBcurs_terminfo\fR(3X)
487 timeout/\fBcurs_inopts\fR(3X)
488 touchline/\fBcurs_touch\fR(3X)
489 touchwin/\fBcurs_touch\fR(3X)
490 tparm/\fBcurs_terminfo\fR(3X)
491 tputs/\fBcurs_termcap\fR(3X)
492 tputs/\fBcurs_terminfo\fR(3X)
493 typeahead/\fBcurs_inopts\fR(3X)
494 unctrl/\fBcurs_util\fR(3X)
495 ungetch/\fBcurs_getch\fR(3X)
496 ungetmouse/\fBcurs_mouse\fR(3X)*
497 untouchwin/\fBcurs_touch\fR(3X)
498 use_default_colors/\fBdft_fgbg\fR(3X)*
499 use_env/\fBcurs_util\fR(3X)
500 vidattr/\fBcurs_terminfo\fR(3X)
501 vidputs/\fBcurs_terminfo\fR(3X)
502 vline/\fBcurs_border\fR(3X)
503 vwprintw/\fBcurs_printw\fR(3X)
504 vwscanw/\fBcurs_scanw\fR(3X)
505 waddch/\fBcurs_addch\fR(3X)
506 waddchnstr/\fBcurs_addchstr\fR(3X)
507 waddchstr/\fBcurs_addchstr\fR(3X)
508 waddnstr/\fBcurs_addstr\fR(3X)
509 waddstr/\fBcurs_addstr\fR(3X)
510 wattroff/\fBcurs_attr\fR(3X)
511 wattron/\fBcurs_attr\fR(3X)
512 wattrset/\fBcurs_attr\fR(3X)
513 wbkgd/\fBcurs_bkgd\fR(3X)
514 wbkgdset/\fBcurs_bkgd\fR(3X)
515 wborder/\fBcurs_border\fR(3X)
516 wclear/\fBcurs_clear\fR(3X)
517 wclrtobot/\fBcurs_clear\fR(3X)
518 wclrtoeol/\fBcurs_clear\fR(3X)
519 wcursyncup/\fBcurs_window\fR(3X)
520 wdelch/\fBcurs_delch\fR(3X)
521 wdeleteln/\fBcurs_deleteln\fR(3X)
522 wechochar/\fBcurs_addch\fR(3X)
523 wenclose/\fBcurs_mouse\fR(3X)*
524 werase/\fBcurs_clear\fR(3X)
525 wgetch/\fBcurs_getch\fR(3X)
526 wgetnstr/\fBcurs_getstr\fR(3X)
527 wgetstr/\fBcurs_getstr\fR(3X)
528 whline/\fBcurs_border\fR(3X)
529 winch/\fBcurs_inch\fR(3X)
530 winchnstr/\fBcurs_inchstr\fR(3X)
531 winchstr/\fBcurs_inchstr\fR(3X)
532 winnstr/\fBcurs_instr\fR(3X)
533 winsch/\fBcurs_insch\fR(3X)
534 winsdelln/\fBcurs_deleteln\fR(3X)
535 winsertln/\fBcurs_deleteln\fR(3X)
536 winsnstr/\fBcurs_insstr\fR(3X)
537 winsstr/\fBcurs_insstr\fR(3X)
538 winstr/\fBcurs_instr\fR(3X)
539 wmove/\fBcurs_move\fR(3X)
540 wnoutrefresh/\fBcurs_refresh\fR(3X)
541 wprintw/\fBcurs_printw\fR(3X)
542 wredrawln/\fBcurs_refresh\fR(3X)
543 wrefresh/\fBcurs_refresh\fR(3X)
544 wresize/\fBwresize\fR(3X)*
545 wscanw/\fBcurs_scanw\fR(3X)
546 wscrl/\fBcurs_scroll\fR(3X)
547 wsetscrreg/\fBcurs_outopts\fR(3X)
548 wstandend/\fBcurs_attr\fR(3X)
549 wstandout/\fBcurs_attr\fR(3X)
550 wsyncdown/\fBcurs_window\fR(3X)
551 wsyncup/\fBcurs_window\fR(3X)
552 wtimeout/\fBcurs_inopts\fR(3X)
553 wtouchln/\fBcurs_touch\fR(3X)
554 wvline/\fBcurs_border\fR(3X)
555 .TE
556 .\"0 .SH RETURN VALUE
557 .SH ÊÖ¤êÃÍ
558 .\"0 Routines that return an integer return \fBERR\fR upon failure and an
559 .\"0 integer value other than \fBERR\fR upon successful completion, unless
560 .\"0 otherwise noted in the routine descriptions.
561 ÆäËÀâÌÀ¤Î¤¢¤ë¾ì¹ç¤ò½ü¤­¡¢À°¿ô¤òÊÖ¤¹¥ë¡¼¥Á¥ó¤Ï¥¨¥é¡¼»þ¤Ë 
562 \fBERR\fR ¤òÊÖ¤·¡¢À®¸ù¤·¤¿¾ì¹ç¤Ï \fBERR\fR °Ê³°¤ÎÀ°¿ôÃͤòÊÖ¤¹¡£
563
564 .\"0 All macros return the value of the \fBw\fR version, except \fBsetscrreg\fR,
565 .\"0 \fBwsetscrreg\fR, \fBgetyx\fR, \fBgetbegyx\fR, \fBgetmaxyx\fR.  The return
566 .\"0 values of \fBsetscrreg\fR, \fBwsetscrreg\fR, \fBgetyx\fR, \fBgetbegyx\fR, and
567 .\"0 \fBgetmaxyx\fR are undefined (\fIi\fR.\fIe\fR., these should not be used as the
568 .\"0 right-hand side of assignment statements).
569 \fBsetscrreg\fR¡¢\fBwsetscrreg\fR¡¢ \fBgetyx\fR¡¢ \fBgetbegyx\fR¡¢ \fBgetmaxyx\fR
570 ¤ò½ü¤¯Á´¤Æ¤Î¥Þ¥¯¥í¤Ï \fBw\fR ¤Î¥Ð¡¼¥¸¥ç¥ó¤ÎÃͤòÊÖ¤¹¡£(??)
571 \fBsetscrreg\fR¡¢\fBwsetscrreg\fR¡¢\fBgetyx\fR¡¢\fBgetbegyx\fR¡¢\fBgetmaxyx\fR
572 ¤ÎÊÖ¤êÃͤÏÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£(\fIi\fR.\fIe\fR.¡¢¤³¤ì¤ì¤Ï±¦ÊÕÃͤؤÎÂåÆþ¤ÎÀë¸À¤È¤·¤Æ
573 »È¤ï¤ì¤ë¤Ù¤­¤Ç¤Ê¤¤¡£)
574
575 .\"0 Routines that return pointers return \fBNULL\fR on error.
576 ¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¥ë¡¼¥Á¥ó¤Ï ¥¨¥é¡¼»þ¤Ë \fBNULL\fR  ¤òÊÖ¤¹¡£
577
578 .\"0 .SH SEE ALSO
579 .SH »²¾È
580 .\"0 \fBterminfo\fR(\*n) and 3X pages whose names begin "curs_" for detailed routine
581 .\"0 descriptions.
582 \fBterminfo\fR(\*n) ¤È ¥Ú¡¼¥¸ 3X ¤Î "curs_" ¤«¤é¤Ï¤¸¤Þ¤ë̾Á°¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë
583 ¤è¤ê¾ÜºÙ¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¡£
584 .\"0 .SH EXTENSIONS
585 .SH ³ÈÄ¥
586 .\"0 The \fBcurses\fR library can be compiled with an option (\fB-DTERMCAP_FILE\fR)
587 .\"0 that falls back to the old-style /etc/termcap file if the terminal setup code
588 .\"0 cannot find a terminfo entry corresponding to \fBTERM\fR.  Use of this feature
589 .\"0 is not recommended, as it essentially includes an entire termcap compiler in
590 .\"0 the \fBcurses\fR startup code, at significant cost in core and startup cycles.
591 \fBcurses\fB ¥é¥¤¥Ö¥é¥ê¤Ï ¤â¤·Ã¼Ëö¤ÎÀßÄꥳ¡¼¥É¤¬ \fBTERM\fR ¤Ë°ìÃפ¹¤ë terminfo 
592 ¥¨¥ó¥È¥ê¤ò¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¾ì¹ç¤Ë¡¢¸Å¤¤·Á¼°¤Î /etc/termcap ¥Õ¥¡¥¤¥ë¤Ë
593 ¥Õ¥©¡¼¥ë¥Ð¥Ã¥¯¤¹¤ë¤¿¤á¤Î¥ª¥×¥·¥ç¥ó(\fB-DTERMCAP_FILE\fR) ¤ò
594 ¤Ä¤±¤Æ¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
595 ËܼÁŪ¤Ë \fBcurses\fR ¤Î¥¹¥¿¡¼¥È¥¢¥Ã¥×¥³¡¼¥ÉÃæ¤ÇÁ´termcap ¥³¥ó¥Ñ¥¤¥é¤ò´Þ¤á¤ë¤¿¤á
596 ¥³¥¢¤ÎÉôʬ¤È¥¹¥¿¡¼¥È¥¢¥Ã¥×¥µ¥¤¥¯¥ë¤Ç½ÅÂç¤Ê¥³¥¹¥È¤òȼ¤¦¤Î¤Ç¡¢ 
597 ¤³¤ÎÆÃħ¤Î»ÈÍѤϿ侩¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
598
599 .\"0 Compiling with \fB-DTERMCAP_FILE\fR changes the library's initialization
600 .\"0 sequence in a way intended to mimic the behavior of 4.4BSD curses.  If there is
601 .\"0 no local or system terminfo entry matching \fBTERM\fR, then the library looks
602 .\"0 for termcap entries in the following places: (1) if \fBTERMINFO\fR is
603 .\"0 undefined, in the file named by \fBTERMCAP_FILE\fR; (2) if \fBTERMINFO\fR is
604 .\"0 defined and begins with a slash, it is interpreted as the name of a termcap
605 .\"0 file to search for \fBTERM\fR; (3) otherwise, if \fBTERMINFO\fR has a leading
606 .\"0 string that looks like a terminal entry name list, and it matches \fBTERM\fR,
607 .\"0 the contents of \fBTERMINFO\fR is interpreted as a termcap; (4) if
608 .\"0 \fBTERMINFO\fR looks like a termcap but doesn't match \fBTERM\fR, the termcap
609 .\"0 file is searched for among the colon-separated paths in the environment
610 .\"0 variable \fBTERMPATHS\fR if that is defined, and in ~/.termcap and the file
611 .\"0 value of \fBTERMCAP_FILE\fR otherwise.
612  \fB-DTERMCAP_FILE\fR ¤ò¤Ä¤±¤Æ¥³¥ó¥Ñ¥¤¥ë¤·¤¿¤â¤Î¤Ï ¥é¥¤¥Ö¥é¥ê¤Î½é´ü²½¥·¡¼¥±¥ó¥¹¤ò
613 4.4BSD curses ¤Î¿¶¤ëÉñ¤¤¤ò¤Þ¤Í¤¿¤è¤¦¤ÊÊýË¡¤ËÊѹ¹¤µ¤ì¤ë¡£
614 ¤â¤·¥í¡¼¥«¥ë¤â¤·¤¯¤Ï¥·¥¹¥Æ¥à¤Ë \fBTERM\fR ¤Ë°ìÃפ¹¤ë terminfo ¥¨¥ó¥È¥ê¤¬¤Ê¤¤¾ì¹ç¡¢
615 ¥é¥¤¥Ö¥é¥ê¤Ï°Ê²¼¤Î¾ì½ê¤Ç termcap ¥¨¥ó¥È¥ê¤òõ¤¹: (1) ¤â¤· \fBTERMINFO\fR ¤¬ÄêµÁ¤µ¤ì
616 ¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢\fBTERMCAP_FILE\fR ¤Ë¤è¤Ã¤Æ̾ÉÕ¤±¤é¤ì¤¿¥Õ¥¡¥¤¥ë¤ò¤ß¤Ë¤¤¤¯; 
617 (2) ¤â¤· \fBTERMINFO\fR ¤¬ÄêµÁ¤µ¤ì¤½¤ì¤¬ ¥¹¥é¥Ã¥·¥å¤Ç¤Ï¤¸¤Þ¤Ã¤Æ¤¤¤ì¤Ð¡¢\fBTERM\fR
618 ¤òõ¤¹¤¿¤á¤Ë termcap ¥Õ¥¡¥¤¥ë¤Î̾Á°¤È¤·¤Æ²ò¼á¤µ¤ì¤ë;
619 (3) ¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¤â¤· \fBTERMINFO\fR ¤¬ Ã¼Ëö¥¨¥ó¥È¥ê̾¥ê¥¹¥È¤Î¤è¤¦¤Êʸ»úÎó¤ò
620 ¤â¤Ã¤Æ¤¤¤Æ¤½¤ì¤¬ \fBTERM\fR ¤Ë°ìÃפ¹¤ë¤Ê¤é¡¢\fBTERMINFO\fR ¤ÎÆâÍƤϠtermcap ¤È¤·¤Æ
621 ²ò¼á¤µ¤ì¤ë;
622 (4) ¤â¤· \fBTERMINFO\fR ¤¬ termcap ¤Ë»÷¤Æ¤¤¤ë¤¬ \fBTERM\fR ¤È°ìÃפ·¤Æ¤¤¤Ê¤¤¤Ê¤é¡¢
623 termcap ¥Õ¥¡¥¤¥ë ¤Ï´Ä¶­ÊÑ¿ô \fBTERMPATHS\fR ¤ä ~/.termcap ¤ä \fBTERMCAP_FILE\fR 
624 ¤½¤Î¾¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ì¤Ð¤½¤ÎÃæ¤Î¥³¥í¥ó¤ÇʬΥ¤µ¤ì¤¿¥Ñ¥¹¤ÎÃ椫¤éõº÷¤µ¤ì¤ë¡£
625
626 .\"0 Versions of \fBcurses\fR compiled on PC clones support display of the PC ROM
627 .\"0 characters (including ROM characters 0-31, which stock SVr4 curses cannot
628 .\"0 display). See the EXTENSIONS sections of \fBcurs_addch\fR(3X) and
629 .\"0 \fBcurs_attr\fR(3X).
630 PC ¥¯¥í¡¼¥ó¾å¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿ \fBcurses\fR ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï PC ROM ¥­¥ã¥é¥¯¥¿¤Î
631 ɽ¼¨¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£(ÉáÄ̤ΠSVr4 curses ¤¬É½¼¨¤Ç¤­¤Ê¤¤ ROM ¥­¥ã¥é¥¯¥¿ 0-31 ¤ò´Þ¤à¡£)
632  \fBcurs_addch\fR(3X) ¤È \fBcurs_attr\fR(3X) ¤Î ³ÈÄ¥¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤Î¤³¤È¡£
633
634 .\"0 The \fBcurses\fR library includes facilities for capturing mouse events on
635 .\"0 certain terminals (including xterm). See the \fBcurs_mouse\fR(3X)
636 .\"0 manual page for details.
637  \fBcurses\fR ¥é¥¤¥Ö¥é¥ê¤Ï ¤¢¤ë¼ï¤Î¥¿¡¼¥ß¥Ê¥ë(xterm ¤ò´Þ¤à)¾å¤Ç¥Þ¥¦¥¹¤Î¥¤¥Ù¥ó¥È¤ò
638 ¤È¤é¤¨¤ëǽÎϤ¬¤¢¤ë¡£¾ÜºÙ¤Ï \fBcurs_mouse\fR(3X) ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
639
640 .\"0 The \fBcurses\fR library includes a function for directing application output
641 .\"0 to a printer attached to the terminal device.  See the \fBcurs_print\fR(3X)
642 .\"0 manual page for details.
643  \fBcurses\fR ¥é¥¤¥Ö¥é¥ê¤Ï¥¿¡¼¥ß¥Ê¥ë¥Ç¥Ð¥¤¥¹¤Ø¼è¤ê¤Ä¤±¤é¤ì¤¿¥×¥ê¥ó¥¿¤Ø
644 ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î½ÐÎϤò¤¹¤ë´Ø¿ô¤ò´Þ¤ó¤Ç¤¤¤ë¡£¾ÜºÙ¤Ï \fBcurs_print\fR(3X) ¤Î
645 ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
646 .\"0 .SH PORTABILITY
647 .SH °Ü¿¢À­
648 .\"0 The \fBcurses\fR library is intended to be BASE-level conformant with the XSI
649 .\"0 Curses standard.  Certain portions of the EXTENDED XSI Curses functionality
650 .\"0 (including color support) are supported.  The following EXTENDED XSI Curses
651 .\"0 calls in support of wide (multibyte) characters are not yet implemented:
652 \fBcurses\fR ¥é¥¤¥Ö¥é¥ê¤Ï XSI Curses standard ¤Ë ´ðÁÃŪ¤Ê¥ì¥Ù¥ë¤Ç·ÁÂÖ¤ò
653 ¤¢¤ï¤»¤Æ¤¤¤¯¤Ä¤â¤ê¤Ç¤¢¤ë¡£(¥«¥é¡¼¥µ¥Ý¡¼¥È¤ò´Þ¤à) EXTENDED XSI Curses µ¡Ç½¤Î
654 ³Î¼Â¤Ê°Ü¿¢¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£¥ï¥¤¥É(¥Þ¥ë¥Á¥Ð¥¤¥È)¥­¥ã¥é¥¯¥¿¤Î¥µ¥Ý¡¼¥ÈÃæ¤Î°Ê²¼¤Î
655 ³ÈÄ¥ XSI Curses ´Ø¿ô¤Ï¤Þ¤À¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
656 \fBaddnwstr\fB,
657 \fBaddwstr\fB,
658 \fBmvaddnwstr\fB,
659 \fBmvwaddnwstr\fB,
660 \fBmvaddwstr\fB,
661 \fBwaddnwstr\fB,
662 \fBwaddwstr\fB,
663 \fBadd_wch\fB,
664 \fBwadd_wch\fB,
665 \fBmvadd_wch\fB,
666 \fBmvwadd_wch\fB,
667 \fBadd_wchnstr\fB,
668 \fBadd_wchstr\fB,
669 \fBwadd_wchnstr\fB,
670 \fBwadd_wchstr\fB,
671 \fBmvadd_wchnstr\fB,
672 \fBmvadd_wchstr\fB,
673 \fBmvwadd_wchnstr\fB,
674 \fBmvwadd_wchstr\fB,
675 \fBbkgrndset\fB,
676 \fBbkgrnd\fB,
677 \fBgetbkgrnd\fB,
678 \fBwbkgrnd\fB,
679 \fBwbkgrndset\fB,
680 \fBwgetbkgrnd\fB,
681 \fBborder_set\fB,
682 \fBwborder_set\fB,
683 \fBbox_set\fB,
684 \fBhline_set\fB,
685 \fBmvhline_set\fB,
686 \fBmvvline_set\fB,
687 \fBmvwhline_set\fB,
688 \fBmvwvline_set\fB,
689 \fBwhline_set\fB,
690 \fBvhline_set\fB,
691 \fBwvline_set\fB,
692 \fBecho_wchar\fB,
693 \fBwecho_wchar\fB,
694 \fBerasewchar\fB,
695 \fBkillwchar\fB,
696 \fBget_wch\fB,
697 \fBmvget_wch\fB,
698 \fBmvwget_ch\fB,
699 \fBwget_wch\fB,
700 \fBgetwchtype\fB,
701 \fBget_wstr\fB,
702 \fBgetn_wstr\fB,
703 \fBwget_wstr\fB,
704 \fBwgetn_wstr\fB,
705 \fBmvget_wstr\fB,
706 \fBmvgetn_wstr\fB,
707 \fBmvwget_wstr\fB,
708 \fBmvwgetn_wstr\fB,
709 \fBinnwstr\fB,
710 \fBinwstr\fB,
711 \fBwinnwstr\fB,
712 \fBwinwstr\fB,
713 \fBmvinnwstr\fB,
714 \fBmvinwstr\fB,
715 \fBmvwinnwstr\fB,
716 \fBmvwinwstr\fB,
717 \fBins_nwstr\fB,
718 \fBins_wstr\fB,
719 \fBmvins_nwstr\fB,
720 \fBmvins_wstr\fB,
721 \fBmvwins_nwstr\fB,
722 \fBmvwins_wstr\fB,
723 \fBwins_nwstr\fB,
724 \fBwins_wstr\fB,
725 \fBins_wch\fB,
726 \fBwins_wch\fB,
727 \fBmvins_wch\fB,
728 \fBmvwins_wch\fB,
729 \fBin_wch\fB,
730 \fBwin_wch\fB,
731 \fBmvin_wch\fB,
732 \fBmvwin_wch\fB,
733 \fBinwchstr\fB,
734 \fBinwchnstr\fB,
735 \fBwinwchstr\fB,
736 \fBwinwchnstr\fB,
737 \fBmvinwchstr\fB,
738 \fBmvinwchnstr\fB,
739 \fBmvinwchstr\fB,
740 \fBmvwinwchnstr\fB.
741 .PP
742 .\"0 A small number of local differences (that is, individual differences between
743 .\"0 the XSI Curses and \fBcurses\fR calls) are described in \fBPORTABILITY\fR
744 .\"0 sections of the library man pages.
745 ¸Ä¡¹¤Î°ã¤¤(XSI Curses ¤È \fBcurses\fR ´Ø¿ô¤Î¸Ä¡¹¤Î°ã¤¤)¤Ï¥é¥¤¥Ö¥é¥ê¤Î man ¥Ú¡¼¥¸¤Î 
746  \fB°Ü¿¢À­\fR ¥»¥¯¥·¥ç¥ó¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¡£
747 .PP
748 .\"0 The routine \fBhas_key\fR is not part of XPG4, nor is it present in SVr4.  See
749 .\"0 the \fBcurs_getch\fR(3X) manual page for details.
750 \fBhas_key\fR ¥ë¡¼¥Á¥ó¤Ï XPG4 ¤Ë¤Ï¤Ê¤¤¤«¡¢SVr4 ¤Ë¤Ï¤Ê¤¤¡£
751 ¾ÜºÙ¤Ï \fBcurs_getch\fR(3X) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
752 .PP
753 .\"0 The routine \fBslk_attr\fR is not part of XPG4, nor is it present in SVr4.  See
754 .\"0 the \fBcurs_slk\fR(3X) manual page for details.
755 \fBslk_attr\fR ¥ë¡¼¥Á¥ó¤Ï XPG4 ¤Ë¤Ï¤Ê¤¤¤«¡¢SVr4 ¤Ë¤Ï¤Ê¤¤¡£
756 ¾ÜºÙ¤Ï \fBcurs_slk\fR(3X) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
757 .PP
758 .\"0 The routines \fBgetmouse\fR, \fBmousemask\fR, \fBungetmouse\fR,
759 .\"0 \fBmouseinterval\fR, and \fBwenclose\fR relating to mouse interfacing are not
760 .\"0 part of XPG4, nor are they present in SVr4.  See the \fBcurs_mouse\fR(3X)
761 .\"0 manual page for details.
762 ¥Þ¥¦¥¹¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ë´ØÏ¢¤¹¤ë \fBgetmouse\fR¡¢\fBmousemask\fR¡¢\fBungetmouse\fR¡¢\fBmouseinterval\fR¡¢\fBwenclose\fR ¥ë¡¼¥Á¥ó¤Ï XPG4 ¤Ë¤Ï¤Ê¤¤¤«¡¢SVr4 ¤Ë¤Ï¤Ê¤¤¡£
763 ¾ÜºÙ¤Ï \fBcurs_mouse\fR(3X) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
764 .PP
765 .\"0 The routine \fBmcprint\fR was not present in any previous curses
766 .\"0 implementation.  See the \fBcurs_print\fR(3X) manual page for details.
767 \fBmcprint\fR ¥ë¡¼¥Á¥ó¤Ï °ÊÁ°¤Î curses ¤Î¼ÂÁõ¤Ë¤Ï¤Ê¤«¤Ã¤¿¡£
768 ¾ÜºÙ¤Ï \fBcurs_print\fR(3X) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
769 .PP
770 .\"0 The routine \fBwresize\fR is not part of XPG4, nor is it present in SVr4.  See
771 .\"0 the \fBwresize\fR(3X) manual page for details.
772 \fBwresize\fR ¥ë¡¼¥Á¥ó¤Ï XPG4 ¤Ë¤Ï¤Ê¤¤¤«¡¢SVr4 ¤Ë¤Ï¤Ê¤¤¡£
773 ¾ÜºÙ¤Ï \fBwresize\fR(3X) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤Î¤³¤È¡£
774 .PP
775 .\"0 In historic curses versions, delays embedded in the capabilities \fBcr\fR,
776 .\"0 \fBind\fR, \fBcub1\fR, \fBff\fR and \fBtab\fR activated corresponding delay
777 .\"0 bits in the UNIX tty driver.  In this implementation, all padding is done by
778 .\"0 NUL sends.  This method is slightly more expensive, but narrows the interface
779 .\"0 to the UNIX kernel significantly and increases the package's portability
780 .\"0 correspondingly.
781 Îò»ËŪ¤Ê curses ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤ª¤¤¤Æ¡¢\fBcr\fR¡¢\fBind\fR¡¢\fBcub1\fR¡¢\fBff\fR¡¢
782 \fBtab\fR Ãæ¤ËËä¤á¹þ¤Þ¤ì¤¿ÃÙ±ä¤Ï UNIX tty ¥É¥é¥¤¥ÐÃæ¤ÎÃÙ±ä¥Ó¥Ã¥È¤Ë°ìÃפ¹¤ë¤è¤¦¤Ë
783 Æ°ºî¤¹¤ë¡£(??)
784 ¤³¤Î¼ÂÁõ¤ÎÃæ¤Ç¡¢Á´¤Æ¤Î¥Ñ¥Ã¥Ç¥£¥ó¥°¤Ï NUL ¤òÁ÷¤ë¤³¤È¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤Æ¤¤¤ë¡£
785 ¤³¤ÎÊýË¡¤Ï¤ï¤º¤«¤Ë¹â²Á¤ÊÂå½þ¤È¤Ê¤ë¤¬¡¢½ÅÍפʠUNIX ¥«¡¼¥Í¥ë¤Ø¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò
786 ¶¹¤á¡¢¥Ñ¥Ã¥±¡¼¥¸¤ÎÁê±þ¤Ê°Ü¿¢À­¤òÁý²Ã¤µ¤»¤ë¡£
787 .PP
788 .\"0 In the XSI standard and SVr4 manual pages, many entry points have prototype
789 .\"0 arguments of the for \fBchar *const\fR (or \fBcchar_t *const\fR, or \fBwchar_t
790 .\"0 *const\fR, or \fBvoid *const\fR).  Depending on one's interpretation of the
791 .\"0 ANSI C standard (see section 3.5.4.1), these declarations are either (a)
792 .\"0 meaningless, or (b) meaningless and illegal.  The declaration \fBconst char
793 .\"0 *x\fR is a modifiable pointer to unmodifiable data, but \fBchar *const x\fR' is
794 .\"0 an unmodifiable pointer to modifiable data.  Given that C passes arguments by
795 .\"0 value, \fB<type> *const\fR as a formal type is at best dubious.  Some compilers
796 .\"0 choke on the prototypes.  Therefore, in this implementation, they have been
797 .\"0 changed to \fBconst <type> *\fR globally.
798 XSI standard ¤È SVr4 ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ë¤ª¤¤¤Æ¡¢Â¿¤¯¤Î¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È¤Ï
799 \fBchar *const\fR (¤â¤·¤¯¤Ï\fBcchar_t *const\fR¡¢\fBwchar_t *const\fR¡¢
800 \fBvoid *const\fR) ¤Î¥×¥í¥È¥¿¥¤¥×°ú¿ô¤ò»ý¤Ä¡£ ANSI C standard (¥»¥¯¥·¥ç¥ó 2.5.4.1
801 »²¾È)¤Î²ò¼á¤Ë¤è¤ë¤È¡¢¤³¤ì¤é¤ÎÀë¸À¤Ï (a)°ÕÌ£¤ò¤Ê¤µ¤Ê¤¤¤«¡¢°ÕÌ£¤ò¤Ê¤µ¤º
802 °ãË¡¤Ê¤â¤Î¤Ç¤¢¤ë¡£\fBconst char *x\fR ¤ÎÀë¸À¤Ï Êѹ¹¤Ç¤­¤Ê¤¤¥Ç¡¼¥¿¤Ø¤Î
803 Êѹ¹¤Ç¤­¤ë¥Ý¥¤¥ó¥¿¤Ç¤¢¤ë¡£C ¤Ï°ú¿ô¤ØÃͤˤè¤Ã¤ÆÅϤ¹¤Î¤Ç¡¢Àµ¼°¤Î·¿¤Ç¤¢¤ë 
804  \fB<type> *const\fR ¤Ï ¤È¤Æ¤âÛ£Ëæ¤Ê¤â¤Î¤Ç¤¢¤ë¡£(??)
805 ¤¢¤ë¥³¥ó¥Ñ¥¤¥é¤Ï¤³¤Î¥×¥í¥È¥¿¥¤¥×¤Ç¤Ï¤¦¤Þ¤¯¹Ô¤«¤Ê¤¤¡£¤½¤ì¤æ¤¨¡¢¤³¤Î¼ÂÁõ¤Ç¤Ï¡¢
806 \fBconst <type> *\fR ¤ËÊѹ¹¤µ¤ì¤¿¡£
807 .\"0 .SH NOTES
808 .SH Ãí°Õ
809 .\"0 The header file \fB<curses.h>\fR automatically includes the header files
810 .\"0 \fB<stdio.h>\fR and \fB<unctrl.h>\fR.
811 \fB<curses.h>\fR ¤Ï¼«Æ°Åª¤Ë \fB<stdio.h>\fR ¤È \fB<unctrl.h>\fR ¤ò¥¤¥ó¥¯¥ë¡¼¥É¤¹¤ë¡£
812
813 .\"0 If standard output from a \fBcurses\fR program is re-directed to something
814 .\"0 which is not a tty, screen updates will be directed to standard error.  This
815 .\"0 was an undocumented feature of AT&T System V Release 3 curses.
816 ¤â¤· \fBcurses\fR ¥×¥í¥°¥é¥à¤«¤é¤Îɸ½à½ÐÎϤ¬ tty ¤Ç¤Ê¤¤¤â¤Î¤Ø¥ê¥À¥¤¥ì¥¯¥È¤µ¤ì¤¿¤Ê¤é¡¢
817 ¥¹¥¯¥ê¡¼¥ó¤Î¹¹¿·¤Ïɸ½à¥¨¥é¡¼¤Ø½ÐÎϤµ¤ì¤ë¤À¤í¤¦¡£¤³¤ì¤Ï Ê¸½ñ²½¤µ¤ì¤Æ¤¤¤Ê¤¤ 
818 AT&T  System V Release 3 curses ¤ÎÆÃħ¤Ç¤¢¤ë¡£
819 .\"0 .SH AUTHORS
820 .SH Ãø¼Ô
821 .\"0 Zeyd M. Ben-Halim, Eric S. Raymond.  Descends from the original pcurses
822 .\"0 by Pavel Curtis.
823 Zeyd M. Ben-Halim¡¢eric S. Raymond¡£Pavel Curtis ¤Ë¤è¤ë¥ª¥ê¥¸¥Ê¥ë pcurses ¤«¤é
824 ÇÉÀ¸¤·¤Æ¤¤¤ë¡£
825 .\"#
826 .\"# The following sets edit modes for GNU EMACS
827 .\"# Local Variables:
828 .\"# mode:nroff
829 .\"# fill-column:79
830 .\"# End: