fastreader 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fastreader might be problematic. Click here for more details.
- data/History.txt +7 -0
- data/README.txt +5 -0
- data/lib/curses_controller.rb +13 -13
- data/lib/entries_controller.rb +3 -3
- data/lib/entry_controller.rb +2 -2
- data/lib/fastreader.rb +1 -1
- data/lib/feeds_controller.rb +2 -2
- metadata +1 -1
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -55,6 +55,11 @@ To update all subscribed feeds, type
|
|
55
55
|
|
56
56
|
FastReader will output information as the update progresses.
|
57
57
|
|
58
|
+
It's a good idea to call "fastreader update" from a cron job so you don't
|
59
|
+
have to keep updating feeds manually. Make sure you redirect the output to
|
60
|
+
/dev/null.
|
61
|
+
|
62
|
+
|
58
63
|
=== Console Mode
|
59
64
|
|
60
65
|
There are three screens in console mode:
|
data/lib/curses_controller.rb
CHANGED
@@ -51,8 +51,8 @@ left goes back up the hierarchy.
|
|
51
51
|
You can prefix a up or down movement command with a number to go that many
|
52
52
|
steps in that direction.
|
53
53
|
|
54
|
-
CTRL-f
|
55
|
-
CTRL-b
|
54
|
+
CTRL-f, PAGE DOWN KEY Page down
|
55
|
+
CTRL-b, PAGE UP KEY Page up
|
56
56
|
H Move to top of screen
|
57
57
|
M Move to top middle of screen
|
58
58
|
L Move to bottom of screen
|
@@ -90,13 +90,13 @@ left goes back up the hierarchy.
|
|
90
90
|
You can prefix a up or down movement command with a number to go that many
|
91
91
|
steps in that direction.
|
92
92
|
|
93
|
-
CTRL-f
|
94
|
-
CTRL-b
|
95
|
-
H
|
96
|
-
M
|
97
|
-
L
|
98
|
-
G
|
99
|
-
1G
|
93
|
+
CTRL-f, PAGE DOWN KEY Page down
|
94
|
+
CTRL-b, PAGE UP KEY Page up
|
95
|
+
H Move to top of screen
|
96
|
+
M Move to top middle of screen
|
97
|
+
L Move to bottom of screen
|
98
|
+
G Move to last item
|
99
|
+
1G Move to first item
|
100
100
|
l, RIGHT ARROW, RETURN Select an item and display its content
|
101
101
|
|
102
102
|
Actions
|
@@ -117,10 +117,10 @@ U Forces an update of the feed
|
|
117
117
|
ENTRY_PAGE_COMMANDS = <<-END
|
118
118
|
Feed Item Content Navigation
|
119
119
|
|
120
|
-
j, DOWN ARROW, CTRL-f
|
121
|
-
k, UP ARROW, CTRL-b Page up
|
122
|
-
h, LEFT ARROW
|
123
|
-
l, RIGHT ARROW, RETURN
|
120
|
+
j, DOWN ARROW, CTRL-f, PAGE DOWN KEY Page down (if there is more than one page)
|
121
|
+
k, UP ARROW, CTRL-b, PAGE UP KEY Page up
|
122
|
+
h, LEFT ARROW Go back to entries list
|
123
|
+
l, RIGHT ARROW, RETURN Go to the web page linked to this entry.
|
124
124
|
|
125
125
|
By default, the command to open the web browser is "open {url}." This works out
|
126
126
|
of the box on Mac OS X. You can change this command by setting your shell's
|
data/lib/entries_controller.rb
CHANGED
@@ -108,7 +108,7 @@ module EntriesController
|
|
108
108
|
@current_entry_index = @content_area.current_index
|
109
109
|
end
|
110
110
|
|
111
|
-
when Key::DOWN, ?j,
|
111
|
+
when Key::DOWN, ?j, ?n # n next search
|
112
112
|
return if @current_entries.empty? # nowhere to go
|
113
113
|
|
114
114
|
if @entries_list_matches.nil? || @entries_list_matches.empty?
|
@@ -171,9 +171,9 @@ module EntriesController
|
|
171
171
|
else
|
172
172
|
@content_area.beginning
|
173
173
|
end
|
174
|
-
when control_key('F')
|
174
|
+
when control_key('F'), Key::NPAGE
|
175
175
|
@content_area.next_page
|
176
|
-
when control_key('B')
|
176
|
+
when control_key('B'), Key::PPAGE
|
177
177
|
@content_area.prev_page
|
178
178
|
else
|
179
179
|
# don't do anything
|
data/lib/entry_controller.rb
CHANGED
@@ -56,14 +56,14 @@ module EntryController
|
|
56
56
|
when ?\/
|
57
57
|
# search mode
|
58
58
|
# TODO
|
59
|
-
when Key::UP, ?k, ?p, control_key('B')
|
59
|
+
when Key::UP, ?k, ?p, control_key('B'), Key::PPAGE
|
60
60
|
if @content_area.prev_page == :exit
|
61
61
|
# go back to entries list
|
62
62
|
@content_area.close
|
63
63
|
show_entries
|
64
64
|
return :exit
|
65
65
|
end
|
66
|
-
when Key::DOWN, ?j, ?\s, ?n, control_key('F')
|
66
|
+
when Key::DOWN, ?j, ?\s, ?n, control_key('F'), Key::NPAGE
|
67
67
|
if @content_area.next_page == :exit
|
68
68
|
# go back to entries list
|
69
69
|
@content_area.close
|
data/lib/fastreader.rb
CHANGED
data/lib/feeds_controller.rb
CHANGED
@@ -182,9 +182,9 @@ module FeedsController
|
|
182
182
|
else
|
183
183
|
@content_area.beginning
|
184
184
|
end
|
185
|
-
when control_key('F')
|
185
|
+
when control_key('F'), Key::NPAGE
|
186
186
|
@content_area.next_page
|
187
|
-
when control_key('B')
|
187
|
+
when control_key('B'), Key::PPAGE
|
188
188
|
@content_area.prev_page
|
189
189
|
else
|
190
190
|
# don't do anything
|