clio 0.0.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/CHANGES +66 -0
  2. data/MANIFEST +48 -169
  3. data/README +13 -17
  4. data/RELEASE +8 -0
  5. data/VERSION +1 -0
  6. data/lib/clio/buffer.rb +93 -0
  7. data/lib/clio/commandable.rb +71 -69
  8. data/lib/clio/commandline.rb +429 -230
  9. data/lib/clio/consoleutils.rb +0 -16
  10. data/lib/clio/facets/kernel.rb +13 -0
  11. data/lib/clio/facets/string.rb +25 -0
  12. data/lib/clio/layout.rb +14 -0
  13. data/lib/clio/layout/flow.rb +1 -0
  14. data/lib/clio/layout/line.rb +23 -0
  15. data/lib/clio/layout/list.rb +33 -0
  16. data/lib/clio/layout/split.rb +122 -0
  17. data/lib/clio/layout/stack.rb +17 -0
  18. data/lib/clio/layout/table.rb +46 -0
  19. data/lib/clio/progressbar.rb +189 -210
  20. data/lib/clio/string.rb +116 -109
  21. data/lib/clio/usage.rb +184 -0
  22. data/lib/clio/usage/argument.rb +84 -0
  23. data/lib/clio/usage/command.rb +440 -0
  24. data/lib/clio/usage/interface.rb +122 -0
  25. data/lib/clio/usage/main.rb +165 -0
  26. data/lib/clio/usage/option.rb +251 -0
  27. data/lib/clio/usage/parser.rb +191 -0
  28. data/lib/clio/usage/signature.rb +55 -0
  29. data/meta/abstract +3 -0
  30. data/meta/authors +1 -0
  31. data/meta/created +1 -0
  32. data/meta/homepage +1 -0
  33. data/meta/license +1 -0
  34. data/meta/repository +1 -0
  35. data/meta/summary +1 -0
  36. data/spec/commandline/autousage.rd +56 -0
  37. data/spec/commandline/bracket.rd +64 -0
  38. data/spec/commandline/completion.rd +38 -0
  39. data/spec/commandline/define.rd +44 -0
  40. data/spec/commandline/method.rd +60 -0
  41. data/spec/commandline/parse.rd +72 -0
  42. data/spec/commandline/scenario.rd +81 -0
  43. data/spec/commandline/subclass.rd +54 -0
  44. data/spec/string/unit.rd +58 -0
  45. data/spec/usage/define.rd +44 -0
  46. data/spec/usage/parse.rd +47 -0
  47. metadata +65 -196
  48. data/HISTORY +0 -11
  49. data/METADATA +0 -18
  50. data/NEWS +0 -10
  51. data/admin/config/reap.yaml +0 -30
  52. data/admin/depot/commandline.rb +0 -219
  53. data/admin/depot/multicommand.rb +0 -403
  54. data/admin/depot/test_multicommand.rb +0 -40
  55. data/admin/log/notes.xml +0 -28
  56. data/admin/log/stats.html +0 -25
  57. data/admin/log/syntax.log +0 -0
  58. data/admin/log/testunit.log +0 -16
  59. data/admin/pack/clio-0.0.1.gem +0 -0
  60. data/admin/share/reap/example.rb +0 -7
  61. data/admin/temps/lib/clio/about.rb.erb +0 -4
  62. data/lib/clio/command.rb +0 -296
  63. data/lib/clio/option.rb +0 -36
  64. data/lib/clio/runmode.rb +0 -126
  65. data/test/test_command.rb +0 -42
  66. data/test/test_commandline.rb +0 -83
  67. data/vendor/Console/Console.cpp +0 -1203
  68. data/vendor/Console/Console.rdoc +0 -690
  69. data/vendor/Console/Console_ANSI.rdoc +0 -302
  70. data/vendor/Console/HISTORY.txt +0 -7
  71. data/vendor/Console/INSTALL.txt +0 -18
  72. data/vendor/Console/Makefile +0 -162
  73. data/vendor/Console/README.txt +0 -26
  74. data/vendor/Console/doc/classes/Win32.html +0 -115
  75. data/vendor/Console/doc/classes/Win32/Console.html +0 -650
  76. data/vendor/Console/doc/classes/Win32/Console.src/M000001.html +0 -31
  77. data/vendor/Console/doc/classes/Win32/Console.src/M000002.html +0 -23
  78. data/vendor/Console/doc/classes/Win32/Console.src/M000003.html +0 -23
  79. data/vendor/Console/doc/classes/Win32/Console.src/M000004.html +0 -27
  80. data/vendor/Console/doc/classes/Win32/Console.src/M000005.html +0 -23
  81. data/vendor/Console/doc/classes/Win32/Console.src/M000006.html +0 -28
  82. data/vendor/Console/doc/classes/Win32/Console.src/M000007.html +0 -23
  83. data/vendor/Console/doc/classes/Win32/Console.src/M000008.html +0 -24
  84. data/vendor/Console/doc/classes/Win32/Console.src/M000009.html +0 -44
  85. data/vendor/Console/doc/classes/Win32/Console.src/M000010.html +0 -23
  86. data/vendor/Console/doc/classes/Win32/Console.src/M000011.html +0 -33
  87. data/vendor/Console/doc/classes/Win32/Console.src/M000012.html +0 -26
  88. data/vendor/Console/doc/classes/Win32/Console.src/M000013.html +0 -27
  89. data/vendor/Console/doc/classes/Win32/Console.src/M000014.html +0 -28
  90. data/vendor/Console/doc/classes/Win32/Console.src/M000015.html +0 -23
  91. data/vendor/Console/doc/classes/Win32/Console.src/M000016.html +0 -23
  92. data/vendor/Console/doc/classes/Win32/Console.src/M000017.html +0 -23
  93. data/vendor/Console/doc/classes/Win32/Console.src/M000018.html +0 -29
  94. data/vendor/Console/doc/classes/Win32/Console.src/M000019.html +0 -23
  95. data/vendor/Console/doc/classes/Win32/Console.src/M000020.html +0 -23
  96. data/vendor/Console/doc/classes/Win32/Console.src/M000021.html +0 -28
  97. data/vendor/Console/doc/classes/Win32/Console.src/M000022.html +0 -23
  98. data/vendor/Console/doc/classes/Win32/Console.src/M000023.html +0 -28
  99. data/vendor/Console/doc/classes/Win32/Console.src/M000024.html +0 -35
  100. data/vendor/Console/doc/classes/Win32/Console.src/M000025.html +0 -28
  101. data/vendor/Console/doc/classes/Win32/Console.src/M000026.html +0 -28
  102. data/vendor/Console/doc/classes/Win32/Console.src/M000027.html +0 -28
  103. data/vendor/Console/doc/classes/Win32/Console.src/M000028.html +0 -31
  104. data/vendor/Console/doc/classes/Win32/Console.src/M000029.html +0 -23
  105. data/vendor/Console/doc/classes/Win32/Console.src/M000030.html +0 -23
  106. data/vendor/Console/doc/classes/Win32/Console.src/M000031.html +0 -23
  107. data/vendor/Console/doc/classes/Win32/Console.src/M000032.html +0 -27
  108. data/vendor/Console/doc/classes/Win32/Console.src/M000033.html +0 -27
  109. data/vendor/Console/doc/classes/Win32/Console.src/M000034.html +0 -25
  110. data/vendor/Console/doc/classes/Win32/Console/ANSI.html +0 -103
  111. data/vendor/Console/doc/classes/Win32/Console/ANSI/IO.html +0 -220
  112. data/vendor/Console/doc/classes/Win32/Console/ANSI/IO.src/M000035.html +0 -32
  113. data/vendor/Console/doc/classes/Win32/Console/ANSI/IO.src/M000036.html +0 -205
  114. data/vendor/Console/doc/classes/Win32/Console/ANSI/IO.src/M000037.html +0 -40
  115. data/vendor/Console/doc/classes/Win32/Console/ANSI/IO.src/M000038.html +0 -25
  116. data/vendor/Console/doc/classes/Win32/Console/API.html +0 -758
  117. data/vendor/Console/doc/classes/Win32/Console/API.src/M000039.html +0 -27
  118. data/vendor/Console/doc/classes/Win32/Console/API.src/M000040.html +0 -27
  119. data/vendor/Console/doc/classes/Win32/Console/API.src/M000041.html +0 -27
  120. data/vendor/Console/doc/classes/Win32/Console/API.src/M000042.html +0 -32
  121. data/vendor/Console/doc/classes/Win32/Console/API.src/M000043.html +0 -32
  122. data/vendor/Console/doc/classes/Win32/Console/API.src/M000044.html +0 -28
  123. data/vendor/Console/doc/classes/Win32/Console/API.src/M000045.html +0 -26
  124. data/vendor/Console/doc/classes/Win32/Console/API.src/M000046.html +0 -26
  125. data/vendor/Console/doc/classes/Win32/Console/API.src/M000047.html +0 -27
  126. data/vendor/Console/doc/classes/Win32/Console/API.src/M000048.html +0 -30
  127. data/vendor/Console/doc/classes/Win32/Console/API.src/M000049.html +0 -29
  128. data/vendor/Console/doc/classes/Win32/Console/API.src/M000050.html +0 -27
  129. data/vendor/Console/doc/classes/Win32/Console/API.src/M000051.html +0 -28
  130. data/vendor/Console/doc/classes/Win32/Console/API.src/M000052.html +0 -30
  131. data/vendor/Console/doc/classes/Win32/Console/API.src/M000053.html +0 -27
  132. data/vendor/Console/doc/classes/Win32/Console/API.src/M000054.html +0 -29
  133. data/vendor/Console/doc/classes/Win32/Console/API.src/M000055.html +0 -29
  134. data/vendor/Console/doc/classes/Win32/Console/API.src/M000056.html +0 -28
  135. data/vendor/Console/doc/classes/Win32/Console/API.src/M000057.html +0 -27
  136. data/vendor/Console/doc/classes/Win32/Console/API.src/M000058.html +0 -47
  137. data/vendor/Console/doc/classes/Win32/Console/API.src/M000059.html +0 -32
  138. data/vendor/Console/doc/classes/Win32/Console/API.src/M000060.html +0 -47
  139. data/vendor/Console/doc/classes/Win32/Console/API.src/M000061.html +0 -34
  140. data/vendor/Console/doc/classes/Win32/Console/API.src/M000062.html +0 -32
  141. data/vendor/Console/doc/classes/Win32/Console/API.src/M000063.html +0 -32
  142. data/vendor/Console/doc/classes/Win32/Console/API.src/M000064.html +0 -35
  143. data/vendor/Console/doc/classes/Win32/Console/API.src/M000065.html +0 -26
  144. data/vendor/Console/doc/classes/Win32/Console/API.src/M000066.html +0 -27
  145. data/vendor/Console/doc/classes/Win32/Console/API.src/M000067.html +0 -29
  146. data/vendor/Console/doc/classes/Win32/Console/API.src/M000068.html +0 -27
  147. data/vendor/Console/doc/classes/Win32/Console/API.src/M000069.html +0 -27
  148. data/vendor/Console/doc/classes/Win32/Console/API.src/M000070.html +0 -28
  149. data/vendor/Console/doc/classes/Win32/Console/API.src/M000071.html +0 -27
  150. data/vendor/Console/doc/classes/Win32/Console/API.src/M000072.html +0 -26
  151. data/vendor/Console/doc/classes/Win32/Console/API.src/M000073.html +0 -27
  152. data/vendor/Console/doc/classes/Win32/Console/API.src/M000074.html +0 -31
  153. data/vendor/Console/doc/classes/Win32/Console/API.src/M000075.html +0 -27
  154. data/vendor/Console/doc/classes/Win32/Console/API.src/M000076.html +0 -32
  155. data/vendor/Console/doc/classes/Win32/Console/API.src/M000077.html +0 -27
  156. data/vendor/Console/doc/classes/Win32/Console/API.src/M000078.html +0 -32
  157. data/vendor/Console/doc/classes/Win32/Console/API.src/M000079.html +0 -32
  158. data/vendor/Console/doc/classes/Win32/Console/API.src/M000080.html +0 -32
  159. data/vendor/Console/doc/classes/Win32/Console/Constants.html +0 -360
  160. data/vendor/Console/doc/created.rid +0 -1
  161. data/vendor/Console/doc/files/Console_ANSI_rdoc.html +0 -407
  162. data/vendor/Console/doc/files/Console_cpp.html +0 -104
  163. data/vendor/Console/doc/files/Console_rdoc.html +0 -964
  164. data/vendor/Console/doc/files/lib/Win32/Console/ANSI_rb.html +0 -123
  165. data/vendor/Console/doc/files/lib/Win32/Console_rb.html +0 -297
  166. data/vendor/Console/doc/fr_class_index.html +0 -32
  167. data/vendor/Console/doc/fr_file_index.html +0 -31
  168. data/vendor/Console/doc/fr_method_index.html +0 -106
  169. data/vendor/Console/doc/index.html +0 -24
  170. data/vendor/Console/doc/rdoc-style.css +0 -172
  171. data/vendor/Console/extconf.rb +0 -18
  172. data/vendor/Console/lib/Term/ansicolor.rb +0 -76
  173. data/vendor/Console/lib/Win32/Console.rb +0 -970
  174. data/vendor/Console/lib/Win32/Console/ANSI.rb +0 -305
  175. data/vendor/Console/test/test_cursor.rb +0 -9
  176. data/vendor/Console/test/test_mouse.rb +0 -6
  177. data/vendor/Console/test/test_readinput.rb +0 -62
  178. data/vendor/Console/test/test_readoutput.rb +0 -52
  179. data/vendor/Console/test/test_sendevent.rb +0 -17
  180. data/vendor/Console/test/test_title.rb +0 -14
  181. data/vendor/Console/test/test_write.rb +0 -36
