1 bba111bc 2021-03-28 op .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 bba111bc 2021-03-28 op .\" Permission to use, copy, modify, and distribute this software for any
4 bba111bc 2021-03-28 op .\" purpose with or without fee is hereby granted, provided that the above
5 bba111bc 2021-03-28 op .\" copyright notice and this permission notice appear in all copies.
7 bba111bc 2021-03-28 op .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 bba111bc 2021-03-28 op .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 bba111bc 2021-03-28 op .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 bba111bc 2021-03-28 op .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 bba111bc 2021-03-28 op .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 bba111bc 2021-03-28 op .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 bba111bc 2021-03-28 op .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 bba111bc 2021-03-28 op .Dd $Mdocdate: March 28 2021$
15 bba111bc 2021-03-28 op .Dt TELESCOPE 1
19 bba111bc 2021-03-28 op .Nd Gemini client
24 c92e529c 2021-06-15 op .Op Fl c Pa config
27 bba111bc 2021-03-28 op .Sh DESCRIPTION
29 bba111bc 2021-03-28 op is an interactive browser for the Gemini protocol.
30 bba111bc 2021-03-28 op It is able to process text/gemini and more in general every text/* file.
32 bba111bc 2021-03-28 op also features tabs, bookmarks and out-of-band TOFU verification.
34 c92e529c 2021-06-15 op The arguments are as follows:
35 c92e529c 2021-06-15 op .Bl -tag -width tenletters
37 c92e529c 2021-06-15 op Display version and usage.
39 c92e529c 2021-06-15 op Configtest mode.
40 c92e529c 2021-06-15 op Only check the configuration file for validity.
41 c92e529c 2021-06-15 op .It Fl c Pa config
42 c92e529c 2021-06-15 op Specify an alternative configuration file.
44 c92e529c 2021-06-15 op .Pa $HOME/.telescope/config
49 bba111bc 2021-03-28 op aims to use the "Trust, but Verify (where appropriate)" approach.
50 bba111bc 2021-03-28 op The idea is to define three level of verification for a certificate:
51 bba111bc 2021-03-28 op .Bl -tag -width 12m
53 bba111bc 2021-03-28 op the server fingerprint does NOT match the stored value
55 bba111bc 2021-03-28 op the server fingerprint matches the store one
57 bba111bc 2021-03-28 op the fingerprint matches and has been verified out-of-band
60 bba111bc 2021-03-28 op Most of the time the
62 bba111bc 2021-03-28 op level is enough, but where is appropriate users should be able to
63 bba111bc 2021-03-28 op verify out-of-band the certificate.
65 bba111bc 2021-03-28 op At the moment, there is no built-in support for an out-of-band
66 bba111bc 2021-03-28 op verification though.
68 bba111bc 2021-03-28 op Known certificates are store in
69 bba111bc 2021-03-28 op .Pa ~/.telescope/known_hosts
70 bba111bc 2021-03-28 op with a format similar to the
71 bba111bc 2021-03-28 op .Xr ssh 1 Ns '
72 bba111bc 2021-03-28 op .Pa known_hosts
74 bba111bc 2021-03-28 op Each line is a record and it's made up by three fields, separated by a
75 bba111bc 2021-03-28 op single space, according to the following format:
76 bba111bc 2021-03-28 op .Dq HOST HASH TRUSTED
78 bba111bc 2021-03-28 op .Bl -tag -width 12m
80 eb4388ee 2021-04-25 op the hostname, optionally followed by a colon (":") and a port number.
82 bba111bc 2021-03-28 op is the hash of the certificate, as outputted by
83 6c04e8b6 2021-04-01 op .Xr tls_peer_cert_hash 3 .
85 bba111bc 2021-03-28 op a single digit.
86 bba111bc 2021-03-28 op 0 means trusted, 1 verified.
88 bba111bc 2021-03-28 op .Sh DEFAULT KEY BINDINGS
89 bba111bc 2021-03-28 op The default key bindings are very similar to GNU Emacs, but care has
90 bba111bc 2021-03-28 op been taken to include also bindings familiar for
95 bba111bc 2021-03-28 op In the following examples, C-x means Control-x, M-x means Meta-x,
96 bba111bc 2021-03-28 op where the Meta key may be either a special key on the keyboard or the
97 bba111bc 2021-03-28 op ALT key; otherwise ESC followed by the key X works as well, and C-M-x
98 bba111bc 2021-03-28 op means to press the key X together with both Control and Meta.
100 bba111bc 2021-03-28 op Keys are usually a single character, like
104 bba111bc 2021-03-28 op but some special keys are accepted as well.
106 bba111bc 2021-03-28 op .Bl -tag -width 16m -offset indent -compact
116 bba111bc 2021-03-28 op Previous page/Page up
118 bba111bc 2021-03-28 op Next page/Page down
123 bba111bc 2021-03-28 op .It <f0> thru <f63>
124 bba111bc 2021-03-28 op Function keys
125 bba111bc 2021-03-28 op .It del or backspace
129 bba111bc 2021-03-28 op .It space or spc
131 bba111bc 2021-03-28 op .It enter or ret
136 8dc60352 2021-06-15 op Depends on the configuration of the terminal emulator.
137 8dc60352 2021-06-15 op Usually is shift tab though.
139 bba111bc 2021-03-28 op .Ss GNU Emacs-like keys
140 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
142 7dbaef94 2021-04-22 op previous-line
148 7dbaef94 2021-04-22 op backward-char
150 7dbaef94 2021-04-22 op backward-paragraph
152 7dbaef94 2021-04-22 op forward-paragraph
154 7dbaef94 2021-04-22 op move-beginning-of-line
156 7dbaef94 2021-04-22 op move-end-of-line
157 bba111bc 2021-03-28 op .It M-v, M-space
159 bba111bc 2021-03-28 op .It C-v, space
162 7dbaef94 2021-04-22 op beginning-of-buffer
164 7dbaef94 2021-04-22 op end-of-buffer
166 7dbaef94 2021-04-22 op kill-telescope
168 7dbaef94 2021-04-22 op clear-minibuf
170 7dbaef94 2021-04-22 op execute-extended-command
172 61251035 2021-06-26 op dec-fill-column
174 61251035 2021-06-26 op inc-fill-column
176 1c412d48 2021-06-25 op previous-heading
182 f2ab2540 2021-07-14 op load-current-url
186 7dbaef94 2021-04-22 op load-current-url
190 7dbaef94 2021-04-22 op tab-close-other
202 7dbaef94 2021-04-22 op previous-page
206 7dbaef94 2021-04-22 op bookmark-page
207 bba111bc 2021-03-28 op .It <f7> <f7>
208 7dbaef94 2021-04-22 op list-bookmarks
210 bba111bc 2021-03-28 op .Ss Xr vi 1 Ns -like keys
211 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
213 7dbaef94 2021-04-22 op previous-line
219 7dbaef94 2021-04-22 op backward-char
221 7dbaef94 2021-04-22 op backward-paragraph
223 7dbaef94 2021-04-22 op forward-paragraph
225 7dbaef94 2021-04-22 op move-beginning-of-line
227 7dbaef94 2021-04-22 op move-end-of-line
229 7dbaef94 2021-04-22 op scroll-line-up
231 7dbaef94 2021-04-22 op scroll-line-down
233 7dbaef94 2021-04-22 op beginning-of-buffer
235 7dbaef94 2021-04-22 op end-of-buffer
249 7dbaef94 2021-04-22 op previous-page
253 7dbaef94 2021-04-22 op kill-telescope
255 7dbaef94 2021-04-22 op clear-minibuf
257 7dbaef94 2021-04-22 op execute-extended-command
259 bba111bc 2021-03-28 op .Ss CUA-like keys
260 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
262 7dbaef94 2021-04-22 op previous-line
268 7dbaef94 2021-04-22 op backward-char
277 3c3af0fd 2021-07-08 op .It M-<prior>
282 7dbaef94 2021-04-22 op previous-page
283 bba111bc 2021-03-28 op .It M-<right>
290 bba111bc 2021-03-28 op .Ss Neither Emacs nor vi specific
291 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
297 7dbaef94 2021-04-22 op push-button-new-tab
299 7dbaef94 2021-04-22 op previous-button
301 8dc60352 2021-06-15 op previous-button
311 bba111bc 2021-03-28 op .Ss Minibuffer-specific keys
312 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
314 7dbaef94 2021-04-22 op mini-complete-and-exit
320 7dbaef94 2021-04-22 op mini-delete-char
322 7dbaef94 2021-04-22 op mini-delete-backward-char
323 bba111bc 2021-03-28 op .It backspace
324 7dbaef94 2021-04-22 op mini-delete-backward-char
326 7dbaef94 2021-04-22 op mini-delete-backward-char
328 7dbaef94 2021-04-22 op backward-char
332 7dbaef94 2021-04-22 op backward-char
336 7dbaef94 2021-04-22 op move-end-of-line
338 7dbaef94 2021-04-22 op move-beginning-of-line
340 7dbaef94 2021-04-22 op move-end-of-line
342 7dbaef94 2021-04-22 op move-beginning-of-line
344 7dbaef94 2021-04-22 op mini-kill-line
346 7dbaef94 2021-04-22 op mini-previous-history-element
348 7dbaef94 2021-04-22 op mini-next-history-element
350 e7b982f4 2021-07-14 op previous-completion
352 dffb2592 2021-07-14 op next-completion
354 dffb2592 2021-07-14 op previous-completion
356 e7b982f4 2021-07-14 op next-completion
358 e7b982f4 2021-07-14 op insert-current-candidate
360 bba111bc 2021-03-28 op .Sh INTERACTIVE COMMANDS
361 bba111bc 2021-03-28 op Follows the documentation for the interactive commands.
362 bba111bc 2021-03-28 op These commands can be bound to a key or executed with
363 bba111bc 2021-03-28 op .Ic execute-extended-command .
364 bba111bc 2021-03-28 op .Ss Movement commands
365 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
366 bba111bc 2021-03-28 op .It Ic backward-char
367 bba111bc 2021-03-28 op Move point one character backward.
368 bba111bc 2021-03-28 op .It Ic backward-paragraph
369 bba111bc 2021-03-28 op Move point one paragraph backward.
370 bba111bc 2021-03-28 op .It Ic beginning-of-buffer
371 bba111bc 2021-03-28 op Move point to the beginning of the buffer.
372 bba111bc 2021-03-28 op .It Ic end-of-buffer
373 bba111bc 2021-03-28 op Move point to the end of the buffer.
374 bba111bc 2021-03-28 op .It Ic forward-char
375 bba111bc 2021-03-28 op Move point one character forward.
376 bba111bc 2021-03-28 op .It Ic forward-paragraph
377 bba111bc 2021-03-28 op Move point one paragraph forward.
378 e7b982f4 2021-07-14 op .It Ic insert-current-candidate
379 e7b982f4 2021-07-14 op Copy the current selection text as minibuffer input.
380 bba111bc 2021-03-28 op .It Ic move-beginning-of-line
381 bba111bc 2021-03-28 op Move point at the beginning of the current (visual) line.
382 bba111bc 2021-03-28 op .It Ic move-end-of-line
383 bba111bc 2021-03-28 op Move point at the end of the current (visual) line.
384 bba111bc 2021-03-28 op .It Ic next-button
385 bba111bc 2021-03-28 op Move point to the next link.
386 e7b982f4 2021-07-14 op .It Ic next-completion
387 e7b982f4 2021-07-14 op Select the next completion.
388 1c412d48 2021-06-25 op .It Ic next-heading
389 1c412d48 2021-06-25 op Move point to the next heading.
390 bba111bc 2021-03-28 op .It Ic next-line
391 bba111bc 2021-03-28 op Move point to the next (visual) line, in the same column if possible.
392 bba111bc 2021-03-28 op .It Ic previous-button
393 bba111bc 2021-03-28 op Move point to the previous link.
394 e7b982f4 2021-07-14 op .It Ic previous-completion
395 e7b982f4 2021-07-14 op Select the previous completion.
396 1c412d48 2021-06-25 op .It Ic previous-heading
397 1c412d48 2021-06-25 op Move point to the previous heading.
398 bba111bc 2021-03-28 op .It Ic previous-line
399 bba111bc 2021-03-28 op Move point to the previous (visual) line.
401 bba111bc 2021-03-28 op .Ss Bookmark-related commands
402 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
403 bba111bc 2021-03-28 op .It Ic bookmark-page
404 bba111bc 2021-03-28 op Add a link to the bookmark file.
405 bba111bc 2021-03-28 op It preloads the minibuffer with the current URL.
406 63875195 2021-04-01 op .It Ic list-bookmarks
407 bba111bc 2021-03-28 op Load the bookmarks page.
409 bba111bc 2021-03-28 op .Ss Tab-related commands
410 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
411 bba111bc 2021-03-28 op .It Ic tab-close
412 bba111bc 2021-03-28 op Close the current tab.
413 bba111bc 2021-03-28 op .It Ic tab-close-other
414 bba111bc 2021-03-28 op Close all tabs but the current one.
415 bba111bc 2021-03-28 op .It Ic tab-move
416 bba111bc 2021-03-28 op Move the current tab after the next one, wrapping around if
418 bba111bc 2021-03-28 op .It Ic tab-move-to
419 bba111bc 2021-03-28 op Move the current tab before the previous one, wrapping around if needed.
420 bba111bc 2021-03-28 op .It Ic tab-new
421 bba111bc 2021-03-28 op Open a new tab.
422 bba111bc 2021-03-28 op .It Ic tab-next
423 bba111bc 2021-03-28 op Focus next tab, wrapping around eventually.
424 bba111bc 2021-03-28 op .It Ic tab-previous
425 bba111bc 2021-03-28 op Focus the previous tab, wrapping around eventually.
426 3360ef1b 2021-07-14 op .It Ic tab-select
427 3360ef1b 2021-07-14 op Switch to a tab using the minibuffer.
429 bba111bc 2021-03-28 op .Ss Misc commands
430 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
431 bba111bc 2021-03-28 op .It Ic clear-minibuf
432 bba111bc 2021-03-28 op Clears the echo area.
433 61251035 2021-06-26 op .It Ic dec-fill-column
434 61251035 2021-06-26 op Decrements fill-column by two.
435 bba111bc 2021-03-28 op .It Ic execute-extended-command
436 bba111bc 2021-03-28 op Prompts for a command name using the minibuffer.
437 bba111bc 2021-03-28 op .It Ic kill-telescope
440 61251035 2021-06-26 op .It Ic inc-fill-column
441 61251035 2021-06-26 op Increments fill-column by two.
442 753c6ac7 2021-07-14 op .It Ic link-select
443 753c6ac7 2021-07-14 op Select and visit a link using the minibuffer.
444 bba111bc 2021-03-28 op .It Ic load-current-url
445 bba111bc 2021-03-28 op Prompts for an URL, the minibuffer is preloaded with the current
447 bba111bc 2021-03-28 op .It Ic load-url
448 bba111bc 2021-03-28 op Prompts for an URL.
449 bba111bc 2021-03-28 op .It Ic next-page
450 bba111bc 2021-03-28 op Load the next item in the history list.
451 9f3f9f5e 2021-06-19 op .It Ic olivetti-mode
452 9f3f9f5e 2021-06-19 op Toggle olivetti mode (i.e. horizontal centering of the lines of the
454 bba111bc 2021-03-28 op .It Ic previous-page
455 bba111bc 2021-03-28 op Load the previous item in the history list.
456 bba111bc 2021-03-28 op .It Ic push-button
457 60e87719 2021-07-05 op Follow the link on the current line, or toggle the visibility of the
458 60e87719 2021-07-05 op following preformatted block if called when the cursor is on the
459 60e87719 2021-07-05 op heading of the block.
460 bba111bc 2021-03-28 op .It Ic push-button-new-tab
461 bba111bc 2021-03-28 op Follow the link on the current line on a new tab.
462 bba111bc 2021-03-28 op .It Ic redraw
463 708fab48 2021-06-19 op Redraw the screen, useful if some background program messed up the
465 661233ed 2021-07-14 op .It Ic reload-page
466 661233ed 2021-07-14 op Reload the current page.
467 bba111bc 2021-03-28 op .It Ic scroll-down
468 bba111bc 2021-03-28 op Scroll down by one visual page.
469 bba111bc 2021-03-28 op .It Ic scroll-line-down
470 bba111bc 2021-03-28 op Scroll down by one line.
471 bba111bc 2021-03-28 op .It Ic scroll-line-up
472 bba111bc 2021-03-28 op Scroll up by one line.
473 bba111bc 2021-03-28 op .It Ic scroll-up
474 bba111bc 2021-03-28 op Scroll up by one visual page.
475 753c6ac7 2021-07-14 op .It Ic swiper
476 753c6ac7 2021-07-14 op Jump to a line using the minibuffer.
478 edd9a650 2021-07-15 op Select and jump to a heading of the page using the minibuffer.
479 7a014cef 2021-04-01 op .It Ic toggle-help
480 7a014cef 2021-04-01 op Toggle side window with help about available keys and their associated
481 7a014cef 2021-04-01 op interactive command.
483 bba111bc 2021-03-28 op .Ss Minibuffer commands
484 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
485 bba111bc 2021-03-28 op .It Ic mini-abort
486 bba111bc 2021-03-28 op Abort the current minibuffer action.
487 bba111bc 2021-03-28 op .It Ic mini-complete-and-exit
488 bba111bc 2021-03-28 op Complete the current minibuffer action.
489 bba111bc 2021-03-28 op .It Ic mini-delete-backward-char
490 bba111bc 2021-03-28 op Delete the character before the point.
491 bba111bc 2021-03-28 op .It Ic mini-delete-char
492 bba111bc 2021-03-28 op Delete the character after the point.
493 bba111bc 2021-03-28 op .It Ic mini-kill-line
494 bba111bc 2021-03-28 op Delete from the point until the end of the line.
495 bba111bc 2021-03-28 op .It Ic mini-next-history-element
496 bba111bc 2021-03-28 op Load the previous history element.
497 bba111bc 2021-03-28 op .It Ic mini-previous-history-element
498 bba111bc 2021-03-28 op Load the next history element.
501 7d2d15f5 2021-04-30 op The following aliases are available during
502 7d2d15f5 2021-04-30 op .Ic execute-extended-command :
503 7d2d15f5 2021-04-30 op .Bl -tag -width 16m -compact
506 c82b3fd6 2021-05-12 op .It Ic tabnew
509 c82b3fd6 2021-05-12 op .Ic tab-previous
510 7d2d15f5 2021-04-30 op .It Ic q No and Ic wq
511 7d2d15f5 2021-04-30 op .Ic kill-telescope
513 74ca8ef4 2021-06-19 op .Sh CONFIGURATION FILE
514 74ca8ef4 2021-06-19 op During the startup,
516 74ca8ef4 2021-06-19 op reads the configuration file at
517 74ca8ef4 2021-06-19 op .Pa ~/.telescope/config
518 74ca8ef4 2021-06-19 op or the one given with the
522 74ca8ef4 2021-06-19 op The format of the configuration file is fairly flexible.
523 74ca8ef4 2021-06-19 op The current line can be extended over multiple ones using a
526 74ca8ef4 2021-06-19 op Comments can be put anywhere in the file using a hash mark
528 74ca8ef4 2021-06-19 op and extend to the end of the current line, but backslashes can't be
529 74ca8ef4 2021-06-19 op used to extend comments over multiple lines.
531 74ca8ef4 2021-06-19 op The following constructs are available:
532 74ca8ef4 2021-06-19 op .Bl -tag -width Ds
533 138421e8 2021-06-25 op .It Ic bind Ar map Ar key Ar cmd
536 138421e8 2021-06-25 op to the function
538 138421e8 2021-06-25 op in the keymap
540 138421e8 2021-06-25 op Valid values for map are
541 138421e8 2021-06-25 op .Dq global-map
542 138421e8 2021-06-25 op .Pq i.e. when the user is viewing a page
544 138421e8 2021-06-25 op .Dq minibuffer-map
545 138421e8 2021-06-25 op .Pq i.e. when the minibuffer has the focus.
547 138421e8 2021-06-25 op follows the same syntax described in
548 138421e8 2021-06-25 op .Sx DEFAULT KEY BINDINGS
549 138421e8 2021-06-25 op and all the possible functions are listed in
550 138421e8 2021-06-25 op .Sx INTERACTIVE COMMANDS .
551 90d8329a 2021-06-25 op .It Ic proxy Ar proto Ic via Ar url
554 90d8329a 2021-06-25 op as proxy for all URLs with
558 90d8329a 2021-06-25 op must be a Gemini URI without path, query and fragment component.
559 74ca8ef4 2021-06-19 op .It Ic set Ar opt No = Ar val
560 74ca8ef4 2021-06-19 op Set the option
564 74ca8ef4 2021-06-19 op Valid options are:
566 74ca8ef4 2021-06-19 op .Bl -tag -width twelveletters -compact
567 2c748a1f 2021-06-21 op .It enable-colors
569 2c748a1f 2021-06-21 op If not zero, enable colours.
570 2c748a1f 2021-06-21 op By default is 1 if
571 2c748a1f 2021-06-21 op .Ev NO_COLORS
572 2c748a1f 2021-06-21 op is not set, 0 otherwise.
573 74ca8ef4 2021-06-19 op .It fill-column
575 74ca8ef4 2021-06-19 op If greater than zero, lines of text will be formatted in a way that
576 74ca8ef4 2021-06-19 op don't exceed the given number of columns.
577 2c362f95 2021-06-24 op By default is 80.
578 b1379f34 2021-07-05 op .It hide-pre-blocks
580 b1379f34 2021-07-05 op If nonzero, hide by default the body of the preformatted blocks.
581 0193225e 2021-07-05 op By default is zero.
582 b1379f34 2021-07-05 op .Ic push-button
583 b1379f34 2021-07-05 op can be used to toggle the visibility per-block.
584 b1379f34 2021-07-05 op .It hide-pre-context
586 b1379f34 2021-07-05 op If nonzero, hide the start and end line of the preformatted blocks.
587 b1379f34 2021-07-05 op If both hide-pre-context and hide-pre-blocks are nonzero, preformatted
588 b1379f34 2021-07-05 op blocks are irremediably hidden.
589 0193225e 2021-07-05 op By default is zero.
590 74ca8ef4 2021-06-19 op .It new-tab-url
592 41a9ae40 2021-06-20 op URL for the new tab page.
593 41a9ae40 2021-06-20 op By default is
594 41a9ae40 2021-06-20 op .Dq about:new .
595 74ca8ef4 2021-06-19 op .It olivetti-mode
598 74ca8ef4 2021-06-19 op .Ic olivetti-mode
600 2c362f95 2021-06-24 op By default is 1.
602 74ca8ef4 2021-06-19 op .It Ic style Ar name Ar option
603 74ca8ef4 2021-06-19 op Change the styling of the element identified by
605 74ca8ef4 2021-06-19 op Multiple options may be specified within curly braces.
606 74ca8ef4 2021-06-19 op Valid style identifiers are:
607 74bc52e8 2021-06-25 op .Bl -tag -width 16m -compact -offset Ds
609 74bc52e8 2021-06-25 op for the area outside the lines in the body of the page.
610 45fe2472 2021-07-14 op .It line.compl
611 45fe2472 2021-07-14 op for the completion in the minibuffer
612 45fe2472 2021-07-14 op .It line.compl.current
613 45fe2472 2021-07-14 op for the current completion
614 74ca8ef4 2021-06-19 op .It line.text
615 74bc52e8 2021-06-25 op for text lines.
616 74bc52e8 2021-06-25 op .It line.link
617 74bc52e8 2021-06-25 op for link lines.
618 74ca8ef4 2021-06-19 op .It line.title1..3
620 74ca8ef4 2021-06-19 op .It line.item
621 74bc52e8 2021-06-25 op for item lines.
622 74ca8ef4 2021-06-19 op .It line.quote
624 74ca8ef4 2021-06-19 op .It line.pre.start
625 74bc52e8 2021-06-25 op for the heading of a preformatted block.
627 74bc52e8 2021-06-25 op for the content of a preformatted block.
628 74ca8ef4 2021-06-19 op .It line.pre.end
629 74bc52e8 2021-06-25 op for the closing line of a preformatted block.
630 eaf1a84b 2021-06-25 op .It minibuffer
631 eaf1a84b 2021-06-25 op for the minibuffer
632 eaf1a84b 2021-06-25 op .Dq i.e. the last line of the window
634 eaf1a84b 2021-06-25 op for the modeline
635 eaf1a84b 2021-06-25 op .Dq i.e. the info line right above the minibuffer
637 74bc52e8 2021-06-25 op for the tabline.
638 74bc52e8 2021-06-25 op .It tabline.tab
639 74bc52e8 2021-06-25 op for the non-focused tabs.
640 74bc52e8 2021-06-25 op .It tabline.current
641 74bc52e8 2021-06-25 op for the focused tab.
644 74ca8ef4 2021-06-19 op Valid options are:
645 ab728b01 2021-06-22 op .Bl -tag -width Ds
646 6e8a284f 2021-06-24 op .It Ic attr Ar prefix Oo Ar line Oo Ar trail Oc Oc
647 ab728b01 2021-06-22 op Sets the text attributes.
648 ab728b01 2021-06-22 op If only one value is given,
652 ab728b01 2021-06-22 op default to that; if two values are given then
656 ab728b01 2021-06-22 op Each attribute is a comma-separated list of keywords:
657 ab728b01 2021-06-22 op .Bl -tag -width underline -compact -offset Ds
658 ab728b01 2021-06-22 op .It Ic normal
659 ab728b01 2021-06-22 op no attributes.
660 ab728b01 2021-06-22 op .It Ic standout
661 ab728b01 2021-06-22 op best highlighting mode for the terminal.
662 ab728b01 2021-06-22 op .It Ic underline
663 ab728b01 2021-06-22 op underlines the text.
664 ab728b01 2021-06-22 op .It Ic reverse
665 ab728b01 2021-06-22 op reverses background/foreground colors.
667 ab728b01 2021-06-22 op makes the text blinking.
671 ab728b01 2021-06-22 op extra bright or bold.
674 74bc52e8 2021-06-25 op Only the styles under the
676 74bc52e8 2021-06-25 op prefix accept up to three attributes.
677 74bc52e8 2021-06-25 op The other will only use the first one given.
678 6e8a284f 2021-06-24 op .It Ic bg Ar prefix Oo Ar line Oo Ar trail Oc Oc
679 ab728b01 2021-06-22 op Sets the background color.
680 ab728b01 2021-06-22 op Follows the same behaviour as
682 ab728b01 2021-06-22 op regarding the optional parameters.
683 ae844a00 2021-06-25 op The colour is one of black, red, green, yellow, blue,
684 ae844a00 2021-06-25 op magenta, cyan and white; colour0 to colour255
685 ae844a00 2021-06-25 op .Pq or color0 to color255
686 ae844a00 2021-06-25 op from the 256-colour set;
687 ae844a00 2021-06-25 op default for the default colour.
688 6e8a284f 2021-06-24 op .It Ic fg Ar prefix Oo Ar line Oo Ar trail Oc Oc
689 ab728b01 2021-06-22 op Sets the foreground color.
690 ab728b01 2021-06-22 op It behaves just like
692 ab728b01 2021-06-22 op .It Ic prefix Ar prfx Op Ar cont
693 eaf1a84b 2021-06-25 op Sets the prefix for the current line type to
697 ab728b01 2021-06-22 op as the prefix for the continuation lines
698 ab728b01 2021-06-22 op .Pq i.e. when a long line gets wrapped.
701 ab728b01 2021-06-22 op is not given its value will be the same of
706 bba111bc 2021-03-28 op .Bl -tag -width Ds -compact
707 bba111bc 2021-03-28 op .It Pa ~/.telescope/bookmarks.gmi
708 bba111bc 2021-03-28 op Holds the bookmarks.
709 dca97b00 2021-06-19 op .It Pa ~/.telescope/config
710 dca97b00 2021-06-19 op Default configuration file.
711 bba111bc 2021-03-28 op .It Pa ~/.telescope/known_hosts
712 bba111bc 2021-03-28 op Contains a list of host keys for all the hosts the user has visited.
713 bba111bc 2021-03-28 op See the TOFU section for more info.
714 e9b1e094 2021-04-01 op .It Pa ~/.telescope/session
715 e9b1e094 2021-04-01 op Contains the list of opened tabs in the last session, one per line.
716 e9b1e094 2021-04-01 op Gets written on
717 e9b1e094 2021-04-01 op .Ic kill-telescope
718 e9b1e094 2021-04-01 op and loaded on startup.
721 ab728b01 2021-06-22 op The following is my config file:
722 74ca8ef4 2021-06-19 op .Bd -literal -offset indent
723 74bc52e8 2021-06-25 op # enable colors regardless of $NO_COLOR
724 ab728b01 2021-06-22 op set enable-colors = 1
726 74ca8ef4 2021-06-19 op style line.item {
727 6322dee3 2021-06-21 op prefix " • " " "
730 74ca8ef4 2021-06-19 op style line.link {
731 6322dee3 2021-06-21 op prefix "→ " " "
734 74ca8ef4 2021-06-19 op style line.quote {
739 984245ce 2021-06-23 op It's possible to browse
740 984245ce 2021-06-23 op .Dq the small web
741 984245ce 2021-06-23 op .Pq i.e. simple websites
742 3a761ed2 2021-06-25 op by using programs like the duckling-proxy by defining a proxy in
743 6e8a284f 2021-06-24 op .Pa ~/.telescope/config :
744 984245ce 2021-06-23 op .Bd -literal -offset indent
745 984245ce 2021-06-23 op proxy http via "gemini://localhost:1965"
746 984245ce 2021-06-23 op proxy https via "gemini://localhost:1965"
751 19f9cf0f 2021-06-24 op without any configuration use
752 19f9cf0f 2021-06-24 op .Bd -literal -offset indent
753 19f9cf0f 2021-06-24 op telescope -c /dev/null
759 bba111bc 2021-03-28 op program was written by
760 bba111bc 2021-03-28 op .An Omar Polo Aq Mt op@omarpolo.com .