-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwikicurses.1
208 lines (208 loc) · 3.14 KB
/
wikicurses.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.TH wikicurses 1 2015-04-16
.SH NAME
wikicurses \- curses interface for MediaWiki
.SH SYNOPSIS
wikicurses [\-h] [\-\-wiki WIKI] [\-d | \-f | \-p] [search]
.SH CONTROLS
.SS General
.PP
j or down
.RS 4
Scroll down
.RE
.PP
k or up
.RS 4
Scroll up
.RE
.PP
^b or pagedown
.RS 4
Scroll down one page
.RE
.PP
^f or pageup
.RS 4
Scroll up one page
.RE
.PP
g or home
.RS 4
Scroll to top
.RE
.PP
G or end
.RS 4
Scroll to bottom
.RE
.SS Pager
.PP
c
.RS 4
Open table of contents
.RE
.PP
o
.RS 4
Open search box
.RE
.PP
q or :q[uit]
.RS 4
Exit
.RE
.PP
:bmark
.RS 4
Bookmark page
.RE
.PP
:bmarks
.RS 4
Open bookmarks
.RE
.PP
:links
.RS 4
Open list of internal links in page
.RE
.PP
:iwlinks
.RS 4
Open list of interwiki links in page
.RE
.PP
:extlinks
.RS 4
Open list of external links in page to open in browser
.RE
.PP
:langs
.RS 4
Open list of languages the article is available in
.RE
.PP
:wikis
.RS 4
Open list of configured wikis, see \fBwikicurses.conf\fR(5)
.RE
.PP
:feeds
.RS 4
Open a list of featured feeds on the current wiki
.RE
.PP
:clearcache
.RS 4
Clears the cache; exiting the program has an equivalent effect
.RE
.PP
:edit
.RS 4
Edit wiki page (opens in $EDITOR)
.RE
.PP
:help
.RS 4
Display man page
.RE
.PP
:back, h, or left
.RS 4
Go backward in history
.RE
.PP
:forward, l, or right
.RS 4
Go forward in history
.RE
.PP
:random
.RS 4
Go to a random page
.RE
.PP
/
.RS 4
Search page and highlight matching text. Supports regular expressions.
.RE
.SS Bookmarks Menu
.PP
x or delete
.RS 4
Delete selected bookmark
.RE
.PP
u
.RS 4
Undo deletion
.RE
.SS Search
.PP
tab
.RS 4
Tab completion for page title
.RE
.SH OPTIONS
.PP
\fB\-h,\fR \-\-help
.RS 4
Display help message
.RE
.PP
\fB\-w,\fR \-\-wiki <wiki>
.RS 4
Url or name of wiki to use
.RE
.PP
\fB\-f,\fR \-\-feed <name>
.RS 4
view featured feed
.RE
.PP
\-\-dumpcolors
.RS 4
write current color settings to config file
.RE
.SH COLOR SETTINGS
To use colors other than the defaults, you need a file called ~/.config/wikicurses/colors. To create this file with the current color settings, run wikicurses --dumpcolors. This is a configuration file containing various things that can be colored. Each has allows setting display settings (bold, italics, underline, or standout), foreground color, background color, and text alignment. Multiple settings can be set by separating with spaces. The color options are the same as in urwid (see http://urwid.org/manual/displayattributes.html).
.SH ENVIRONMENT VARIABLES
.PP
HOME, XDG_CONFIG_HOME
.RS 4
Determines where to look for and store configuration files.
.RE
.PP
EDITOR
.RS 4
The name of the command to use as a text editor, defaulting to vim.
.RE
.PP
BROWSER
.RS 4
The name of the command to use as a web browser, defaulting to lynx.
.SH EXAMPLES
.PP
wikicurses Wiki
.RS 4
Look up "Wiki" on the default wiki
.RE
.PP
wikicurses -w ArchWiki Dwm
.RS 4
Look up "Dwm" on the Archlinux Wiki, where "ArchWiki" is configured in \fbwikicurses.conf\fr(5)
.RE
.PP
wikicurses -w http://en.wiktionary.org/w/api.php penguin
.RS 4
Look up "penguin" on Wiktionary
.RE
.PP
wikicurses -f potd
.RS 4
Open "potd" (Picture of the Day) feed
.RE
.SH SEE ALSO
\fBwikicurses.conf\fR(5)
.SH BUGS
https://github.com/ids1024/wikicurses/issues