@@ -1,26 +0,0 @@
1
-
2
- This file implements a port of Perl's Win32::Console
3
- and Win32::Console::ANSI modules.
4
-
5
- Win32::Console allows controling the windows command line terminal
6
- thru an OO-interface. This allows you to query the terminal (find
7
- its size, characters, attributes, etc). The interface and functionality
8
- should be identical to Perl's.
9
-
10
- Win32::Console consists of a Ruby .rb interface.
11
- For best performance, this library has been also ported to C.
12
- If you lack a C compiler, you can still use the class thru the ruby
13
- interface. If you can compile it, then the ruby interface is not
14
- used and the C functions are called instead.
15
-
16
- Win32::Console::ANSI is a class derived from IO that seamlessly
17
- translates ANSI Esc control character codes into Windows' command.exe
18
- or cmd.exe equivalents.
19
-
20
- These modules allow you to develop command-line tools that can take
21
- advantage of the unix terminal functions while still being portable.
22
- One of the most common uses for this is to allow to color your
23
- output.
24
- The modules are disted with Term/ansicolor.rb, too, as it is a nice
25
- thing to verify it is working properly.
26
-
@@ -1,115 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Win32</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <h1>Win32 <sup class="type-note">(Module)</sup></h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>In:</strong></td>
54
- <td>
55
- <a href="../files/lib\Win32/Console/ANSI_rb.html">
56
- lib\Win32/Console/ANSI.rb
57
- </a>
58
- <br />
59
- <a href="../files/lib\Win32/Console_rb.html">
60
- lib\Win32/Console.rb
61
- </a>
62
- <br />
63
- <a href="../files/Console_cpp.html">
64
- Console.cpp
65
- </a>
66
- <br />
67
- </td>
68
- </tr>
69
-
70
- </table>
71
- </div>
72
- <!-- banner header -->
73
-
74
- <div id="bodyContent">
75
-
76
-
77
- <div id="contextContent">
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
- <div id="class-list">
87
- <h2 class="section-bar">Classes and Modules</h2>
88
-
89
- Class <a href="Win32/Console.html" class="link">Win32::Console</a><br />
90
- &nbsp;&nbsp;::Module <a href="Win32/Console/ANSI.html" class="link">Win32::Console::ANSI</a><br />
91
- &nbsp;&nbsp;::&nbsp;&nbsp;::Class <a href="Win32/Console/ANSI/IO.html" class="link">Win32::Console::ANSI::IO</a><br />
92
- &nbsp;&nbsp;::Module <a href="Win32/Console/Constants.html" class="link">Win32::Console::Constants</a><br />
93
- &nbsp;&nbsp;::Class <a href="Win32/Console/API.html" class="link">Win32::Console::API</a><br />
94
-
95
- </div>
96
-
97
- </div>
98
-
99
-
100
-
101
- <!-- if includes -->
102
-
103
-
104
- <!-- if method_list -->
105
-
106
-
107
- </div>
108
-
109
-
110
- <div id="validator-badges">
111
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
112
- </div>
113
-
114
- </body>
115
- </html>
@@ -1,650 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Win32::Console</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <h1>Win32::Console <sup class="type-note">(Class)</sup></h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>In:</strong></td>
54
- <td>
55
- <a href="../../files/lib\Win32/Console/ANSI_rb.html">
56
- lib\Win32/Console/ANSI.rb
57
- </a>
58
- <br />
59
- <a href="../../files/lib\Win32/Console_rb.html">
60
- lib\Win32/Console.rb
61
- </a>
62
- <br />
63
- <a href="../../files/Console_cpp.html">
64
- Console.cpp
65
- </a>
66
- <br />
67
- </td>
68
- </tr>
69
-
70
- <tr class="top-aligned-row">
71
- <td><strong>Parent:</strong></td>
72
- <td>
73
- Object
74
- </td>
75
- </tr>
76
- </table>
77
- </div>
78
- <!-- banner header -->
79
-
80
- <div id="bodyContent">
81
-
82
-
83
- <div id="contextContent">
84
-
85
-
86
-
87
- <div id="method-list">
88
- <h2 class="section-bar">Methods</h2>
89
-
90
- <div class="name-list">
91
- <a href="#M000030">Alloc</a>&nbsp;&nbsp;
92
- <a href="#M000023">Attr</a>&nbsp;&nbsp;
93
- <a href="#M000028">Cls</a>&nbsp;&nbsp;
94
- <a href="#M000009">Cursor</a>&nbsp;&nbsp;
95
- <a href="#M000002">Display</a>&nbsp;&nbsp;
96
- <a href="#M000026">FillAttr</a>&nbsp;&nbsp;
97
- <a href="#M000027">FillChar</a>&nbsp;&nbsp;
98
- <a href="#M000017">Flush</a>&nbsp;&nbsp;
99
- <a href="#M000029">Free</a>&nbsp;&nbsp;
100
- <a href="#M000034">GenerateCtrlEvent</a>&nbsp;&nbsp;
101
- <a href="#M000016">GetEvents</a>&nbsp;&nbsp;
102
- <a href="#M000015">Info</a>&nbsp;&nbsp;
103
- <a href="#M000019">Input</a>&nbsp;&nbsp;
104
- <a href="#M000032">InputCP</a>&nbsp;&nbsp;
105
- <a href="#M000018">InputChar</a>&nbsp;&nbsp;
106
- <a href="#M000014">MaxWindow</a>&nbsp;&nbsp;
107
- <a href="#M000021">Mode</a>&nbsp;&nbsp;
108
- <a href="#M000031">MouseButtons</a>&nbsp;&nbsp;
109
- <a href="#M000033">OutputCP</a>&nbsp;&nbsp;
110
- <a href="#M000020">PeekInput</a>&nbsp;&nbsp;
111
- <a href="#M000008">ReadAttr</a>&nbsp;&nbsp;
112
- <a href="#M000006">ReadChar</a>&nbsp;&nbsp;
113
- <a href="#M000011">ReadRect</a>&nbsp;&nbsp;
114
- <a href="#M000013">Scroll</a>&nbsp;&nbsp;
115
- <a href="#M000003">Select</a>&nbsp;&nbsp;
116
- <a href="#M000024">Size</a>&nbsp;&nbsp;
117
- <a href="#M000004">Title</a>&nbsp;&nbsp;
118
- <a href="#M000025">Window</a>&nbsp;&nbsp;
119
- <a href="#M000010">Write</a>&nbsp;&nbsp;
120
- <a href="#M000007">WriteAttr</a>&nbsp;&nbsp;
121
- <a href="#M000005">WriteChar</a>&nbsp;&nbsp;
122
- <a href="#M000022">WriteInput</a>&nbsp;&nbsp;
123
- <a href="#M000012">WriteRect</a>&nbsp;&nbsp;
124
- <a href="#M000001">new</a>&nbsp;&nbsp;
125
- </div>
126
- </div>
127
-
128
-
129
-
130
-
131
-
132
- <div id="class-list">
133
- <h2 class="section-bar">Classes and Modules</h2>
134
-
135
- Module <a href="Console/ANSI.html" class="link">Win32::Console::ANSI</a><br />
136
- &nbsp;&nbsp;::Class <a href="Console/ANSI/IO.html" class="link">Win32::Console::ANSI::IO</a><br />
137
- Module <a href="Console/Constants.html" class="link">Win32::Console::Constants</a><br />
138
- Class <a href="Console/API.html" class="link">Win32::Console::API</a><br />
139
-
140
- </div>
141
-
142
- </div>
143
-
144
-
145
-
146
- <!-- if includes -->
147
- <div id="includes">
148
- <h2 class="section-bar">Included Modules</h2>
149
-
150
- <div id="includes-list">
151
- <span class="include-name"><a href="Console/Constants.html">Win32::Console::Constants</a></span>
152
- </div>
153
- </div>
154
-
155
-
156
- <!-- if method_list -->
157
- <div id="methods">
158
- <h2 class="section-bar">Public Class methods</h2>
159
-
160
- <div id="method-M000030" class="method-detail">
161
- <a name="M000030"></a>
162
-
163
- <div class="method-heading">
164
- <a href="Console.src/M000030.html" target="Code" class="method-signature"
165
- onclick="popupCode('Console.src/M000030.html');return false;">
166
- <span class="method-name">Alloc</span><span class="method-args">()</span>
167
- </a>
168
- </div>
169
-
170
- <div class="method-description">
171
- </div>
172
- </div>
173
-
174
- <div id="method-M000029" class="method-detail">
175
- <a name="M000029"></a>
176
-
177
- <div class="method-heading">
178
- <a href="Console.src/M000029.html" target="Code" class="method-signature"
179
- onclick="popupCode('Console.src/M000029.html');return false;">
180
- <span class="method-name">Free</span><span class="method-args">()</span>
181
- </a>
182
- </div>
183
-
184
- <div class="method-description">
185
- </div>
186
- </div>
187
-
188
- <div id="method-M000034" class="method-detail">
189
- <a name="M000034"></a>
190
-
191
- <div class="method-heading">
192
- <a href="Console.src/M000034.html" target="Code" class="method-signature"
193
- onclick="popupCode('Console.src/M000034.html');return false;">
194
- <span class="method-name">GenerateCtrlEvent</span><span class="method-args">( type=nil, pid=nil )</span>
195
- </a>
196
- </div>
197
-
198
- <div class="method-description">
199
- </div>
200
- </div>
201
-
202
- <div id="method-M000032" class="method-detail">
203
- <a name="M000032"></a>
204
-
205
- <div class="method-heading">
206
- <a href="Console.src/M000032.html" target="Code" class="method-signature"
207
- onclick="popupCode('Console.src/M000032.html');return false;">
208
- <span class="method-name">InputCP</span><span class="method-args">(codepage=nil)</span>
209
- </a>
210
- </div>
211
-
212
- <div class="method-description">
213
- </div>
214
- </div>
215
-
216
- <div id="method-M000031" class="method-detail">
217
- <a name="M000031"></a>
218
-
219
- <div class="method-heading">
220
- <a href="Console.src/M000031.html" target="Code" class="method-signature"
221
- onclick="popupCode('Console.src/M000031.html');return false;">
222
- <span class="method-name">MouseButtons</span><span class="method-args">()</span>
223
- </a>
224
- </div>
225
-
226
- <div class="method-description">
227
- </div>
228
- </div>
229
-
230
- <div id="method-M000033" class="method-detail">
231
- <a name="M000033"></a>
232
-
233
- <div class="method-heading">
234
- <a href="Console.src/M000033.html" target="Code" class="method-signature"
235
- onclick="popupCode('Console.src/M000033.html');return false;">
236
- <span class="method-name">OutputCP</span><span class="method-args">(codepage=nil)</span>
237
- </a>
238
- </div>
239
-
240
- <div class="method-description">
241
- </div>
242
- </div>
243
-
244
- <div id="method-M000001" class="method-detail">
245
- <a name="M000001"></a>
246
-
247
- <div class="method-heading">
248
- <a href="Console.src/M000001.html" target="Code" class="method-signature"
249
- onclick="popupCode('Console.src/M000001.html');return false;">
250
- <span class="method-name">new</span><span class="method-args">( t = nil )</span>
251
- </a>
252
- </div>
253
-
254
- <div class="method-description">
255
- </div>
256
- </div>
257
-
258
- <h2 class="section-bar">Public Instance methods</h2>
259
-
260
- <div id="method-M000023" class="method-detail">
261
- <a name="M000023"></a>
262
-
263
- <div class="method-heading">
264
- <a href="Console.src/M000023.html" target="Code" class="method-signature"
265
- onclick="popupCode('Console.src/M000023.html');return false;">
266
- <span class="method-name">Attr</span><span class="method-args">(*attr)</span>
267
- </a>
268
- </div>
269
-
270
- <div class="method-description">
271
- </div>
272
- </div>
273
-
274
- <div id="method-M000028" class="method-detail">
275
- <a name="M000028"></a>
276
-
277
- <div class="method-heading">
278
- <a href="Console.src/M000028.html" target="Code" class="method-signature"
279
- onclick="popupCode('Console.src/M000028.html');return false;">
280
- <span class="method-name">Cls</span><span class="method-args">()</span>
281
- </a>
282
- </div>
283
-
284
- <div class="method-description">
285
- </div>
286
- </div>
287
-
288
- <div id="method-M000009" class="method-detail">
289
- <a name="M000009"></a>
290
-
291
- <div class="method-heading">
292
- <a href="Console.src/M000009.html" target="Code" class="method-signature"
293
- onclick="popupCode('Console.src/M000009.html');return false;">
294
- <span class="method-name">Cursor</span><span class="method-args">(*t)</span>
295
- </a>
296
- </div>
297
-
298
- <div class="method-description">
299
- </div>
300
- </div>
301
-
302
- <div id="method-M000002" class="method-detail">
303
- <a name="M000002"></a>
304
-
305
- <div class="method-heading">
306
- <a href="Console.src/M000002.html" target="Code" class="method-signature"
307
- onclick="popupCode('Console.src/M000002.html');return false;">
308
- <span class="method-name">Display</span><span class="method-args">()</span>
309
- </a>
310
- </div>
311
-
312
- <div class="method-description">
313
- </div>
314
- </div>
315
-
316
- <div id="method-M000026" class="method-detail">
317
- <a name="M000026"></a>
318
-
319
- <div class="method-heading">
320
- <a href="Console.src/M000026.html" target="Code" class="method-signature"
321
- onclick="popupCode('Console.src/M000026.html');return false;">
322
- <span class="method-name">FillAttr</span><span class="method-args">(attr, number = 1, col = -1, row = -1)</span>
323
- </a>
324
- </div>
325
-
326
- <div class="method-description">
327
- </div>
328
- </div>
329
-
330
- <div id="method-M000027" class="method-detail">
331
- <a name="M000027"></a>
332
-
333
- <div class="method-heading">
334
- <a href="Console.src/M000027.html" target="Code" class="method-signature"
335
- onclick="popupCode('Console.src/M000027.html');return false;">
336
- <span class="method-name">FillChar</span><span class="method-args">(char, number, col = -1, row = -1)</span>
337
- </a>
338
- </div>
339
-
340
- <div class="method-description">
341
- </div>
342
- </div>
343
-
344
- <div id="method-M000017" class="method-detail">
345
- <a name="M000017"></a>
346
-
347
- <div class="method-heading">
348
- <a href="Console.src/M000017.html" target="Code" class="method-signature"
349
- onclick="popupCode('Console.src/M000017.html');return false;">
350
- <span class="method-name">Flush</span><span class="method-args">()</span>
351
- </a>
352
- </div>
353
-
354
- <div class="method-description">
355
- </div>
356
- </div>
357
-
358
- <div id="method-M000016" class="method-detail">
359
- <a name="M000016"></a>
360
-
361
- <div class="method-heading">
362
- <a href="Console.src/M000016.html" target="Code" class="method-signature"
363
- onclick="popupCode('Console.src/M000016.html');return false;">
364
- <span class="method-name">GetEvents</span><span class="method-args">()</span>
365
- </a>
366
- </div>
367
-
368
- <div class="method-description">
369
- </div>
370
- </div>
371
-
372
- <div id="method-M000015" class="method-detail">
373
- <a name="M000015"></a>
374
-
375
- <div class="method-heading">
376
- <a href="Console.src/M000015.html" target="Code" class="method-signature"
377
- onclick="popupCode('Console.src/M000015.html');return false;">
378
- <span class="method-name">Info</span><span class="method-args">()</span>
379
- </a>
380
- </div>
381
-
382
- <div class="method-description">
383
- </div>
384
- </div>
385
-
386
- <div id="method-M000019" class="method-detail">
387
- <a name="M000019"></a>
388
-
389
- <div class="method-heading">
390
- <a href="Console.src/M000019.html" target="Code" class="method-signature"
391
- onclick="popupCode('Console.src/M000019.html');return false;">
392
- <span class="method-name">Input</span><span class="method-args">()</span>
393
- </a>
394
- </div>
395
-
396
- <div class="method-description">
397
- </div>
398
- </div>
399
-
400
- <div id="method-M000018" class="method-detail">
401
- <a name="M000018"></a>
402
-
403
- <div class="method-heading">
404
- <a href="Console.src/M000018.html" target="Code" class="method-signature"
405
- onclick="popupCode('Console.src/M000018.html');return false;">
406
- <span class="method-name">InputChar</span><span class="method-args">(number = nil)</span>
407
- </a>
408
- </div>
409
-
410
- <div class="method-description">
411
- </div>
412
- </div>
413
-
414
- <div id="method-M000014" class="method-detail">
415
- <a name="M000014"></a>
416
-
417
- <div class="method-heading">
418
- <a href="Console.src/M000014.html" target="Code" class="method-signature"
419
- onclick="popupCode('Console.src/M000014.html');return false;">
420
- <span class="method-name">MaxWindow</span><span class="method-args">(flag = nil)</span>
421
- </a>
422
- </div>
423
-
424
- <div class="method-description">
425
- </div>
426
- </div>
427
-
428
- <div id="method-M000021" class="method-detail">
429
- <a name="M000021"></a>
430
-
431
- <div class="method-heading">
432
- <a href="Console.src/M000021.html" target="Code" class="method-signature"
433
- onclick="popupCode('Console.src/M000021.html');return false;">
434
- <span class="method-name">Mode</span><span class="method-args">(mode = nil)</span>
435
- </a>
436
- </div>
437
-
438
- <div class="method-description">
439
- </div>
440
- </div>
441
-
442
- <div id="method-M000020" class="method-detail">
443
- <a name="M000020"></a>
444
-
445
- <div class="method-heading">
446
- <a href="Console.src/M000020.html" target="Code" class="method-signature"
447
- onclick="popupCode('Console.src/M000020.html');return false;">
448
- <span class="method-name">PeekInput</span><span class="method-args">()</span>
449
- </a>
450
- </div>
451
-
452
- <div class="method-description">
453
- </div>
454
- </div>
455
-
456
- <div id="method-M000008" class="method-detail">
457
- <a name="M000008"></a>
458
-
459
- <div class="method-heading">
460
- <a href="Console.src/M000008.html" target="Code" class="method-signature"
461
- onclick="popupCode('Console.src/M000008.html');return false;">
462
- <span class="method-name">ReadAttr</span><span class="method-args">(size, col, row)</span>
463
- </a>
464
- </div>
465
-
466
- <div class="method-description">
467
- </div>
468
- </div>
469
-
470
- <div id="method-M000006" class="method-detail">
471
- <a name="M000006"></a>
472
-
473
- <div class="method-heading">
474
- <a href="Console.src/M000006.html" target="Code" class="method-signature"
475
- onclick="popupCode('Console.src/M000006.html');return false;">
476
- <span class="method-name">ReadChar</span><span class="method-args">(size, col, row)</span>
477
- </a>
478
- </div>
479
-
480
- <div class="method-description">
481
- </div>
482
- </div>
483
-
484
- <div id="method-M000011" class="method-detail">
485
- <a name="M000011"></a>
486
-
487
- <div class="method-heading">
488
- <a href="Console.src/M000011.html" target="Code" class="method-signature"
489
- onclick="popupCode('Console.src/M000011.html');return false;">
490
- <span class="method-name">ReadRect</span><span class="method-args">( left, top, right, bottom )</span>
491
- </a>
492
- </div>
493
-
494
- <div class="method-description">
495
- </div>
496
- </div>
497
-
498
- <div id="method-M000013" class="method-detail">
499
- <a name="M000013"></a>
500
-
501
- <div class="method-heading">
502
- <a href="Console.src/M000013.html" target="Code" class="method-signature"
503
- onclick="popupCode('Console.src/M000013.html');return false;">
504
- <span class="method-name">Scroll</span><span class="method-args">( left1, top1, right1, bottom1, col, row, char, attr, left2, top2, right2, bottom2 )</span>
505
- </a>
506
- </div>
507
-
508
- <div class="method-description">
509
- </div>
510
- </div>
511
-
512
- <div id="method-M000003" class="method-detail">
513
- <a name="M000003"></a>
514
-
515
- <div class="method-heading">
516
- <a href="Console.src/M000003.html" target="Code" class="method-signature"
517
- onclick="popupCode('Console.src/M000003.html');return false;">
518
- <span class="method-name">Select</span><span class="method-args">(type)</span>
519
- </a>
520
- </div>
521
-
522
- <div class="method-description">
523
- </div>
524
- </div>
525
-
526
- <div id="method-M000024" class="method-detail">
527
- <a name="M000024"></a>
528
-
529
- <div class="method-heading">
530
- <a href="Console.src/M000024.html" target="Code" class="method-signature"
531
- onclick="popupCode('Console.src/M000024.html');return false;">
532
- <span class="method-name">Size</span><span class="method-args">(*t)</span>
533
- </a>
534
- </div>
535
-
536
- <div class="method-description">
537
- </div>
538
- </div>
539
-
540
- <div id="method-M000004" class="method-detail">
541
- <a name="M000004"></a>
542
-
543
- <div class="method-heading">
544
- <a href="Console.src/M000004.html" target="Code" class="method-signature"
545
- onclick="popupCode('Console.src/M000004.html');return false;">
546
- <span class="method-name">Title</span><span class="method-args">(title = nil)</span>
547
- </a>
548
- </div>
549
-
550
- <div class="method-description">
551
- </div>
552
- </div>
553
-
554
- <div id="method-M000025" class="method-detail">
555
- <a name="M000025"></a>
556
-
557
- <div class="method-heading">
558
- <a href="Console.src/M000025.html" target="Code" class="method-signature"
559
- onclick="popupCode('Console.src/M000025.html');return false;">
560
- <span class="method-name">Window</span><span class="method-args">(*t)</span>
561
- </a>
562
- </div>
563
-
564
- <div class="method-description">
565
- </div>
566
- </div>
567
-
568
- <div id="method-M000010" class="method-detail">
569
- <a name="M000010"></a>
570
-
571
- <div class="method-heading">
572
- <a href="Console.src/M000010.html" target="Code" class="method-signature"
573
- onclick="popupCode('Console.src/M000010.html');return false;">
574
- <span class="method-name">Write</span><span class="method-args">(s)</span>
575
- </a>
576
- </div>
577
-
578
- <div class="method-description">
579
- </div>
580
- </div>
581
-
582
- <div id="method-M000007" class="method-detail">
583
- <a name="M000007"></a>
584
-
585
- <div class="method-heading">
586
- <a href="Console.src/M000007.html" target="Code" class="method-signature"
587
- onclick="popupCode('Console.src/M000007.html');return false;">
588
- <span class="method-name">WriteAttr</span><span class="method-args">(attr, col, row)</span>
589
- </a>
590
- </div>
591
-
592
- <div class="method-description">
593
- </div>
594
- </div>
595
-
596
- <div id="method-M000005" class="method-detail">
597
- <a name="M000005"></a>
598
-
599
- <div class="method-heading">
600
- <a href="Console.src/M000005.html" target="Code" class="method-signature"
601
- onclick="popupCode('Console.src/M000005.html');return false;">
602
- <span class="method-name">WriteChar</span><span class="method-args">(s, col, row)</span>
603
- </a>
604
- </div>
605
-
606
- <div class="method-description">
607
- </div>
608
- </div>
609
-
610
- <div id="method-M000022" class="method-detail">
611
- <a name="M000022"></a>
612
-
613
- <div class="method-heading">
614
- <a href="Console.src/M000022.html" target="Code" class="method-signature"
615
- onclick="popupCode('Console.src/M000022.html');return false;">
616
- <span class="method-name">WriteInput</span><span class="method-args">(*t)</span>
617
- </a>
618
- </div>
619
-
620
- <div class="method-description">
621
- </div>
622
- </div>
623
-
624
- <div id="method-M000012" class="method-detail">
625
- <a name="M000012"></a>
626
-
627
- <div class="method-heading">
628
- <a href="Console.src/M000012.html" target="Code" class="method-signature"
629
- onclick="popupCode('Console.src/M000012.html');return false;">
630
- <span class="method-name">WriteRect</span><span class="method-args">( buffer, left, top, right, bottom )</span>
631
- </a>
632
- </div>
633
-
634
- <div class="method-description">
635
- </div>
636
- </div>
637
-
638
-
639
- </div>
640
-
641
-
642
- </div>
643
-
644
-
645
- <div id="validator-badges">
646
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
647
- </div>
648
-
649
- </body>
650
- </html>