rbcurse 1.4.0 → 1.4.1.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/NOTES +68 -0
- data/README.markdown +73 -330
- data/TODO2.txt +2 -2
- data/VERSION +1 -1
- data/examples/abasiclist.rb +8 -2
- data/examples/alpmenu.rb +1 -1
- data/examples/app.rb +1 -24
- data/examples/appdirtree.rb +1 -1
- data/examples/appemail.rb +8 -14
- data/examples/appemaillb.rb +2 -2
- data/examples/appgcompose.rb +7 -5
- data/examples/common/file.rb +40 -0
- data/examples/{rmail.rb → common/rmail.rb} +0 -0
- data/examples/data/README.markdown +9 -0
- data/examples/data/brew.txt +38 -0
- data/examples/data/color.2 +37 -0
- data/examples/data/gemlist.txt +60 -0
- data/examples/data/lotr.txt +12 -0
- data/examples/data/ports.txt +136 -0
- data/examples/data/tasks.txt +27 -0
- data/examples/{todocsv.csv → data/todocsv.csv} +0 -0
- data/examples/data/unix1.txt +21 -0
- data/examples/data/unix2.txt +11 -0
- data/examples/dbdemo.rb +49 -14
- data/examples/{appgmail.rb → deprecated/appgmail.rb} +1 -1
- data/examples/{splitp.rb → deprecated/splitp.rb} +0 -0
- data/examples/{testscrolllb.rb → deprecated/testscrolllb.rb} +0 -0
- data/examples/{testscrollp.rb → deprecated/testscrollp.rb} +0 -0
- data/examples/{testscrollta.rb → deprecated/testscrollta.rb} +0 -0
- data/examples/{testscrolltable.rb → deprecated/testscrolltable.rb} +0 -0
- data/examples/{testsplit.rb → deprecated/testsplit.rb} +0 -0
- data/examples/{testsplit2.rb → deprecated/testsplit2.rb} +0 -0
- data/examples/{testsplit3.rb → deprecated/testsplit3.rb} +0 -0
- data/examples/{testsplit3_1.rb → deprecated/testsplit3_1.rb} +0 -0
- data/examples/{testsplit3a.rb → deprecated/testsplit3a.rb} +0 -0
- data/examples/{testsplit3b.rb → deprecated/testsplit3b.rb} +0 -0
- data/examples/{testsplitta.rb → deprecated/testsplitta.rb} +0 -0
- data/examples/{testsplittv.rb → deprecated/testsplittv.rb} +0 -0
- data/examples/{testsplittvv.rb → deprecated/testsplittvv.rb} +0 -0
- data/examples/{testtpane.rb → deprecated/testtpane.rb} +0 -0
- data/examples/{testtpane2.rb → deprecated/testtpane2.rb} +0 -0
- data/examples/{testtpanetable.rb → deprecated/testtpanetable.rb} +0 -0
- data/examples/dirtree.rb +17 -7
- data/examples/experimental/resultsetdemo.rb +280 -0
- data/examples/experimental/testmform.rb +35 -0
- data/examples/{testscroller.rb → experimental/testscroller.rb} +1 -19
- data/examples/experimental/teststackflow.rb +111 -0
- data/examples/menu1.rb +1 -0
- data/examples/multispl.rb +4 -4
- data/examples/newmessagebox.rb +130 -0
- data/examples/newtabbedwindow.rb +100 -0
- data/examples/newtesttabp.rb +0 -3
- data/examples/qdfilechooser.rb +0 -3
- data/examples/rfe.rb +134 -18
- data/examples/rfe_renderer.rb +48 -2
- data/examples/sqlc.rb +2 -1
- data/examples/sqlm.rb +0 -2
- data/examples/table1.rb +1 -7
- data/examples/term2.rb +4 -1
- data/examples/test1.rb +0 -5
- data/examples/test2.rb +42 -31
- data/examples/testapp2.rb +8 -1
- data/examples/testchars.rb +0 -4
- data/examples/testcombo.rb +5 -9
- data/examples/testkeypress.rb +0 -3
- data/examples/testmenu.rb +0 -4
- data/examples/testmulticomp.rb +3 -5
- data/examples/testmulticontainer.rb +94 -0
- data/examples/testtable.rb +0 -5
- data/examples/testtabp.rb +16 -18
- data/examples/testtodo.rb +1 -5
- data/examples/testwsshortcuts.rb +64 -0
- data/examples/testwsshortcuts2.rb +126 -0
- data/examples/viewtodo.rb +1 -4
- data/lib/rbcurse.rb +1 -1
- data/lib/rbcurse/app.rb +92 -69
- data/lib/rbcurse/applicationheader.rb +46 -6
- data/lib/rbcurse/celleditor.rb +1 -9
- data/lib/rbcurse/comboboxcellrenderer.rb +0 -4
- data/lib/rbcurse/common/ansiparser.rb +117 -0
- data/{examples → lib/rbcurse/common}/appmethods.rb +25 -0
- data/lib/rbcurse/common/basestack.rb +407 -0
- data/lib/rbcurse/common/bordertitle.rb +41 -0
- data/lib/rbcurse/common/chunk.rb +177 -0
- data/lib/rbcurse/common/colorparser.rb +71 -0
- data/lib/rbcurse/common/keydefs.rb +30 -0
- data/lib/rbcurse/common/widgetshortcuts.rb +302 -0
- data/lib/rbcurse/deprecated/README.markdown +12 -0
- data/lib/rbcurse/{rscrollpane.rb → deprecated/rscrollpane.rb} +0 -0
- data/lib/rbcurse/{rsplitpane.rb → deprecated/rsplitpane.rb} +0 -0
- data/lib/rbcurse/{rsplitpane2.rb → deprecated/rsplitpane2.rb} +0 -0
- data/lib/rbcurse/{rviewport.rb → deprecated/rviewport.rb} +0 -0
- data/lib/rbcurse/experimental/README.markdown +14 -0
- data/lib/rbcurse/experimental/resultsettextview.rb +585 -0
- data/lib/rbcurse/experimental/stackflow.rb +478 -0
- data/lib/rbcurse/extras/bottomline.rb +85 -16
- data/lib/rbcurse/extras/box.rb +58 -0
- data/lib/rbcurse/extras/directorylist.rb +1 -1
- data/lib/rbcurse/extras/horizlist.rb +203 -0
- data/lib/rbcurse/extras/listselectable.rb +8 -0
- data/lib/rbcurse/extras/multiform.rb +330 -0
- data/lib/rbcurse/extras/multilinelabel.rb +142 -0
- data/lib/rbcurse/extras/newmessagebox.rb +328 -0
- data/lib/rbcurse/extras/newtabbedpane.rb +612 -0
- data/lib/rbcurse/extras/newtabbedwindow.rb +68 -0
- data/lib/rbcurse/extras/padreader.rb +189 -0
- data/lib/rbcurse/extras/rcomboedit.rb +256 -0
- data/lib/rbcurse/extras/resultsetbrowser.rb +281 -0
- data/lib/rbcurse/extras/statusline.rb +44 -6
- data/lib/rbcurse/extras/tabularwidget.rb +141 -104
- data/lib/rbcurse/extras/textpad.rb +516 -0
- data/lib/rbcurse/extras/viewer.rb +2 -0
- data/lib/rbcurse/io.rb +120 -3
- data/lib/rbcurse/listcellrenderer.rb +2 -1
- data/lib/rbcurse/listkeys.rb +1 -1
- data/lib/rbcurse/listscrollable.rb +72 -7
- data/lib/rbcurse/rbasiclistbox.rb +64 -12
- data/lib/rbcurse/rchangeevent.rb +0 -1
- data/lib/rbcurse/rcombo.rb +54 -59
- data/lib/rbcurse/rcommandwindow.rb +46 -10
- data/lib/rbcurse/rcontainer.rb +415 -0
- data/lib/rbcurse/rdialogs.rb +242 -165
- data/lib/rbcurse/rinputdataevent.rb +0 -1
- data/lib/rbcurse/rlistbox.rb +19 -9
- data/lib/rbcurse/rmessagebox.rb +1 -5
- data/lib/rbcurse/rmulticontainer.rb +64 -61
- data/lib/rbcurse/rmultitextview.rb +0 -2
- data/lib/rbcurse/rpopupmenu.rb +0 -2
- data/lib/rbcurse/rscrollform.rb +61 -12
- data/lib/rbcurse/rtabbedpane.rb +89 -73
- data/lib/rbcurse/rtabbedwindow.rb +53 -211
- data/lib/rbcurse/rtable.rb +0 -2
- data/lib/rbcurse/rtextarea.rb +14 -14
- data/lib/rbcurse/rtextview.rb +165 -50
- data/lib/rbcurse/rvimsplit.rb +15 -12
- data/lib/rbcurse/rwidget.rb +404 -150
- data/lib/rbcurse/table/tablecellrenderer.rb +1 -4
- data/lib/rbcurse/table/tabledatecellrenderer.rb +0 -3
- data/lib/ver/ncurses.rb +1 -9
- data/lib/ver/rpad.rb +375 -0
- data/lib/ver/window.rb +262 -440
- metadata +73 -31
data/TODO2.txt
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
100 [x] (A) sqlm.rb finish this with multicontainer and table (2010-03-19) (x2010-03-19)
|
87
87
|
101 [x] Menu: simpler rewrite ?? (2010-03-20)
|
88
88
|
102 [x] (A) TabbedPane: rewrite (2011-09-21)
|
89
|
-
103 [
|
89
|
+
103 [x] Messagebox: rewrite (2011-09-21)
|
90
90
|
104 [x] (E) Gen: catching extended keys C-left, S-F10 (2011-09-21)
|
91
91
|
105 [x] (A) Window: combine array into existing constructor (2011-09-21)
|
92
92
|
106 [x] (A) gen: check if that buffering nonsense is still being used? (2011-09-21)
|
@@ -115,4 +115,4 @@
|
|
115
115
|
121 [x] cleanup Widget and others, remove buffering nonsense (2011-10-02)
|
116
116
|
122 [x] Add valid_range to Field (2011-10-02)
|
117
117
|
123 [x] (A) Make listbox data more accessible from lb class (2011-10-02)
|
118
|
-
124 [
|
118
|
+
124 [x] look at sandy,ne,pygments source for ncurses syntax highlighting (2011-10-07)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1.pre2
|
data/examples/abasiclist.rb
CHANGED
@@ -6,7 +6,10 @@ App.new do
|
|
6
6
|
header = app_header "rbcurse #{Rbcurse::VERSION}", :text_center => "Basic List Demo", :text_right =>"New Improved!", :color => :black, :bgcolor => :white, :attr => :bold
|
7
7
|
message "Press F10 to escape from here"
|
8
8
|
|
9
|
-
list = %W{ bhikshu boddisattva avalokiteswara mu mun kwan paramita prajna samadhi sutra shakyamuni }
|
9
|
+
#list = %W{ bhikshu boddisattva avalokiteswara mu mun kwan paramita prajna samadhi sutra shakyamuni }
|
10
|
+
list = File.open("data/brew.txt",'r').readlines
|
11
|
+
list2 = File.open("data/gemlist.txt",'r').readlines
|
12
|
+
lb = nil
|
10
13
|
vimsplit :row => 1, :col => 0, :suppress_borders => false, :width => 60, :height => Ncurses.LINES-2, :weight => 0.4, :orientation => :VERTICAL do |s|
|
11
14
|
lb = RubyCurses::BasicListbox.new nil, :list => list, :suppress_borders => false
|
12
15
|
#lb = RubyCurses::BasicListbox.new nil, :list => list, :show_selector => true, :row_selected_symbol => "*", :suppress_borders => false
|
@@ -18,10 +21,13 @@ App.new do
|
|
18
21
|
|
19
22
|
s.add lb, :FIRST
|
20
23
|
#lb2= RubyCurses::BasicListbox.new nil, :list => list.shuffle, :justify => :center
|
21
|
-
lb2 = basiclist :list =>
|
24
|
+
lb2 = basiclist :list => list2, :justify => :left, :suppress_borders => false
|
22
25
|
s.add lb2, :SECOND
|
23
26
|
label({:text => "checking overwrite from list", :row => 10, :col => 60})
|
24
27
|
label({:text => "checking overwrite from list 1", :row => 11, :col => 60})
|
25
28
|
end
|
29
|
+
label({:text => "Press F4 and F5 to test popup, space or enter to select", :row => Ncurses.LINES-1, :col => 0})
|
26
30
|
|
31
|
+
@form.bind_key(FFI::NCurses::KEY_F4) { row = lb.current_index+lb.row; col=lb.col+lb.current_value.length+1; ret = popuplist(%w[ andy berlioz strauss tchaiko matz beethoven], :row => row, :col => col, :title => "Names", :bgcolor => :blue, :color => :white) ; alert "got #{ret} "}
|
32
|
+
@form.bind_key(FFI::NCurses::KEY_F5) { list = %x[ls].split("\n");ret = popuplist(list, :title => "Files"); alert "Got #{ret} #{list[ret]} " }
|
27
33
|
end # app
|
data/examples/alpmenu.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rbcurse/app'
|
|
4
4
|
#title "Demo of Menu - rbcurse"
|
5
5
|
#subtitle "Hit F1 to quit, F2 for menubar toggle"
|
6
6
|
header = app_header "rbcurse #{Rbcurse::VERSION}", :text_center => "Alpine Menu Demo", :text_right =>""
|
7
|
-
message_row(27)
|
7
|
+
#message_row(27)
|
8
8
|
|
9
9
|
stack :margin_top => 10, :margin => 15 do
|
10
10
|
#w = "Messages".length + 1
|
data/examples/app.rb
CHANGED
@@ -20,31 +20,8 @@ include RubyCurses::Utils
|
|
20
20
|
module RubyCurses
|
21
21
|
extend self
|
22
22
|
|
23
|
-
|
23
|
+
# NOTE most of this has move to lib/rbcurse/app.rb
|
24
24
|
#
|
25
|
-
# TODO -
|
26
|
-
# what of internal objects that don't want a form !
|
27
|
-
# - stack and flow should be objects in Form, put in widget when creating
|
28
|
-
# x method: quit
|
29
|
-
# - box / rect
|
30
|
-
# - animate(n) |i|
|
31
|
-
# x list_box :choose is the defauly
|
32
|
-
# x progress - like a label but fills itself, fraction
|
33
|
-
# - para looks like a label that is more than one line, and calculates rows itself based on text
|
34
|
-
# x other buttons: radio, check
|
35
|
-
# x edit_box = textarea
|
36
|
-
# - combo
|
37
|
-
# x menu
|
38
|
-
# - popup
|
39
|
-
# - multicontainer
|
40
|
-
# - multitextview, multisplit
|
41
|
-
# - tabbedpane
|
42
|
-
# / table - more work regarding vim keys, also editable
|
43
|
-
# - margin - is left offset
|
44
|
-
# http://lethain.com/entry/2007/oct/15/getting-started-shoes-os-x/
|
45
|
-
# - promptmenu
|
46
|
-
#
|
47
|
-
|
48
25
|
class Widget
|
49
26
|
def changed *args, &block
|
50
27
|
bind :CHANGED, *args, &block
|
data/examples/appdirtree.rb
CHANGED
@@ -71,5 +71,5 @@ App.new do
|
|
71
71
|
end # vimsplit
|
72
72
|
end # stack
|
73
73
|
sl = status_line :row => Ncurses.LINES-1
|
74
|
-
sl.command { "%-20s |
|
74
|
+
sl.command { "%-20s | v View" % [File.absolute_path(dl.current_path)] }
|
75
75
|
end # app
|
data/examples/appemail.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rbcurse/app'
|
2
2
|
require 'fileutils'
|
3
|
-
require './rmail'
|
3
|
+
require './common/rmail'
|
4
4
|
# You need mailread.rb which is present in 1.8, but missing in 1.9
|
5
5
|
# I've loaded it here ... http://gist.github.com/634166 with line encoding
|
6
6
|
# You need to fix paths of local mbox files
|
@@ -12,13 +12,15 @@ def testchoose
|
|
12
12
|
filter = "*"
|
13
13
|
filter = ENV['PWD']+"/*"
|
14
14
|
str = choose filter, :title => "Files", :prompt => "Choose a file: "
|
15
|
+
message "We got #{str} "
|
15
16
|
end
|
16
17
|
def testnumberedmenu
|
17
18
|
list1 = %w{ ruby perl python erlang rake java lisp scheme chicken }
|
18
19
|
list1[0] = %w{ ruby ruby1.9 ruby1.8.x jruby rubinius ROR }
|
20
|
+
list1[5] = %w{ java groovy grails }
|
19
21
|
str = numbered_menu list1, { :title => "Languages: ", :prompt => "Select :" }
|
20
22
|
$log.debug "17 We got #{str.class} "
|
21
|
-
|
23
|
+
message "We got #{str} "
|
22
24
|
end
|
23
25
|
def testdisplay_list
|
24
26
|
# scrollable list
|
@@ -38,14 +40,6 @@ def testdir
|
|
38
40
|
message "We got #{str} "
|
39
41
|
end
|
40
42
|
def test
|
41
|
-
#require 'rbcurse/rcommandwindow'
|
42
|
-
#rc = CommandWindow.new
|
43
|
-
scr = Ncurses.stdscr
|
44
|
-
#scr.color_set $promptcolor, nil
|
45
|
-
Ncurses.attron(Ncurses.COLOR_PAIR($promptcolor))
|
46
|
-
Ncurses.mvprintw 27,0,"helllllo theeeerE "
|
47
|
-
Ncurses.attroff(Ncurses.COLOR_PAIR($promptcolor))
|
48
|
-
#scr.refresh() # refresh FFI NW
|
49
43
|
end
|
50
44
|
def saveas1
|
51
45
|
@tv.saveas
|
@@ -96,7 +90,7 @@ App.new do
|
|
96
90
|
def get_commands
|
97
91
|
%w{ testchoose testnumberedmenu testdisplay_list testdisplay_text testdir saveas1 }
|
98
92
|
end
|
99
|
-
# we override so as to only print basename. Also, print unread count
|
93
|
+
# we override/open instance so as to only print basename. Also, print unread count
|
100
94
|
def @dirs.convert_value_to_text(text, crow)
|
101
95
|
str = File.basename(text)
|
102
96
|
if $unread_hash.has_key?(str)
|
@@ -176,12 +170,12 @@ App.new do
|
|
176
170
|
end
|
177
171
|
@lb2.bind :ENTER_ROW do |e|
|
178
172
|
@header.text_right "Row #{e.current_index} of #{@messages.size} "
|
179
|
-
|
180
|
-
raw_message "Row #{e.current_index} of #{@messages.size} "
|
173
|
+
message "Row #{e.current_index} of #{@messages.size} "
|
174
|
+
raw_message "Row #{e.current_index} of #{@messages.size} " # 2011-10-17 14:08:27
|
181
175
|
x = e.current_index
|
182
176
|
y = @messages.size
|
183
177
|
#raw_progress((x*1.0)/y)
|
184
|
-
raw_progress([x,y])
|
178
|
+
#raw_progress([x,y])
|
185
179
|
end
|
186
180
|
|
187
181
|
@tv = @vim.set_right_bottom_component "Email body comes here. "
|
data/examples/appemaillb.rb
CHANGED
@@ -2,7 +2,7 @@ require 'rbcurse/app'
|
|
2
2
|
require 'rbcurse/rvimsplit'
|
3
3
|
require 'fileutils'
|
4
4
|
require 'rbcurse/extras/tabularwidget'
|
5
|
-
require './rmail'
|
5
|
+
require './common/rmail'
|
6
6
|
class ColumnBrowse < Widget
|
7
7
|
require 'forwardable'
|
8
8
|
extend Forwardable
|
@@ -44,7 +44,7 @@ class ColumnBrowse < Widget
|
|
44
44
|
# what if user gives in wrong order !!
|
45
45
|
@gb = @vim.add :grabbar, :SECOND, 0
|
46
46
|
@right2 = @vim.add comp, :SECOND, nil
|
47
|
-
@gb.
|
47
|
+
@gb.next_component(@right2)
|
48
48
|
_add_component comp
|
49
49
|
@right2
|
50
50
|
end
|
data/examples/appgcompose.rb
CHANGED
@@ -30,7 +30,7 @@ class GmailField
|
|
30
30
|
@match_from_start = config.fetch(:match_from_start, true)
|
31
31
|
setup
|
32
32
|
end
|
33
|
-
def setup
|
33
|
+
def setup # gmailfield
|
34
34
|
@field.bind(:CHANGE) do |eve|
|
35
35
|
c = eve.source
|
36
36
|
text = c.getvalue
|
@@ -113,7 +113,7 @@ class GmailField
|
|
113
113
|
end
|
114
114
|
end
|
115
115
|
|
116
|
-
def udisplay_list list1
|
116
|
+
def udisplay_list list1 # gmailfield
|
117
117
|
unless @commandwin
|
118
118
|
require 'rbcurse/rcommandwindow'
|
119
119
|
if @style == :old
|
@@ -141,7 +141,7 @@ class GmailField
|
|
141
141
|
#rc = nil
|
142
142
|
end
|
143
143
|
end
|
144
|
-
def clear_list
|
144
|
+
def clear_list # gmailfield
|
145
145
|
if @commandwin
|
146
146
|
@commandwin.destroy
|
147
147
|
@commandwin = nil
|
@@ -162,7 +162,8 @@ module AppgCompose
|
|
162
162
|
#@subject = config[:subject]
|
163
163
|
yield self if block_given?
|
164
164
|
end
|
165
|
-
def
|
165
|
+
def __udisplay_list list1 # gmailcompose
|
166
|
+
warn "is this used ?"
|
166
167
|
unless @commandwin
|
167
168
|
require 'rbcurse/rcommandwindow'
|
168
169
|
layout = { :height => 5, :width => Ncurses.COLS-1, :top => Ncurses.LINES-6, :left => 0 }
|
@@ -179,7 +180,8 @@ module AppgCompose
|
|
179
180
|
#rc = nil
|
180
181
|
end
|
181
182
|
end
|
182
|
-
def
|
183
|
+
def __clear_list # gmailcompose
|
184
|
+
warn "is this used"
|
183
185
|
if @commandwin
|
184
186
|
@commandwin.destroy
|
185
187
|
@commandwin = nil
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# ----------------------------------------------------------------------------- #
|
2
|
+
# File: file.rb
|
3
|
+
# Description: some common file related methods which can be used across
|
4
|
+
# file manager demos, since we seems to have a lot of them :)
|
5
|
+
# Author: rkumar http://github.com/rkumar/rbcurse/
|
6
|
+
# Date: 2011-11-15 - 19:54
|
7
|
+
# License: Same as Ruby's License (http://www.ruby-lang.org/LICENSE.txt)
|
8
|
+
# Last update: use ,,L
|
9
|
+
# ----------------------------------------------------------------------------- #
|
10
|
+
#
|
11
|
+
|
12
|
+
require 'rbcurse/common/appmethods'
|
13
|
+
module RubyCurses
|
14
|
+
def file_edit fp #=@current_list.filepath
|
15
|
+
#$log.debug " edit #{fp}"
|
16
|
+
editor = ENV['EDITOR'] || 'vi'
|
17
|
+
vimp = %x[which #{editor}].chomp
|
18
|
+
shell_out "#{vimp} #{fp}"
|
19
|
+
end
|
20
|
+
|
21
|
+
# TODO we need to move these to some common file so differnt programs and demos
|
22
|
+
# can use them on pressing space or enter.
|
23
|
+
def file_page fp #=@current_list.filepath
|
24
|
+
ft=%x[file #{fp}]
|
25
|
+
if ft.index("text")
|
26
|
+
pager = ENV['PAGER'] || 'less'
|
27
|
+
vimp = %x[which #{pager}].chomp
|
28
|
+
shell_out "#{vimp} #{fp}"
|
29
|
+
elsif ft.index(/zip/i)
|
30
|
+
shell_out "tar tvf #{fp} | less"
|
31
|
+
elsif ft.index(/directory/i)
|
32
|
+
shell_out "ls -lh #{fp} | less"
|
33
|
+
else
|
34
|
+
alert "#{fp} is not text, not paging "
|
35
|
+
#use_on_file "als", fp # only zip or archive
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
end # module
|
40
|
+
include RubyCurses
|
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
I've put some data here to use in programs as text for textareas, textviews or lists.
|
2
|
+
|
3
|
+
brew.txt - single list, use in listboxes
|
4
|
+
color.2 - ANSI formatted text, use in formatted textview
|
5
|
+
gemlist.txt - single column list
|
6
|
+
lotr.txt - running text for text views
|
7
|
+
ports.txt - 3 column list, use in tables, tabular
|
8
|
+
unix1.txt - running text
|
9
|
+
unix2.txt - running text
|
@@ -0,0 +1,38 @@
|
|
1
|
+
ack
|
2
|
+
aqua-less
|
3
|
+
atool
|
4
|
+
bash-completion
|
5
|
+
calcurse
|
6
|
+
cmake
|
7
|
+
coreutils
|
8
|
+
curl
|
9
|
+
elinks
|
10
|
+
findutils
|
11
|
+
gawk
|
12
|
+
gettext
|
13
|
+
git
|
14
|
+
gnu-sed
|
15
|
+
grep
|
16
|
+
htop
|
17
|
+
jed
|
18
|
+
libevent
|
19
|
+
moreutils
|
20
|
+
most
|
21
|
+
msmtp
|
22
|
+
multitail
|
23
|
+
mysql
|
24
|
+
oniguruma
|
25
|
+
pcre
|
26
|
+
pidof
|
27
|
+
pigz
|
28
|
+
pkg-config
|
29
|
+
pv
|
30
|
+
readline
|
31
|
+
rlwrap
|
32
|
+
s-lang
|
33
|
+
sqlite
|
34
|
+
tal
|
35
|
+
task
|
36
|
+
tig
|
37
|
+
tmux
|
38
|
+
wget
|
@@ -0,0 +1,37 @@
|
|
1
|
+
[1m[34m[47mShowing all items...[0m[0m
|
2
|
+
([31m8b0dbf[0m) [33m#enh[0m view with table, text, list, tree, fields hash
|
3
|
+
([31m3ef256[0m) [33m#fix[0m clearing/hiding widget
|
4
|
+
([31mdf584b[0m) [37m%menu[0m list place cursor firstchar match
|
5
|
+
([31m749828[0m) [37m%menu[0m RT_ARROW if none go left
|
6
|
+
([31med1515[0m) [37m%vimsplit[0m when adding, put grabbar cmd in system_commands
|
7
|
+
([31mb3102b[0m) [37m%listbox[0m reduce repaint, only if change, or selection
|
8
|
+
([31m344ad2[0m) [37m%form[0m dn_arrow to lower field, rt_arrow to right field
|
9
|
+
([31m35bed1[0m) [37m%tabularwidget[0m ask_select and ask_unselect
|
10
|
+
([31m7c24e7[0m) check other widgets for color changes
|
11
|
+
([31mf864fe[0m) check for [33m#UTF[0m-8 errors where match method used [33m#fix[0m
|
12
|
+
([31m4bef44[0m) testdir returns path wrong if i use ../ [33m#fix[0m
|
13
|
+
([31m2171c9[0m) [37m%TabularWidget[0m example scrollbar showing white space at end [33m#fix[0m
|
14
|
+
([31med7b0a[0m) search in tabular does not take offset of header into account [33m#fix[0m
|
15
|
+
([31mfc95e4[0m) [33m#enh[0m widgets can have [37m%keylabels[0m, so mode gets taken care of auto
|
16
|
+
([31mc538e9[0m) app_header assumes root_window, shd take window width into acount
|
17
|
+
([31me22c8e[0m) menu in dbdemo one column short (ony after F4 closes) [33m#fix[0m
|
18
|
+
([31m83dfff[0m) additional footer text in text view area [33m#hold[0m
|
19
|
+
([31m891157[0m) maybe selected and focussed should be shown same so no confusion
|
20
|
+
([31mdd5f96[0m) calculate color_pair once, and not so many times [33m#fix[0m
|
21
|
+
([31m2406f8[0m) listcellrenderer is horribly complicated - simplify
|
22
|
+
([31mf42383[0m) reduce [33m#repaint[0m in [33m#textarea[0m and [33m#tree[0m
|
23
|
+
([31m543b53[0m) dock through div by zero if row Ncurses.Lines-1 [33m#fix[0m
|
24
|
+
([31mc48a48[0m) The view in [33m#dbdemo[0m should allow sorting on header. and maybe select one row
|
25
|
+
([31m85461c[0m) common routine tabular(headings,content)
|
26
|
+
([31m9b3501[0m) sort on tabularwidget with resultset sometimes gives error ofcomparison
|
27
|
+
([31m31f476[0m) put comopnent traversal into traversal module
|
28
|
+
([31m5be1c4[0m) popuplist: space in single selection should select?
|
29
|
+
([31m330928[0m) system shell etc menu items should be available somehow ifwe want
|
30
|
+
([31m3663dc[0m) install mysql and gem and test resultset with that too
|
31
|
+
([31m745c3f[0m) remove multiform
|
32
|
+
[37m[41m
|
33
|
+
==================== TODAY ====================[0m
|
34
|
+
([31md56b4d[0m) alert dialog overflow on data, shd have increased in size [33m#fix[0m [33m#today[0m
|
35
|
+
[37m[41m
|
36
|
+
==================== URGENT ====================[0m
|
37
|
+
([31m140d16[0m) [33m#fix[0m [37m%testvimsplit[0m not sizing STACK correctly [33m#urgent[0m
|
@@ -0,0 +1,60 @@
|
|
1
|
+
activesupport (3.1.0, 3.0.10)
|
2
|
+
arrayfields (4.7.4)
|
3
|
+
bond (0.4.1)
|
4
|
+
bugzyrb (0.3.8)
|
5
|
+
bundler (1.0.18)
|
6
|
+
cheat (1.3.0)
|
7
|
+
chronic (0.6.4, 0.3.0)
|
8
|
+
colored (1.2)
|
9
|
+
dooby (0.3.1)
|
10
|
+
fattr (2.2.0)
|
11
|
+
ffi (1.0.9)
|
12
|
+
ffi-locale (1.0.1)
|
13
|
+
ffi-ncurses (0.4.0)
|
14
|
+
gem-man (0.3.0)
|
15
|
+
gemcutter (0.7.0)
|
16
|
+
gemedit (1.0.1)
|
17
|
+
git (1.2.5)
|
18
|
+
gmail (0.4.0)
|
19
|
+
gmail_xoauth (0.3.0)
|
20
|
+
growl (1.0.3)
|
21
|
+
highline (1.6.2, 1.6.1)
|
22
|
+
hoe (2.12.3)
|
23
|
+
i18n (0.6.0)
|
24
|
+
interactive_editor (0.0.10)
|
25
|
+
jeweler (1.6.4)
|
26
|
+
json_pure (1.6.1)
|
27
|
+
lightning (0.4.0)
|
28
|
+
live_console (0.2.1)
|
29
|
+
mail (2.3.0)
|
30
|
+
main (4.7.7, 4.2.0)
|
31
|
+
map (4.3.0)
|
32
|
+
maruku (0.6.0)
|
33
|
+
mime (0.1)
|
34
|
+
mime-types (1.16)
|
35
|
+
multi_json (1.0.3)
|
36
|
+
ncurses (1.2.4)
|
37
|
+
nokogiri (1.5.0)
|
38
|
+
oauth (0.4.5)
|
39
|
+
optiflag (0.7)
|
40
|
+
polyglot (0.3.2)
|
41
|
+
qwandry (0.1.4)
|
42
|
+
rake (0.9.2, 0.8.7)
|
43
|
+
random_data (1.5.2)
|
44
|
+
rbcurse (1.4.0)
|
45
|
+
rubyforge (2.0.4)
|
46
|
+
rubygems-update (1.8.10)
|
47
|
+
sequel (3.27.0)
|
48
|
+
snipplr (0.0.9)
|
49
|
+
spoon (0.0.1)
|
50
|
+
sqlite3 (1.3.4)
|
51
|
+
sqlite3-ruby (1.3.3)
|
52
|
+
subcommand (1.0.6)
|
53
|
+
syntax (1.0.0)
|
54
|
+
terminal-table (1.4.2)
|
55
|
+
thor (0.14.6)
|
56
|
+
todorb (1.2.3)
|
57
|
+
treetop (1.4.10)
|
58
|
+
tzinfo (0.3.29)
|
59
|
+
vmail (2.3.2)
|
60
|
+
yard (0.7.2)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
I amar prestar aen. The world is changed. Han matho ne nen. I feel it in the water. Han mathon ned cae. I feel it in the earth. A han noston ned gwilith. I smell it in the air. Much that once was is lost, for none now live who remember it.
|
2
|
+
|
3
|
+
It began with the forging of the Great Rings. Three were given to the Elves, immortal, wisest and fairest of all beings. Seven to the Dwarf-Lords, great miners and craftsmen of the mountain halls. And nine, nine rings were gifted to the race of Men, who above all else desire power. For within these rings was bound the strength and the will to govern each race. But they were all of them deceived, for another ring was made. Deep in the land of Mordor, in the Fires of Mount Doom, the Dark Lord Sauron forged in secret a master ring to control all others, and into this ring he poured his cruelty, his malice and his will to dominate all life. One ring to rule them all.
|
4
|
+
|
5
|
+
One by one, the free lands of Middle-Earth fell to the power of the Ring, but there were some who resisted. A last alliance of Men and Elves marched against the armies of Mordor, and on the very slopes of Mount Doom, they fought for the freedom of Middle-Earth. Victory was near, but the power of the ring could not be undone.
|
6
|
+
It was in this moment, when all hope had faded, that Isildur, son of the king, took up his father's sword.
|
7
|
+
|
8
|
+
Sauron, the enemy of the free peoples of Middle-Earth, was defeated. The Ring passed to Isildur, who had this once chance to destroy evil forever. But the hearts of Men are easily corrupted. And the ring of power has a will of its own. It betrayed Isildur, to his death. And some things that should not have been forgotten were lost. History became legend, legend became myth. And for two and a half thousand years, the ring passed out of all knowledge. Until, when chance came, it ensnared a new bearer.
|
9
|
+
|
10
|
+
The Ring came to the creature Gollum, who took it deep into the tunnels of the Misty Mountains. And there it consumed him. The ring brought to Gollum unnatural long life. For five hundred years it poisoned his mind, and in the gloom of Gollum's cave, it waited. Darkness crept back into the forests of the world. Rumor grew of a shadow in the East, whispers of a nameless fear, and the Ring of Power percieved its time had now come. It abandoned Gollum. But something happened then that the Ring did not intend. It was picked up by the most unlikely creature imaginable: a Hobbit, Bilbo Baggins, of the Shire.
|
11
|
+
|
12
|
+
For the time will soon come when hobbits will shape the fortunes of all.
|
@@ -0,0 +1,136 @@
|
|
1
|
+
alpine @2.00 mail/alpine
|
2
|
+
apr @1.4.5 devel/apr
|
3
|
+
apr-util @1.3.12 devel/apr-util
|
4
|
+
autoconf @2.68 devel/autoconf
|
5
|
+
automake @1.11.1 devel/automake
|
6
|
+
bash @4.2.10 shells/bash
|
7
|
+
bash-completion @1.3 sysutils/bash-completion
|
8
|
+
bison @2.5 devel/bison
|
9
|
+
boost @1.47.0 devel/boost
|
10
|
+
boost-jam @3.1.18 devel/boost-jam
|
11
|
+
bzip2 @1.0.6 archivers/bzip2
|
12
|
+
coreutils @8.14 sysutils/coreutils
|
13
|
+
cppunit @1.12.1 devel/cppunit
|
14
|
+
ctags @5.8 devel/ctags
|
15
|
+
curl @7.22.0 net/curl
|
16
|
+
curl-ca-bundle @7.22.0 net/curl-ca-bundle
|
17
|
+
cyrus-sasl2 @2.1.23 security/cyrus-sasl2
|
18
|
+
db46 @4.6.21 databases/db46
|
19
|
+
dirac @1.0.2 multimedia/dirac
|
20
|
+
elvis @2.2_0 editors/elvis
|
21
|
+
expat @2.0.1 textproc/expat
|
22
|
+
expat @2.0.1 textproc/expat
|
23
|
+
faac @1.28 audio/faac
|
24
|
+
faad2 @2.7 audio/faad2
|
25
|
+
ffmpeg @0.7.6 multimedia/ffmpeg
|
26
|
+
file @5.09 sysutils/file
|
27
|
+
findutils @4.4.2 sysutils/findutils
|
28
|
+
flex @2.5.35 devel/flex
|
29
|
+
gawk @4.0.0 lang/gawk
|
30
|
+
gdbm @1.9.1 databases/gdbm
|
31
|
+
gettext @0.18.1.1 devel/gettext
|
32
|
+
gettext @0.18.1.1 devel/gettext
|
33
|
+
git-core @1.7.7 devel/git-core
|
34
|
+
glib2 @2.28.8 devel/glib2
|
35
|
+
gmake @3.82 devel/gmake
|
36
|
+
gmp @5.0.2 devel/gmp
|
37
|
+
gnupg @1.4.11 mail/gnupg
|
38
|
+
gperf @3.0.4 devel/gperf
|
39
|
+
gperf @3.0.4 devel/gperf
|
40
|
+
grep @2.9 sysutils/grep
|
41
|
+
groff @1.21 sysutils/groff
|
42
|
+
gsed @4.2.1 textproc/gsed
|
43
|
+
gzip @1.4 archivers/gzip
|
44
|
+
help2man @1.40.4 textproc/help2man
|
45
|
+
icu @4.8.1 devel/icu
|
46
|
+
irssi @0.8.15 irc/irssi
|
47
|
+
joe @3.7 editors/joe
|
48
|
+
lame @3.99 audio/lame
|
49
|
+
lame @3.99 audio/lame
|
50
|
+
libao @1.1.0 audio/libao
|
51
|
+
libiconv @1.14 textproc/libiconv
|
52
|
+
libiconv @1.14 textproc/libiconv
|
53
|
+
libid3tag @0.15.1b audio/libid3tag
|
54
|
+
libidn @1.22 mail/libidn
|
55
|
+
libmad @0.15.1b audio/libmad
|
56
|
+
libmp3splt @0.5.7a audio/libmp3splt
|
57
|
+
libogg @1.3.0 multimedia/libogg
|
58
|
+
liboil @0.3.17 devel/liboil
|
59
|
+
libpng @1.4.8 graphics/libpng
|
60
|
+
libsdl @1.2.14 devel/libsdl
|
61
|
+
libtheora @1.1.1 multimedia/libtheora
|
62
|
+
libtool @2.4.2 devel/libtool
|
63
|
+
libusb @1.0.8 devel/libusb
|
64
|
+
libvorbis @1.3.2 audio/libvorbis
|
65
|
+
libxml2 @2.7.8 textproc/libxml2
|
66
|
+
links @2.3 www/links
|
67
|
+
lzmautils @4.32.7 archivers/lzmautils
|
68
|
+
m4 @1.4.16 devel/m4
|
69
|
+
macutil @2.0b3 sysutils/macutil
|
70
|
+
mc @4.7.5.2 sysutils/mc
|
71
|
+
mp3splt @2.2.6a audio/mp3splt
|
72
|
+
mp3wrap @0.5 audio/mp3wrap
|
73
|
+
mp4v2 @1.9.1 multimedia/mp4v2
|
74
|
+
mpack @1.6 mail/mpack
|
75
|
+
mpg321 @0.2.10 audio/mpg321
|
76
|
+
ncftp @3.2.5 net/ncftp
|
77
|
+
ncurses @5.9 devel/ncurses
|
78
|
+
ncurses @5.9 devel/ncurses
|
79
|
+
ncursesw @5.8 devel/ncursesw
|
80
|
+
ncursesw @5.8 devel/ncursesw
|
81
|
+
neon @0.29.6 www/neon
|
82
|
+
netcat @1.10 net/netcat
|
83
|
+
openldap @2.4.21 databases/openldap
|
84
|
+
openssl @1.0.0e devel/openssl
|
85
|
+
p5-compress-raw-bzip2 @2.37.0 perl/p5-compress-raw-bzip2
|
86
|
+
p5-compress-raw-zlib @2.35.0 perl/p5-compress-raw-zlib
|
87
|
+
p5-crypt-ssleay @0.580.0 perl/p5-crypt-ssleay
|
88
|
+
p5-error @0.170.160 perl/p5-error
|
89
|
+
p5-html-parser @3.680.0 perl/p5-html-parser
|
90
|
+
p5-html-tagset @3.200.0 perl/p5-html-tagset
|
91
|
+
p5-io-compress @2.35.0 perl/p5-io-compress
|
92
|
+
p5-libwww-perl @6.20.0 perl/p5-libwww-perl
|
93
|
+
p5-locale-gettext @1.50.0 perl/p5-locale-gettext
|
94
|
+
p5-svn-simple @0.280.0 perl/p5-svn-simple
|
95
|
+
p5-term-readkey @2.300.0 perl/p5-term-readkey
|
96
|
+
p5-uri @1.580.0 perl/p5-uri
|
97
|
+
pcre @8.12 devel/pcre
|
98
|
+
perl5 @5.12.3 lang/perl5
|
99
|
+
perl5.8 @5.8.9 lang/perl5.8
|
100
|
+
pkgconfig @0.26 devel/pkgconfig
|
101
|
+
popt @1.16 devel/popt
|
102
|
+
pv @1.2.0 sysutils/pv
|
103
|
+
readline @6.2.000 devel/readline
|
104
|
+
rsync @3.0.8 net/rsync
|
105
|
+
schroedinger @1.0.10 multimedia/schroedinger
|
106
|
+
serf @0.7.2 www/serf
|
107
|
+
slang2 @2.2.3 lang/slang2
|
108
|
+
source-highlight @3.1.4 textproc/source-highlight
|
109
|
+
sqlite3 @3.7.8 databases/sqlite3
|
110
|
+
subversion @1.7.0 devel/subversion
|
111
|
+
subversion-perlbindings @1.7.0 devel/subversion-perlbindings
|
112
|
+
surfraw @2.2.1 net/surfraw
|
113
|
+
vim @7.3.286 editors/vim
|
114
|
+
wget @1.13.4 net/wget
|
115
|
+
x264 @20110628 multimedia/x264
|
116
|
+
xorg-bigreqsproto @1.1.1 x11/xorg-bigreqsproto
|
117
|
+
xorg-inputproto @2.0.2 x11/xorg-inputproto
|
118
|
+
xorg-kbproto @1.0.5 x11/xorg-kbproto
|
119
|
+
xorg-libX11 @1.4.4 x11/xorg-libX11
|
120
|
+
xorg-libXau @1.0.6 x11/xorg-libXau
|
121
|
+
xorg-libXdmcp @1.1.0 x11/xorg-libXdmcp
|
122
|
+
xorg-libXext @1.3.0 x11/xorg-libXext
|
123
|
+
xorg-libXrandr @1.3.2 x11/xorg-libXrandr
|
124
|
+
xorg-randrproto @1.3.2 x11/xorg-randrproto
|
125
|
+
xorg-renderproto @0.11.1 x11/xorg-renderproto
|
126
|
+
xorg-util-macros @1.15.0 x11/xorg-util-macros
|
127
|
+
xorg-xcmiscproto @1.2.1 x11/xorg-xcmiscproto
|
128
|
+
xorg-xextproto @7.2.0 x11/xorg-xextproto
|
129
|
+
xorg-xf86bigfontproto @1.2.0 x11/xorg-xf86bigfontproto
|
130
|
+
xorg-xproto @7.0.22 x11/xorg-xproto
|
131
|
+
xorg-xtrans @1.2.6 x11/xorg-xtrans
|
132
|
+
xrender @0.9.6 x11/xrender
|
133
|
+
XviD @1.3.2 multimedia/XviD
|
134
|
+
xz @5.0.3 archivers/xz
|
135
|
+
yasm @1.1.0 lang/yasm
|
136
|
+
zlib @1.2.5 archivers/zlib
|