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 dc761924 2021-07-15 op .Bl -tag -width xxxxxxxxxxxxx
36 97870a34 2021-07-15 op .It Fl C , Fl -colors
37 97870a34 2021-07-15 op Show all available colors and exit.
38 c92e529c 2021-06-15 op .It Fl c Pa config
39 c92e529c 2021-06-15 op Specify an alternative configuration file.
41 c92e529c 2021-06-15 op .Pa $HOME/.telescope/config
43 ccc5591f 2021-07-15 op .It Fl h , Fl -help
44 ccc5591f 2021-07-15 op Display version and usage.
46 ccc5591f 2021-07-15 op Configtest mode.
47 ccc5591f 2021-07-15 op Only check the configuration file for validity.
48 dc761924 2021-07-15 op .It Fl v , Fl -version
49 dc761924 2021-07-15 op Display version.
53 bba111bc 2021-03-28 op aims to use the "Trust, but Verify (where appropriate)" approach.
54 bba111bc 2021-03-28 op The idea is to define three level of verification for a certificate:
55 bba111bc 2021-03-28 op .Bl -tag -width 12m
57 bba111bc 2021-03-28 op the server fingerprint does NOT match the stored value
59 bba111bc 2021-03-28 op the server fingerprint matches the store one
61 bba111bc 2021-03-28 op the fingerprint matches and has been verified out-of-band
64 bba111bc 2021-03-28 op Most of the time the
66 bba111bc 2021-03-28 op level is enough, but where is appropriate users should be able to
67 bba111bc 2021-03-28 op verify out-of-band the certificate.
69 bba111bc 2021-03-28 op At the moment, there is no built-in support for an out-of-band
70 bba111bc 2021-03-28 op verification though.
72 bba111bc 2021-03-28 op Known certificates are store in
73 bba111bc 2021-03-28 op .Pa ~/.telescope/known_hosts
74 bba111bc 2021-03-28 op with a format similar to the
75 bba111bc 2021-03-28 op .Xr ssh 1 Ns '
76 bba111bc 2021-03-28 op .Pa known_hosts
78 bba111bc 2021-03-28 op Each line is a record and it's made up by three fields, separated by a
79 bba111bc 2021-03-28 op single space, according to the following format:
80 bba111bc 2021-03-28 op .Dq HOST HASH TRUSTED
82 bba111bc 2021-03-28 op .Bl -tag -width 12m
84 eb4388ee 2021-04-25 op the hostname, optionally followed by a colon (":") and a port number.
86 bba111bc 2021-03-28 op is the hash of the certificate, as outputted by
87 6c04e8b6 2021-04-01 op .Xr tls_peer_cert_hash 3 .
89 bba111bc 2021-03-28 op a single digit.
90 bba111bc 2021-03-28 op 0 means trusted, 1 verified.
92 bba111bc 2021-03-28 op .Sh DEFAULT KEY BINDINGS
93 bba111bc 2021-03-28 op The default key bindings are very similar to GNU Emacs, but care has
94 bba111bc 2021-03-28 op been taken to include also bindings familiar for
99 bba111bc 2021-03-28 op In the following examples, C-x means Control-x, M-x means Meta-x,
100 bba111bc 2021-03-28 op where the Meta key may be either a special key on the keyboard or the
101 bba111bc 2021-03-28 op ALT key; otherwise ESC followed by the key X works as well, and C-M-x
102 bba111bc 2021-03-28 op means to press the key X together with both Control and Meta.
104 bba111bc 2021-03-28 op Keys are usually a single character, like
108 bba111bc 2021-03-28 op but some special keys are accepted as well.
110 bba111bc 2021-03-28 op .Bl -tag -width 16m -offset indent -compact
120 bba111bc 2021-03-28 op Previous page/Page up
122 bba111bc 2021-03-28 op Next page/Page down
127 bba111bc 2021-03-28 op .It <f0> thru <f63>
128 bba111bc 2021-03-28 op Function keys
129 bba111bc 2021-03-28 op .It del or backspace
133 bba111bc 2021-03-28 op .It space or spc
135 bba111bc 2021-03-28 op .It enter or ret
140 8dc60352 2021-06-15 op Depends on the configuration of the terminal emulator.
141 8dc60352 2021-06-15 op Usually is shift tab though.
143 bba111bc 2021-03-28 op .Ss GNU Emacs-like keys
144 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
146 7dbaef94 2021-04-22 op previous-line
152 7dbaef94 2021-04-22 op backward-char
154 7dbaef94 2021-04-22 op backward-paragraph
156 7dbaef94 2021-04-22 op forward-paragraph
158 7dbaef94 2021-04-22 op move-beginning-of-line
160 7dbaef94 2021-04-22 op move-end-of-line
161 bba111bc 2021-03-28 op .It M-v, M-space
163 bba111bc 2021-03-28 op .It C-v, space
166 7dbaef94 2021-04-22 op beginning-of-buffer
168 7dbaef94 2021-04-22 op end-of-buffer
170 7dbaef94 2021-04-22 op kill-telescope
172 7dbaef94 2021-04-22 op clear-minibuf
174 7dbaef94 2021-04-22 op execute-extended-command
176 61251035 2021-06-26 op dec-fill-column
178 61251035 2021-06-26 op inc-fill-column
180 1c412d48 2021-06-25 op previous-heading
186 f2ab2540 2021-07-14 op load-current-url
190 7dbaef94 2021-04-22 op load-current-url
194 7dbaef94 2021-04-22 op tab-close-other
206 7dbaef94 2021-04-22 op previous-page
210 7dbaef94 2021-04-22 op bookmark-page
211 bba111bc 2021-03-28 op .It <f7> <f7>
212 7dbaef94 2021-04-22 op list-bookmarks
214 12cf7d80 2021-07-15 op suspend-telescope
216 bba111bc 2021-03-28 op .Ss Xr vi 1 Ns -like keys
217 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
219 7dbaef94 2021-04-22 op previous-line
225 7dbaef94 2021-04-22 op backward-char
227 7dbaef94 2021-04-22 op backward-paragraph
229 7dbaef94 2021-04-22 op forward-paragraph
231 7dbaef94 2021-04-22 op move-beginning-of-line
233 7dbaef94 2021-04-22 op move-end-of-line
235 7dbaef94 2021-04-22 op scroll-line-up
237 7dbaef94 2021-04-22 op scroll-line-down
239 7dbaef94 2021-04-22 op beginning-of-buffer
241 7dbaef94 2021-04-22 op end-of-buffer
255 7dbaef94 2021-04-22 op previous-page
259 7dbaef94 2021-04-22 op kill-telescope
261 7dbaef94 2021-04-22 op clear-minibuf
263 7dbaef94 2021-04-22 op execute-extended-command
265 bba111bc 2021-03-28 op .Ss CUA-like keys
266 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
268 7dbaef94 2021-04-22 op previous-line
274 7dbaef94 2021-04-22 op backward-char
276 12cf7d80 2021-07-15 op move-beginning-of-line
278 12cf7d80 2021-07-15 op move-end-of-line
287 3c3af0fd 2021-07-08 op .It M-<prior>
292 7dbaef94 2021-04-22 op previous-page
293 bba111bc 2021-03-28 op .It M-<right>
300 bba111bc 2021-03-28 op .Ss Neither Emacs nor vi specific
301 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
307 7dbaef94 2021-04-22 op push-button-new-tab
309 7dbaef94 2021-04-22 op previous-button
311 8dc60352 2021-06-15 op previous-button
325 bba111bc 2021-03-28 op .Ss Minibuffer-specific keys
326 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
328 7dbaef94 2021-04-22 op mini-complete-and-exit
334 7dbaef94 2021-04-22 op mini-delete-char
336 7dbaef94 2021-04-22 op mini-delete-backward-char
337 bba111bc 2021-03-28 op .It backspace
338 7dbaef94 2021-04-22 op mini-delete-backward-char
340 7dbaef94 2021-04-22 op mini-delete-backward-char
342 7dbaef94 2021-04-22 op backward-char
346 7dbaef94 2021-04-22 op backward-char
350 7dbaef94 2021-04-22 op move-end-of-line
352 7dbaef94 2021-04-22 op move-beginning-of-line
354 7dbaef94 2021-04-22 op move-end-of-line
356 7dbaef94 2021-04-22 op move-beginning-of-line
358 7dbaef94 2021-04-22 op mini-kill-line
360 7dbaef94 2021-04-22 op mini-previous-history-element
362 7dbaef94 2021-04-22 op mini-next-history-element
364 e7b982f4 2021-07-14 op previous-completion
366 dffb2592 2021-07-14 op next-completion
368 dffb2592 2021-07-14 op previous-completion
370 e7b982f4 2021-07-14 op next-completion
372 e7b982f4 2021-07-14 op insert-current-candidate
374 bba111bc 2021-03-28 op .Sh INTERACTIVE COMMANDS
375 bba111bc 2021-03-28 op Follows the documentation for the interactive commands.
376 bba111bc 2021-03-28 op These commands can be bound to a key or executed with
377 bba111bc 2021-03-28 op .Ic execute-extended-command .
378 bba111bc 2021-03-28 op .Ss Movement commands
379 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
380 bba111bc 2021-03-28 op .It Ic backward-char
381 bba111bc 2021-03-28 op Move point one character backward.
382 bba111bc 2021-03-28 op .It Ic backward-paragraph
383 bba111bc 2021-03-28 op Move point one paragraph backward.
384 bba111bc 2021-03-28 op .It Ic beginning-of-buffer
385 bba111bc 2021-03-28 op Move point to the beginning of the buffer.
386 bba111bc 2021-03-28 op .It Ic end-of-buffer
387 bba111bc 2021-03-28 op Move point to the end of the buffer.
388 bba111bc 2021-03-28 op .It Ic forward-char
389 bba111bc 2021-03-28 op Move point one character forward.
390 bba111bc 2021-03-28 op .It Ic forward-paragraph
391 bba111bc 2021-03-28 op Move point one paragraph forward.
392 e7b982f4 2021-07-14 op .It Ic insert-current-candidate
393 e7b982f4 2021-07-14 op Copy the current selection text as minibuffer input.
394 bba111bc 2021-03-28 op .It Ic move-beginning-of-line
395 bba111bc 2021-03-28 op Move point at the beginning of the current (visual) line.
396 bba111bc 2021-03-28 op .It Ic move-end-of-line
397 bba111bc 2021-03-28 op Move point at the end of the current (visual) line.
398 bba111bc 2021-03-28 op .It Ic next-button
399 bba111bc 2021-03-28 op Move point to the next link.
400 e7b982f4 2021-07-14 op .It Ic next-completion
401 e7b982f4 2021-07-14 op Select the next completion.
402 1c412d48 2021-06-25 op .It Ic next-heading
403 1c412d48 2021-06-25 op Move point to the next heading.
404 bba111bc 2021-03-28 op .It Ic next-line
405 bba111bc 2021-03-28 op Move point to the next (visual) line, in the same column if possible.
406 bba111bc 2021-03-28 op .It Ic previous-button
407 bba111bc 2021-03-28 op Move point to the previous link.
408 e7b982f4 2021-07-14 op .It Ic previous-completion
409 e7b982f4 2021-07-14 op Select the previous completion.
410 1c412d48 2021-06-25 op .It Ic previous-heading
411 1c412d48 2021-06-25 op Move point to the previous heading.
412 bba111bc 2021-03-28 op .It Ic previous-line
413 bba111bc 2021-03-28 op Move point to the previous (visual) line.
415 bba111bc 2021-03-28 op .Ss Bookmark-related commands
416 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
417 bba111bc 2021-03-28 op .It Ic bookmark-page
418 b3be07ea 2021-07-18 op Save a page in the bookmark file.
419 bba111bc 2021-03-28 op It preloads the minibuffer with the current URL.
420 63875195 2021-04-01 op .It Ic list-bookmarks
421 bba111bc 2021-03-28 op Load the bookmarks page.
423 bba111bc 2021-03-28 op .Ss Tab-related commands
424 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
425 bba111bc 2021-03-28 op .It Ic tab-close
426 bba111bc 2021-03-28 op Close the current tab.
427 bba111bc 2021-03-28 op .It Ic tab-close-other
428 bba111bc 2021-03-28 op Close all tabs but the current one.
429 bba111bc 2021-03-28 op .It Ic tab-move
430 bba111bc 2021-03-28 op Move the current tab after the next one, wrapping around if
432 bba111bc 2021-03-28 op .It Ic tab-move-to
433 bba111bc 2021-03-28 op Move the current tab before the previous one, wrapping around if needed.
434 bba111bc 2021-03-28 op .It Ic tab-new
435 bba111bc 2021-03-28 op Open a new tab.
436 bba111bc 2021-03-28 op .It Ic tab-next
437 bba111bc 2021-03-28 op Focus next tab, wrapping around eventually.
438 bba111bc 2021-03-28 op .It Ic tab-previous
439 bba111bc 2021-03-28 op Focus the previous tab, wrapping around eventually.
440 3360ef1b 2021-07-14 op .It Ic tab-select
441 3360ef1b 2021-07-14 op Switch to a tab using the minibuffer.
443 bba111bc 2021-03-28 op .Ss Misc commands
444 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
445 bba111bc 2021-03-28 op .It Ic clear-minibuf
446 b3be07ea 2021-07-18 op Clear the echo area.
447 61251035 2021-06-26 op .It Ic dec-fill-column
448 b3be07ea 2021-07-18 op Decrement fill-column by two.
449 bba111bc 2021-03-28 op .It Ic execute-extended-command
450 b3be07ea 2021-07-18 op Execute an internal command.
451 bba111bc 2021-03-28 op .It Ic kill-telescope
454 61251035 2021-06-26 op .It Ic inc-fill-column
455 b3be07ea 2021-07-18 op Increment fill-column by two.
456 753c6ac7 2021-07-14 op .It Ic link-select
457 753c6ac7 2021-07-14 op Select and visit a link using the minibuffer.
458 bba111bc 2021-03-28 op .It Ic load-current-url
459 b3be07ea 2021-07-18 op Edit the current URL.
460 bba111bc 2021-03-28 op .It Ic load-url
461 b3be07ea 2021-07-18 op Prompt for an URL.
462 bba111bc 2021-03-28 op .It Ic next-page
463 b3be07ea 2021-07-18 op Go forward in the page history.
464 9f3f9f5e 2021-06-19 op .It Ic olivetti-mode
465 9f3f9f5e 2021-06-19 op Toggle olivetti mode (i.e. horizontal centering of the lines of the
467 bba111bc 2021-03-28 op .It Ic previous-page
468 b3be07ea 2021-07-18 op Go backward in the page history.
469 bba111bc 2021-03-28 op .It Ic push-button
470 b3be07ea 2021-07-18 op Follow link at point, or toggle the visibility of the following
471 b3be07ea 2021-07-18 op preformatted block if called when the cursor is on the heading of the block.
472 bba111bc 2021-03-28 op .It Ic push-button-new-tab
473 b3be07ea 2021-07-18 op Follow link at point in a new tab.
474 bba111bc 2021-03-28 op .It Ic redraw
475 708fab48 2021-06-19 op Redraw the screen, useful if some background program messed up the
477 661233ed 2021-07-14 op .It Ic reload-page
478 661233ed 2021-07-14 op Reload the current page.
479 bba111bc 2021-03-28 op .It Ic scroll-down
480 bba111bc 2021-03-28 op Scroll down by one visual page.
481 bba111bc 2021-03-28 op .It Ic scroll-line-down
482 bba111bc 2021-03-28 op Scroll down by one line.
483 bba111bc 2021-03-28 op .It Ic scroll-line-up
484 bba111bc 2021-03-28 op Scroll up by one line.
485 bba111bc 2021-03-28 op .It Ic scroll-up
486 bba111bc 2021-03-28 op Scroll up by one visual page.
487 12cf7d80 2021-07-15 op .It Ic suspend-telescope
488 12cf7d80 2021-07-15 op Suspend the current
491 753c6ac7 2021-07-14 op .It Ic swiper
492 753c6ac7 2021-07-14 op Jump to a line using the minibuffer.
494 b3be07ea 2021-07-18 op Jump to a heading using the minibuffer.
495 7a014cef 2021-04-01 op .It Ic toggle-help
496 7a014cef 2021-04-01 op Toggle side window with help about available keys and their associated
497 7a014cef 2021-04-01 op interactive command.
498 987d9c88 2021-07-15 op .It Ic toggle-pre-wrap
499 987d9c88 2021-07-15 op Toggle the wrapping of preformatted blocks.
501 bba111bc 2021-03-28 op .Ss Minibuffer commands
502 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
503 bba111bc 2021-03-28 op .It Ic mini-abort
504 bba111bc 2021-03-28 op Abort the current minibuffer action.
505 bba111bc 2021-03-28 op .It Ic mini-complete-and-exit
506 bba111bc 2021-03-28 op Complete the current minibuffer action.
507 bba111bc 2021-03-28 op .It Ic mini-delete-backward-char
508 bba111bc 2021-03-28 op Delete the character before the point.
509 bba111bc 2021-03-28 op .It Ic mini-delete-char
510 bba111bc 2021-03-28 op Delete the character after the point.
511 de190a2b 2021-07-17 op .It Ic mini-goto-beginning
512 de190a2b 2021-07-17 op Select the first completion, if any.
513 de190a2b 2021-07-17 op .It Ic mini-goto-end
514 de190a2b 2021-07-17 op Select the last completion, if any.
515 bba111bc 2021-03-28 op .It Ic mini-kill-line
516 b3be07ea 2021-07-18 op Delete from point until the end of the line.
517 bba111bc 2021-03-28 op .It Ic mini-next-history-element
518 bba111bc 2021-03-28 op Load the previous history element.
519 bba111bc 2021-03-28 op .It Ic mini-previous-history-element
520 bba111bc 2021-03-28 op Load the next history element.
523 7d2d15f5 2021-04-30 op The following aliases are available during
524 7d2d15f5 2021-04-30 op .Ic execute-extended-command :
525 7d2d15f5 2021-04-30 op .Bl -tag -width 16m -compact
528 c82b3fd6 2021-05-12 op .It Ic tabnew
531 c82b3fd6 2021-05-12 op .Ic tab-previous
532 7d2d15f5 2021-04-30 op .It Ic q No and Ic wq
533 7d2d15f5 2021-04-30 op .Ic kill-telescope
535 74ca8ef4 2021-06-19 op .Sh CONFIGURATION FILE
536 74ca8ef4 2021-06-19 op During the startup,
538 74ca8ef4 2021-06-19 op reads the configuration file at
539 74ca8ef4 2021-06-19 op .Pa ~/.telescope/config
540 74ca8ef4 2021-06-19 op or the one given with the
545 21404dd9 2021-07-15 op will also load a file called
546 21404dd9 2021-07-15 op .Pa config-TERM ,
549 21404dd9 2021-07-15 op is the name of the terminal type
550 21404dd9 2021-07-15 op .Pq i.e. the TERM variable ,
551 21404dd9 2021-07-15 op if available.
553 74ca8ef4 2021-06-19 op The format of the configuration file is fairly flexible.
554 74ca8ef4 2021-06-19 op The current line can be extended over multiple ones using a
557 74ca8ef4 2021-06-19 op Comments can be put anywhere in the file using a hash mark
559 74ca8ef4 2021-06-19 op and extend to the end of the current line, but backslashes can't be
560 74ca8ef4 2021-06-19 op used to extend comments over multiple lines.
562 74ca8ef4 2021-06-19 op The following constructs are available:
563 74ca8ef4 2021-06-19 op .Bl -tag -width Ds
564 138421e8 2021-06-25 op .It Ic bind Ar map Ar key Ar cmd
567 138421e8 2021-06-25 op to the function
569 138421e8 2021-06-25 op in the keymap
571 138421e8 2021-06-25 op Valid values for map are
572 138421e8 2021-06-25 op .Dq global-map
573 138421e8 2021-06-25 op .Pq i.e. when the user is viewing a page
575 138421e8 2021-06-25 op .Dq minibuffer-map
576 138421e8 2021-06-25 op .Pq i.e. when the minibuffer has the focus.
578 138421e8 2021-06-25 op follows the same syntax described in
579 138421e8 2021-06-25 op .Sx DEFAULT KEY BINDINGS
580 138421e8 2021-06-25 op and all the possible functions are listed in
581 138421e8 2021-06-25 op .Sx INTERACTIVE COMMANDS .
582 90d8329a 2021-06-25 op .It Ic proxy Ar proto Ic via Ar url
585 90d8329a 2021-06-25 op as proxy for all URLs with
589 90d8329a 2021-06-25 op must be a Gemini URI without path, query and fragment component.
590 74ca8ef4 2021-06-19 op .It Ic set Ar opt No = Ar val
591 74ca8ef4 2021-06-19 op Set the option
595 74ca8ef4 2021-06-19 op Valid options are:
597 74ca8ef4 2021-06-19 op .Bl -tag -width twelveletters -compact
598 88693f61 2021-07-15 op .It dont-wrap-pre
600 88693f61 2021-07-15 op If nonzero, don't wrap preformatted blocks.
601 59ae0cdc 2021-07-16 op .It emojify-link
603 59ae0cdc 2021-07-16 op If not zero, when the text of a link starts with an emoji followed by
604 59ae0cdc 2021-07-16 op a space, use that emoji as line prefix.
605 59ae0cdc 2021-07-16 op Defaults to 1.
606 2c748a1f 2021-06-21 op .It enable-colors
608 2c748a1f 2021-06-21 op If not zero, enable colours.
609 2c748a1f 2021-06-21 op By default is 1 if
610 2c748a1f 2021-06-21 op .Ev NO_COLORS
611 2c748a1f 2021-06-21 op is not set, 0 otherwise.
612 74ca8ef4 2021-06-19 op .It fill-column
614 74ca8ef4 2021-06-19 op If greater than zero, lines of text will be formatted in a way that
615 74ca8ef4 2021-06-19 op don't exceed the given number of columns.
616 2c362f95 2021-06-24 op By default is 80.
617 b1379f34 2021-07-05 op .It hide-pre-blocks
619 b1379f34 2021-07-05 op If nonzero, hide by default the body of the preformatted blocks.
620 0193225e 2021-07-05 op By default is zero.
621 b1379f34 2021-07-05 op .Ic push-button
622 b1379f34 2021-07-05 op can be used to toggle the visibility per-block.
623 144733a7 2021-07-15 op .It hide-pre-closing-line
625 144733a7 2021-07-15 op If nonzero, hide the closing line of preformatted blocks.
626 b1379f34 2021-07-05 op .It hide-pre-context
628 b1379f34 2021-07-05 op If nonzero, hide the start and end line of the preformatted blocks.
629 b1379f34 2021-07-05 op If both hide-pre-context and hide-pre-blocks are nonzero, preformatted
630 b1379f34 2021-07-05 op blocks are irremediably hidden.
631 0193225e 2021-07-05 op By default is zero.
632 74ca8ef4 2021-06-19 op .It new-tab-url
634 41a9ae40 2021-06-20 op URL for the new tab page.
635 41a9ae40 2021-06-20 op By default is
636 41a9ae40 2021-06-20 op .Dq about:new .
637 74ca8ef4 2021-06-19 op .It olivetti-mode
640 74ca8ef4 2021-06-19 op .Ic olivetti-mode
642 2c362f95 2021-06-24 op By default is 1.
643 9886bf97 2021-07-17 op .It set-title
645 9886bf97 2021-07-17 op If nonzero, set the terminal title.
646 9886bf97 2021-07-17 op Defaults to 1.
648 74ca8ef4 2021-06-19 op .It Ic style Ar name Ar option
649 74ca8ef4 2021-06-19 op Change the styling of the element identified by
651 74ca8ef4 2021-06-19 op Multiple options may be specified within curly braces.
652 74ca8ef4 2021-06-19 op Valid style identifiers are:
653 74bc52e8 2021-06-25 op .Bl -tag -width 16m -compact -offset Ds
655 74bc52e8 2021-06-25 op for the area outside the lines in the body of the page.
656 45fe2472 2021-07-14 op .It line.compl
657 45fe2472 2021-07-14 op for the completion in the minibuffer
658 45fe2472 2021-07-14 op .It line.compl.current
659 45fe2472 2021-07-14 op for the current completion
660 74ca8ef4 2021-06-19 op .It line.text
661 74bc52e8 2021-06-25 op for text lines.
662 74bc52e8 2021-06-25 op .It line.link
663 74bc52e8 2021-06-25 op for link lines.
664 74ca8ef4 2021-06-19 op .It line.title1..3
666 74ca8ef4 2021-06-19 op .It line.item
667 74bc52e8 2021-06-25 op for item lines.
668 74ca8ef4 2021-06-19 op .It line.quote
670 74ca8ef4 2021-06-19 op .It line.pre.start
671 74bc52e8 2021-06-25 op for the heading of a preformatted block.
673 74bc52e8 2021-06-25 op for the content of a preformatted block.
674 74ca8ef4 2021-06-19 op .It line.pre.end
675 74bc52e8 2021-06-25 op for the closing line of a preformatted block.
676 eaf1a84b 2021-06-25 op .It minibuffer
677 eaf1a84b 2021-06-25 op for the minibuffer
678 eaf1a84b 2021-06-25 op .Dq i.e. the last line of the window
680 eaf1a84b 2021-06-25 op for the modeline
681 eaf1a84b 2021-06-25 op .Dq i.e. the info line right above the minibuffer
683 74bc52e8 2021-06-25 op for the tabline.
684 74bc52e8 2021-06-25 op .It tabline.tab
685 74bc52e8 2021-06-25 op for the non-focused tabs.
686 74bc52e8 2021-06-25 op .It tabline.current
687 74bc52e8 2021-06-25 op for the focused tab.
690 74ca8ef4 2021-06-19 op Valid options are:
691 ab728b01 2021-06-22 op .Bl -tag -width Ds
692 6e8a284f 2021-06-24 op .It Ic attr Ar prefix Oo Ar line Oo Ar trail Oc Oc
693 ab728b01 2021-06-22 op Sets the text attributes.
694 ab728b01 2021-06-22 op If only one value is given,
698 ab728b01 2021-06-22 op default to that; if two values are given then
702 ab728b01 2021-06-22 op Each attribute is a comma-separated list of keywords:
703 ab728b01 2021-06-22 op .Bl -tag -width underline -compact -offset Ds
704 ab728b01 2021-06-22 op .It Ic normal
705 ab728b01 2021-06-22 op no attributes.
706 ab728b01 2021-06-22 op .It Ic standout
707 ab728b01 2021-06-22 op best highlighting mode for the terminal.
708 ab728b01 2021-06-22 op .It Ic underline
709 ab728b01 2021-06-22 op underlines the text.
710 ab728b01 2021-06-22 op .It Ic reverse
711 ab728b01 2021-06-22 op reverses background/foreground colors.
713 ab728b01 2021-06-22 op makes the text blinking.
717 ab728b01 2021-06-22 op extra bright or bold.
720 74bc52e8 2021-06-25 op Only the styles under the
722 74bc52e8 2021-06-25 op prefix accept up to three attributes.
723 74bc52e8 2021-06-25 op The other will only use the first one given.
724 6e8a284f 2021-06-24 op .It Ic bg Ar prefix Oo Ar line Oo Ar trail Oc Oc
725 ab728b01 2021-06-22 op Sets the background color.
726 ab728b01 2021-06-22 op Follows the same behaviour as
728 ab728b01 2021-06-22 op regarding the optional parameters.
729 ae844a00 2021-06-25 op The colour is one of black, red, green, yellow, blue,
730 ae844a00 2021-06-25 op magenta, cyan and white; colour0 to colour255
731 ae844a00 2021-06-25 op .Pq or color0 to color255
732 ae844a00 2021-06-25 op from the 256-colour set;
733 ae844a00 2021-06-25 op default for the default colour.
734 6e8a284f 2021-06-24 op .It Ic fg Ar prefix Oo Ar line Oo Ar trail Oc Oc
735 ab728b01 2021-06-22 op Sets the foreground color.
736 ab728b01 2021-06-22 op It behaves just like
738 ab728b01 2021-06-22 op .It Ic prefix Ar prfx Op Ar cont
739 eaf1a84b 2021-06-25 op Sets the prefix for the current line type to
743 ab728b01 2021-06-22 op as the prefix for the continuation lines
744 ab728b01 2021-06-22 op .Pq i.e. when a long line gets wrapped.
747 ab728b01 2021-06-22 op is not given its value will be the same of
752 bba111bc 2021-03-28 op .Bl -tag -width Ds -compact
753 bba111bc 2021-03-28 op .It Pa ~/.telescope/bookmarks.gmi
754 bba111bc 2021-03-28 op Holds the bookmarks.
755 dca97b00 2021-06-19 op .It Pa ~/.telescope/config
756 dca97b00 2021-06-19 op Default configuration file.
757 bba111bc 2021-03-28 op .It Pa ~/.telescope/known_hosts
758 bba111bc 2021-03-28 op Contains a list of host keys for all the hosts the user has visited.
759 bba111bc 2021-03-28 op See the TOFU section for more info.
760 d0fd368a 2021-07-15 op .It Pa ~/.telescope/lock
761 d0fd368a 2021-07-15 op Lock file used to prevent multiple instance of
763 d0fd368a 2021-07-15 op from running at the same time.
764 e9b1e094 2021-04-01 op .It Pa ~/.telescope/session
765 87e3e801 2021-07-17 op Contains the list of tabs from the last session.
766 87e3e801 2021-07-17 op Every line identifies a tab.
767 87e3e801 2021-07-17 op The syntax is the full URL, followed by a space, followed by an
768 87e3e801 2021-07-17 op optional comma-separated list of attributes.
769 87e3e801 2021-07-17 op Is written by
770 e9b1e094 2021-04-01 op .Ic kill-telescope
771 e9b1e094 2021-04-01 op and loaded on startup.
774 ab728b01 2021-06-22 op The following is my config file:
775 74ca8ef4 2021-06-19 op .Bd -literal -offset indent
776 74bc52e8 2021-06-25 op # enable colors regardless of $NO_COLOR
777 ab728b01 2021-06-22 op set enable-colors = 1
779 74ca8ef4 2021-06-19 op style line.item {
780 6322dee3 2021-06-21 op prefix " • " " "
783 74ca8ef4 2021-06-19 op style line.link {
784 6322dee3 2021-06-21 op prefix "→ " " "
787 74ca8ef4 2021-06-19 op style line.quote {
792 984245ce 2021-06-23 op It's possible to browse
793 984245ce 2021-06-23 op .Dq the small web
794 984245ce 2021-06-23 op .Pq i.e. simple websites
795 3a761ed2 2021-06-25 op by using programs like the duckling-proxy by defining a proxy in
796 6e8a284f 2021-06-24 op .Pa ~/.telescope/config :
797 984245ce 2021-06-23 op .Bd -literal -offset indent
798 984245ce 2021-06-23 op proxy http via "gemini://localhost:1965"
799 984245ce 2021-06-23 op proxy https via "gemini://localhost:1965"
804 19f9cf0f 2021-06-24 op without any configuration use
805 19f9cf0f 2021-06-24 op .Bd -literal -offset indent
806 19f9cf0f 2021-06-24 op telescope -c /dev/null
812 bba111bc 2021-03-28 op program was written by
813 bba111bc 2021-03-28 op .An Omar Polo Aq Mt op@omarpolo.com .