File: constants.xml

package info (click to toggle)
php-doc 20140201-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 74,084 kB
  • ctags: 4,040
  • sloc: xml: 998,137; php: 20,812; cpp: 500; sh: 177; makefile: 63; awk: 28
file content (505 lines) | stat: -rw-r--r-- 20,063 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 323628 $ -->
<appendix xml:id="ncurses.constants" xmlns="http://docbook.org/ns/docbook">
 &reftitle.constants;
 &extension.constants;
 <section xml:id="ncurses.errconsts">
  <title>Error codes</title>
   <para>
    On error ncurses functions return <literal>-1</literal>.
    Some functions return <literal>0</literal> on success. See the relevant
    pages in the documentation for actual return values.
   </para>
 </section>
  <section xml:id="ncurses.colorconsts">
   <title>Colors</title>
    <table>
     <title>ncurses color constants</title>
     <tgroup cols="2">
       <thead>
        <row>
         <entry>constant</entry>
         <entry>meaning</entry>
        </row>
       </thead>
       <tbody>
        <row xml:id="constant.ncurses-color-black">
         <entry><constant>NCURSES_COLOR_BLACK</constant></entry>
         <entry>no color (black)</entry>
        </row>
        <row xml:id="constant.ncurses-color-white">
         <entry><constant>NCURSES_COLOR_WHITE</constant></entry>
         <entry>white</entry>
        </row>
        <row xml:id="constant.ncurses-color-red">
         <entry><constant>NCURSES_COLOR_RED</constant></entry>
         <entry>red - supported when terminal is in color mode</entry>
        </row>
        <row xml:id="constant.ncurses-color-green">
         <entry><constant>NCURSES_COLOR_GREEN</constant></entry>
         <entry>green - supported when terminal is in color mode</entry>
        </row>
        <row xml:id="constant.ncurses-color-yellow">
         <entry><constant>NCURSES_COLOR_YELLOW</constant></entry>
         <entry>yellow - supported when terminal is in color mode</entry>
        </row>
        <row xml:id="constant.ncurses-color-blue">
         <entry><constant>NCURSES_COLOR_BLUE</constant></entry>
         <entry>blue - supported when terminal is in color mode</entry>
        </row>
        <row xml:id="constant.ncurses-color-cyan">
         <entry><constant>NCURSES_COLOR_CYAN</constant></entry>
         <entry>cyan - supported when terminal is in color mode</entry>
        </row>
        <row xml:id="constant.ncurses-color-magenta">
         <entry><constant>NCURSES_COLOR_MAGENTA</constant></entry>
         <entry>magenta - supported when terminal is in color mode</entry>
        </row>
       </tbody>
     </tgroup>
    </table>
  </section>
  <section xml:id="ncurses.keyconsts">
  <title>Keys</title>
    <table>
     <title>ncurses key constants</title>
     <tgroup cols="2">
       <thead>
        <row>
         <entry>constant</entry>
         <entry>meaning</entry>
        </row>
       </thead>
       <tbody>
        <row xml:id="constant.ncurses-key-f0">
         <entry><constant>NCURSES_KEY_F0</constant> - <constant>NCURSES_KEY_F64</constant></entry>
         <entry>function keys F1 - F64</entry>
        </row>
        <row xml:id="constant.ncurses-key-down">
         <entry><constant>NCURSES_KEY_DOWN</constant></entry>
         <entry>down arrow</entry>
        </row>
        <row xml:id="constant.ncurses-key-up">
         <entry><constant>NCURSES_KEY_UP</constant></entry>
         <entry>up arrow</entry>
        </row>
        <row xml:id="constant.ncurses-key-left">
         <entry><constant>NCURSES_KEY_LEFT</constant></entry>
         <entry>left arrow</entry>
        </row>
        <row xml:id="constant.ncurses-key-right">
         <entry><constant>NCURSES_KEY_RIGHT</constant></entry>
         <entry>right arrow</entry>
        </row>
        <row xml:id="constant.ncurses-key-home">
         <entry><constant>NCURSES_KEY_HOME</constant></entry>
         <entry>home key (upward+left arrow)</entry>
        </row>
        <row xml:id="constant.ncurses-key-backspace">
         <entry><constant>NCURSES_KEY_BACKSPACE</constant></entry>
         <entry>backspace</entry>
        </row>
        <row xml:id="constant.ncurses-key-dl">
         <entry><constant>NCURSES_KEY_DL</constant></entry>
         <entry>delete line</entry>
        </row>
        <row xml:id="constant.ncurses-key-il">
         <entry><constant>NCURSES_KEY_IL</constant></entry>
         <entry>insert line</entry>
        </row>
        <row xml:id="constant.ncurses-key-dc">
         <entry><constant>NCURSES_KEY_DC</constant></entry>
         <entry>delete character</entry>
        </row>
        <row xml:id="constant.ncurses-key-ic">
         <entry><constant>NCURSES_KEY_IC</constant></entry>
         <entry>insert char or enter insert mode</entry>
        </row>
        <row xml:id="constant.ncurses-key-eic">
         <entry><constant>NCURSES_KEY_EIC</constant></entry>
         <entry>exit insert char mode</entry>
        </row>
        <row xml:id="constant.ncurses-key-clear">
         <entry><constant>NCURSES_KEY_CLEAR</constant></entry>
         <entry>clear screen</entry>
        </row>
        <row xml:id="constant.ncurses-key-eos">
         <entry><constant>NCURSES_KEY_EOS</constant></entry>
         <entry>clear to end of screen</entry>
        </row>
        <row xml:id="constant.ncurses-key-eol">
         <entry><constant>NCURSES_KEY_EOL</constant></entry>
         <entry>clear to end of line</entry>
        </row>
        <row xml:id="constant.ncurses-key-sf">
         <entry><constant>NCURSES_KEY_SF</constant></entry>
         <entry>scroll one line forward</entry>
        </row>
        <row xml:id="constant.ncurses-key-sr">
         <entry><constant>NCURSES_KEY_SR</constant></entry>
         <entry>scroll one line backward</entry>
        </row>
        <row xml:id="constant.ncurses-key-npage">
         <entry><constant>NCURSES_KEY_NPAGE</constant></entry>
         <entry>next page</entry>
        </row>
        <row xml:id="constant.ncurses-key-ppage">
         <entry><constant>NCURSES_KEY_PPAGE</constant></entry>
         <entry>previous page</entry>
        </row>
        <row xml:id="constant.ncurses-key-stab">
         <entry><constant>NCURSES_KEY_STAB</constant></entry>
         <entry>set tab</entry>
        </row>
        <row xml:id="constant.ncurses-key-ctab">
         <entry><constant>NCURSES_KEY_CTAB</constant></entry>
         <entry>clear tab</entry>
        </row>
        <row xml:id="constant.ncurses-key-catab">
         <entry><constant>NCURSES_KEY_CATAB</constant></entry>
         <entry>clear all tabs</entry>
        </row>
        <row xml:id="constant.ncurses-key-sreset">
         <entry><constant>NCURSES_KEY_SRESET</constant></entry>
         <entry>soft (partial) reset</entry>
        </row>
        <row xml:id="constant.ncurses-key-reset">
         <entry><constant>NCURSES_KEY_RESET</constant></entry>
         <entry>reset or hard reset</entry>
        </row>
        <row xml:id="constant.ncurses-key-print">
         <entry><constant>NCURSES_KEY_PRINT</constant></entry>
         <entry>print</entry>
        </row>
        <row xml:id="constant.ncurses-key-ll">
         <entry><constant>NCURSES_KEY_LL</constant></entry>
         <entry>lower left</entry>
        </row>
        <row xml:id="constant.ncurses-key-a1">
         <entry><constant>NCURSES_KEY_A1</constant></entry>
         <entry>upper left of keypad</entry>
        </row>
        <row xml:id="constant.ncurses-key-a3">
         <entry><constant>NCURSES_KEY_A3</constant></entry>
         <entry>upper right of keypad</entry>
        </row>
        <row xml:id="constant.ncurses-key-b2">
         <entry><constant>NCURSES_KEY_B2</constant></entry>
         <entry>center of keypad</entry>
        </row>
        <row xml:id="constant.ncurses-key-c1">
         <entry><constant>NCURSES_KEY_C1</constant></entry>
         <entry>lower left of keypad</entry>
        </row>
        <row xml:id="constant.ncurses-key-c3">
         <entry><constant>NCURSES_KEY_C3</constant></entry>
         <entry>lower right of keypad</entry>
        </row>
        <row xml:id="constant.ncurses-key-btab">
         <entry><constant>NCURSES_KEY_BTAB</constant></entry>
         <entry>back tab</entry>
        </row>
        <row xml:id="constant.ncurses-key-beg">
         <entry><constant>NCURSES_KEY_BEG</constant></entry>
         <entry>beginning</entry>
        </row>
        <row xml:id="constant.ncurses-key-cancel">
         <entry><constant>NCURSES_KEY_CANCEL</constant></entry>
         <entry>cancel</entry>
        </row>
        <row xml:id="constant.ncurses-key-close">
         <entry><constant>NCURSES_KEY_CLOSE</constant></entry>
         <entry>close</entry>
        </row>
        <row xml:id="constant.ncurses-key-command">
         <entry><constant>NCURSES_KEY_COMMAND</constant></entry>
         <entry>cmd (command)</entry>
        </row>
        <row xml:id="constant.ncurses-key-copy">
         <entry><constant>NCURSES_KEY_COPY</constant></entry>
         <entry>copy</entry>
        </row>
        <row xml:id="constant.ncurses-key-create">
         <entry><constant>NCURSES_KEY_CREATE</constant></entry>
         <entry>create</entry>
        </row>
        <row xml:id="constant.ncurses-key-end">
         <entry><constant>NCURSES_KEY_END</constant></entry>
         <entry>end</entry>
        </row>
        <row xml:id="constant.ncurses-key-exit">
         <entry><constant>NCURSES_KEY_EXIT</constant></entry>
         <entry>exit</entry>
        </row>
        <row xml:id="constant.ncurses-key-find">
         <entry><constant>NCURSES_KEY_FIND</constant></entry>
         <entry>find</entry>
        </row>
        <row xml:id="constant.ncurses-key-help">
         <entry><constant>NCURSES_KEY_HELP</constant></entry>
         <entry>help</entry>
        </row>
        <row xml:id="constant.ncurses-key-mark">
         <entry><constant>NCURSES_KEY_MARK</constant></entry>
         <entry>mark</entry>
        </row>
        <row xml:id="constant.ncurses-key-message">
         <entry><constant>NCURSES_KEY_MESSAGE</constant></entry>
         <entry>message</entry>
        </row>
        <row xml:id="constant.ncurses-key-move">
         <entry><constant>NCURSES_KEY_MOVE</constant></entry>
         <entry>move</entry>
        </row>
        <row xml:id="constant.ncurses-key-next">
         <entry><constant>NCURSES_KEY_NEXT</constant></entry>
         <entry>next</entry>
        </row>
        <row xml:id="constant.ncurses-key-open">
         <entry><constant>NCURSES_KEY_OPEN</constant></entry>
         <entry>open</entry>
        </row>
        <row xml:id="constant.ncurses-key-options">
         <entry><constant>NCURSES_KEY_OPTIONS</constant></entry>
         <entry>options</entry>
        </row>
        <row xml:id="constant.ncurses-key-previous">
         <entry><constant>NCURSES_KEY_PREVIOUS</constant></entry>
         <entry>previous</entry>
        </row>
        <row xml:id="constant.ncurses-key-redo">
         <entry><constant>NCURSES_KEY_REDO</constant></entry>
         <entry>redo</entry>
        </row>
        <row xml:id="constant.ncurses-key-reference">
         <entry><constant>NCURSES_KEY_REFERENCE</constant></entry>
         <entry>ref (reference)</entry>
        </row>
        <row xml:id="constant.ncurses-key-refresh">
         <entry><constant>NCURSES_KEY_REFRESH</constant></entry>
         <entry>refresh</entry>
        </row>
        <row xml:id="constant.ncurses-key-replace">
         <entry><constant>NCURSES_KEY_REPLACE</constant></entry>
         <entry>replace</entry>
        </row>
        <row xml:id="constant.ncurses-key-restart">
         <entry><constant>NCURSES_KEY_RESTART</constant></entry>
         <entry>restart</entry>
        </row>
        <row xml:id="constant.ncurses-key-resume">
         <entry><constant>NCURSES_KEY_RESUME</constant></entry>
         <entry>resume</entry>
        </row>
        <row xml:id="constant.ncurses-key-save">
         <entry><constant>NCURSES_KEY_SAVE</constant></entry>
         <entry>save</entry>
        </row>
        <row xml:id="constant.ncurses-key-sbeg">
         <entry><constant>NCURSES_KEY_SBEG</constant></entry>
         <entry>shiftet beg (beginning)</entry>
        </row>
        <row xml:id="constant.ncurses-key-scancel">
         <entry><constant>NCURSES_KEY_SCANCEL</constant></entry>
         <entry>shifted cancel</entry>
        </row>
        <row xml:id="constant.ncurses-key-scommand">
         <entry><constant>NCURSES_KEY_SCOMMAND</constant></entry>
         <entry>shifted command</entry>
        </row>
        <row xml:id="constant.ncurses-key-scopy">
         <entry><constant>NCURSES_KEY_SCOPY</constant></entry>
         <entry>shifted copy</entry>
        </row>
        <row xml:id="constant.ncurses-key-screate">
         <entry><constant>NCURSES_KEY_SCREATE</constant></entry>
         <entry>shifted create</entry>
        </row>
        <row xml:id="constant.ncurses-key-sdc">
         <entry><constant>NCURSES_KEY_SDC</constant></entry>
         <entry>shifted delete char</entry>
        </row>
        <row xml:id="constant.ncurses-key-sdl">
         <entry><constant>NCURSES_KEY_SDL</constant></entry>
         <entry>shifted delete line</entry>
        </row>
        <row xml:id="constant.ncurses-key-select">
         <entry><constant>NCURSES_KEY_SELECT</constant></entry>
         <entry>select</entry>
        </row>
        <row xml:id="constant.ncurses-key-send">
         <entry><constant>NCURSES_KEY_SEND</constant></entry>
         <entry>shifted end</entry>
        </row>
        <row xml:id="constant.ncurses-key-seol">
         <entry><constant>NCURSES_KEY_SEOL</constant></entry>
         <entry>shifted end of line</entry>
        </row>
        <row xml:id="constant.ncurses-key-sexit">
         <entry><constant>NCURSES_KEY_SEXIT</constant></entry>
         <entry>shifted exit</entry>
        </row>
        <row xml:id="constant.ncurses-key-sfind">
         <entry><constant>NCURSES_KEY_SFIND</constant></entry>
         <entry>shifted find</entry>
        </row>
        <row xml:id="constant.ncurses-key-shelp">
         <entry><constant>NCURSES_KEY_SHELP</constant></entry>
         <entry>shifted help</entry>
        </row>
        <row xml:id="constant.ncurses-key-shome">
         <entry><constant>NCURSES_KEY_SHOME</constant></entry>
         <entry>shifted home</entry>
        </row>
        <row xml:id="constant.ncurses-key-sic">
         <entry><constant>NCURSES_KEY_SIC</constant></entry>
         <entry>shifted input</entry>
        </row>
        <row xml:id="constant.ncurses-key-sleft">
         <entry><constant>NCURSES_KEY_SLEFT</constant></entry>
         <entry>shifted left arrow</entry>
        </row>
        <row xml:id="constant.ncurses-key-smessage">
         <entry><constant>NCURSES_KEY_SMESSAGE</constant></entry>
         <entry>shifted message</entry>
        </row>
        <row xml:id="constant.ncurses-key-smove">
         <entry><constant>NCURSES_KEY_SMOVE</constant></entry>
         <entry>shifted move</entry>
        </row>
        <row xml:id="constant.ncurses-key-snext">
         <entry><constant>NCURSES_KEY_SNEXT</constant></entry>
         <entry>shifted next</entry>
        </row>
        <row xml:id="constant.ncurses-key-soptions">
         <entry><constant>NCURSES_KEY_SOPTIONS</constant></entry>
         <entry>shifted options</entry>
        </row>
        <row xml:id="constant.ncurses-key-sprevious">
         <entry><constant>NCURSES_KEY_SPREVIOUS</constant></entry>
         <entry>shifted previous</entry>
        </row>
        <row xml:id="constant.ncurses-key-sprint">
         <entry><constant>NCURSES_KEY_SPRINT</constant></entry>
         <entry>shifted print</entry>
        </row>
        <row xml:id="constant.ncurses-key-sredo">
         <entry><constant>NCURSES_KEY_SREDO</constant></entry>
         <entry>shifted redo</entry>
        </row>
        <row xml:id="constant.ncurses-key-sreplace">
         <entry><constant>NCURSES_KEY_SREPLACE</constant></entry>
         <entry>shifted replace</entry>
        </row>
        <row xml:id="constant.ncurses-key-sright">
         <entry><constant>NCURSES_KEY_SRIGHT</constant></entry>
         <entry>shifted right arrow</entry>
        </row>
        <row xml:id="constant.ncurses-key-srsume">
         <entry><constant>NCURSES_KEY_SRSUME</constant></entry>
         <entry>shifted resume</entry>
        </row>
        <row xml:id="constant.ncurses-key-ssave">
         <entry><constant>NCURSES_KEY_SSAVE</constant></entry>
         <entry>shifted save</entry>
        </row>
        <row xml:id="constant.ncurses-key-ssuspend">
         <entry><constant>NCURSES_KEY_SSUSPEND</constant></entry>
         <entry>shifted suspend</entry>
        </row>
        <row xml:id="constant.ncurses-key-undo">
         <entry><constant>NCURSES_KEY_UNDO</constant></entry>
         <entry>undo</entry>
        </row>
        <row xml:id="constant.ncurses-key-mouse">
         <entry><constant>NCURSES_KEY_MOUSE</constant></entry>
         <entry>mouse event has occurred</entry>
        </row>
        <row xml:id="constant.ncurses-key-max">
         <entry><constant>NCURSES_KEY_MAX</constant></entry>
         <entry>maximum key value</entry>
        </row>
       </tbody>
     </tgroup>
    </table>
  </section>
  <section xml:id="ncurses.mouseconsts">
   <title>Mouse</title>
   <table>
    <title>mouse constants</title>
    <tgroup cols="2">
     <thead>
      <row>
       <entry>Constant</entry>
       <entry>meaning</entry>
      </row>
     </thead>
     <tbody>
        <row xml:id="constant.ncurses-button1-released">
         <entry><constant>NCURSES_BUTTON1_RELEASED</constant> - <constant>NCURSES_BUTTON4_RELEASED</constant></entry>
         <entry>button (1-4) released</entry>
        </row>
        <row xml:id="constant.ncurses-button1-pressed">
         <entry><constant>NCURSES_BUTTON1_PRESSED</constant> - <constant>NCURSES_BUTTON4_PRESSED</constant></entry>
         <entry>button (1-4) pressed</entry>
        </row>
        <row xml:id="constant.ncurses-button1-clicked">
         <entry><constant>NCURSES_BUTTON1_CLICKED</constant> - <constant>NCURSES_BUTTON4_CLICKED</constant></entry>
         <entry>button (1-4) clicked</entry>
        </row>
        <row xml:id="constant.ncurses-button1-double-clicked">
         <entry><constant>NCURSES_BUTTON1_DOUBLE_CLICKED</constant> -
         <constant>NCURSES_BUTTON4_DOUBLE_CLICKED</constant></entry>
         <entry>button (1-4) double clicked</entry>
        </row>
        <row xml:id="constant.ncurses-button1-triple-clicked">
         <entry><constant>NCURSES_BUTTON1_TRIPLE_CLICKED</constant> -
         <constant>NCURSES_BUTTON4_TRIPLE_CLICKED</constant></entry>
         <entry>button (1-4) triple clicked</entry>
        </row>
        <row xml:id="constant.ncurses-button-ctrl">
         <entry><constant>NCURSES_BUTTON_CTRL</constant></entry>
         <entry>ctrl pressed during click</entry>
        </row>
        <row xml:id="constant.ncurses-button-shift">
         <entry><constant>NCURSES_BUTTON_SHIFT</constant></entry>
         <entry>shift pressed during click</entry>
        </row>
        <row xml:id="constant.ncurses-button-alt">
         <entry><constant>NCURSES_BUTTON_ALT</constant></entry>
         <entry>alt pressed during click</entry>
        </row>
        <row xml:id="constant.ncurses-all-mouse-events">
         <entry><constant>NCURSES_ALL_MOUSE_EVENTS</constant></entry>
         <entry>report all mouse events</entry>
        </row>
        <row xml:id="constant.ncurses-report-mouse-position">
         <entry><constant>NCURSES_REPORT_MOUSE_POSITION</constant></entry>
         <entry>report mouse position</entry>
        </row>
     </tbody>
    </tgroup>
   </table>
  </section>
</appendix>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->