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 7ee780fa 2021-07-21 op also features tabs, a minibuffer, bookmarks and out-of-band TOFU
35 c92e529c 2021-06-15 op The arguments are as follows:
36 dc761924 2021-07-15 op .Bl -tag -width xxxxxxxxxxxxx
37 97870a34 2021-07-15 op .It Fl C , Fl -colors
38 97870a34 2021-07-15 op Show all available colors and exit.
39 c92e529c 2021-06-15 op .It Fl c Pa config
40 c92e529c 2021-06-15 op Specify an alternative configuration file.
42 c92e529c 2021-06-15 op .Pa $HOME/.telescope/config
44 ccc5591f 2021-07-15 op .It Fl h , Fl -help
45 ccc5591f 2021-07-15 op Display version and usage.
47 ccc5591f 2021-07-15 op Configtest mode.
48 ccc5591f 2021-07-15 op Only check the configuration file for validity.
49 dc761924 2021-07-15 op .It Fl v , Fl -version
50 dc761924 2021-07-15 op Display version.
52 7ee780fa 2021-07-21 op .Sh UI CONCEPTS
54 7ee780fa 2021-07-21 op interface is divided into four areas: the tabline, the body, the
55 7ee780fa 2021-07-21 op modeline and the echoarea/minibuffer.
57 7ee780fa 2021-07-21 op The tabline is always at the top of the screen and displays the tabs
58 7ee780fa 2021-07-21 op separated by a vertical line.
59 7ee780fa 2021-07-21 op When there are more tabs than the size of the window allow to display,
60 7ee780fa 2021-07-21 op the characters
64 7ee780fa 2021-07-21 op are shown at the start/end of the tabline to indicate that there are
65 7ee780fa 2021-07-21 op more tabs in that direction.
67 7ee780fa 2021-07-21 op The body occupies the majority of the visible area.
68 7ee780fa 2021-07-21 op It contains the current page and optionally a side window.
70 7ee780fa 2021-07-21 op The modeline is the second to last row of the screen.
71 7ee780fa 2021-07-21 op It shows some information about the page: a spinner when the page is
72 7ee780fa 2021-07-21 op loading, the trust level, the document type, the scroll offset and the
75 7ee780fa 2021-07-21 op The echoarea is usually the last line of the screen.
76 7ee780fa 2021-07-21 op Messages are often showed there, and link addresses too.
77 7ee780fa 2021-07-21 op The echoarea is also used to obtain input from the user.
78 7ee780fa 2021-07-21 op When commands like
81 7ee780fa 2021-07-21 op .Ic link-select
82 7ee780fa 2021-07-21 op are invoked, the minibuffer area grows to show possible completions
83 7ee780fa 2021-07-21 op and navigate through them.
86 7ee780fa 2021-07-21 op aims to use the
87 7ee780fa 2021-07-21 op .Dq Trust, but Verify Pq where appropriate
90 7ee780fa 2021-07-21 op .Pq Dq Trust On First Use .
91 bba111bc 2021-03-28 op The idea is to define three level of verification for a certificate:
92 bba111bc 2021-03-28 op .Bl -tag -width 12m
95 7ee780fa 2021-07-21 op the server fingerprint does NOT match the stored value.
98 7ee780fa 2021-07-21 op the server fingerprint matches the store one.
101 7ee780fa 2021-07-21 op the fingerprint matches and has been verified out-of-band.
104 7ee780fa 2021-07-21 op The trust level of the page is indicated in the modeline with the
105 7ee780fa 2021-07-21 op indicated character.
107 bba111bc 2021-03-28 op Most of the time the
109 bba111bc 2021-03-28 op level is enough, but where is appropriate users should be able to
110 bba111bc 2021-03-28 op verify out-of-band the certificate.
112 bba111bc 2021-03-28 op At the moment, there is no built-in support for an out-of-band
113 bba111bc 2021-03-28 op verification though.
114 bba111bc 2021-03-28 op .Sh DEFAULT KEY BINDINGS
115 bba111bc 2021-03-28 op The default key bindings are very similar to GNU Emacs, but care has
116 bba111bc 2021-03-28 op been taken to include also bindings familiar for
121 bba111bc 2021-03-28 op In the following examples, C-x means Control-x, M-x means Meta-x,
122 bba111bc 2021-03-28 op where the Meta key may be either a special key on the keyboard or the
123 bba111bc 2021-03-28 op ALT key; otherwise ESC followed by the key X works as well, and C-M-x
124 bba111bc 2021-03-28 op means to press the key X together with both Control and Meta.
126 bba111bc 2021-03-28 op Keys are usually a single character, like
130 bba111bc 2021-03-28 op but some special keys are accepted as well.
132 bba111bc 2021-03-28 op .Bl -tag -width 16m -offset indent -compact
142 bba111bc 2021-03-28 op Previous page/Page up
144 bba111bc 2021-03-28 op Next page/Page down
149 bba111bc 2021-03-28 op .It <f0> thru <f63>
150 bba111bc 2021-03-28 op Function keys
151 bba111bc 2021-03-28 op .It del or backspace
155 bba111bc 2021-03-28 op .It space or spc
157 bba111bc 2021-03-28 op .It enter or ret
162 8dc60352 2021-06-15 op Depends on the configuration of the terminal emulator.
163 8dc60352 2021-06-15 op Usually is shift tab though.
165 bba111bc 2021-03-28 op .Ss GNU Emacs-like keys
166 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
168 7dbaef94 2021-04-22 op previous-line
174 7dbaef94 2021-04-22 op backward-char
176 7dbaef94 2021-04-22 op backward-paragraph
178 7dbaef94 2021-04-22 op forward-paragraph
180 7dbaef94 2021-04-22 op move-beginning-of-line
182 7dbaef94 2021-04-22 op move-end-of-line
183 bba111bc 2021-03-28 op .It M-v, M-space
185 bba111bc 2021-03-28 op .It C-v, space
188 7dbaef94 2021-04-22 op beginning-of-buffer
190 7dbaef94 2021-04-22 op end-of-buffer
192 7dbaef94 2021-04-22 op kill-telescope
194 7dbaef94 2021-04-22 op clear-minibuf
196 7dbaef94 2021-04-22 op execute-extended-command
198 61251035 2021-06-26 op dec-fill-column
200 61251035 2021-06-26 op inc-fill-column
202 1c412d48 2021-06-25 op previous-heading
208 f2ab2540 2021-07-14 op load-current-url
212 7dbaef94 2021-04-22 op load-current-url
216 7dbaef94 2021-04-22 op tab-close-other
228 7dbaef94 2021-04-22 op previous-page
232 7dbaef94 2021-04-22 op bookmark-page
233 bba111bc 2021-03-28 op .It <f7> <f7>
234 7dbaef94 2021-04-22 op list-bookmarks
236 12cf7d80 2021-07-15 op suspend-telescope
238 bba111bc 2021-03-28 op .Ss Xr vi 1 Ns -like keys
239 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
241 7dbaef94 2021-04-22 op previous-line
247 7dbaef94 2021-04-22 op backward-char
249 7dbaef94 2021-04-22 op backward-paragraph
251 7dbaef94 2021-04-22 op forward-paragraph
253 7dbaef94 2021-04-22 op move-beginning-of-line
255 7dbaef94 2021-04-22 op move-end-of-line
257 7dbaef94 2021-04-22 op scroll-line-up
259 7dbaef94 2021-04-22 op scroll-line-down
261 7dbaef94 2021-04-22 op beginning-of-buffer
263 7dbaef94 2021-04-22 op end-of-buffer
277 7dbaef94 2021-04-22 op previous-page
281 7dbaef94 2021-04-22 op kill-telescope
283 7dbaef94 2021-04-22 op clear-minibuf
285 7dbaef94 2021-04-22 op execute-extended-command
287 bba111bc 2021-03-28 op .Ss CUA-like keys
288 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
290 7dbaef94 2021-04-22 op previous-line
296 7dbaef94 2021-04-22 op backward-char
298 12cf7d80 2021-07-15 op move-beginning-of-line
300 12cf7d80 2021-07-15 op move-end-of-line
309 3c3af0fd 2021-07-08 op .It M-<prior>
314 7dbaef94 2021-04-22 op previous-page
315 bba111bc 2021-03-28 op .It M-<right>
322 bba111bc 2021-03-28 op .Ss Neither Emacs nor vi specific
323 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
329 7dbaef94 2021-04-22 op push-button-new-tab
331 7dbaef94 2021-04-22 op previous-button
333 8dc60352 2021-06-15 op previous-button
347 bba111bc 2021-03-28 op .Ss Minibuffer-specific keys
348 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
350 7dbaef94 2021-04-22 op mini-complete-and-exit
356 7dbaef94 2021-04-22 op mini-delete-char
358 7dbaef94 2021-04-22 op mini-delete-backward-char
359 bba111bc 2021-03-28 op .It backspace
360 7dbaef94 2021-04-22 op mini-delete-backward-char
362 7dbaef94 2021-04-22 op mini-delete-backward-char
364 7dbaef94 2021-04-22 op backward-char
368 7dbaef94 2021-04-22 op backward-char
372 7dbaef94 2021-04-22 op move-end-of-line
374 7dbaef94 2021-04-22 op move-beginning-of-line
376 7dbaef94 2021-04-22 op move-end-of-line
378 7dbaef94 2021-04-22 op move-beginning-of-line
380 7dbaef94 2021-04-22 op mini-kill-line
382 7dbaef94 2021-04-22 op mini-previous-history-element
384 7dbaef94 2021-04-22 op mini-next-history-element
386 e7b982f4 2021-07-14 op previous-completion
388 dffb2592 2021-07-14 op next-completion
390 dffb2592 2021-07-14 op previous-completion
392 e7b982f4 2021-07-14 op next-completion
394 e7b982f4 2021-07-14 op insert-current-candidate
396 7ee780fa 2021-07-21 op mini-goto-beginning
398 7ee780fa 2021-07-21 op mini-goto-end
400 bba111bc 2021-03-28 op .Sh INTERACTIVE COMMANDS
401 bba111bc 2021-03-28 op Follows the documentation for the interactive commands.
402 bba111bc 2021-03-28 op These commands can be bound to a key or executed with
403 bba111bc 2021-03-28 op .Ic execute-extended-command .
404 bba111bc 2021-03-28 op .Ss Movement commands
405 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
406 bba111bc 2021-03-28 op .It Ic backward-char
407 bba111bc 2021-03-28 op Move point one character backward.
408 bba111bc 2021-03-28 op .It Ic backward-paragraph
409 bba111bc 2021-03-28 op Move point one paragraph backward.
410 bba111bc 2021-03-28 op .It Ic beginning-of-buffer
411 bba111bc 2021-03-28 op Move point to the beginning of the buffer.
412 bba111bc 2021-03-28 op .It Ic end-of-buffer
413 bba111bc 2021-03-28 op Move point to the end of the buffer.
414 bba111bc 2021-03-28 op .It Ic forward-char
415 bba111bc 2021-03-28 op Move point one character forward.
416 bba111bc 2021-03-28 op .It Ic forward-paragraph
417 bba111bc 2021-03-28 op Move point one paragraph forward.
418 e7b982f4 2021-07-14 op .It Ic insert-current-candidate
419 e7b982f4 2021-07-14 op Copy the current selection text as minibuffer input.
420 bba111bc 2021-03-28 op .It Ic move-beginning-of-line
421 bba111bc 2021-03-28 op Move point at the beginning of the current (visual) line.
422 bba111bc 2021-03-28 op .It Ic move-end-of-line
423 bba111bc 2021-03-28 op Move point at the end of the current (visual) line.
424 bba111bc 2021-03-28 op .It Ic next-button
425 bba111bc 2021-03-28 op Move point to the next link.
426 e7b982f4 2021-07-14 op .It Ic next-completion
427 e7b982f4 2021-07-14 op Select the next completion.
428 1c412d48 2021-06-25 op .It Ic next-heading
429 1c412d48 2021-06-25 op Move point to the next heading.
430 bba111bc 2021-03-28 op .It Ic next-line
431 bba111bc 2021-03-28 op Move point to the next (visual) line, in the same column if possible.
432 bba111bc 2021-03-28 op .It Ic previous-button
433 bba111bc 2021-03-28 op Move point to the previous link.
434 e7b982f4 2021-07-14 op .It Ic previous-completion
435 e7b982f4 2021-07-14 op Select the previous completion.
436 1c412d48 2021-06-25 op .It Ic previous-heading
437 1c412d48 2021-06-25 op Move point to the previous heading.
438 bba111bc 2021-03-28 op .It Ic previous-line
439 bba111bc 2021-03-28 op Move point to the previous (visual) line.
441 bba111bc 2021-03-28 op .Ss Bookmark-related commands
442 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
443 bba111bc 2021-03-28 op .It Ic bookmark-page
444 b3be07ea 2021-07-18 op Save a page in the bookmark file.
445 bba111bc 2021-03-28 op It preloads the minibuffer with the current URL.
446 63875195 2021-04-01 op .It Ic list-bookmarks
447 bba111bc 2021-03-28 op Load the bookmarks page.
449 bba111bc 2021-03-28 op .Ss Tab-related commands
450 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
451 bba111bc 2021-03-28 op .It Ic tab-close
452 bba111bc 2021-03-28 op Close the current tab.
453 bba111bc 2021-03-28 op .It Ic tab-close-other
454 bba111bc 2021-03-28 op Close all tabs but the current one.
455 bba111bc 2021-03-28 op .It Ic tab-move
456 bba111bc 2021-03-28 op Move the current tab after the next one, wrapping around if
458 bba111bc 2021-03-28 op .It Ic tab-move-to
459 bba111bc 2021-03-28 op Move the current tab before the previous one, wrapping around if needed.
460 bba111bc 2021-03-28 op .It Ic tab-new
461 bba111bc 2021-03-28 op Open a new tab.
462 bba111bc 2021-03-28 op .It Ic tab-next
463 bba111bc 2021-03-28 op Focus next tab, wrapping around eventually.
464 bba111bc 2021-03-28 op .It Ic tab-previous
465 bba111bc 2021-03-28 op Focus the previous tab, wrapping around eventually.
466 3360ef1b 2021-07-14 op .It Ic tab-select
467 3360ef1b 2021-07-14 op Switch to a tab using the minibuffer.
469 bba111bc 2021-03-28 op .Ss Misc commands
470 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
471 bba111bc 2021-03-28 op .It Ic clear-minibuf
472 b3be07ea 2021-07-18 op Clear the echo area.
473 61251035 2021-06-26 op .It Ic dec-fill-column
474 b3be07ea 2021-07-18 op Decrement fill-column by two.
475 bba111bc 2021-03-28 op .It Ic execute-extended-command
476 b3be07ea 2021-07-18 op Execute an internal command.
477 bba111bc 2021-03-28 op .It Ic kill-telescope
480 61251035 2021-06-26 op .It Ic inc-fill-column
481 b3be07ea 2021-07-18 op Increment fill-column by two.
482 753c6ac7 2021-07-14 op .It Ic link-select
483 753c6ac7 2021-07-14 op Select and visit a link using the minibuffer.
484 bba111bc 2021-03-28 op .It Ic load-current-url
485 b3be07ea 2021-07-18 op Edit the current URL.
486 bba111bc 2021-03-28 op .It Ic load-url
487 b3be07ea 2021-07-18 op Prompt for an URL.
488 bba111bc 2021-03-28 op .It Ic next-page
489 b3be07ea 2021-07-18 op Go forward in the page history.
490 9f3f9f5e 2021-06-19 op .It Ic olivetti-mode
491 9f3f9f5e 2021-06-19 op Toggle olivetti mode (i.e. horizontal centering of the lines of the
493 bba111bc 2021-03-28 op .It Ic previous-page
494 b3be07ea 2021-07-18 op Go backward in the page history.
495 bba111bc 2021-03-28 op .It Ic push-button
496 b3be07ea 2021-07-18 op Follow link at point, or toggle the visibility of the following
497 b3be07ea 2021-07-18 op preformatted block if called when the cursor is on the heading of the block.
498 bba111bc 2021-03-28 op .It Ic push-button-new-tab
499 b3be07ea 2021-07-18 op Follow link at point in a new tab.
500 bba111bc 2021-03-28 op .It Ic redraw
501 708fab48 2021-06-19 op Redraw the screen, useful if some background program messed up the
503 661233ed 2021-07-14 op .It Ic reload-page
504 661233ed 2021-07-14 op Reload the current page.
505 bba111bc 2021-03-28 op .It Ic scroll-down
506 bba111bc 2021-03-28 op Scroll down by one visual page.
507 bba111bc 2021-03-28 op .It Ic scroll-line-down
508 bba111bc 2021-03-28 op Scroll down by one line.
509 bba111bc 2021-03-28 op .It Ic scroll-line-up
510 bba111bc 2021-03-28 op Scroll up by one line.
511 bba111bc 2021-03-28 op .It Ic scroll-up
512 bba111bc 2021-03-28 op Scroll up by one visual page.
513 12cf7d80 2021-07-15 op .It Ic suspend-telescope
514 12cf7d80 2021-07-15 op Suspend the current
517 753c6ac7 2021-07-14 op .It Ic swiper
518 753c6ac7 2021-07-14 op Jump to a line using the minibuffer.
520 b3be07ea 2021-07-18 op Jump to a heading using the minibuffer.
521 7a014cef 2021-04-01 op .It Ic toggle-help
522 7a014cef 2021-04-01 op Toggle side window with help about available keys and their associated
523 7a014cef 2021-04-01 op interactive command.
524 987d9c88 2021-07-15 op .It Ic toggle-pre-wrap
525 987d9c88 2021-07-15 op Toggle the wrapping of preformatted blocks.
527 bba111bc 2021-03-28 op .Ss Minibuffer commands
528 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
529 bba111bc 2021-03-28 op .It Ic mini-abort
530 bba111bc 2021-03-28 op Abort the current minibuffer action.
531 bba111bc 2021-03-28 op .It Ic mini-complete-and-exit
532 bba111bc 2021-03-28 op Complete the current minibuffer action.
533 bba111bc 2021-03-28 op .It Ic mini-delete-backward-char
534 bba111bc 2021-03-28 op Delete the character before the point.
535 bba111bc 2021-03-28 op .It Ic mini-delete-char
536 bba111bc 2021-03-28 op Delete the character after the point.
537 de190a2b 2021-07-17 op .It Ic mini-goto-beginning
538 de190a2b 2021-07-17 op Select the first completion, if any.
539 de190a2b 2021-07-17 op .It Ic mini-goto-end
540 de190a2b 2021-07-17 op Select the last completion, if any.
541 bba111bc 2021-03-28 op .It Ic mini-kill-line
542 b3be07ea 2021-07-18 op Delete from point until the end of the line.
543 bba111bc 2021-03-28 op .It Ic mini-next-history-element
544 bba111bc 2021-03-28 op Load the previous history element.
545 bba111bc 2021-03-28 op .It Ic mini-previous-history-element
546 bba111bc 2021-03-28 op Load the next history element.
549 7d2d15f5 2021-04-30 op The following aliases are available during
550 7d2d15f5 2021-04-30 op .Ic execute-extended-command :
551 7d2d15f5 2021-04-30 op .Bl -tag -width 16m -compact
554 c82b3fd6 2021-05-12 op .It Ic tabnew
557 c82b3fd6 2021-05-12 op .Ic tab-previous
558 7d2d15f5 2021-04-30 op .It Ic q No and Ic wq
559 7d2d15f5 2021-04-30 op .Ic kill-telescope
561 74ca8ef4 2021-06-19 op .Sh CONFIGURATION FILE
562 74ca8ef4 2021-06-19 op During the startup,
564 74ca8ef4 2021-06-19 op reads the configuration file at
565 74ca8ef4 2021-06-19 op .Pa ~/.telescope/config
566 74ca8ef4 2021-06-19 op or the one given with the
571 21404dd9 2021-07-15 op will also load a file called
572 21404dd9 2021-07-15 op .Pa config-TERM ,
575 21404dd9 2021-07-15 op is the name of the terminal type
576 7ee780fa 2021-07-21 op .Pq i.e. the TERM environment variable ,
577 7ee780fa 2021-07-21 op if it exists.
579 74ca8ef4 2021-06-19 op The format of the configuration file is fairly flexible.
580 74ca8ef4 2021-06-19 op The current line can be extended over multiple ones using a
583 74ca8ef4 2021-06-19 op Comments can be put anywhere in the file using a hash mark
585 74ca8ef4 2021-06-19 op and extend to the end of the current line, but backslashes can't be
586 74ca8ef4 2021-06-19 op used to extend comments over multiple lines.
588 74ca8ef4 2021-06-19 op The following constructs are available:
589 74ca8ef4 2021-06-19 op .Bl -tag -width Ds
590 138421e8 2021-06-25 op .It Ic bind Ar map Ar key Ar cmd
593 138421e8 2021-06-25 op to the function
595 138421e8 2021-06-25 op in the keymap
597 138421e8 2021-06-25 op Valid values for map are
598 138421e8 2021-06-25 op .Dq global-map
599 138421e8 2021-06-25 op .Pq i.e. when the user is viewing a page
601 138421e8 2021-06-25 op .Dq minibuffer-map
602 138421e8 2021-06-25 op .Pq i.e. when the minibuffer has the focus.
604 138421e8 2021-06-25 op follows the same syntax described in
605 138421e8 2021-06-25 op .Sx DEFAULT KEY BINDINGS
606 138421e8 2021-06-25 op and all the possible functions are listed in
607 138421e8 2021-06-25 op .Sx INTERACTIVE COMMANDS .
608 90d8329a 2021-06-25 op .It Ic proxy Ar proto Ic via Ar url
611 90d8329a 2021-06-25 op as proxy for all URLs with
615 90d8329a 2021-06-25 op must be a Gemini URI without path, query and fragment component.
616 74ca8ef4 2021-06-19 op .It Ic set Ar opt No = Ar val
617 74ca8ef4 2021-06-19 op Set the option
621 74ca8ef4 2021-06-19 op Valid options are:
623 74ca8ef4 2021-06-19 op .Bl -tag -width twelveletters -compact
624 88693f61 2021-07-15 op .It dont-wrap-pre
626 88693f61 2021-07-15 op If nonzero, don't wrap preformatted blocks.
627 7ee780fa 2021-07-21 op Defaults to 0.
628 59ae0cdc 2021-07-16 op .It emojify-link
630 7ee780fa 2021-07-21 op If nonzero, when the text of a link starts with an emoji followed by a
631 7ee780fa 2021-07-21 op space, use that emoji as line prefix.
632 59ae0cdc 2021-07-16 op Defaults to 1.
633 2c748a1f 2021-06-21 op .It enable-colors
635 7ee780fa 2021-07-21 op If nonzero, enable colours.
636 7ee780fa 2021-07-21 op Defaults to 0 if
637 2c748a1f 2021-06-21 op .Ev NO_COLORS
638 7ee780fa 2021-07-21 op is set, 1 otherwise.
639 74ca8ef4 2021-06-19 op .It fill-column
641 74ca8ef4 2021-06-19 op If greater than zero, lines of text will be formatted in a way that
642 74ca8ef4 2021-06-19 op don't exceed the given number of columns.
643 7ee780fa 2021-07-21 op Defaults to 80.
644 b1379f34 2021-07-05 op .It hide-pre-blocks
646 b1379f34 2021-07-05 op If nonzero, hide by default the body of the preformatted blocks.
647 7ee780fa 2021-07-21 op Defaults to zero.
648 b1379f34 2021-07-05 op .Ic push-button
649 b1379f34 2021-07-05 op can be used to toggle the visibility per-block.
650 144733a7 2021-07-15 op .It hide-pre-closing-line
652 144733a7 2021-07-15 op If nonzero, hide the closing line of preformatted blocks.
653 7ee780fa 2021-07-21 op Defaults to 0.
654 b1379f34 2021-07-05 op .It hide-pre-context
656 b1379f34 2021-07-05 op If nonzero, hide the start and end line of the preformatted blocks.
657 b1379f34 2021-07-05 op If both hide-pre-context and hide-pre-blocks are nonzero, preformatted
658 b1379f34 2021-07-05 op blocks are irremediably hidden.
659 7ee780fa 2021-07-21 op Defaults to zero.
660 74ca8ef4 2021-06-19 op .It new-tab-url
662 41a9ae40 2021-06-20 op URL for the new tab page.
664 41a9ae40 2021-06-20 op .Dq about:new .
665 74ca8ef4 2021-06-19 op .It olivetti-mode
667 7ee780fa 2021-07-21 op If nonzero, enable
668 74ca8ef4 2021-06-19 op .Ic olivetti-mode
669 7ee780fa 2021-07-21 op Defaults to 1.
670 9886bf97 2021-07-17 op .It set-title
672 7ee780fa 2021-07-21 op If nonzero, set the terminal title to the page title.
673 9886bf97 2021-07-17 op Defaults to 1.
675 74ca8ef4 2021-06-19 op .It Ic style Ar name Ar option
676 74ca8ef4 2021-06-19 op Change the styling of the element identified by
678 74ca8ef4 2021-06-19 op Multiple options may be specified within curly braces.
679 74ca8ef4 2021-06-19 op Valid style identifiers are:
680 7ee780fa 2021-07-21 op .Bl -tag -width line.compl.current -compact -offset Ds
682 7ee780fa 2021-07-21 op the area outside the lines in the body of the page.
683 45fe2472 2021-07-14 op .It line.compl
684 7ee780fa 2021-07-21 op the completions.
685 45fe2472 2021-07-14 op .It line.compl.current
686 7ee780fa 2021-07-21 op the current completion.
687 74ca8ef4 2021-06-19 op .It line.text
689 74bc52e8 2021-06-25 op .It line.link
691 74ca8ef4 2021-06-19 op .It line.title1..3
693 74ca8ef4 2021-06-19 op .It line.item
695 74ca8ef4 2021-06-19 op .It line.quote
697 74ca8ef4 2021-06-19 op .It line.pre.start
698 7ee780fa 2021-07-21 op the heading of a preformatted block.
700 7ee780fa 2021-07-21 op the content of a preformatted block.
701 74ca8ef4 2021-06-19 op .It line.pre.end
702 7ee780fa 2021-07-21 op the closing line of a preformatted block.
703 eaf1a84b 2021-06-25 op .It minibuffer
704 7ee780fa 2021-07-21 op the minibuffer.
706 7ee780fa 2021-07-21 op the modeline.
709 74bc52e8 2021-06-25 op .It tabline.tab
710 7ee780fa 2021-07-21 op the non-focused tabs.
711 74bc52e8 2021-06-25 op .It tabline.current
712 7ee780fa 2021-07-21 op the focused tab.
715 74ca8ef4 2021-06-19 op Valid options are:
716 ab728b01 2021-06-22 op .Bl -tag -width Ds
717 6e8a284f 2021-06-24 op .It Ic attr Ar prefix Oo Ar line Oo Ar trail Oc Oc
718 ab728b01 2021-06-22 op Sets the text attributes.
719 ab728b01 2021-06-22 op If only one value is given,
723 ab728b01 2021-06-22 op default to that; if two values are given then
727 ab728b01 2021-06-22 op Each attribute is a comma-separated list of keywords:
728 ab728b01 2021-06-22 op .Bl -tag -width underline -compact -offset Ds
729 ab728b01 2021-06-22 op .It Ic normal
730 ab728b01 2021-06-22 op no attributes.
731 ab728b01 2021-06-22 op .It Ic standout
732 ab728b01 2021-06-22 op best highlighting mode for the terminal.
733 ab728b01 2021-06-22 op .It Ic underline
734 ab728b01 2021-06-22 op underlines the text.
735 ab728b01 2021-06-22 op .It Ic reverse
736 ab728b01 2021-06-22 op reverses background/foreground colors.
738 ab728b01 2021-06-22 op makes the text blinking.
742 ab728b01 2021-06-22 op extra bright or bold.
745 7ee780fa 2021-07-21 op Only the style identifiers with the
747 74bc52e8 2021-06-25 op prefix accept up to three attributes.
748 74bc52e8 2021-06-25 op The other will only use the first one given.
749 6e8a284f 2021-06-24 op .It Ic bg Ar prefix Oo Ar line Oo Ar trail Oc Oc
750 ab728b01 2021-06-22 op Sets the background color.
751 ab728b01 2021-06-22 op Follows the same behaviour as
753 ab728b01 2021-06-22 op regarding the optional parameters.
754 ae844a00 2021-06-25 op The colour is one of black, red, green, yellow, blue,
755 ae844a00 2021-06-25 op magenta, cyan and white; colour0 to colour255
756 ae844a00 2021-06-25 op .Pq or color0 to color255
757 ae844a00 2021-06-25 op from the 256-colour set;
758 ae844a00 2021-06-25 op default for the default colour.
759 6e8a284f 2021-06-24 op .It Ic fg Ar prefix Oo Ar line Oo Ar trail Oc Oc
760 ab728b01 2021-06-22 op Sets the foreground color.
761 ab728b01 2021-06-22 op It behaves just like
763 ab728b01 2021-06-22 op .It Ic prefix Ar prfx Op Ar cont
764 eaf1a84b 2021-06-25 op Sets the prefix for the current line type to
768 ab728b01 2021-06-22 op as the prefix for the continuation lines
769 ab728b01 2021-06-22 op .Pq i.e. when a long line gets wrapped.
772 ab728b01 2021-06-22 op is not given its value will be the same of
776 7ee780fa 2021-07-21 op .Sh ENVIRONMENT
779 7ee780fa 2021-07-21 op is started, it inspects the following environment variables:
780 7ee780fa 2021-07-21 op .Bl -tag -width NO_COLORS
782 7ee780fa 2021-07-21 op The user's login directory.
783 7ee780fa 2021-07-21 op .It Ev NO_COLORS
784 7ee780fa 2021-07-21 op To decide whether to use colors or not.
785 7ee780fa 2021-07-21 op The content of the variable doesn't matter.
787 7ee780fa 2021-07-21 op The user's terminal name.
790 bba111bc 2021-03-28 op .Bl -tag -width Ds -compact
791 bba111bc 2021-03-28 op .It Pa ~/.telescope/bookmarks.gmi
792 7ee780fa 2021-07-21 op Bookmarks file.
793 dca97b00 2021-06-19 op .It Pa ~/.telescope/config
794 dca97b00 2021-06-19 op Default configuration file.
795 bba111bc 2021-03-28 op .It Pa ~/.telescope/known_hosts
796 7ee780fa 2021-07-21 op Hash of the certificates for all the known hosts.
797 7ee780fa 2021-07-21 op Each line contains three fields: hostname with optional port number,
798 7ee780fa 2021-07-21 op hash of the certificate and a numeric flag.
799 d0fd368a 2021-07-15 op .It Pa ~/.telescope/lock
800 d0fd368a 2021-07-15 op Lock file used to prevent multiple instance of
802 d0fd368a 2021-07-15 op from running at the same time.
803 56e7efb4 2021-07-21 op .It Pa ~/.telescope/pages/about_*.gmi
804 56e7efb4 2021-07-21 op Overrides for built-in about: pages.
805 e9b1e094 2021-04-01 op .It Pa ~/.telescope/session
806 7ee780fa 2021-07-21 op The list of tabs from the last session.
807 7ee780fa 2021-07-21 op Every line identifies a tab and contains three space-separated fields:
808 7ee780fa 2021-07-21 op the full URL, a comma-separated list of attributes and the cached
810 87e3e801 2021-07-17 op Is written by
811 e9b1e094 2021-04-01 op .Ic kill-telescope
812 7ee780fa 2021-07-21 op and loaded during startup.
815 984245ce 2021-06-23 op It's possible to browse
816 984245ce 2021-06-23 op .Dq the small web
817 984245ce 2021-06-23 op .Pq i.e. simple websites
818 3a761ed2 2021-06-25 op by using programs like the duckling-proxy by defining a proxy in
819 6e8a284f 2021-06-24 op .Pa ~/.telescope/config :
820 984245ce 2021-06-23 op .Bd -literal -offset indent
821 a0c41865 2021-07-20 op proxy http via "gemini://127.0.0.1:1965"
822 a0c41865 2021-07-20 op proxy https via "gemini://127.0.0.1:1965"
827 7ee780fa 2021-07-21 op without any configuration
828 19f9cf0f 2021-06-24 op .Bd -literal -offset indent
829 19f9cf0f 2021-06-24 op telescope -c /dev/null
835 bba111bc 2021-03-28 op program was written by
836 bba111bc 2021-03-28 op .An Omar Polo Aq Mt op@omarpolo.com .
838 7ee780fa 2021-07-21 op There's no UI for out-of-band certificates validation.