Blob


1 <!DOCTYPE html>
2 <html>
3 <!-- This is an automatically generated file. Do not edit.
4 Copyright (c) 2021 Omar Polo <op@omarpolo.com>
6 Permission to use, copy, modify, and distribute this software for any
7 purpose with or without fee is hereby granted, provided that the above
8 copyright notice and this permission notice appear in all copies.
10 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 -->
18 <head>
19 <meta charset="utf-8"/>
20 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
21 <style>
22 body {
23 max-width: 960px;
24 margin: 0 auto;
25 padding: 0 10px;
26 font-size: 1rem;
27 }
29 pre {
30 overflow: auto;
31 }
32 table.head, table.foot { width: 100%; }
33 td.head-rtitle, td.foot-os { text-align: right; }
34 td.head-vol { text-align: center; }
35 .Nd, .Bf, .Op { display: inline; }
36 .Pa, .Ad { font-style: italic; }
37 .Ms { font-weight: bold; }
38 .Bl-diag > dt { font-weight: bold; }
39 code.Nm, .Fl, .Cm, .Ic, code.In, .Fd, .Fn, .Cd { font-weight: bold;
40 font-family: inherit; }
41 </style>
42 <title>TELESCOPE(1)</title>
43 </head>
44 <body>
45 <table class="head">
46 <tr>
47 <td class="head-ltitle">TELESCOPE(1)</td>
48 <td class="head-vol">General Commands Manual</td>
49 <td class="head-rtitle">TELESCOPE(1)</td>
50 </tr>
51 </table>
52 <div class="manual-text">
53 <section class="Sh">
54 <h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
55 <p class="Pp"><code class="Nm">telescope</code> &#x2014;
56 <span class="Nd">multi-protocol browser</span></p>
57 </section>
58 <section class="Sh">
59 <h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
60 <table class="Nm">
61 <tr>
62 <td><code class="Nm">telescope</code></td>
63 <td>[<code class="Fl">-ChnSv</code>]
64 [<code class="Fl">-c</code>&#x00A0;<var class="Ar">config</var>]
65 [<var class="Ar">URL</var>]</td>
66 </tr>
67 </table>
68 </section>
69 <section class="Sh">
70 <h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
71 <p class="Pp"><code class="Nm">telescope</code> is an interactive browser that
72 supports the Finger, Gemini and Gopher protocols.
73 <code class="Nm">telescope</code> features tabs, a minibuffer, interactive
74 completions, bookmarks and out-of-band TOFU verification.</p>
75 <p class="Pp">The arguments are as follows:</p>
76 <dl class="Bl-tag">
77 <dt id="C"><a class="permalink" href="#C"><code class="Fl">-C</code></a>,
78 <code class="Fl">--colors</code></dt>
79 <dd>Show all available colors and exit.</dd>
80 <dt id="c"><a class="permalink" href="#c"><code class="Fl">-c</code></a>
81 <var class="Ar">config</var></dt>
82 <dd>Specify an alternative configuration file. By default
83 <span class="Pa">~/.config/telescope/config</span> is loaded.</dd>
84 <dt id="h"><a class="permalink" href="#h"><code class="Fl">-h</code></a>,
85 <code class="Fl">--help</code></dt>
86 <dd>Display version and usage.</dd>
87 <dt id="n"><a class="permalink" href="#n"><code class="Fl">-n</code></a></dt>
88 <dd>Configtest mode. Only check the configuration file for validity.</dd>
89 <dt id="S"><a class="permalink" href="#S"><code class="Fl">-S</code></a>,
90 <code class="Fl">--safe</code></dt>
91 <dd>&#x201C;Safe&#x201D; (or &#x201C;sandbox&#x201D;) mode. Prevent
92 <code class="Nm">telescope</code> from writing files to the disk and to
93 acquire the lock, allowing to run multiple instances at the same time.
94 <code class="Nm">telescope</code> still loads the session file and the
95 custom about pages.</dd>
96 <dt id="v"><a class="permalink" href="#v"><code class="Fl">-v</code></a>,
97 <code class="Fl">--version</code></dt>
98 <dd>Display version.</dd>
99 </dl>
100 </section>
101 <section class="Sh">
102 <h1 class="Sh" id="UI_CONCEPTS"><a class="permalink" href="#UI_CONCEPTS">UI
103 CONCEPTS</a></h1>
104 <p class="Pp"><code class="Nm">telescope</code> interface is divided into four
105 areas: the tabline, the body, the modeline and the echoarea/minibuffer.</p>
106 <p class="Pp">The tabline is always at the top of the screen and displays the
107 tabs separated by a vertical line. When there are more tabs than the size of
108 the window allow to display, the characters &#x2018;&lt;&#x2019; or
109 &#x2018;&gt;&#x2019; are shown at the start/end of the tabline to indicate
110 that there are more tabs in that direction.</p>
111 <p class="Pp">The body occupies the majority of the visible area. It contains
112 the current page and optionally a side window.</p>
113 <p class="Pp">The modeline is the second to last row of the screen. It shows
114 some information about the page: a spinner when the page is loading, the
115 trust level, the document type, the scroll offset and the URL.</p>
116 <p class="Pp">The echoarea is usually the last line of the screen. Messages are
117 often showed there, and link addresses too. The echoarea is also used to
118 obtain input from the user. When commands like
119 <code class="Ic">swiper</code> or <code class="Ic">link-select</code> are
120 invoked, the minibuffer area grows to show possible completions.</p>
121 </section>
122 <section class="Sh">
123 <h1 class="Sh" id="TOFU"><a class="permalink" href="#TOFU">TOFU</a></h1>
124 <p class="Pp"><code class="Nm">telescope</code> aims to use the &#x201C;Trust,
125 but Verify (where appropriate)&#x201D; approach for TOFU (&#x201C;Trust On
126 First Use&#x201D;). The idea is to define three level of verification for a
127 certificate:</p>
128 <dl class="Bl-tag">
129 <dt>untrusted</dt>
130 <dd>(&#x2018;!&#x2019;) the server fingerprint does NOT match the stored
131 value.</dd>
132 <dt>trusted</dt>
133 <dd>(&#x2018;v&#x2019;) the server fingerprint matches the store one.</dd>
134 <dt>verified</dt>
135 <dd>(&#x2018;V&#x2019;) the fingerprint matches and has been verified
136 out-of-band.</dd>
137 </dl>
138 <p class="Pp">The trust level of the page is indicated in the modeline with the
139 indicated character.</p>
140 <p class="Pp">Most of the time the &#x201C;trusted&#x201D; level is enough, but
141 where is appropriate users should be able to verify out-of-band the
142 certificate.</p>
143 <p class="Pp">At the moment, there is no built-in support for an out-of-band
144 verification though.</p>
145 </section>
146 <section class="Sh">
147 <h1 class="Sh" id="SUPPORTED_PROTOCOLS"><a class="permalink" href="#SUPPORTED_PROTOCOLS">SUPPORTED
148 PROTOCOLS</a></h1>
149 <p class="Pp">The following protocols are supported:</p>
150 <dl class="Bl-tag">
151 <dt>about:</dt>
152 <dd>About pages are <code class="Nm">telescope</code> internal page. See
153 about:about for a list of all these pages.</dd>
154 <dt>file://</dt>
155 <dd>File types know to <code class="Nm">telescope</code>, such as .gmi,
156 .gemini, .txt, .md, .markdown, .diff or .patch, can be viewed inside the
157 application. Types of local files are detected solely based on the file
158 extension. On some systems, such as <span class="Ux">OpenBSD</span>, only
159 files inside special directories (like <span class="Pa">/tmp</span>
160 <span class="No">or</span> <span class="Pa">~/Downloads</span>) are
161 available.</dd>
162 <dt>finger://</dt>
163 <dd>Finger URLs are interpreted as follows:
164 <ul class="Bl-bullet Bl-compact">
165 <li>the host is determined by the host name portion of the URL</li>
166 <li>if the user portion of the URL is provided, it's interpreted as the
167 user to finger, otherwise the path component will be used</li>
168 </ul>
169 thus <a class="Lk" href="finger://user@hostname">finger://user@hostname</a>
170 and <a class="Lk" href="finger://hostname/user">finger://hostname/user</a>
171 are treated as the same URL.</dd>
172 <dt>gemini://</dt>
173 <dd>Gemini is fully supported, with the exception of client-certificates.</dd>
174 <dt>gopher://</dt>
175 <dd>Gopher support is limited to items type 0, 1 and 7. All text is assumed to
176 be encoded in UTF-8 (or ASCII).</dd>
177 </dl>
178 <p class="Pp">User-entered URLs, given as argument on the command line or
179 entered with <code class="Ic">load-url</code>, are intepreted with a simple
180 heuristic:</p>
181 <ul class="Bl-bullet Bl-compact">
182 <li>if it's a proper absolute URL then use it as-is,</li>
183 <li>if it starts with &#x201C;./&#x201D; or &#x201C;/&#x201D; assume it's a
184 file:// URL,</li>
185 <li>otherwise assume it's a Gemini URL.</li>
186 </ul>
187 </section>
188 <section class="Sh">
189 <h1 class="Sh" id="CONFIGURATION_FILE"><a class="permalink" href="#CONFIGURATION_FILE">CONFIGURATION
190 FILE</a></h1>
191 <p class="Pp">During the startup, <code class="Nm">telescope</code> reads the
192 configuration file at <span class="Pa">~/.config/telescope/config</span> or
193 <span class="Pa">~/.telescope/config</span>.</p>
194 <p class="Pp">It's possible to load a custom configuration file using the
195 <code class="Fl">-c</code> flag.</p>
196 <p class="Pp"><code class="Nm">telescope</code> will also load a file called
197 <span class="Pa">config-TERM</span>, where &#x201C;TERM&#x201D; is the name
198 of the terminal type (i.e. the TERM environment variable), if it exists.</p>
199 <p class="Pp">The format of the configuration file is fairly flexible. The
200 current line can be extended over multiple ones using a backslash
201 (&#x2018;\&#x2019;). Comments can be put anywhere in the file using a hash
202 mark (&#x2018;#&#x2019;), and extend to the end of the current line, but
203 backslashes can't be used to extend comments over multiple lines.</p>
204 <p class="Pp">The following constructs are available:</p>
205 <dl class="Bl-tag">
206 <dt id="bind"><a class="permalink" href="#bind"><code class="Ic">bind</code></a>
207 <var class="Ar">map</var> <var class="Ar">key</var>
208 <var class="Ar">cmd</var></dt>
209 <dd>Bind <var class="Ar">key</var> to the function <var class="Ar">cmd</var>
210 in the keymap <var class="Ar">map</var>. Valid values for map are
211 &#x201C;global-map&#x201D; (i.e. when the user is viewing a page) and
212 &#x201C;minibuffer-map&#x201D; (i.e. when the minibuffer has the focus.)
213 <var class="Ar">key</var> follows the same syntax described in
214 <a class="Sx" href="#DEFAULT_KEY_BINDINGS">DEFAULT KEY BINDINGS</a> and
215 all the possible functions are listed in
216 <a class="Sx" href="#INTERACTIVE_COMMANDS">INTERACTIVE COMMANDS</a>.</dd>
217 <dt id="proxy"><a class="permalink" href="#proxy"><code class="Ic">proxy</code></a>
218 <var class="Ar">proto</var> <code class="Ic">via</code>
219 <var class="Ar">url</var></dt>
220 <dd>Use <var class="Ar">url</var> as proxy for all URLs with protocol
221 <var class="Ar">proto</var>. <var class="Ar">url</var> must be a Gemini
222 URI without path, query and fragment component.</dd>
223 <dt id="set"><a class="permalink" href="#set"><code class="Ic">set</code></a>
224 <var class="Ar">opt</var> <span class="No">=</span>
225 <var class="Ar">val</var></dt>
226 <dd>Set the option <var class="Ar">opt</var> to the value
227 <var class="Ar">val</var>. Valid options are:
228 <p class="Pp"></p>
229 <dl class="Bl-tag Bl-compact">
230 <dt>autosave</dt>
231 <dd>(integer) If greater than zero, save the session after the specified
232 amount of seconds after some events happens (new or closed tabs,
233 visited a link ...) Defaults to 20.</dd>
234 <dt>dont-wrap-pre</dt>
235 <dd>(integer) If nonzero, don't wrap preformatted blocks. Defaults to
236 0.</dd>
237 <dt>download-path</dt>
238 <dd>(string) The default download path. Defaults to
239 <span class="Pa">/tmp</span>.</dd>
240 <dt>emojify-link</dt>
241 <dd>(integer) If nonzero, when the text of a link starts with an emoji
242 followed by a space, use that emoji as line prefix. Defaults to
243 1.</dd>
244 <dt>enable-colors</dt>
245 <dd>(integer) If nonzero, enable colours. Defaults to 0 if
246 <code class="Ev">NO_COLORS</code> is set, 1 otherwise.</dd>
247 <dt>fill-column</dt>
248 <dd>(integer) If greater than zero, lines of text will be formatted in a
249 way that don't exceed the given number of columns. Defaults to
250 80.</dd>
251 <dt>hide-pre-blocks</dt>
252 <dd>(integer) If nonzero, hide by default the body of the preformatted
253 blocks. Defaults to zero. <code class="Ic">push-button</code> can be
254 used to toggle the visibility per-block.</dd>
255 <dt>hide-pre-closing-line</dt>
256 <dd>(integer) If nonzero, hide the closing line of preformatted blocks.
257 Defaults to 0.</dd>
258 <dt>hide-pre-context</dt>
259 <dd>(integer) If nonzero, hide the start and end line of the preformatted
260 blocks. If both hide-pre-context and hide-pre-blocks are nonzero,
261 preformatted blocks are irremediably hidden. Defaults to zero.</dd>
262 <dt>new-tab-url</dt>
263 <dd>(string) URL for the new tab page. Defaults to
264 &#x201C;about:new&#x201D;.</dd>
265 <dt>olivetti-mode</dt>
266 <dd>(integer) If nonzero, enable <code class="Ic">olivetti-mode</code>
267 Defaults to 1.</dd>
268 <dt>set-title</dt>
269 <dd>(integer) If nonzero, set the terminal title to the page title.
270 Defaults to 1.</dd>
271 <dt>tab-bar-show</dt>
272 <dd>(integer) If tab-bar-show is -1 hide the tab bar permanently, if 0
273 show it unconditionally. If it's 1, show the bar only when there is
274 more than one tab. Defaults to 1.</dd>
275 </dl>
276 </dd>
277 <dt id="style"><a class="permalink" href="#style"><code class="Ic">style</code></a>
278 <var class="Ar">name</var> <var class="Ar">option</var></dt>
279 <dd>Change the styling of the element identified by
280 <var class="Ar">name</var>. Multiple options may be specified within curly
281 braces. Valid style identifiers are:
282 <div class="Bd-indent">
283 <dl class="Bl-tag Bl-compact">
284 <dt>line</dt>
285 <dd>the area outside the lines in the body of the page.</dd>
286 <dt>line.compl</dt>
287 <dd>the completions.</dd>
288 <dt>line.compl.current</dt>
289 <dd>the current completion.</dd>
290 <dt>line.help</dt>
291 <dd>text in the *Help* buffer.</dd>
292 <dt>line.download.ongoing</dt>
293 <dd>an ongoing download</dd>
294 <dt>line.download.done</dt>
295 <dd>a completed download</dd>
296 <dt>line.download.info</dt>
297 <dd>informational text in the *Downloads* buffer.</dd>
298 <dt>line.text</dt>
299 <dd>text lines.</dd>
300 <dt>line.link</dt>
301 <dd>link lines.</dd>
302 <dt>line.title1..3</dt>
303 <dd>headings</dd>
304 <dt>line.item</dt>
305 <dd>item lines.</dd>
306 <dt>line.quote</dt>
307 <dd>quotes.</dd>
308 <dt>line.pre.start</dt>
309 <dd>the heading of a preformatted block.</dd>
310 <dt>line.pre</dt>
311 <dd>the content of a preformatted block.</dd>
312 <dt>line.pre.end</dt>
313 <dd>the closing line of a preformatted block.</dd>
314 <dt>download</dt>
315 <dd>the download pane</dd>
316 <dt>minibuffer</dt>
317 <dd>the minibuffer.</dd>
318 <dt>modeline</dt>
319 <dd>the modeline.</dd>
320 <dt>tabline</dt>
321 <dd>the tabline.</dd>
322 <dt>tabline.tab</dt>
323 <dd>the non-focused tabs.</dd>
324 <dt>tabline.current</dt>
325 <dd>the focused tab.</dd>
326 </dl>
327 </div>
328 <p class="Pp">Valid options are:</p>
329 <dl class="Bl-tag">
330 <dt id="attr"><a class="permalink" href="#attr"><code class="Ic">attr</code></a>
331 <var class="Ar">prefix</var> [<var class="Ar">line</var>
332 [<var class="Ar">trail</var>]]</dt>
333 <dd>Sets the text attributes. If only one value is given,
334 <var class="Ar">line</var> and <var class="Ar">trail</var> default to
335 that; if two values are given then <var class="Ar">trail</var>
336 defaults to <var class="Ar">prefix</var>. Each attribute is a
337 comma-separated list of keywords:
338 <div class="Bd-indent">
339 <dl class="Bl-tag Bl-compact">
340 <dt id="normal"><a class="permalink" href="#normal"><code class="Ic">normal</code></a></dt>
341 <dd>no attributes.</dd>
342 <dt id="standout"><a class="permalink" href="#standout"><code class="Ic">standout</code></a></dt>
343 <dd>best highlighting mode for the terminal.</dd>
344 <dt id="underline"><a class="permalink" href="#underline"><code class="Ic">underline</code></a></dt>
345 <dd>underlines the text.</dd>
346 <dt id="reverse"><a class="permalink" href="#reverse"><code class="Ic">reverse</code></a></dt>
347 <dd>reverses background/foreground colors.</dd>
348 <dt id="blink"><a class="permalink" href="#blink"><code class="Ic">blink</code></a></dt>
349 <dd>makes the text blinking.</dd>
350 <dt id="dim"><a class="permalink" href="#dim"><code class="Ic">dim</code></a></dt>
351 <dd>half bright.</dd>
352 <dt id="bold"><a class="permalink" href="#bold"><code class="Ic">bold</code></a></dt>
353 <dd>extra bright or bold.</dd>
354 </dl>
355 </div>
356 <p class="Pp">Only the style identifiers with the &#x201C;line.&#x201D;
357 prefix accept up to three attributes. The other will only use the
358 first one given.</p>
359 </dd>
360 <dt id="bg"><a class="permalink" href="#bg"><code class="Ic">bg</code></a>
361 <var class="Ar">prefix</var> [<var class="Ar">line</var>
362 [<var class="Ar">trail</var>]]</dt>
363 <dd>Sets the background color. Follows the same behaviour as
364 <code class="Ic">attr</code> regarding the optional parameters. The
365 colour is one of black, red, green, yellow, blue, magenta, cyan and
366 white; colour0 to colour255 (or color0 to color255) from the
367 256-colour set; default for the default colour.</dd>
368 <dt id="fg"><a class="permalink" href="#fg"><code class="Ic">fg</code></a>
369 <var class="Ar">prefix</var> [<var class="Ar">line</var>
370 [<var class="Ar">trail</var>]]</dt>
371 <dd>Sets the foreground color. It behaves just like
372 <code class="Ic">bg</code>.</dd>
373 <dt id="prefix"><a class="permalink" href="#prefix"><code class="Ic">prefix</code></a>
374 <var class="Ar">prfx</var> [<var class="Ar">cont</var>]</dt>
375 <dd>Sets the prefix for the current line type to
376 <var class="Ar">prfx</var> and <var class="Ar">cont</var> as the
377 prefix for the continuation lines (i.e. when a long line gets
378 wrapped.) If <var class="Ar">cont</var> is not given its value will be
379 the same of <var class="Ar">prfx</var>.</dd>
380 </dl>
381 </dd>
382 </dl>
383 </section>
384 <section class="Sh">
385 <h1 class="Sh" id="DEFAULT_KEY_BINDINGS"><a class="permalink" href="#DEFAULT_KEY_BINDINGS">DEFAULT
386 KEY BINDINGS</a></h1>
387 <p class="Pp">The default key bindings are very similar to GNU Emacs, but care
388 has been taken to include also bindings familiar for <a class="Xr">vi(1)</a>
389 and &#x201C;CUA&#x201D; users. In the following examples, C-x means
390 Control-x, M-x means Meta-x, where the Meta key may be either a special key
391 on the keyboard or the ALT key; otherwise ESC followed by the key X works as
392 well, and C-M-x means to press the key X together with both Control and
393 Meta.</p>
394 <p class="Pp">Keys are usually a single character, like &#x2018;p&#x2019; or
395 &#x2018;n&#x2019;, but some special keys are accepted as well.</p>
396 <p class="Pp"></p>
397 <div class="Bd-indent">
398 <dl class="Bl-tag Bl-compact">
399 <dt>&lt;up&gt;</dt>
400 <dd>Up arrow</dd>
401 <dt>&lt;down&gt;</dt>
402 <dd>Down arrow</dd>
403 <dt>&lt;left&gt;</dt>
404 <dd>Left arrow</dd>
405 <dt>&lt;right&gt;</dt>
406 <dd>Right arrow</dd>
407 <dt>&lt;prior&gt;</dt>
408 <dd>Previous page/Page up</dd>
409 <dt>&lt;next&gt;</dt>
410 <dd>Next page/Page down</dd>
411 <dt>&lt;home&gt;</dt>
412 <dd>Home</dd>
413 <dt>&lt;end&gt;</dt>
414 <dd>End</dd>
415 <dt>&lt;f0&gt; thru &lt;f63&gt;</dt>
416 <dd>Function keys</dd>
417 <dt>del or backspace</dt>
418 <dd>Backspace</dd>
419 <dt>esc</dt>
420 <dd>Escape</dd>
421 <dt>space or spc</dt>
422 <dd>Space</dd>
423 <dt>enter or ret</dt>
424 <dd>Enter</dd>
425 <dt>tab</dt>
426 <dd>Tab</dd>
427 <dt>backtab</dt>
428 <dd>Depends on the configuration of the terminal emulator; usually shift
429 tab.</dd>
430 </dl>
431 </div>
432 <section class="Ss">
433 <h2 class="Ss" id="GNU_Emacs-like_keys"><a class="permalink" href="#GNU_Emacs-like_keys">GNU
434 Emacs-like keys</a></h2>
435 <div class="Bd-indent">
436 <dl class="Bl-tag Bl-compact">
437 <dt>C-p</dt>
438 <dd>previous-line</dd>
439 <dt>C-n</dt>
440 <dd>next-line</dd>
441 <dt>C-f</dt>
442 <dd>forward-char</dd>
443 <dt>C-b</dt>
444 <dd>backward-char</dd>
445 <dt>M-{</dt>
446 <dd>backward-paragraph</dd>
447 <dt>M-}</dt>
448 <dd>forward-paragraph</dd>
449 <dt>C-a</dt>
450 <dd>move-beginning-of-line</dd>
451 <dt>C-e</dt>
452 <dd>move-end-of-line</dd>
453 <dt>M-v, M-space</dt>
454 <dd>scroll-up</dd>
455 <dt>C-v, space</dt>
456 <dd>scroll-down</dd>
457 <dt>M-&lt;</dt>
458 <dd>beginning-of-buffer</dd>
459 <dt>M-&gt;</dt>
460 <dd>end-of-buffer</dd>
461 <dt>C-x C-c</dt>
462 <dd>kill-telescope</dd>
463 <dt>C-g</dt>
464 <dd>clear-minibuf</dd>
465 <dt>M-x</dt>
466 <dd>execute-extended-command</dd>
467 <dt>C-c {</dt>
468 <dd>dec-fill-column</dd>
469 <dt>C-c }</dt>
470 <dd>inc-fill-column</dd>
471 <dt>C-c p</dt>
472 <dd>previous-heading</dd>
473 <dt>C-c n</dt>
474 <dd>next-heading</dd>
475 <dt>&gt;</dt>
476 <dd>load-url</dd>
477 <dt>&lt;</dt>
478 <dd>load-current-url</dd>
479 <dt>C-x C-f</dt>
480 <dd>load-url</dd>
481 <dt>C-x M-f</dt>
482 <dd>load-current-url</dd>
483 <dt>C-x o</dt>
484 <dd>other-window</dd>
485 <dt>C-x t 0</dt>
486 <dd>tab-close</dd>
487 <dt>C-x t 1</dt>
488 <dd>tab-close-other</dd>
489 <dt>C-x t 2</dt>
490 <dd>tab-new</dd>
491 <dt>C-x t o</dt>
492 <dd>tab-next</dd>
493 <dt>C-x t O</dt>
494 <dd>tab-previous</dd>
495 <dt>C-x t m</dt>
496 <dd>tab-move</dd>
497 <dt>C-x t M</dt>
498 <dd>tab-move-to</dd>
499 <dt>B, C-M-b</dt>
500 <dd>previous-page</dd>
501 <dt>F, C-M-f</dt>
502 <dd>next-page</dd>
503 <dt>&lt;f7&gt; a</dt>
504 <dd>bookmark-page</dd>
505 <dt>&lt;f7&gt; &lt;f7&gt;</dt>
506 <dd>list-bookmarks</dd>
507 <dt>C-z</dt>
508 <dd>suspend-telescope</dd>
509 </dl>
510 </div>
511 </section>
512 <section class="Ss">
513 <h2 class="Ss" id="vi_1_-like_keys"><a class="permalink" href="#vi_1_-like_keys"><a class="Xr">vi(1)</a>-like
514 keys</a></h2>
515 <div class="Bd-indent">
516 <dl class="Bl-tag Bl-compact">
517 <dt>k</dt>
518 <dd>previous-line</dd>
519 <dt>j</dt>
520 <dd>next-line</dd>
521 <dt>l</dt>
522 <dd>forward-char</dd>
523 <dt>h</dt>
524 <dd>backward-char</dd>
525 <dt>{</dt>
526 <dd>backward-paragraph</dd>
527 <dt>}</dt>
528 <dd>forward-paragraph</dd>
529 <dt>^</dt>
530 <dd>move-beginning-of-line</dd>
531 <dt>$</dt>
532 <dd>move-end-of-line</dd>
533 <dt>K</dt>
534 <dd>scroll-line-up</dd>
535 <dt>J</dt>
536 <dd>scroll-line-down</dd>
537 <dt>g g</dt>
538 <dd>beginning-of-buffer</dd>
539 <dt>G</dt>
540 <dd>end-of-buffer</dd>
541 <dt>g D</dt>
542 <dd>tab-close</dd>
543 <dt>g N</dt>
544 <dd>tab-new</dd>
545 <dt>g t</dt>
546 <dd>tab-next</dd>
547 <dt>g T</dt>
548 <dd>tab-previous</dd>
549 <dt>g M-t</dt>
550 <dd>tab-move</dd>
551 <dt>g M-T</dt>
552 <dd>tab-move-to</dd>
553 <dt>H</dt>
554 <dd>previous-page</dd>
555 <dt>L</dt>
556 <dd>next-page</dd>
557 <dt>q</dt>
558 <dd>kill-telescope</dd>
559 <dt>ESC</dt>
560 <dd>clear-minibuf</dd>
561 <dt>:</dt>
562 <dd>execute-extended-command</dd>
563 </dl>
564 </div>
565 </section>
566 <section class="Ss">
567 <h2 class="Ss" id="CUA-like_keys"><a class="permalink" href="#CUA-like_keys">CUA-like
568 keys</a></h2>
569 <div class="Bd-indent">
570 <dl class="Bl-tag Bl-compact">
571 <dt>&lt;up&gt;</dt>
572 <dd>previous-line</dd>
573 <dt>&lt;down&gt;</dt>
574 <dd>next-line</dd>
575 <dt>&lt;right&gt;</dt>
576 <dd>forward-char</dd>
577 <dt>&lt;left&gt;</dt>
578 <dd>backward-char</dd>
579 <dt>&lt;home&gt;</dt>
580 <dd>move-beginning-of-line</dd>
581 <dt>&lt;end&gt;</dt>
582 <dd>move-end-of-line</dd>
583 <dt>&lt;prior&gt;</dt>
584 <dd>scroll-up</dd>
585 <dt>&lt;next&gt;</dt>
586 <dd>scroll-down</dd>
587 <dt>C-w</dt>
588 <dd>tab-close</dd>
589 <dt>C-t</dt>
590 <dd>tab-new</dd>
591 <dt>M-&lt;prior&gt;</dt>
592 <dd>tab-previous</dd>
593 <dt>M-&lt;next&gt;</dt>
594 <dd>tab-next</dd>
595 <dt>M-&lt;left&gt;</dt>
596 <dd>previous-page</dd>
597 <dt>M-&lt;right&gt;</dt>
598 <dd>next-page</dd>
599 <dt>&lt;f5&gt;</dt>
600 <dd>reload-page</dd>
601 <dt>r</dt>
602 <dd>reload-page</dd>
603 </dl>
604 </div>
605 </section>
606 <section class="Ss">
607 <h2 class="Ss" id="Neither_Emacs_nor_vi_specific"><a class="permalink" href="#Neither_Emacs_nor_vi_specific">Neither
608 Emacs nor vi specific</a></h2>
609 <div class="Bd-indent">
610 <dl class="Bl-tag Bl-compact">
611 <dt>&lt;f1&gt;</dt>
612 <dd>toggle-help</dd>
613 <dt>enter</dt>
614 <dd>push-button</dd>
615 <dt>M-enter</dt>
616 <dd>push-button-new-tab</dd>
617 <dt>M-tab</dt>
618 <dd>previous-button</dd>
619 <dt>backtab</dt>
620 <dd>previous-button</dd>
621 <dt>tab</dt>
622 <dd>next-button</dd>
623 <dt>M-t</dt>
624 <dd>tab-select</dd>
625 <dt>[</dt>
626 <dd>tab-previous</dd>
627 <dt>]</dt>
628 <dd>tab-next</dd>
629 <dt>M-[</dt>
630 <dd>tab-move-to</dd>
631 <dt>M-]</dt>
632 <dd>tab-move</dd>
633 <dt>M-l</dt>
634 <dd>link-select</dd>
635 <dt>M-/</dt>
636 <dd>swiper</dd>
637 </dl>
638 </div>
639 </section>
640 <section class="Ss">
641 <h2 class="Ss" id="Minibuffer-specific_keys"><a class="permalink" href="#Minibuffer-specific_keys">Minibuffer-specific
642 keys</a></h2>
643 <div class="Bd-indent">
644 <dl class="Bl-tag Bl-compact">
645 <dt>enter</dt>
646 <dd>mini-complete-and-exit</dd>
647 <dt>C-g</dt>
648 <dd>mini-abort</dd>
649 <dt>ESC</dt>
650 <dd>mini-abort</dd>
651 <dt>C-d</dt>
652 <dd>mini-delete-char</dd>
653 <dt>del</dt>
654 <dd>mini-delete-backward-char</dd>
655 <dt>backspace</dt>
656 <dd>mini-delete-backward-char</dd>
657 <dt>C-h</dt>
658 <dd>mini-delete-backward-char</dd>
659 <dt>C-b</dt>
660 <dd>backward-char</dd>
661 <dt>C-f</dt>
662 <dd>forward-char</dd>
663 <dt>&lt;left&gt;</dt>
664 <dd>backward-char</dd>
665 <dt>&lt;right&gt;</dt>
666 <dd>forward-char</dd>
667 <dt>C-e</dt>
668 <dd>move-end-of-line</dd>
669 <dt>C-a</dt>
670 <dd>move-beginning-of-line</dd>
671 <dt>&lt;end&gt;</dt>
672 <dd>move-end-of-line</dd>
673 <dt>&lt;home&gt;</dt>
674 <dd>move-beginning-of-line</dd>
675 <dt>C-k</dt>
676 <dd>mini-kill-line</dd>
677 <dt>M-p</dt>
678 <dd>mini-previous-history-element</dd>
679 <dt>M-n</dt>
680 <dd>mini-next-history-element</dd>
681 <dt>C-p</dt>
682 <dd>previous-completion</dd>
683 <dt>C-n</dt>
684 <dd>next-completion</dd>
685 <dt>&lt;up&gt;</dt>
686 <dd>previous-completion</dd>
687 <dt>&lt;down&gt;</dt>
688 <dd>next-completion</dd>
689 <dt>tab</dt>
690 <dd>insert-current-candidate</dd>
691 <dt>M-&lt;</dt>
692 <dd>mini-goto-beginning</dd>
693 <dt>M-&gt;</dt>
694 <dd>mini-goto-end</dd>
695 </dl>
696 </div>
697 </section>
698 </section>
699 <section class="Sh">
700 <h1 class="Sh" id="INTERACTIVE_COMMANDS"><a class="permalink" href="#INTERACTIVE_COMMANDS">INTERACTIVE
701 COMMANDS</a></h1>
702 <p class="Pp">Follows the documentation for the interactive commands. These
703 commands can be bound to a key or executed with
704 <code class="Ic">execute-extended-command</code>.</p>
705 <section class="Ss">
706 <h2 class="Ss" id="Movement_commands"><a class="permalink" href="#Movement_commands">Movement
707 commands</a></h2>
708 <dl class="Bl-tag Bl-compact">
709 <dt id="backward-char"><a class="permalink" href="#backward-char"><code class="Ic">backward-char</code></a></dt>
710 <dd>Move point one character backward.</dd>
711 <dt id="backward-paragraph"><a class="permalink" href="#backward-paragraph"><code class="Ic">backward-paragraph</code></a></dt>
712 <dd>Move point one paragraph backward.</dd>
713 <dt id="beginning-of-buffer"><a class="permalink" href="#beginning-of-buffer"><code class="Ic">beginning-of-buffer</code></a></dt>
714 <dd>Move point to the beginning of the buffer.</dd>
715 <dt id="end-of-buffer"><a class="permalink" href="#end-of-buffer"><code class="Ic">end-of-buffer</code></a></dt>
716 <dd>Move point to the end of the buffer.</dd>
717 <dt id="forward-char"><a class="permalink" href="#forward-char"><code class="Ic">forward-char</code></a></dt>
718 <dd>Move point one character forward.</dd>
719 <dt id="forward-paragraph"><a class="permalink" href="#forward-paragraph"><code class="Ic">forward-paragraph</code></a></dt>
720 <dd>Move point one paragraph forward.</dd>
721 <dt id="insert-current-candidate"><a class="permalink" href="#insert-current-candidate"><code class="Ic">insert-current-candidate</code></a></dt>
722 <dd>Copy the current selection text as minibuffer input.</dd>
723 <dt id="move-beginning-of-line"><a class="permalink" href="#move-beginning-of-line"><code class="Ic">move-beginning-of-line</code></a></dt>
724 <dd>Move point at the beginning of the current (visual) line.</dd>
725 <dt id="move-end-of-line"><a class="permalink" href="#move-end-of-line"><code class="Ic">move-end-of-line</code></a></dt>
726 <dd>Move point at the end of the current (visual) line.</dd>
727 <dt id="next-button"><a class="permalink" href="#next-button"><code class="Ic">next-button</code></a></dt>
728 <dd>Move point to the next link.</dd>
729 <dt id="next-completion"><a class="permalink" href="#next-completion"><code class="Ic">next-completion</code></a></dt>
730 <dd>Select the next completion.</dd>
731 <dt id="next-heading"><a class="permalink" href="#next-heading"><code class="Ic">next-heading</code></a></dt>
732 <dd>Move point to the next heading.</dd>
733 <dt id="next-line"><a class="permalink" href="#next-line"><code class="Ic">next-line</code></a></dt>
734 <dd>Move point to the next (visual) line, in the same column if possible.</dd>
735 <dt id="previous-button"><a class="permalink" href="#previous-button"><code class="Ic">previous-button</code></a></dt>
736 <dd>Move point to the previous link.</dd>
737 <dt id="previous-completion"><a class="permalink" href="#previous-completion"><code class="Ic">previous-completion</code></a></dt>
738 <dd>Select the previous completion.</dd>
739 <dt id="previous-heading"><a class="permalink" href="#previous-heading"><code class="Ic">previous-heading</code></a></dt>
740 <dd>Move point to the previous heading.</dd>
741 <dt id="previous-line"><a class="permalink" href="#previous-line"><code class="Ic">previous-line</code></a></dt>
742 <dd>Move point to the previous (visual) line.</dd>
743 </dl>
744 </section>
745 <section class="Ss">
746 <h2 class="Ss" id="Bookmark-related_commands"><a class="permalink" href="#Bookmark-related_commands">Bookmark-related
747 commands</a></h2>
748 <dl class="Bl-tag Bl-compact">
749 <dt id="bookmark-page"><a class="permalink" href="#bookmark-page"><code class="Ic">bookmark-page</code></a></dt>
750 <dd>Save a page in the bookmark file. It preloads the minibuffer with the
751 current URL.</dd>
752 <dt id="list-bookmarks"><a class="permalink" href="#list-bookmarks"><code class="Ic">list-bookmarks</code></a></dt>
753 <dd>Load the bookmarks page.</dd>
754 </dl>
755 </section>
756 <section class="Ss">
757 <h2 class="Ss" id="Tab-related_commands"><a class="permalink" href="#Tab-related_commands">Tab-related
758 commands</a></h2>
759 <dl class="Bl-tag Bl-compact">
760 <dt id="tab-close"><a class="permalink" href="#tab-close"><code class="Ic">tab-close</code></a></dt>
761 <dd>Close the current tab.</dd>
762 <dt id="tab-close-other"><a class="permalink" href="#tab-close-other"><code class="Ic">tab-close-other</code></a></dt>
763 <dd>Close all tabs but the current one.</dd>
764 <dt id="tab-move"><a class="permalink" href="#tab-move"><code class="Ic">tab-move</code></a></dt>
765 <dd>Move the current tab after the next one, wrapping around if needed.</dd>
766 <dt id="tab-move-to"><a class="permalink" href="#tab-move-to"><code class="Ic">tab-move-to</code></a></dt>
767 <dd>Move the current tab before the previous one, wrapping around if
768 needed.</dd>
769 <dt id="tab-new"><a class="permalink" href="#tab-new"><code class="Ic">tab-new</code></a></dt>
770 <dd>Open a new tab.</dd>
771 <dt id="tab-next"><a class="permalink" href="#tab-next"><code class="Ic">tab-next</code></a></dt>
772 <dd>Focus next tab, wrapping around eventually.</dd>
773 <dt id="tab-previous"><a class="permalink" href="#tab-previous"><code class="Ic">tab-previous</code></a></dt>
774 <dd>Focus the previous tab, wrapping around eventually.</dd>
775 <dt id="tab-select"><a class="permalink" href="#tab-select"><code class="Ic">tab-select</code></a></dt>
776 <dd>Switch to a tab using the minibuffer.</dd>
777 </dl>
778 </section>
779 <section class="Ss">
780 <h2 class="Ss" id="Misc_commands"><a class="permalink" href="#Misc_commands">Misc
781 commands</a></h2>
782 <dl class="Bl-tag Bl-compact">
783 <dt id="clear-minibuf"><a class="permalink" href="#clear-minibuf"><code class="Ic">clear-minibuf</code></a></dt>
784 <dd>Clear the echo area.</dd>
785 <dt id="dec-fill-column"><a class="permalink" href="#dec-fill-column"><code class="Ic">dec-fill-column</code></a></dt>
786 <dd>Decrement fill-column by two.</dd>
787 <dt id="execute-extended-command"><a class="permalink" href="#execute-extended-command"><code class="Ic">execute-extended-command</code></a></dt>
788 <dd>Execute an internal command.</dd>
789 <dt id="kill-telescope"><a class="permalink" href="#kill-telescope"><code class="Ic">kill-telescope</code></a></dt>
790 <dd>Quit <code class="Nm">telescope</code>.</dd>
791 <dt id="inc-fill-column"><a class="permalink" href="#inc-fill-column"><code class="Ic">inc-fill-column</code></a></dt>
792 <dd>Increment fill-column by two.</dd>
793 <dt id="link-select"><a class="permalink" href="#link-select"><code class="Ic">link-select</code></a></dt>
794 <dd>Select and visit a link using the minibuffer.</dd>
795 <dt id="load-current-url"><a class="permalink" href="#load-current-url"><code class="Ic">load-current-url</code></a></dt>
796 <dd>Edit the current URL.</dd>
797 <dt id="load-url"><a class="permalink" href="#load-url"><code class="Ic">load-url</code></a></dt>
798 <dd>Prompt for an URL.</dd>
799 <dt id="next-page"><a class="permalink" href="#next-page"><code class="Ic">next-page</code></a></dt>
800 <dd>Go forward in the page history.</dd>
801 <dt id="olivetti-mode"><a class="permalink" href="#olivetti-mode"><code class="Ic">olivetti-mode</code></a></dt>
802 <dd>Toggle olivetti mode (i.e. horizontal centering of the lines of the
803 window.)</dd>
804 <dt id="other-window"><a class="permalink" href="#other-window"><code class="Ic">other-window</code></a></dt>
805 <dd>Select the other window.</dd>
806 <dt id="previous-page"><a class="permalink" href="#previous-page"><code class="Ic">previous-page</code></a></dt>
807 <dd>Go backward in the page history.</dd>
808 <dt id="push-button"><a class="permalink" href="#push-button"><code class="Ic">push-button</code></a></dt>
809 <dd>Follow link at point, or toggle the visibility of the following
810 preformatted block if called when the cursor is on the heading of the
811 block.</dd>
812 <dt id="push-button-new-tab"><a class="permalink" href="#push-button-new-tab"><code class="Ic">push-button-new-tab</code></a></dt>
813 <dd>Follow link at point in a new tab.</dd>
814 <dt id="redraw"><a class="permalink" href="#redraw"><code class="Ic">redraw</code></a></dt>
815 <dd>Redraw the screen, useful if some background program messed up the
816 display.</dd>
817 <dt id="reload-page"><a class="permalink" href="#reload-page"><code class="Ic">reload-page</code></a></dt>
818 <dd>Reload the current page.</dd>
819 <dt id="scroll-down"><a class="permalink" href="#scroll-down"><code class="Ic">scroll-down</code></a></dt>
820 <dd>Scroll down by one visual page.</dd>
821 <dt id="scroll-line-down"><a class="permalink" href="#scroll-line-down"><code class="Ic">scroll-line-down</code></a></dt>
822 <dd>Scroll down by one line.</dd>
823 <dt id="scroll-line-up"><a class="permalink" href="#scroll-line-up"><code class="Ic">scroll-line-up</code></a></dt>
824 <dd>Scroll up by one line.</dd>
825 <dt id="scroll-up"><a class="permalink" href="#scroll-up"><code class="Ic">scroll-up</code></a></dt>
826 <dd>Scroll up by one visual page.</dd>
827 <dt id="suspend-telescope"><a class="permalink" href="#suspend-telescope"><code class="Ic">suspend-telescope</code></a></dt>
828 <dd>Suspend the current <code class="Nm">telescope</code> session.</dd>
829 <dt id="swiper"><a class="permalink" href="#swiper"><code class="Ic">swiper</code></a></dt>
830 <dd>Jump to a line using the minibuffer.</dd>
831 <dt id="toc"><a class="permalink" href="#toc"><code class="Ic">toc</code></a></dt>
832 <dd>Jump to a heading using the minibuffer.</dd>
833 <dt id="toggle-help"><a class="permalink" href="#toggle-help"><code class="Ic">toggle-help</code></a></dt>
834 <dd>Toggle side window with help about available keys and their associated
835 interactive command.</dd>
836 <dt id="toggle-pre-wrap"><a class="permalink" href="#toggle-pre-wrap"><code class="Ic">toggle-pre-wrap</code></a></dt>
837 <dd>Toggle the wrapping of preformatted blocks.</dd>
838 </dl>
839 </section>
840 <section class="Ss">
841 <h2 class="Ss" id="Minibuffer_commands"><a class="permalink" href="#Minibuffer_commands">Minibuffer
842 commands</a></h2>
843 <dl class="Bl-tag Bl-compact">
844 <dt id="mini-abort"><a class="permalink" href="#mini-abort"><code class="Ic">mini-abort</code></a></dt>
845 <dd>Abort the current minibuffer action.</dd>
846 <dt id="mini-complete-and-exit"><a class="permalink" href="#mini-complete-and-exit"><code class="Ic">mini-complete-and-exit</code></a></dt>
847 <dd>Complete the current minibuffer action.</dd>
848 <dt id="mini-delete-backward-char"><a class="permalink" href="#mini-delete-backward-char"><code class="Ic">mini-delete-backward-char</code></a></dt>
849 <dd>Delete the character before the point.</dd>
850 <dt id="mini-delete-char"><a class="permalink" href="#mini-delete-char"><code class="Ic">mini-delete-char</code></a></dt>
851 <dd>Delete the character after the point.</dd>
852 <dt id="mini-goto-beginning"><a class="permalink" href="#mini-goto-beginning"><code class="Ic">mini-goto-beginning</code></a></dt>
853 <dd>Select the first completion, if any.</dd>
854 <dt id="mini-goto-end"><a class="permalink" href="#mini-goto-end"><code class="Ic">mini-goto-end</code></a></dt>
855 <dd>Select the last completion, if any.</dd>
856 <dt id="mini-kill-line"><a class="permalink" href="#mini-kill-line"><code class="Ic">mini-kill-line</code></a></dt>
857 <dd>Delete from point until the end of the line.</dd>
858 <dt id="mini-next-history-element"><a class="permalink" href="#mini-next-history-element"><code class="Ic">mini-next-history-element</code></a></dt>
859 <dd>Load the previous history element.</dd>
860 <dt id="mini-previous-history-element"><a class="permalink" href="#mini-previous-history-element"><code class="Ic">mini-previous-history-element</code></a></dt>
861 <dd>Load the next history element.</dd>
862 </dl>
863 </section>
864 <section class="Ss">
865 <h2 class="Ss" id="Aliases"><a class="permalink" href="#Aliases">Aliases</a></h2>
866 <p class="Pp">The following aliases are available during
867 <code class="Ic">execute-extended-command</code>:</p>
868 <dl class="Bl-tag Bl-compact">
869 <dt id="tabn"><a class="permalink" href="#tabn"><code class="Ic">tabn</code></a></dt>
870 <dd><a class="permalink" href="#tab-next~2"><code class="Ic" id="tab-next~2">tab-next</code></a></dd>
871 <dt id="tabnew"><a class="permalink" href="#tabnew"><code class="Ic">tabnew</code></a></dt>
872 <dd><a class="permalink" href="#tab-new~2"><code class="Ic" id="tab-new~2">tab-new</code></a></dd>
873 <dt id="tabp"><a class="permalink" href="#tabp"><code class="Ic">tabp</code></a></dt>
874 <dd><a class="permalink" href="#tab-previous~2"><code class="Ic" id="tab-previous~2">tab-previous</code></a></dd>
875 <dt id="q"><a class="permalink" href="#q"><code class="Ic">q</code></a>
876 <span class="No">and</span> <code class="Ic">wq</code></dt>
877 <dd><a class="permalink" href="#kill-telescope~2"><code class="Ic" id="kill-telescope~2">kill-telescope</code></a></dd>
878 </dl>
879 </section>
880 </section>
881 <section class="Sh">
882 <h1 class="Sh" id="ENVIRONMENT"><a class="permalink" href="#ENVIRONMENT">ENVIRONMENT</a></h1>
883 <p class="Pp">When <code class="Nm">telescope</code> is started, it inspects the
884 following environment variables:</p>
885 <dl class="Bl-tag">
886 <dt id="HOME"><a class="permalink" href="#HOME"><code class="Ev">HOME</code></a></dt>
887 <dd>The user's login directory.</dd>
888 <dt id="NO_COLORS"><a class="permalink" href="#NO_COLORS"><code class="Ev">NO_COLORS</code></a></dt>
889 <dd>To decide whether to use colors or not. The content of the variable
890 doesn't matter.</dd>
891 <dt id="TERM"><a class="permalink" href="#TERM"><code class="Ev">TERM</code></a></dt>
892 <dd>The user's terminal name.</dd>
893 <dt id="XDG_CACHE_HOME"><a class="permalink" href="#XDG_CACHE_HOME"><code class="Ev">XDG_CACHE_HOME</code></a>,
894 <code class="Ev">XDG_CONFIG_HOME</code>,
895 <code class="Ev">XDG_DATA_HOME</code></dt>
896 <dd>If defined can alter the default location of the files used.</dd>
897 </dl>
898 </section>
899 <section class="Sh">
900 <h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
901 <p class="Pp">By default <code class="Nm">telescope</code> follows the XDG Base
902 Directory Specification. However, if <span class="Pa">~/.telescope</span>
903 exists, XDG is ignored and all the files are stored inside it. The usage of
904 <code class="Ev">XDG_CACHE_HOME</code>,
905 <code class="Ev">XDG_CONFIG_HOME</code> and
906 <code class="Ev">XDG_DATA_HOME</code> can further alter the location of
907 these files.</p>
908 <p class="Pp"></p>
909 <dl class="Bl-tag Bl-compact">
910 <dt><span class="Pa">~/.config/telescope/config</span></dt>
911 <dd>Default configuration file.</dd>
912 <dt><span class="Pa">~/.local/share/telescope/pages/about_*.gmi</span></dt>
913 <dd>Overrides for built-in about: pages.</dd>
914 <dt><span class="Pa">~/.local/share/telescope/bookmarks.gmi</span></dt>
915 <dd>Bookmarks file.</dd>
916 <dt><span class="Pa">~/.local/share/telescope/known_hosts</span></dt>
917 <dd>Hash of the certificates for all the known hosts. Each line contains three
918 fields: hostname with optional port number, hash of the certificate and a
919 numeric flag.</dd>
920 <dt><span class="Pa">~/.cache/telescope/lock</span></dt>
921 <dd>Lock file used to prevent multiple instance of
922 <code class="Nm">telescope</code> from running at the same time.</dd>
923 <dt><span class="Pa">~/.cache/telescope/session</span></dt>
924 <dd>The list of tabs from the last session. Every line identifies a tab and
925 contains three space-separated fields: the full URL, a comma-separated
926 list of attributes and the cached title. Is written by
927 <code class="Ic">kill-telescope</code> and loaded during startup.</dd>
928 </dl>
929 </section>
930 <section class="Sh">
931 <h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
932 <p class="Pp">It's possible to browse &#x201C;the small web&#x201D; (i.e. simple
933 websites) by using programs like the duckling-proxy by defining a proxy in
934 <span class="Pa">~/.config/telescope/config</span>:</p>
935 <div class="Bd Pp Bd-indent Li">
936 <pre>proxy http via &quot;gemini://127.0.0.1:1965&quot;
937 proxy https via &quot;gemini://127.0.0.1:1965&quot;</pre>
938 </div>
939 <p class="Pp">To load <code class="Nm">telescope</code> without any
940 configuration</p>
941 <div class="Bd Pp Bd-indent Li">
942 <pre>telescope -c /dev/null</pre>
943 </div>
944 </section>
945 <section class="Sh">
946 <h1 class="Sh" id="STANDARDS"><a class="permalink" href="#STANDARDS">STANDARDS</a></h1>
947 <p class="Pp"><cite class="Rs"><i class="RsB">XDG Base Directory
948 Specification</i>,
949 <a class="RsU" href="https://specifications.freedesktop.org/basedir-spec/latest/">https://specifications.freedesktop.org/basedir-spec/latest/</a>.</cite></p>
950 </section>
951 <section class="Sh">
952 <h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
953 <p class="Pp">The <code class="Nm">telescope</code> program was written by
954 <span class="An">Omar Polo</span>
955 &lt;<a class="Mt" href="mailto:op@omarpolo.com">op@omarpolo.com</a>&gt;.</p>
956 </section>
957 <section class="Sh">
958 <h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
959 <p class="Pp"><code class="Nm">telescope</code> assumes a UTF-8 environment and
960 doesn't do anything to cope with other encodings. This can cause weird
961 rendering issues if you're lucky, or possibly worst things depending on your
962 locale and terminal emulator.</p>
963 </section>
964 <section class="Sh">
965 <h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
966 <p class="Pp">There's no UI for out-of-band certificates validation.</p>
967 </section>
968 </div>
969 <table class="foot">
970 <tr>
971 <td class="foot-date">November 29, 2021</td>
972 <td class="foot-os">OpenBSD 7.0</td>
973 </tr>
974 </table>
975 </body>
976 </html>