rbhex-core 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/CHANGELOG +2000 -0
- data/LICENSE +56 -0
- data/README.md +44 -0
- data/examples/abasiclist.rb +179 -0
- data/examples/alpmenu.rb +50 -0
- data/examples/app.sample +19 -0
- data/examples/atree.rb +100 -0
- data/examples/bline.rb +136 -0
- data/examples/common/file.rb +45 -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/table.txt +37 -0
- data/examples/data/tasks.csv +88 -0
- data/examples/data/tasks.txt +27 -0
- data/examples/data/todo.txt +10 -0
- data/examples/data/todo.txt.bak +10 -0
- data/examples/data/todocsv.csv +28 -0
- data/examples/data/unix1.txt +21 -0
- data/examples/data/unix2.txt +11 -0
- data/examples/dbdemo.rb +502 -0
- data/examples/dirtree.rb +94 -0
- data/examples/newtabbedwindow.rb +100 -0
- data/examples/newtesttabp.rb +92 -0
- data/examples/tabular.rb +146 -0
- data/examples/tasks.rb +178 -0
- data/examples/term2.rb +84 -0
- data/examples/testbuttons.rb +296 -0
- data/examples/testcombo.rb +102 -0
- data/examples/testfields.rb +195 -0
- data/examples/testkeypress.rb +72 -0
- data/examples/testlistbox.rb +170 -0
- data/examples/testmessagebox.rb +140 -0
- data/examples/testprogress.rb +116 -0
- data/examples/testree.rb +106 -0
- data/examples/testwsshortcuts.rb +66 -0
- data/examples/testwsshortcuts2.rb +128 -0
- data/lib/rbhex.rb +6 -0
- data/lib/rbhex/core/docs/index.txt +73 -0
- data/lib/rbhex/core/include/action.rb +80 -0
- data/lib/rbhex/core/include/actionmanager.rb +49 -0
- data/lib/rbhex/core/include/appmethods.rb +214 -0
- data/lib/rbhex/core/include/bordertitle.rb +48 -0
- data/lib/rbhex/core/include/chunk.rb +203 -0
- data/lib/rbhex/core/include/io.rb +553 -0
- data/lib/rbhex/core/include/listbindings.rb +74 -0
- data/lib/rbhex/core/include/listcellrenderer.rb +140 -0
- data/lib/rbhex/core/include/listeditable.rb +317 -0
- data/lib/rbhex/core/include/listscrollable.rb +663 -0
- data/lib/rbhex/core/include/listselectable.rb +271 -0
- data/lib/rbhex/core/include/multibuffer.rb +83 -0
- data/lib/rbhex/core/include/orderedhash.rb +77 -0
- data/lib/rbhex/core/include/ractionevent.rb +73 -0
- data/lib/rbhex/core/include/rchangeevent.rb +27 -0
- data/lib/rbhex/core/include/rhistory.rb +95 -0
- data/lib/rbhex/core/include/rinputdataevent.rb +47 -0
- data/lib/rbhex/core/include/vieditable.rb +172 -0
- data/lib/rbhex/core/include/widgetmenu.rb +66 -0
- data/lib/rbhex/core/system/colormap.rb +165 -0
- data/lib/rbhex/core/system/keyboard.rb +150 -0
- data/lib/rbhex/core/system/keydefs.rb +30 -0
- data/lib/rbhex/core/system/ncurses.rb +236 -0
- data/lib/rbhex/core/system/panel.rb +162 -0
- data/lib/rbhex/core/system/window.rb +913 -0
- data/lib/rbhex/core/util/ansiparser.rb +119 -0
- data/lib/rbhex/core/util/app.rb +1228 -0
- data/lib/rbhex/core/util/basestack.rb +410 -0
- data/lib/rbhex/core/util/bottomline.rb +1859 -0
- data/lib/rbhex/core/util/colorparser.rb +77 -0
- data/lib/rbhex/core/util/focusmanager.rb +31 -0
- data/lib/rbhex/core/util/padreader.rb +192 -0
- data/lib/rbhex/core/util/rcommandwindow.rb +604 -0
- data/lib/rbhex/core/util/rdialogs.rb +574 -0
- data/lib/rbhex/core/util/viewer.rb +149 -0
- data/lib/rbhex/core/util/widgetshortcuts.rb +506 -0
- data/lib/rbhex/core/version.rb +5 -0
- data/lib/rbhex/core/widgets/applicationheader.rb +103 -0
- data/lib/rbhex/core/widgets/box.rb +58 -0
- data/lib/rbhex/core/widgets/divider.rb +310 -0
- data/lib/rbhex/core/widgets/keylabelprinter.rb +194 -0
- data/lib/rbhex/core/widgets/rcombo.rb +253 -0
- data/lib/rbhex/core/widgets/rcontainer.rb +415 -0
- data/lib/rbhex/core/widgets/rlink.rb +30 -0
- data/lib/rbhex/core/widgets/rlist.rb +696 -0
- data/lib/rbhex/core/widgets/rmenu.rb +958 -0
- data/lib/rbhex/core/widgets/rmenulink.rb +22 -0
- data/lib/rbhex/core/widgets/rmessagebox.rb +387 -0
- data/lib/rbhex/core/widgets/rprogress.rb +118 -0
- data/lib/rbhex/core/widgets/rtabbedpane.rb +634 -0
- data/lib/rbhex/core/widgets/rtabbedwindow.rb +70 -0
- data/lib/rbhex/core/widgets/rtextarea.rb +960 -0
- data/lib/rbhex/core/widgets/rtextview.rb +739 -0
- data/lib/rbhex/core/widgets/rtree.rb +768 -0
- data/lib/rbhex/core/widgets/rwidget.rb +3277 -0
- data/lib/rbhex/core/widgets/scrollbar.rb +143 -0
- data/lib/rbhex/core/widgets/statusline.rb +113 -0
- data/lib/rbhex/core/widgets/tabular.rb +264 -0
- data/lib/rbhex/core/widgets/tabularwidget.rb +1142 -0
- data/lib/rbhex/core/widgets/textpad.rb +995 -0
- data/lib/rbhex/core/widgets/tree/treecellrenderer.rb +150 -0
- data/lib/rbhex/core/widgets/tree/treemodel.rb +428 -0
- data/rbhex-core.gemspec +32 -0
- metadata +172 -0
data/examples/bline.rb
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
require 'rbhex/core/util/app'
|
2
|
+
require 'rbhex/core/util/bottomline'
|
3
|
+
require 'rbhex/core/version'
|
4
|
+
require 'fileutils'
|
5
|
+
|
6
|
+
# this will go into top namespace so will conflict with other apps!
|
7
|
+
def testnumberedmenu
|
8
|
+
list1 = %w{ ruby perl python erlang rake java lisp scheme chicken }
|
9
|
+
list1[0] = %w{ ruby ruby1.9 ruby1.8.x jruby rubinius ROR }
|
10
|
+
list1[5] = %w{ java groovy grails }
|
11
|
+
str = numbered_menu list1, { :title => "Languages: ", :prompt => "Select :" }
|
12
|
+
$log.debug "17 We got #{str.class} "
|
13
|
+
message "We got #{str} "
|
14
|
+
end
|
15
|
+
def testdisplay_list
|
16
|
+
# scrollable list
|
17
|
+
text = Dir.glob "*.rb"
|
18
|
+
$log.debug "XXX: DDD got #{text.size} "
|
19
|
+
str = display_list text, :title => "Select a file"
|
20
|
+
$log.debug "23 We got #{str} : #{str.class} , #{str.list[str.current_index]} "
|
21
|
+
file = str.list[str.current_index]
|
22
|
+
#message "We got #{str.list[str.current_index]} "
|
23
|
+
show file
|
24
|
+
end
|
25
|
+
def testdisplay_text
|
26
|
+
str = display_text_interactive File.read($0), :title => "#{$0}"
|
27
|
+
end
|
28
|
+
def testdir
|
29
|
+
# this behaves like vim's file selector, it fills in values
|
30
|
+
str = ask("File? ", Pathname) do |q|
|
31
|
+
q.completion_proc = Proc.new {|str| Dir.glob(str +"*").collect { |f| File.directory?(f) ? f+"/" : f } }
|
32
|
+
q.help_text = "Enter start of filename and tab to get completion"
|
33
|
+
end
|
34
|
+
message "We got #{str} "
|
35
|
+
show str
|
36
|
+
end
|
37
|
+
# if components have some commands, can we find a way of passing the command to them
|
38
|
+
# method_missing gave a stack overflow.
|
39
|
+
def execute_this(meth, *args)
|
40
|
+
alert " #{meth} not found ! "
|
41
|
+
$log.debug "app email got #{meth} " if $log.debug?
|
42
|
+
cc = @form.get_current_field
|
43
|
+
[cc].each do |c|
|
44
|
+
if c.respond_to?(meth, true)
|
45
|
+
c.send(meth, *args)
|
46
|
+
return true
|
47
|
+
end
|
48
|
+
end
|
49
|
+
false
|
50
|
+
end
|
51
|
+
|
52
|
+
App.new do
|
53
|
+
def show file
|
54
|
+
w = @form.by_name["tv"]
|
55
|
+
if File.exists? file
|
56
|
+
lines = File.open(file,'r').readlines
|
57
|
+
w.text lines
|
58
|
+
w.title "[ #{file} ]"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
def testchoose
|
62
|
+
# list filters as you type
|
63
|
+
$log.debug "called CHOOSE " if $log.debug?
|
64
|
+
filter = "*"
|
65
|
+
filter = ENV['PWD']+"/*"
|
66
|
+
str = choose filter, :title => "Files", :prompt => "Choose a file: (Alt-h Help) ",
|
67
|
+
:help_text => "Enter first char/s and tab to complete filename. Scroll with C-n, C-p"
|
68
|
+
if str
|
69
|
+
message "We got #{str} "
|
70
|
+
show str
|
71
|
+
end
|
72
|
+
end
|
73
|
+
ht = 24
|
74
|
+
borderattrib = :reverse
|
75
|
+
@header = app_header "rbhex #{Rbhex::Core::VERSION}", :text_center => "Bottomline Test",
|
76
|
+
:text_right =>"Click :", :color => :white, :bgcolor => 235
|
77
|
+
message "Press F10 to exit, F1 Help, : for Menu "
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
# commands that can be mapped to or executed using M-x
|
82
|
+
# however, commands of components aren't yet accessible.
|
83
|
+
def get_commands
|
84
|
+
%w{ testchoose testnumberedmenu testdisplay_list testdisplay_text testdir }
|
85
|
+
end
|
86
|
+
def help_text
|
87
|
+
<<-eos
|
88
|
+
BOTTOMLINE HELP
|
89
|
+
|
90
|
+
These are some features for either getting filenames from user
|
91
|
+
at the bottom of the window like vim and others do.
|
92
|
+
|
93
|
+
: - Command mode
|
94
|
+
F1 - Help
|
95
|
+
F10 - Quit application
|
96
|
+
|
97
|
+
Some commands for using bottom of screen as vim and emacs do.
|
98
|
+
These may be selected by pressing ':'
|
99
|
+
|
100
|
+
testchoose - filter directory list as you type
|
101
|
+
testdir - vim style, tabbing completes matching files
|
102
|
+
testnumberedmenu - use menu indexes to select options
|
103
|
+
testdisplaylist - display a list at bottom of screen
|
104
|
+
Press <ENTER> to select.
|
105
|
+
testdisplaytext - display text at bottom (current file contents)
|
106
|
+
Press <ENTER> when done.
|
107
|
+
|
108
|
+
The file/dir selection options are very minimally functional. Improvements
|
109
|
+
and thorough testing are required. I've only tested them out gingerly.
|
110
|
+
|
111
|
+
-----------------------------------------------------------------------
|
112
|
+
:n or Alt-n for general help.
|
113
|
+
eos
|
114
|
+
end
|
115
|
+
|
116
|
+
#install_help_text help_text
|
117
|
+
|
118
|
+
def app_menu
|
119
|
+
menu = PromptMenu.new self do
|
120
|
+
item :c, :testchoose
|
121
|
+
item :d, :testdir
|
122
|
+
item :n, :testnumberedmenu
|
123
|
+
item :l, :testdisplay_list
|
124
|
+
item :t, :testdisplay_text
|
125
|
+
end
|
126
|
+
menu.display_new :title => "Menu"
|
127
|
+
end
|
128
|
+
@form.bind_key(?:) { app_menu; }
|
129
|
+
|
130
|
+
stack :margin_top => 1, :margin_left => 0, :width => :expand , :height => FFI::NCurses.LINES-2 do
|
131
|
+
tv = textview :height_pc => 100, :width_pc => 100, :name => "tv"
|
132
|
+
end # stack
|
133
|
+
|
134
|
+
sl = status_line :row => Ncurses.LINES-1
|
135
|
+
testdisplay_list
|
136
|
+
end # app
|
@@ -0,0 +1,45 @@
|
|
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/rbhex/
|
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 'rbhex/core/include/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
|
+
unless File.exists? fp
|
25
|
+
pwd = %x[pwd]
|
26
|
+
alert "No such file. My pwd is #{pwd} "
|
27
|
+
return
|
28
|
+
end
|
29
|
+
ft=%x[file #{fp}]
|
30
|
+
if ft.index("text")
|
31
|
+
pager = ENV['PAGER'] || 'less'
|
32
|
+
vimp = %x[which #{pager}].chomp
|
33
|
+
shell_out "#{vimp} #{fp}"
|
34
|
+
elsif ft.index(/zip/i)
|
35
|
+
shell_out "tar tvf #{fp} | less"
|
36
|
+
elsif ft.index(/directory/i)
|
37
|
+
shell_out "ls -lh #{fp} | less"
|
38
|
+
else
|
39
|
+
alert "#{fp} is not text, not paging "
|
40
|
+
#use_on_file "als", fp # only zip or archive
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
end # module
|
45
|
+
include RubyCurses
|
@@ -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
|
+
rbhex (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
|