scriptty 0.5.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. data/.gitattributes +1 -0
  2. data/.gitignore +3 -0
  3. data/COPYING +674 -0
  4. data/COPYING.LESSER +165 -0
  5. data/README.rdoc +31 -0
  6. data/Rakefile +49 -0
  7. data/VERSION +1 -0
  8. data/bin/scriptty-capture +5 -0
  9. data/bin/scriptty-dump-screens +4 -0
  10. data/bin/scriptty-replay +5 -0
  11. data/bin/scriptty-term-test +4 -0
  12. data/bin/scriptty-transcript-parse +4 -0
  13. data/examples/captures/xterm-overlong-line-prompt.bin +9 -0
  14. data/examples/captures/xterm-vim-session.bin +262 -0
  15. data/examples/demo-capture.rb +19 -0
  16. data/examples/telnet-nego.rb +55 -0
  17. data/lib/scriptty/apps/capture_app/console.rb +104 -0
  18. data/lib/scriptty/apps/capture_app/password_prompt.rb +65 -0
  19. data/lib/scriptty/apps/capture_app.rb +213 -0
  20. data/lib/scriptty/apps/dump_screens_app.rb +166 -0
  21. data/lib/scriptty/apps/replay_app.rb +229 -0
  22. data/lib/scriptty/apps/term_test_app.rb +124 -0
  23. data/lib/scriptty/apps/transcript_parse_app.rb +143 -0
  24. data/lib/scriptty/cursor.rb +39 -0
  25. data/lib/scriptty/exception.rb +38 -0
  26. data/lib/scriptty/expect.rb +392 -0
  27. data/lib/scriptty/multiline_buffer.rb +192 -0
  28. data/lib/scriptty/net/event_loop.rb +610 -0
  29. data/lib/scriptty/screen_pattern/generator.rb +398 -0
  30. data/lib/scriptty/screen_pattern/parser.rb +558 -0
  31. data/lib/scriptty/screen_pattern.rb +104 -0
  32. data/lib/scriptty/term/dg410/dg410-client-escapes.txt +37 -0
  33. data/lib/scriptty/term/dg410/dg410-escapes.txt +82 -0
  34. data/lib/scriptty/term/dg410/parser.rb +162 -0
  35. data/lib/scriptty/term/dg410.rb +489 -0
  36. data/lib/scriptty/term/xterm/xterm-escapes.txt +73 -0
  37. data/lib/scriptty/term/xterm.rb +661 -0
  38. data/lib/scriptty/term.rb +40 -0
  39. data/lib/scriptty/util/fsm/definition_parser.rb +111 -0
  40. data/lib/scriptty/util/fsm/scriptty_fsm_definition.treetop +189 -0
  41. data/lib/scriptty/util/fsm.rb +177 -0
  42. data/lib/scriptty/util/transcript/reader.rb +96 -0
  43. data/lib/scriptty/util/transcript/writer.rb +111 -0
  44. data/test/apps/capture_app_test.rb +123 -0
  45. data/test/apps/transcript_parse_app_test.rb +118 -0
  46. data/test/cursor_test.rb +51 -0
  47. data/test/fsm_definition_parser_test.rb +220 -0
  48. data/test/fsm_test.rb +322 -0
  49. data/test/multiline_buffer_test.rb +275 -0
  50. data/test/net/event_loop_test.rb +402 -0
  51. data/test/screen_pattern/generator_test.rb +408 -0
  52. data/test/screen_pattern/parser_test/explicit_cursor_pattern.txt +14 -0
  53. data/test/screen_pattern/parser_test/explicit_fields.txt +22 -0
  54. data/test/screen_pattern/parser_test/multiple_patterns.txt +42 -0
  55. data/test/screen_pattern/parser_test/simple_pattern.txt +14 -0
  56. data/test/screen_pattern/parser_test/truncated_heredoc.txt +12 -0
  57. data/test/screen_pattern/parser_test/utf16bebom_pattern.bin +0 -0
  58. data/test/screen_pattern/parser_test/utf16lebom_pattern.bin +0 -0
  59. data/test/screen_pattern/parser_test/utf8_pattern.bin +14 -0
  60. data/test/screen_pattern/parser_test/utf8_unix_pattern.bin +14 -0
  61. data/test/screen_pattern/parser_test/utf8bom_pattern.bin +14 -0
  62. data/test/screen_pattern/parser_test.rb +266 -0
  63. data/test/term/dg410/parser_test.rb +139 -0
  64. data/test/term/xterm_test.rb +327 -0
  65. data/test/test_helper.rb +3 -0
  66. data/test/util/transcript/reader_test.rb +131 -0
  67. data/test/util/transcript/writer_test.rb +126 -0
  68. data/test.watchr +29 -0
  69. metadata +175 -0
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: scriptty
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 5
8
+ - 0
9
+ version: 0.5.0
10
+ platform: java
11
+ authors:
12
+ - Dwayne Litzenberger
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-03-23 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: treetop
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: multibyte
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
42
+ type: :runtime
43
+ version_requirements: *id002
44
+ description: |
45
+ ScripTTY is a JRuby application and library that lets you control full-screen
46
+ terminal applications using an expect-like scripting language and a full-screen
47
+ matching engine.
48
+
49
+ email: dlitz@infonium.ca
50
+ executables:
51
+ - scriptty-capture
52
+ - scriptty-dump-screens
53
+ - scriptty-replay
54
+ - scriptty-term-test
55
+ - scriptty-transcript-parse
56
+ extensions: []
57
+
58
+ extra_rdoc_files:
59
+ - README.rdoc
60
+ files:
61
+ - .gitattributes
62
+ - .gitignore
63
+ - COPYING
64
+ - COPYING.LESSER
65
+ - README.rdoc
66
+ - Rakefile
67
+ - VERSION
68
+ - bin/scriptty-capture
69
+ - bin/scriptty-dump-screens
70
+ - bin/scriptty-replay
71
+ - bin/scriptty-term-test
72
+ - bin/scriptty-transcript-parse
73
+ - examples/captures/xterm-overlong-line-prompt.bin
74
+ - examples/captures/xterm-vim-session.bin
75
+ - examples/demo-capture.rb
76
+ - examples/telnet-nego.rb
77
+ - lib/scriptty/apps/capture_app.rb
78
+ - lib/scriptty/apps/capture_app/console.rb
79
+ - lib/scriptty/apps/capture_app/password_prompt.rb
80
+ - lib/scriptty/apps/dump_screens_app.rb
81
+ - lib/scriptty/apps/replay_app.rb
82
+ - lib/scriptty/apps/term_test_app.rb
83
+ - lib/scriptty/apps/transcript_parse_app.rb
84
+ - lib/scriptty/cursor.rb
85
+ - lib/scriptty/exception.rb
86
+ - lib/scriptty/expect.rb
87
+ - lib/scriptty/multiline_buffer.rb
88
+ - lib/scriptty/net/event_loop.rb
89
+ - lib/scriptty/screen_pattern.rb
90
+ - lib/scriptty/screen_pattern/generator.rb
91
+ - lib/scriptty/screen_pattern/parser.rb
92
+ - lib/scriptty/term.rb
93
+ - lib/scriptty/term/dg410.rb
94
+ - lib/scriptty/term/dg410/dg410-client-escapes.txt
95
+ - lib/scriptty/term/dg410/dg410-escapes.txt
96
+ - lib/scriptty/term/dg410/parser.rb
97
+ - lib/scriptty/term/xterm.rb
98
+ - lib/scriptty/term/xterm/xterm-escapes.txt
99
+ - lib/scriptty/util/fsm.rb
100
+ - lib/scriptty/util/fsm/definition_parser.rb
101
+ - lib/scriptty/util/fsm/scriptty_fsm_definition.treetop
102
+ - lib/scriptty/util/transcript/reader.rb
103
+ - lib/scriptty/util/transcript/writer.rb
104
+ - test.watchr
105
+ - test/apps/capture_app_test.rb
106
+ - test/apps/transcript_parse_app_test.rb
107
+ - test/cursor_test.rb
108
+ - test/fsm_definition_parser_test.rb
109
+ - test/fsm_test.rb
110
+ - test/multiline_buffer_test.rb
111
+ - test/net/event_loop_test.rb
112
+ - test/screen_pattern/generator_test.rb
113
+ - test/screen_pattern/parser_test.rb
114
+ - test/screen_pattern/parser_test/explicit_cursor_pattern.txt
115
+ - test/screen_pattern/parser_test/explicit_fields.txt
116
+ - test/screen_pattern/parser_test/multiple_patterns.txt
117
+ - test/screen_pattern/parser_test/simple_pattern.txt
118
+ - test/screen_pattern/parser_test/truncated_heredoc.txt
119
+ - test/screen_pattern/parser_test/utf16bebom_pattern.bin
120
+ - test/screen_pattern/parser_test/utf16lebom_pattern.bin
121
+ - test/screen_pattern/parser_test/utf8_pattern.bin
122
+ - test/screen_pattern/parser_test/utf8_unix_pattern.bin
123
+ - test/screen_pattern/parser_test/utf8bom_pattern.bin
124
+ - test/term/dg410/parser_test.rb
125
+ - test/term/xterm_test.rb
126
+ - test/test_helper.rb
127
+ - test/util/transcript/reader_test.rb
128
+ - test/util/transcript/writer_test.rb
129
+ has_rdoc: true
130
+ homepage: http://github.com/infonium/scriptty
131
+ licenses: []
132
+
133
+ post_install_message:
134
+ rdoc_options:
135
+ - --charset=UTF-8
136
+ require_paths:
137
+ - lib
138
+ required_ruby_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ segments:
143
+ - 0
144
+ version: "0"
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ segments:
150
+ - 0
151
+ version: "0"
152
+ requirements: []
153
+
154
+ rubyforge_project:
155
+ rubygems_version: 1.3.6
156
+ signing_key:
157
+ specification_version: 3
158
+ summary: write expect-like script to control full-screen terminal-based applications
159
+ test_files:
160
+ - test/apps/capture_app_test.rb
161
+ - test/apps/transcript_parse_app_test.rb
162
+ - test/cursor_test.rb
163
+ - test/fsm_definition_parser_test.rb
164
+ - test/fsm_test.rb
165
+ - test/multiline_buffer_test.rb
166
+ - test/net/event_loop_test.rb
167
+ - test/screen_pattern/generator_test.rb
168
+ - test/screen_pattern/parser_test.rb
169
+ - test/term/dg410/parser_test.rb
170
+ - test/term/xterm_test.rb
171
+ - test/test_helper.rb
172
+ - test/util/transcript/reader_test.rb
173
+ - test/util/transcript/writer_test.rb
174
+ - examples/demo-capture.rb
175
+ - examples/telnet-nego.rb