Blame


1 4bb6a4fa 2024-01-15 op .\" Copyright (c) 2021, 2022, 2024 Omar Polo <op@omarpolo.com>
2 bba111bc 2021-03-28 op .\"
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.
6 bba111bc 2021-03-28 op .\"
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 fd6c540b 2024-02-12 op .Dd $Mdocdate: February 12 2024$
15 bba111bc 2021-03-28 op .Dt TELESCOPE 1
16 bba111bc 2021-03-28 op .Os
17 bba111bc 2021-03-28 op .Sh NAME
18 bba111bc 2021-03-28 op .Nm telescope
19 a19dd818 2021-08-03 op .Nd multi-protocol browser
20 bba111bc 2021-03-28 op .Sh SYNOPSIS
21 bba111bc 2021-03-28 op .Nm
22 bba111bc 2021-03-28 op .Bk -words
23 d08fccd2 2024-01-23 op .Op Fl hnSv
24 dee3a166 2021-11-29 op .Op Fl c Ar config
25 bba111bc 2021-03-28 op .Op Ar URL
26 bba111bc 2021-03-28 op .Ek
27 bba111bc 2021-03-28 op .Sh DESCRIPTION
28 bba111bc 2021-03-28 op .Nm
29 a19dd818 2021-08-03 op is an interactive browser that supports the Finger, Gemini and Gopher
30 a19dd818 2021-08-03 op protocols.
31 bba111bc 2021-03-28 op .Nm
32 a19dd818 2021-08-03 op features tabs, a minibuffer, interactive completions, bookmarks and
33 a19dd818 2021-08-03 op out-of-band TOFU verification.
34 c92e529c 2021-06-15 op .Pp
35 c92e529c 2021-06-15 op The arguments are as follows:
36 dc761924 2021-07-15 op .Bl -tag -width xxxxxxxxxxxxx
37 dee3a166 2021-11-29 op .It Fl c Ar config
38 c92e529c 2021-06-15 op Specify an alternative configuration file.
39 c92e529c 2021-06-15 op By default
40 dee3a166 2021-11-29 op .Pa ~/.config/telescope/config
41 c92e529c 2021-06-15 op is loaded.
42 ccc5591f 2021-07-15 op .It Fl h , Fl -help
43 d18cfb58 2022-01-06 op Display version, usage and exit.
44 ccc5591f 2021-07-15 op .It Fl n
45 ccc5591f 2021-07-15 op Configtest mode.
46 ccc5591f 2021-07-15 op Only check the configuration file for validity.
47 d0971653 2021-09-15 op .It Fl S , Fl -safe
48 d0971653 2021-09-15 op .Dq Safe
49 d0971653 2021-09-15 op .Pq or Dq sandbox
50 d0971653 2021-09-15 op mode.
51 d0971653 2021-09-15 op Prevent
52 d0971653 2021-09-15 op .Nm
53 d34a1873 2021-09-15 op from writing files to the disk and to acquire the lock, allowing to
54 d34a1873 2021-09-15 op run multiple instances at the same time.
55 d34a1873 2021-09-15 op .Nm
56 d34a1873 2021-09-15 op still loads the session file and the custom about pages.
57 dc761924 2021-07-15 op .It Fl v , Fl -version
58 d18cfb58 2022-01-06 op Display version and exit.
59 c92e529c 2021-06-15 op .El
60 7ee780fa 2021-07-21 op .Sh UI CONCEPTS
61 7ee780fa 2021-07-21 op .Nm
62 7ee780fa 2021-07-21 op interface is divided into four areas: the tabline, the body, the
63 7ee780fa 2021-07-21 op modeline and the echoarea/minibuffer.
64 7ee780fa 2021-07-21 op .Pp
65 7ee780fa 2021-07-21 op The tabline is always at the top of the screen and displays the tabs
66 7ee780fa 2021-07-21 op separated by a vertical line.
67 7ee780fa 2021-07-21 op When there are more tabs than the size of the window allow to display,
68 7ee780fa 2021-07-21 op the characters
69 7ee780fa 2021-07-21 op .Sq \&<
70 7ee780fa 2021-07-21 op or
71 7ee780fa 2021-07-21 op .Sq \&>
72 7ee780fa 2021-07-21 op are shown at the start/end of the tabline to indicate that there are
73 7ee780fa 2021-07-21 op more tabs in that direction.
74 7ee780fa 2021-07-21 op .Pp
75 7ee780fa 2021-07-21 op The body occupies the majority of the visible area.
76 7ee780fa 2021-07-21 op It contains the current page and optionally a side window.
77 7ee780fa 2021-07-21 op .Pp
78 7ee780fa 2021-07-21 op The modeline is the second to last row of the screen.
79 7ee780fa 2021-07-21 op It shows some information about the page: a spinner when the page is
80 4c9aaf27 2024-02-06 op loading, the trust level, whether a client certificate is in use, the
81 4c9aaf27 2024-02-06 op document type, the scroll offset and the URL.
82 4c9aaf27 2024-02-06 op When a client certificate is in use, a
83 4c9aaf27 2024-02-06 op .Sq C
84 4c9aaf27 2024-02-06 op character is showed.
85 7ee780fa 2021-07-21 op .Pp
86 7ee780fa 2021-07-21 op The echoarea is usually the last line of the screen.
87 7ee780fa 2021-07-21 op Messages are often showed there, and link addresses too.
88 7ee780fa 2021-07-21 op The echoarea is also used to obtain input from the user.
89 7ee780fa 2021-07-21 op When commands like
90 7ee780fa 2021-07-21 op .Ic swiper
91 7ee780fa 2021-07-21 op or
92 7ee780fa 2021-07-21 op .Ic link-select
93 9eb0c887 2021-08-03 op are invoked, the minibuffer area grows to show possible completions.
94 bba111bc 2021-03-28 op .Sh TOFU
95 bba111bc 2021-03-28 op .Nm
96 7ee780fa 2021-07-21 op aims to use the
97 7ee780fa 2021-07-21 op .Dq Trust, but Verify Pq where appropriate
98 7ee780fa 2021-07-21 op approach for
99 7ee780fa 2021-07-21 op TOFU
100 7ee780fa 2021-07-21 op .Pq Dq Trust On First Use .
101 bba111bc 2021-03-28 op The idea is to define three level of verification for a certificate:
102 bba111bc 2021-03-28 op .Bl -tag -width 12m
103 bba111bc 2021-03-28 op .It untrusted
104 7ee780fa 2021-07-21 op .Pq Sq \&!
105 7ee780fa 2021-07-21 op the server fingerprint does NOT match the stored value.
106 bba111bc 2021-03-28 op .It trusted
107 7ee780fa 2021-07-21 op .Pq Sq v
108 7ee780fa 2021-07-21 op the server fingerprint matches the store one.
109 bba111bc 2021-03-28 op .It verified
110 7ee780fa 2021-07-21 op .Pq Sq V
111 7ee780fa 2021-07-21 op the fingerprint matches and has been verified out-of-band.
112 bba111bc 2021-03-28 op .El
113 bba111bc 2021-03-28 op .Pp
114 7ee780fa 2021-07-21 op The trust level of the page is indicated in the modeline with the
115 7ee780fa 2021-07-21 op indicated character.
116 7ee780fa 2021-07-21 op .Pp
117 bba111bc 2021-03-28 op Most of the time the
118 bba111bc 2021-03-28 op .Dq trusted
119 bba111bc 2021-03-28 op level is enough, but where is appropriate users should be able to
120 bba111bc 2021-03-28 op verify out-of-band the certificate.
121 bba111bc 2021-03-28 op .Pp
122 bba111bc 2021-03-28 op At the moment, there is no built-in support for an out-of-band
123 bba111bc 2021-03-28 op verification though.
124 f1279523 2021-08-13 op .Sh SUPPORTED PROTOCOLS
125 f1279523 2021-08-13 op The following protocols are supported:
126 f1279523 2021-08-13 op .Bl -tag -width gemini://
127 f1279523 2021-08-13 op .It about:
128 f1279523 2021-08-13 op About pages are
129 4a52e6fe 2021-08-03 op .Nm
130 f1279523 2021-08-13 op internal page.
131 f1279523 2021-08-13 op See about:about for a list of all these pages.
132 f1279523 2021-08-13 op .It file://
133 f1279523 2021-08-13 op File types know to
134 f1279523 2021-08-13 op .Nm ,
135 f1279523 2021-08-13 op such as .gmi, .gemini, .txt, .md, .markdown, .diff or .patch, can be
136 f1279523 2021-08-13 op viewed inside the application.
137 f1279523 2021-08-13 op Types of local files are detected solely based on the file extension.
138 f1279523 2021-08-13 op On some systems, such as
139 f1279523 2021-08-13 op .Ox ,
140 f1279523 2021-08-13 op only files inside special directories
141 f1279523 2021-08-13 op .Pq like Pa /tmp No or Pa ~/Downloads
142 f1279523 2021-08-13 op are available.
143 f1279523 2021-08-13 op .It finger://
144 f1279523 2021-08-13 op Finger URLs are interpreted as follows:
145 4a52e6fe 2021-08-03 op .Bl -bullet -compact
146 4a52e6fe 2021-08-03 op .It
147 4a52e6fe 2021-08-03 op the host is determined by the host name portion of the URL
148 4a52e6fe 2021-08-03 op .It
149 4a52e6fe 2021-08-03 op if the user portion of the URL is provided, it's interpreted as the
150 4a52e6fe 2021-08-03 op user to finger, otherwise the path component will be used
151 4a52e6fe 2021-08-03 op .El
152 4a52e6fe 2021-08-03 op thus
153 4a52e6fe 2021-08-03 op .Lk finger://user@hostname
154 4a52e6fe 2021-08-03 op and
155 4a52e6fe 2021-08-03 op .Lk finger://hostname/user
156 f1279523 2021-08-13 op are treated as the same URL.
157 f1279523 2021-08-13 op .It gemini://
158 f1279523 2021-08-13 op Gemini is fully supported, with the exception of client-certificates.
159 f1279523 2021-08-13 op .It gopher://
160 4a52e6fe 2021-08-03 op Gopher support is limited to items type 0, 1 and 7.
161 4a52e6fe 2021-08-03 op All text is assumed to be encoded in UTF-8 (or ASCII).
162 f1279523 2021-08-13 op .El
163 eb6e7b8a 2021-08-16 op .Pp
164 eb6e7b8a 2021-08-16 op User-entered URLs, given as argument on the command line or entered
165 eb6e7b8a 2021-08-16 op with
166 eb6e7b8a 2021-08-16 op .Ic load-url ,
167 4bb6a4fa 2024-01-15 op by default are intepreted with a simple heuristic:
168 eb6e7b8a 2021-08-16 op .Bl -bullet -compact
169 eb6e7b8a 2021-08-16 op .It
170 eb6e7b8a 2021-08-16 op if it's a proper absolute URL then use it as-is,
171 eb6e7b8a 2021-08-16 op .It
172 eb6e7b8a 2021-08-16 op if it starts with
173 eb6e7b8a 2021-08-16 op .Dq ./
174 eb6e7b8a 2021-08-16 op or
175 eb6e7b8a 2021-08-16 op .Dq /
176 eb6e7b8a 2021-08-16 op assume it's a file:// URL,
177 eb6e7b8a 2021-08-16 op .It
178 cfcbc23c 2024-01-16 op otherwise treat it like a hostname with protocol
179 cfcbc23c 2024-01-16 op .Ic default-protocol
180 cfcbc23c 2024-01-16 op .Pq gemini by default .
181 a74a9f2c 2021-10-08 op .El
182 449ea6fe 2024-01-16 op .Pp
183 449ea6fe 2024-01-16 op The setting
184 449ea6fe 2024-01-16 op .Ic load-url-use-heuristic
185 449ea6fe 2024-01-16 op can be used to disable the use of heuristics.
186 a74a9f2c 2021-10-08 op .Sh CONFIGURATION FILE
187 a74a9f2c 2021-10-08 op During the startup,
188 a74a9f2c 2021-10-08 op .Nm
189 a74a9f2c 2021-10-08 op reads the configuration file at
190 a74a9f2c 2021-10-08 op .Pa ~/.config/telescope/config
191 a74a9f2c 2021-10-08 op or
192 a74a9f2c 2021-10-08 op .Pa ~/.telescope/config .
193 a74a9f2c 2021-10-08 op .Pp
194 a74a9f2c 2021-10-08 op It's possible to load a custom configuration file using the
195 a74a9f2c 2021-10-08 op .Fl c
196 a74a9f2c 2021-10-08 op flag.
197 a74a9f2c 2021-10-08 op .Pp
198 a74a9f2c 2021-10-08 op .Nm
199 a74a9f2c 2021-10-08 op will also load a file called
200 a74a9f2c 2021-10-08 op .Pa config-TERM ,
201 a74a9f2c 2021-10-08 op where
202 a74a9f2c 2021-10-08 op .Dq TERM
203 a74a9f2c 2021-10-08 op is the name of the terminal type
204 a74a9f2c 2021-10-08 op .Pq i.e. the TERM environment variable ,
205 a74a9f2c 2021-10-08 op if it exists.
206 a74a9f2c 2021-10-08 op .Pp
207 a74a9f2c 2021-10-08 op The format of the configuration file is fairly flexible.
208 a74a9f2c 2021-10-08 op The current line can be extended over multiple ones using a
209 a74a9f2c 2021-10-08 op backslash
210 a74a9f2c 2021-10-08 op .Pq Sq \e .
211 a74a9f2c 2021-10-08 op Comments can be put anywhere in the file using a hash mark
212 a74a9f2c 2021-10-08 op .Pq Sq # ,
213 a74a9f2c 2021-10-08 op and extend to the end of the current line, but backslashes can't be
214 a74a9f2c 2021-10-08 op used to extend comments over multiple lines.
215 a74a9f2c 2021-10-08 op .Pp
216 a74a9f2c 2021-10-08 op The following constructs are available:
217 a74a9f2c 2021-10-08 op .Bl -tag -width Ds
218 a74a9f2c 2021-10-08 op .It Ic bind Ar map Ar key Ar cmd
219 a74a9f2c 2021-10-08 op Bind
220 a74a9f2c 2021-10-08 op .Ar key
221 a74a9f2c 2021-10-08 op to the function
222 a74a9f2c 2021-10-08 op .Ar cmd
223 a74a9f2c 2021-10-08 op in the keymap
224 a74a9f2c 2021-10-08 op .Ar map .
225 a74a9f2c 2021-10-08 op Valid values for map are
226 a74a9f2c 2021-10-08 op .Dq global-map
227 a74a9f2c 2021-10-08 op .Pq i.e. when the user is viewing a page
228 a74a9f2c 2021-10-08 op and
229 a74a9f2c 2021-10-08 op .Dq minibuffer-map
230 a74a9f2c 2021-10-08 op .Pq i.e. when the minibuffer has the focus.
231 a74a9f2c 2021-10-08 op .Ar key
232 a74a9f2c 2021-10-08 op follows the same syntax described in
233 a74a9f2c 2021-10-08 op .Sx DEFAULT KEY BINDINGS
234 a74a9f2c 2021-10-08 op and all the possible functions are listed in
235 a74a9f2c 2021-10-08 op .Sx INTERACTIVE COMMANDS .
236 a74a9f2c 2021-10-08 op .It Ic proxy Ar proto Ic via Ar url
237 a74a9f2c 2021-10-08 op Use
238 a74a9f2c 2021-10-08 op .Ar url
239 a74a9f2c 2021-10-08 op as proxy for all URLs with
240 a74a9f2c 2021-10-08 op protocol
241 a74a9f2c 2021-10-08 op .Ar proto .
242 a74a9f2c 2021-10-08 op .Ar url
243 a74a9f2c 2021-10-08 op must be a Gemini URI without path, query and fragment component.
244 a74a9f2c 2021-10-08 op .It Ic set Ar opt No = Ar val
245 a74a9f2c 2021-10-08 op Set the option
246 a74a9f2c 2021-10-08 op .Ar opt
247 a74a9f2c 2021-10-08 op to the value
248 a74a9f2c 2021-10-08 op .Ar val .
249 a74a9f2c 2021-10-08 op Valid options are:
250 a74a9f2c 2021-10-08 op .Pp
251 a74a9f2c 2021-10-08 op .Bl -tag -width twelveletters -compact
252 b8044517 2022-02-26 op .It Ic autosave
253 a74a9f2c 2021-10-08 op .Pq integer
254 a74a9f2c 2021-10-08 op If greater than zero, save the session after the specified amount of
255 a74a9f2c 2021-10-08 op seconds after some events happens
256 a74a9f2c 2021-10-08 op .Pq new or closed tabs, visited a link ...
257 a74a9f2c 2021-10-08 op Defaults to 20.
258 cfcbc23c 2024-01-16 op .It Ic default-protocol
259 cfcbc23c 2024-01-16 op .Pq string
260 cfcbc23c 2024-01-16 op The default protocol assumed for the
261 cfcbc23c 2024-01-16 op .Ic load-url
262 cfcbc23c 2024-01-16 op heuristic.
263 cfcbc23c 2024-01-16 op Defaults to
264 cfcbc23c 2024-01-16 op .Dq gemini .
265 b8044517 2022-02-26 op .It Ic dont-wrap-pre
266 2513365f 2024-01-16 op .Pq boolean
267 2513365f 2024-01-16 op If true, don't wrap preformatted blocks.
268 2513365f 2024-01-16 op Defaults to false.
269 b8044517 2022-02-26 op .It Ic download-path
270 a74a9f2c 2021-10-08 op .Pq string
271 a74a9f2c 2021-10-08 op The default download path.
272 a74a9f2c 2021-10-08 op Defaults to
273 a74a9f2c 2021-10-08 op .Pa /tmp .
274 b8044517 2022-02-26 op .It Ic emojify-link
275 2513365f 2024-01-16 op .Pq boolean
276 2513365f 2024-01-16 op If true, when the text of a link starts with an emoji followed by a
277 2513365f 2024-01-16 op space, use that emoji as line prefix.
278 2513365f 2024-01-16 op Defaults to true.
279 b8044517 2022-02-26 op .It Ic enable-colors
280 2513365f 2024-01-16 op .Pq boolean
281 2513365f 2024-01-16 op If true, enable colours.
282 2513365f 2024-01-16 op Defaults to false if
283 a74a9f2c 2021-10-08 op .Ev NO_COLORS
284 2513365f 2024-01-16 op is set, true otherwise.
285 b8044517 2022-02-26 op .It Ic fill-column
286 a74a9f2c 2021-10-08 op .Pq integer
287 a74a9f2c 2021-10-08 op If greater than zero, lines of text will be formatted in a way that
288 a74a9f2c 2021-10-08 op don't exceed the given number of columns.
289 a74a9f2c 2021-10-08 op Defaults to 80.
290 b8044517 2022-02-26 op .It Ic fringe-ignore-offset
291 2513365f 2024-01-16 op .Pq boolean
292 2513365f 2024-01-16 op If true, the fringe doesn't obey to
293 393dc10e 2022-01-10 op .Ic olivetti-mode .
294 2513365f 2024-01-16 op Defaults to false.
295 b8044517 2022-02-26 op .It Ic hide-pre-blocks
296 2513365f 2024-01-16 op .Pq boolean
297 2513365f 2024-01-16 op If true, hide by default the body of the preformatted blocks.
298 2513365f 2024-01-16 op Defaults to false.
299 a74a9f2c 2021-10-08 op .Ic push-button
300 a74a9f2c 2021-10-08 op can be used to toggle the visibility per-block.
301 b8044517 2022-02-26 op .It Ic hide-pre-closing-line
302 2513365f 2024-01-16 op .Pq boolean
303 2513365f 2024-01-16 op If true, hide the closing line of preformatted blocks.
304 2513365f 2024-01-16 op Defaults to false.
305 b8044517 2022-02-26 op .It Ic hide-pre-context
306 2513365f 2024-01-16 op .Pq boolean
307 2513365f 2024-01-16 op If true, hide the start and end line of the preformatted blocks.
308 a74a9f2c 2021-10-08 op If both hide-pre-context and hide-pre-blocks are nonzero, preformatted
309 a74a9f2c 2021-10-08 op blocks are irremediably hidden.
310 2513365f 2024-01-16 op Defaults to false.
311 b8044517 2022-02-26 op .It Ic new-tab-url
312 a74a9f2c 2021-10-08 op .Pq string
313 a74a9f2c 2021-10-08 op URL for the new tab page.
314 a74a9f2c 2021-10-08 op Defaults to
315 a74a9f2c 2021-10-08 op .Dq about:new .
316 4bb6a4fa 2024-01-15 op .It Ic load-url-use-heuristic
317 2513365f 2024-01-16 op .Pq boolean
318 2513365f 2024-01-16 op If false, don't use euristics to resolve the URLs.
319 449ea6fe 2024-01-16 op Non-absolute URLs given as command line argument will be resolved as
320 449ea6fe 2024-01-16 op file system paths,
321 4bb6a4fa 2024-01-15 op .Ic load-url
322 449ea6fe 2024-01-16 op will resolve as relative to the current URL.
323 2513365f 2024-01-16 op Defaults to true.
324 b8044517 2022-02-26 op .It Ic max-killed-tabs
325 4e5935f4 2022-01-05 op .Pq integer
326 4e5935f4 2022-01-05 op The maximum number of closed tabs to keep track of, defaults to 10.
327 4e5935f4 2022-01-05 op Must be a positive number; if zero, don't save closed tabs at all.
328 b8044517 2022-02-26 op .It Ic olivetti-mode
329 2513365f 2024-01-16 op .Pq boolean
330 2513365f 2024-01-16 op If true, enable
331 a74a9f2c 2021-10-08 op .Ic olivetti-mode
332 2513365f 2024-01-16 op Defaults to true.
333 1d8cc689 2024-02-12 op .It Ic default-search-engine
334 50fd8b26 2024-02-12 op .Pq string
335 50fd8b26 2024-02-12 op URL of the preferred search engine, used by the
336 50fd8b26 2024-02-12 op .Cm search
337 50fd8b26 2024-02-12 op command.
338 50fd8b26 2024-02-12 op If it's a Gemini URI, the user query will be appended as query,
339 50fd8b26 2024-02-12 op replacing it if present.
340 50fd8b26 2024-02-12 op If it's a Gopher URI, the user query will be sent as gopher search
341 50fd8b26 2024-02-12 op parameter.
342 50fd8b26 2024-02-12 op No other URI scheme are allowed.
343 b8044517 2022-02-26 op .It Ic tab-bar-show
344 a74a9f2c 2021-10-08 op .Pq integer
345 a74a9f2c 2021-10-08 op If tab-bar-show is -1 hide the tab bar permanently, if 0 show it
346 a74a9f2c 2021-10-08 op unconditionally.
347 a74a9f2c 2021-10-08 op If it's 1, show the bar only when there is more than one tab.
348 fff512aa 2022-01-04 op Defaults to 1.
349 b8044517 2022-02-26 op .It Ic update-title
350 2513365f 2024-01-16 op .Pq boolean
351 2513365f 2024-01-16 op If true, set the terminal title to the page title.
352 2513365f 2024-01-16 op Defaults to true.
353 a74a9f2c 2021-10-08 op .El
354 a74a9f2c 2021-10-08 op .It Ic style Ar name Ar option
355 a74a9f2c 2021-10-08 op Change the styling of the element identified by
356 a74a9f2c 2021-10-08 op .Ar name .
357 a74a9f2c 2021-10-08 op Multiple options may be specified within curly braces.
358 a74a9f2c 2021-10-08 op Valid style identifiers are:
359 399bd9a0 2021-11-05 op .Bl -tag -width line.download.ongoing -compact -offset Ds
360 a74a9f2c 2021-10-08 op .It line
361 a74a9f2c 2021-10-08 op the area outside the lines in the body of the page.
362 a74a9f2c 2021-10-08 op .It line.compl
363 a74a9f2c 2021-10-08 op the completions.
364 a74a9f2c 2021-10-08 op .It line.compl.current
365 a74a9f2c 2021-10-08 op the current completion.
366 a74a9f2c 2021-10-08 op .It line.help
367 a74a9f2c 2021-10-08 op text in the *Help* buffer.
368 399bd9a0 2021-11-05 op .It line.download.ongoing
369 399bd9a0 2021-11-05 op an ongoing download
370 399bd9a0 2021-11-05 op .It line.download.done
371 399bd9a0 2021-11-05 op a completed download
372 399bd9a0 2021-11-05 op .It line.download.info
373 399bd9a0 2021-11-05 op informational text in the *Downloads* buffer.
374 d3b39b65 2022-01-10 op .It line.fringe
375 d3b39b65 2022-01-10 op .Pq virtual
376 d3b39b65 2022-01-10 op lines draw after the end of a buffer.
377 a74a9f2c 2021-10-08 op .It line.text
378 a74a9f2c 2021-10-08 op text lines.
379 a74a9f2c 2021-10-08 op .It line.link
380 a74a9f2c 2021-10-08 op link lines.
381 a74a9f2c 2021-10-08 op .It line.title1..3
382 a74a9f2c 2021-10-08 op headings
383 a74a9f2c 2021-10-08 op .It line.item
384 a74a9f2c 2021-10-08 op item lines.
385 a74a9f2c 2021-10-08 op .It line.quote
386 a74a9f2c 2021-10-08 op quotes.
387 a74a9f2c 2021-10-08 op .It line.pre.start
388 a74a9f2c 2021-10-08 op the heading of a preformatted block.
389 a74a9f2c 2021-10-08 op .It line.pre
390 a74a9f2c 2021-10-08 op the content of a preformatted block.
391 a74a9f2c 2021-10-08 op .It line.pre.end
392 a74a9f2c 2021-10-08 op the closing line of a preformatted block.
393 399bd9a0 2021-11-05 op .It download
394 399bd9a0 2021-11-05 op the download pane
395 a74a9f2c 2021-10-08 op .It minibuffer
396 a74a9f2c 2021-10-08 op the minibuffer.
397 a74a9f2c 2021-10-08 op .It modeline
398 a74a9f2c 2021-10-08 op the modeline.
399 a74a9f2c 2021-10-08 op .It tabline
400 a74a9f2c 2021-10-08 op the tabline.
401 a74a9f2c 2021-10-08 op .It tabline.tab
402 a74a9f2c 2021-10-08 op the non-focused tabs.
403 a74a9f2c 2021-10-08 op .It tabline.current
404 a74a9f2c 2021-10-08 op the focused tab.
405 a74a9f2c 2021-10-08 op .El
406 a74a9f2c 2021-10-08 op .Pp
407 a74a9f2c 2021-10-08 op Valid options are:
408 a74a9f2c 2021-10-08 op .Bl -tag -width Ds
409 a74a9f2c 2021-10-08 op .It Ic attr Ar prefix Oo Ar line Oo Ar trail Oc Oc
410 a74a9f2c 2021-10-08 op Sets the text attributes.
411 a74a9f2c 2021-10-08 op If only one value is given,
412 a74a9f2c 2021-10-08 op .Ar line
413 a74a9f2c 2021-10-08 op and
414 a74a9f2c 2021-10-08 op .Ar trail
415 a74a9f2c 2021-10-08 op default to that; if two values are given then
416 a74a9f2c 2021-10-08 op .Ar trail
417 a74a9f2c 2021-10-08 op defaults to
418 a74a9f2c 2021-10-08 op .Ar prefix .
419 a74a9f2c 2021-10-08 op Each attribute is a comma-separated list of keywords:
420 a74a9f2c 2021-10-08 op .Bl -tag -width underline -compact -offset Ds
421 a74a9f2c 2021-10-08 op .It Ic normal
422 a74a9f2c 2021-10-08 op no attributes.
423 a74a9f2c 2021-10-08 op .It Ic standout
424 a74a9f2c 2021-10-08 op best highlighting mode for the terminal.
425 a74a9f2c 2021-10-08 op .It Ic underline
426 a74a9f2c 2021-10-08 op underlines the text.
427 a74a9f2c 2021-10-08 op .It Ic reverse
428 a74a9f2c 2021-10-08 op reverses background/foreground colors.
429 a74a9f2c 2021-10-08 op .It Ic blink
430 a74a9f2c 2021-10-08 op makes the text blinking.
431 a74a9f2c 2021-10-08 op .It Ic dim
432 a74a9f2c 2021-10-08 op half bright.
433 a74a9f2c 2021-10-08 op .It Ic bold
434 a74a9f2c 2021-10-08 op extra bright or bold.
435 a74a9f2c 2021-10-08 op .El
436 a74a9f2c 2021-10-08 op .Pp
437 a74a9f2c 2021-10-08 op Only the style identifiers with the
438 a74a9f2c 2021-10-08 op .Dq line.
439 a74a9f2c 2021-10-08 op prefix accept up to three attributes.
440 a74a9f2c 2021-10-08 op The other will only use the first one given.
441 a74a9f2c 2021-10-08 op .It Ic bg Ar prefix Oo Ar line Oo Ar trail Oc Oc
442 a74a9f2c 2021-10-08 op Sets the background color.
443 a74a9f2c 2021-10-08 op Follows the same behaviour as
444 a74a9f2c 2021-10-08 op .Ic attr
445 a74a9f2c 2021-10-08 op regarding the optional parameters.
446 a74a9f2c 2021-10-08 op The colour is one of black, red, green, yellow, blue,
447 a74a9f2c 2021-10-08 op magenta, cyan and white; colour0 to colour255
448 a74a9f2c 2021-10-08 op .Pq or color0 to color255
449 a74a9f2c 2021-10-08 op from the 256-colour set;
450 a74a9f2c 2021-10-08 op default for the default colour.
451 a74a9f2c 2021-10-08 op .It Ic fg Ar prefix Oo Ar line Oo Ar trail Oc Oc
452 a74a9f2c 2021-10-08 op Sets the foreground color.
453 a74a9f2c 2021-10-08 op It behaves just like
454 a74a9f2c 2021-10-08 op .Ic bg .
455 a74a9f2c 2021-10-08 op .It Ic prefix Ar prfx Op Ar cont
456 a74a9f2c 2021-10-08 op Sets the prefix for the current line type to
457 a74a9f2c 2021-10-08 op .Ar prfx
458 a74a9f2c 2021-10-08 op and
459 a74a9f2c 2021-10-08 op .Ar cont
460 a74a9f2c 2021-10-08 op as the prefix for the continuation lines
461 a74a9f2c 2021-10-08 op .Pq i.e. when a long line gets wrapped.
462 a74a9f2c 2021-10-08 op If
463 a74a9f2c 2021-10-08 op .Ar cont
464 a74a9f2c 2021-10-08 op is not given its value will be the same of
465 a74a9f2c 2021-10-08 op .Ar prfx .
466 a74a9f2c 2021-10-08 op .El
467 eb6e7b8a 2021-08-16 op .El
468 bba111bc 2021-03-28 op .Sh DEFAULT KEY BINDINGS
469 bba111bc 2021-03-28 op The default key bindings are very similar to GNU Emacs, but care has
470 bba111bc 2021-03-28 op been taken to include also bindings familiar for
471 bba111bc 2021-03-28 op .Xr vi 1
472 bba111bc 2021-03-28 op and
473 bba111bc 2021-03-28 op .Dq CUA
474 bba111bc 2021-03-28 op users.
475 bba111bc 2021-03-28 op In the following examples, C-x means Control-x, M-x means Meta-x,
476 bba111bc 2021-03-28 op where the Meta key may be either a special key on the keyboard or the
477 bba111bc 2021-03-28 op ALT key; otherwise ESC followed by the key X works as well, and C-M-x
478 bba111bc 2021-03-28 op means to press the key X together with both Control and Meta.
479 bba111bc 2021-03-28 op .Pp
480 bba111bc 2021-03-28 op Keys are usually a single character, like
481 bba111bc 2021-03-28 op .Sq p
482 bba111bc 2021-03-28 op or
483 bba111bc 2021-03-28 op .Sq n ,
484 bba111bc 2021-03-28 op but some special keys are accepted as well.
485 bba111bc 2021-03-28 op .Pp
486 bba111bc 2021-03-28 op .Bl -tag -width 16m -offset indent -compact
487 bba111bc 2021-03-28 op .It <up>
488 bba111bc 2021-03-28 op Up arrow
489 bba111bc 2021-03-28 op .It <down>
490 bba111bc 2021-03-28 op Down arrow
491 bba111bc 2021-03-28 op .It <left>
492 bba111bc 2021-03-28 op Left arrow
493 bba111bc 2021-03-28 op .It <right>
494 bba111bc 2021-03-28 op Right arrow
495 bba111bc 2021-03-28 op .It <prior>
496 bba111bc 2021-03-28 op Previous page/Page up
497 bba111bc 2021-03-28 op .It <next>
498 bba111bc 2021-03-28 op Next page/Page down
499 bba111bc 2021-03-28 op .It <home>
500 bba111bc 2021-03-28 op Home
501 bba111bc 2021-03-28 op .It <end>
502 bba111bc 2021-03-28 op End
503 bba111bc 2021-03-28 op .It <f0> thru <f63>
504 bba111bc 2021-03-28 op Function keys
505 bba111bc 2021-03-28 op .It del or backspace
506 bba111bc 2021-03-28 op Backspace
507 bba111bc 2021-03-28 op .It esc
508 bba111bc 2021-03-28 op Escape
509 bba111bc 2021-03-28 op .It space or spc
510 bba111bc 2021-03-28 op Space
511 bba111bc 2021-03-28 op .It enter or ret
512 bba111bc 2021-03-28 op Enter
513 bba111bc 2021-03-28 op .It tab
514 bba111bc 2021-03-28 op Tab
515 8dc60352 2021-06-15 op .It backtab
516 9eb0c887 2021-08-03 op Depends on the configuration of the terminal emulator; usually shift
517 9eb0c887 2021-08-03 op tab.
518 bba111bc 2021-03-28 op .El
519 bba111bc 2021-03-28 op .Ss GNU Emacs-like keys
520 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
521 bba111bc 2021-03-28 op .It C-p
522 7dbaef94 2021-04-22 op previous-line
523 bba111bc 2021-03-28 op .It C-n
524 7dbaef94 2021-04-22 op next-line
525 bba111bc 2021-03-28 op .It C-f
526 7dbaef94 2021-04-22 op forward-char
527 bba111bc 2021-03-28 op .It C-b
528 7dbaef94 2021-04-22 op backward-char
529 bba111bc 2021-03-28 op .It M-{
530 7dbaef94 2021-04-22 op backward-paragraph
531 bba111bc 2021-03-28 op .It M-}
532 7dbaef94 2021-04-22 op forward-paragraph
533 bba111bc 2021-03-28 op .It C-a
534 7dbaef94 2021-04-22 op move-beginning-of-line
535 bba111bc 2021-03-28 op .It C-e
536 7dbaef94 2021-04-22 op move-end-of-line
537 bba111bc 2021-03-28 op .It M-v, M-space
538 7dbaef94 2021-04-22 op scroll-up
539 bba111bc 2021-03-28 op .It C-v, space
540 7dbaef94 2021-04-22 op scroll-down
541 bba111bc 2021-03-28 op .It M-<
542 7dbaef94 2021-04-22 op beginning-of-buffer
543 bba111bc 2021-03-28 op .It M->
544 7dbaef94 2021-04-22 op end-of-buffer
545 bba111bc 2021-03-28 op .It C-x C-c
546 7dbaef94 2021-04-22 op kill-telescope
547 288b931b 2022-04-13 op .It C-x C-w
548 288b931b 2022-04-13 op write-buffer
549 bba111bc 2021-03-28 op .It C-g
550 7dbaef94 2021-04-22 op clear-minibuf
551 bba111bc 2021-03-28 op .It M-x
552 7dbaef94 2021-04-22 op execute-extended-command
553 61251035 2021-06-26 op .It C-c {
554 61251035 2021-06-26 op dec-fill-column
555 61251035 2021-06-26 op .It C-c }
556 61251035 2021-06-26 op inc-fill-column
557 1c412d48 2021-06-25 op .It C-c p
558 1c412d48 2021-06-25 op previous-heading
559 1c412d48 2021-06-25 op .It C-c n
560 1c412d48 2021-06-25 op next-heading
561 157d4810 2021-06-24 op .It >
562 157d4810 2021-06-24 op load-url
563 f2ab2540 2021-07-14 op .It <
564 f2ab2540 2021-07-14 op load-current-url
565 bba111bc 2021-03-28 op .It C-x C-f
566 7dbaef94 2021-04-22 op load-url
567 bba111bc 2021-03-28 op .It C-x M-f
568 7dbaef94 2021-04-22 op load-current-url
569 9a7d62cb 2021-07-21 op .It C-x o
570 9a7d62cb 2021-07-21 op other-window
571 bba111bc 2021-03-28 op .It C-x t 0
572 7dbaef94 2021-04-22 op tab-close
573 bba111bc 2021-03-28 op .It C-x t 1
574 7dbaef94 2021-04-22 op tab-close-other
575 bba111bc 2021-03-28 op .It C-x t 2
576 7dbaef94 2021-04-22 op tab-new
577 bba111bc 2021-03-28 op .It C-x t o
578 7dbaef94 2021-04-22 op tab-next
579 bba111bc 2021-03-28 op .It C-x t O
580 7dbaef94 2021-04-22 op tab-previous
581 bba111bc 2021-03-28 op .It C-x t m
582 7dbaef94 2021-04-22 op tab-move
583 bba111bc 2021-03-28 op .It C-x t M
584 7dbaef94 2021-04-22 op tab-move-to
585 05c5cf0c 2021-07-13 op .It B, C-M-b
586 7dbaef94 2021-04-22 op previous-page
587 05c5cf0c 2021-07-13 op .It F, C-M-f
588 7dbaef94 2021-04-22 op next-page
589 bba111bc 2021-03-28 op .It <f7> a
590 7dbaef94 2021-04-22 op bookmark-page
591 bba111bc 2021-03-28 op .It <f7> <f7>
592 7dbaef94 2021-04-22 op list-bookmarks
593 12cf7d80 2021-07-15 op .It C-z
594 12cf7d80 2021-07-15 op suspend-telescope
595 bba111bc 2021-03-28 op .El
596 bba111bc 2021-03-28 op .Ss Xr vi 1 Ns -like keys
597 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
598 bba111bc 2021-03-28 op .It k
599 7dbaef94 2021-04-22 op previous-line
600 bba111bc 2021-03-28 op .It j
601 7dbaef94 2021-04-22 op next-line
602 bba111bc 2021-03-28 op .It l
603 7dbaef94 2021-04-22 op forward-char
604 bba111bc 2021-03-28 op .It h
605 7dbaef94 2021-04-22 op backward-char
606 bba111bc 2021-03-28 op .It {
607 7dbaef94 2021-04-22 op backward-paragraph
608 bba111bc 2021-03-28 op .It }
609 7dbaef94 2021-04-22 op forward-paragraph
610 bba111bc 2021-03-28 op .It ^
611 7dbaef94 2021-04-22 op move-beginning-of-line
612 bba111bc 2021-03-28 op .It $
613 7dbaef94 2021-04-22 op move-end-of-line
614 bba111bc 2021-03-28 op .It K
615 7dbaef94 2021-04-22 op scroll-line-up
616 bba111bc 2021-03-28 op .It J
617 7dbaef94 2021-04-22 op scroll-line-down
618 bba111bc 2021-03-28 op .It g g
619 7dbaef94 2021-04-22 op beginning-of-buffer
620 6c04e8b6 2021-04-01 op .It G
621 7dbaef94 2021-04-22 op end-of-buffer
622 a36bb43a 2024-01-15 op .It g u
623 a36bb43a 2024-01-15 op up
624 a36bb43a 2024-01-15 op .It g r
625 a36bb43a 2024-01-15 op root
626 a36bb43a 2024-01-15 op .It g h
627 a36bb43a 2024-01-15 op home
628 bba111bc 2021-03-28 op .It g D
629 7dbaef94 2021-04-22 op tab-close
630 bba111bc 2021-03-28 op .It g N
631 7dbaef94 2021-04-22 op tab-new
632 bba111bc 2021-03-28 op .It g t
633 7dbaef94 2021-04-22 op tab-next
634 bba111bc 2021-03-28 op .It g T
635 7dbaef94 2021-04-22 op tab-previous
636 bba111bc 2021-03-28 op .It g M-t
637 7dbaef94 2021-04-22 op tab-move
638 bba111bc 2021-03-28 op .It g M-T
639 7dbaef94 2021-04-22 op tab-move-to
640 bba111bc 2021-03-28 op .It H
641 7dbaef94 2021-04-22 op previous-page
642 bba111bc 2021-03-28 op .It L
643 7dbaef94 2021-04-22 op next-page
644 4e5935f4 2022-01-05 op .It u
645 4e5935f4 2022-01-05 op tab-undo-close
646 bba111bc 2021-03-28 op .It q
647 7dbaef94 2021-04-22 op kill-telescope
648 bba111bc 2021-03-28 op .It ESC
649 7dbaef94 2021-04-22 op clear-minibuf
650 bba111bc 2021-03-28 op .It :
651 7dbaef94 2021-04-22 op execute-extended-command
652 bba111bc 2021-03-28 op .El
653 bba111bc 2021-03-28 op .Ss CUA-like keys
654 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
655 bba111bc 2021-03-28 op .It <up>
656 7dbaef94 2021-04-22 op previous-line
657 bba111bc 2021-03-28 op .It <down>
658 7dbaef94 2021-04-22 op next-line
659 bba111bc 2021-03-28 op .It <right>
660 7dbaef94 2021-04-22 op forward-char
661 bba111bc 2021-03-28 op .It <left>
662 7dbaef94 2021-04-22 op backward-char
663 12cf7d80 2021-07-15 op .It <home>
664 12cf7d80 2021-07-15 op move-beginning-of-line
665 12cf7d80 2021-07-15 op .It <end>
666 12cf7d80 2021-07-15 op move-end-of-line
667 bba111bc 2021-03-28 op .It <prior>
668 7dbaef94 2021-04-22 op scroll-up
669 bba111bc 2021-03-28 op .It <next>
670 7dbaef94 2021-04-22 op scroll-down
671 25f5824b 2021-07-08 op .It C-w
672 25f5824b 2021-07-08 op tab-close
673 3c3af0fd 2021-07-08 op .It C-t
674 3c3af0fd 2021-07-08 op tab-new
675 3c3af0fd 2021-07-08 op .It M-<prior>
676 3c3af0fd 2021-07-08 op tab-previous
677 3c3af0fd 2021-07-08 op .It M-<next>
678 3c3af0fd 2021-07-08 op tab-next
679 135e1a52 2021-01-02 op .It del
680 135e1a52 2021-01-02 op previous-page
681 bba111bc 2021-03-28 op .It M-<left>
682 7dbaef94 2021-04-22 op previous-page
683 bba111bc 2021-03-28 op .It M-<right>
684 7dbaef94 2021-04-22 op next-page
685 661233ed 2021-07-14 op .It <f5>
686 661233ed 2021-07-14 op reload-page
687 661233ed 2021-07-14 op .It r
688 661233ed 2021-07-14 op reload-page
689 bba111bc 2021-03-28 op .El
690 bba111bc 2021-03-28 op .Ss Neither Emacs nor vi specific
691 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
692 7a014cef 2021-04-01 op .It <f1>
693 7dbaef94 2021-04-22 op toggle-help
694 bba111bc 2021-03-28 op .It enter
695 7dbaef94 2021-04-22 op push-button
696 bba111bc 2021-03-28 op .It M-enter
697 7dbaef94 2021-04-22 op push-button-new-tab
698 bba111bc 2021-03-28 op .It M-tab
699 7dbaef94 2021-04-22 op previous-button
700 8dc60352 2021-06-15 op .It backtab
701 8dc60352 2021-06-15 op previous-button
702 bba111bc 2021-03-28 op .It tab
703 7dbaef94 2021-04-22 op next-button
704 3360ef1b 2021-07-14 op .It M-t
705 3360ef1b 2021-07-14 op tab-select
706 75fd746b 2021-07-21 op .It \&[
707 f6ad0de1 2021-07-16 op tab-previous
708 75fd746b 2021-07-21 op .It \&]
709 f6ad0de1 2021-07-16 op tab-next
710 935d50dc 2021-08-18 op .It M-\&[
711 935d50dc 2021-08-18 op tab-move-to
712 935d50dc 2021-08-18 op .It M-\&]
713 935d50dc 2021-08-18 op tab-move
714 dad288ec 2021-07-15 op .It M-l
715 753c6ac7 2021-07-14 op link-select
716 753c6ac7 2021-07-14 op .It M-/
717 753c6ac7 2021-07-14 op swiper
718 e95a7248 2022-02-08 op .It M-r
719 e95a7248 2022-02-08 op reply-last-input
720 fd6c540b 2024-02-12 op .It s
721 fd6c540b 2024-02-12 op search
722 bba111bc 2021-03-28 op .El
723 bba111bc 2021-03-28 op .Ss Minibuffer-specific keys
724 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
725 bba111bc 2021-03-28 op .It enter
726 7dbaef94 2021-04-22 op mini-complete-and-exit
727 bba111bc 2021-03-28 op .It C-g
728 7dbaef94 2021-04-22 op mini-abort
729 bba111bc 2021-03-28 op .It ESC
730 7dbaef94 2021-04-22 op mini-abort
731 bba111bc 2021-03-28 op .It C-d
732 7dbaef94 2021-04-22 op mini-delete-char
733 bba111bc 2021-03-28 op .It del
734 7dbaef94 2021-04-22 op mini-delete-backward-char
735 bba111bc 2021-03-28 op .It backspace
736 7dbaef94 2021-04-22 op mini-delete-backward-char
737 bba111bc 2021-03-28 op .It C-h
738 7dbaef94 2021-04-22 op mini-delete-backward-char
739 bba111bc 2021-03-28 op .It C-b
740 7dbaef94 2021-04-22 op backward-char
741 bba111bc 2021-03-28 op .It C-f
742 7dbaef94 2021-04-22 op forward-char
743 bba111bc 2021-03-28 op .It <left>
744 7dbaef94 2021-04-22 op backward-char
745 bba111bc 2021-03-28 op .It <right>
746 7dbaef94 2021-04-22 op forward-char
747 bba111bc 2021-03-28 op .It C-e
748 7dbaef94 2021-04-22 op move-end-of-line
749 bba111bc 2021-03-28 op .It C-a
750 7dbaef94 2021-04-22 op move-beginning-of-line
751 bba111bc 2021-03-28 op .It <end>
752 7dbaef94 2021-04-22 op move-end-of-line
753 bba111bc 2021-03-28 op .It <home>
754 7dbaef94 2021-04-22 op move-beginning-of-line
755 bba111bc 2021-03-28 op .It C-k
756 7dbaef94 2021-04-22 op mini-kill-line
757 067b7ffd 2022-04-15 op .It C-u
758 067b7ffd 2022-04-15 op mini-kill-whole-line
759 bba111bc 2021-03-28 op .It M-p
760 7dbaef94 2021-04-22 op mini-previous-history-element
761 bba111bc 2021-03-28 op .It M-n
762 7dbaef94 2021-04-22 op mini-next-history-element
763 e7b982f4 2021-07-14 op .It C-p
764 e7b982f4 2021-07-14 op previous-completion
765 e7b982f4 2021-07-14 op .It C-n
766 dffb2592 2021-07-14 op next-completion
767 dffb2592 2021-07-14 op .It <up>
768 dffb2592 2021-07-14 op previous-completion
769 dffb2592 2021-07-14 op .It <down>
770 e7b982f4 2021-07-14 op next-completion
771 e7b982f4 2021-07-14 op .It tab
772 e7b982f4 2021-07-14 op insert-current-candidate
773 7ee780fa 2021-07-21 op .It M-<
774 7ee780fa 2021-07-21 op mini-goto-beginning
775 7ee780fa 2021-07-21 op .It M->
776 7ee780fa 2021-07-21 op mini-goto-end
777 bba111bc 2021-03-28 op .El
778 bba111bc 2021-03-28 op .Sh INTERACTIVE COMMANDS
779 bba111bc 2021-03-28 op Follows the documentation for the interactive commands.
780 bba111bc 2021-03-28 op These commands can be bound to a key or executed with
781 bba111bc 2021-03-28 op .Ic execute-extended-command .
782 bba111bc 2021-03-28 op .Ss Movement commands
783 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
784 bba111bc 2021-03-28 op .It Ic backward-char
785 bba111bc 2021-03-28 op Move point one character backward.
786 bba111bc 2021-03-28 op .It Ic backward-paragraph
787 bba111bc 2021-03-28 op Move point one paragraph backward.
788 bba111bc 2021-03-28 op .It Ic beginning-of-buffer
789 bba111bc 2021-03-28 op Move point to the beginning of the buffer.
790 bba111bc 2021-03-28 op .It Ic end-of-buffer
791 bba111bc 2021-03-28 op Move point to the end of the buffer.
792 bba111bc 2021-03-28 op .It Ic forward-char
793 bba111bc 2021-03-28 op Move point one character forward.
794 bba111bc 2021-03-28 op .It Ic forward-paragraph
795 bba111bc 2021-03-28 op Move point one paragraph forward.
796 e7b982f4 2021-07-14 op .It Ic insert-current-candidate
797 e7b982f4 2021-07-14 op Copy the current selection text as minibuffer input.
798 bba111bc 2021-03-28 op .It Ic move-beginning-of-line
799 bba111bc 2021-03-28 op Move point at the beginning of the current (visual) line.
800 bba111bc 2021-03-28 op .It Ic move-end-of-line
801 bba111bc 2021-03-28 op Move point at the end of the current (visual) line.
802 bba111bc 2021-03-28 op .It Ic next-button
803 bba111bc 2021-03-28 op Move point to the next link.
804 e7b982f4 2021-07-14 op .It Ic next-completion
805 e7b982f4 2021-07-14 op Select the next completion.
806 1c412d48 2021-06-25 op .It Ic next-heading
807 1c412d48 2021-06-25 op Move point to the next heading.
808 bba111bc 2021-03-28 op .It Ic next-line
809 bba111bc 2021-03-28 op Move point to the next (visual) line, in the same column if possible.
810 bba111bc 2021-03-28 op .It Ic previous-button
811 bba111bc 2021-03-28 op Move point to the previous link.
812 e7b982f4 2021-07-14 op .It Ic previous-completion
813 e7b982f4 2021-07-14 op Select the previous completion.
814 1c412d48 2021-06-25 op .It Ic previous-heading
815 1c412d48 2021-06-25 op Move point to the previous heading.
816 bba111bc 2021-03-28 op .It Ic previous-line
817 bba111bc 2021-03-28 op Move point to the previous (visual) line.
818 bba111bc 2021-03-28 op .El
819 bba111bc 2021-03-28 op .Ss Bookmark-related commands
820 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
821 bba111bc 2021-03-28 op .It Ic bookmark-page
822 b3be07ea 2021-07-18 op Save a page in the bookmark file.
823 bba111bc 2021-03-28 op It preloads the minibuffer with the current URL.
824 63875195 2021-04-01 op .It Ic list-bookmarks
825 bba111bc 2021-03-28 op Load the bookmarks page.
826 bba111bc 2021-03-28 op .El
827 c0be9207 2024-02-06 op .Ss Client certificate-related commands
828 c0be9207 2024-02-06 op .Bl -tag -width execute-extended-command -compact
829 c0be9207 2024-02-06 op .It Ic client-certificate-info
830 c0be9207 2024-02-06 op Show the active client certificate.
831 c0be9207 2024-02-06 op .It Ic unload-certificate
832 06d1fa32 2024-02-08 op Forget the certificate on this page.
833 c0be9207 2024-02-06 op .It Ic use-certificate
834 c0be9207 2024-02-06 op Use a certificate for the current page.
835 c0be9207 2024-02-06 op .El
836 bba111bc 2021-03-28 op .Ss Tab-related commands
837 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
838 bba111bc 2021-03-28 op .It Ic tab-close
839 bba111bc 2021-03-28 op Close the current tab.
840 bba111bc 2021-03-28 op .It Ic tab-close-other
841 bba111bc 2021-03-28 op Close all tabs but the current one.
842 bba111bc 2021-03-28 op .It Ic tab-move
843 bba111bc 2021-03-28 op Move the current tab after the next one, wrapping around if
844 bba111bc 2021-03-28 op needed.
845 bba111bc 2021-03-28 op .It Ic tab-move-to
846 bba111bc 2021-03-28 op Move the current tab before the previous one, wrapping around if needed.
847 bba111bc 2021-03-28 op .It Ic tab-new
848 bba111bc 2021-03-28 op Open a new tab.
849 bba111bc 2021-03-28 op .It Ic tab-next
850 bba111bc 2021-03-28 op Focus next tab, wrapping around eventually.
851 bba111bc 2021-03-28 op .It Ic tab-previous
852 bba111bc 2021-03-28 op Focus the previous tab, wrapping around eventually.
853 3360ef1b 2021-07-14 op .It Ic tab-select
854 3360ef1b 2021-07-14 op Switch to a tab using the minibuffer.
855 4e5935f4 2022-01-05 op .It Ic tab-undo-close
856 4e5935f4 2022-01-05 op Re-open the most recently closed tab, if any.
857 bba111bc 2021-03-28 op .El
858 bba111bc 2021-03-28 op .Ss Misc commands
859 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
860 1495fbb2 2022-01-12 op .It Ic cache-info
861 1495fbb2 2022-01-12 op Show cache stats.
862 bba111bc 2021-03-28 op .It Ic clear-minibuf
863 b3be07ea 2021-07-18 op Clear the echo area.
864 61251035 2021-06-26 op .It Ic dec-fill-column
865 b3be07ea 2021-07-18 op Decrement fill-column by two.
866 bba111bc 2021-03-28 op .It Ic execute-extended-command
867 b3be07ea 2021-07-18 op Execute an internal command.
868 a36bb43a 2024-01-15 op .It Ic home
869 a36bb43a 2024-01-15 op Go to the home directory.
870 a36bb43a 2024-01-15 op The home directory is assumed to be the first path component in the
871 a36bb43a 2024-01-15 op .Sy ~username
872 a36bb43a 2024-01-15 op form.
873 a36bb43a 2024-01-15 op If not found, loads the root directory.
874 bba111bc 2021-03-28 op .It Ic kill-telescope
875 bba111bc 2021-03-28 op Quit
876 bba111bc 2021-03-28 op .Nm .
877 61251035 2021-06-26 op .It Ic inc-fill-column
878 b3be07ea 2021-07-18 op Increment fill-column by two.
879 753c6ac7 2021-07-14 op .It Ic link-select
880 753c6ac7 2021-07-14 op Select and visit a link using the minibuffer.
881 bba111bc 2021-03-28 op .It Ic load-current-url
882 b3be07ea 2021-07-18 op Edit the current URL.
883 bba111bc 2021-03-28 op .It Ic load-url
884 b3be07ea 2021-07-18 op Prompt for an URL.
885 4bb6a4fa 2024-01-15 op Use the same heuristic as the URLs given as a command-line argument,
886 4bb6a4fa 2024-01-15 op unless the
887 4bb6a4fa 2024-01-15 op .Ic load-url-use-heuristic
888 4bb6a4fa 2024-01-15 op option is unsed, in which case the URL is resolved using the current
889 4bb6a4fa 2024-01-15 op one as base.
890 bba111bc 2021-03-28 op .It Ic next-page
891 b3be07ea 2021-07-18 op Go forward in the page history.
892 9f3f9f5e 2021-06-19 op .It Ic olivetti-mode
893 9f3f9f5e 2021-06-19 op Toggle olivetti mode (i.e. horizontal centering of the lines of the
894 9f3f9f5e 2021-06-19 op window.)
895 9a7d62cb 2021-07-21 op .It Ic other-window
896 9a7d62cb 2021-07-21 op Select the other window.
897 bba111bc 2021-03-28 op .It Ic previous-page
898 b3be07ea 2021-07-18 op Go backward in the page history.
899 bba111bc 2021-03-28 op .It Ic push-button
900 b3be07ea 2021-07-18 op Follow link at point, or toggle the visibility of the following
901 b3be07ea 2021-07-18 op preformatted block if called when the cursor is on the heading of the block.
902 bba111bc 2021-03-28 op .It Ic push-button-new-tab
903 b3be07ea 2021-07-18 op Follow link at point in a new tab.
904 bba111bc 2021-03-28 op .It Ic redraw
905 708fab48 2021-06-19 op Redraw the screen, useful if some background program messed up the
906 bba111bc 2021-03-28 op display.
907 661233ed 2021-07-14 op .It Ic reload-page
908 661233ed 2021-07-14 op Reload the current page.
909 e95a7248 2022-02-08 op .It Ic reply-last-input
910 e95a7248 2022-02-08 op Reply the last input request.
911 a36bb43a 2024-01-15 op .It Ic root
912 a36bb43a 2024-01-15 op Go to the root directory.
913 fd6c540b 2024-02-12 op .It Ic search
914 fd6c540b 2024-02-12 op Search using the preferred search engine.
915 bba111bc 2021-03-28 op .It Ic scroll-down
916 bba111bc 2021-03-28 op Scroll down by one visual page.
917 bba111bc 2021-03-28 op .It Ic scroll-line-down
918 bba111bc 2021-03-28 op Scroll down by one line.
919 bba111bc 2021-03-28 op .It Ic scroll-line-up
920 bba111bc 2021-03-28 op Scroll up by one line.
921 bba111bc 2021-03-28 op .It Ic scroll-up
922 bba111bc 2021-03-28 op Scroll up by one visual page.
923 12cf7d80 2021-07-15 op .It Ic suspend-telescope
924 12cf7d80 2021-07-15 op Suspend the current
925 12cf7d80 2021-07-15 op .Nm
926 12cf7d80 2021-07-15 op session.
927 753c6ac7 2021-07-14 op .It Ic swiper
928 753c6ac7 2021-07-14 op Jump to a line using the minibuffer.
929 edd9a650 2021-07-15 op .It Ic toc
930 b3be07ea 2021-07-18 op Jump to a heading using the minibuffer.
931 7a014cef 2021-04-01 op .It Ic toggle-help
932 7a014cef 2021-04-01 op Toggle side window with help about available keys and their associated
933 7a014cef 2021-04-01 op interactive command.
934 987d9c88 2021-07-15 op .It Ic toggle-pre-wrap
935 987d9c88 2021-07-15 op Toggle the wrapping of preformatted blocks.
936 a36bb43a 2024-01-15 op .It Ic up
937 a36bb43a 2024-01-15 op Go up one level in the path hierarchy.
938 288b931b 2022-04-13 op .It Ic write-buffer
939 288b931b 2022-04-13 op Save the current buffer to the disk.
940 bba111bc 2021-03-28 op .El
941 bba111bc 2021-03-28 op .Ss Minibuffer commands
942 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
943 bba111bc 2021-03-28 op .It Ic mini-abort
944 bba111bc 2021-03-28 op Abort the current minibuffer action.
945 bba111bc 2021-03-28 op .It Ic mini-complete-and-exit
946 bba111bc 2021-03-28 op Complete the current minibuffer action.
947 bba111bc 2021-03-28 op .It Ic mini-delete-backward-char
948 bba111bc 2021-03-28 op Delete the character before the point.
949 bba111bc 2021-03-28 op .It Ic mini-delete-char
950 bba111bc 2021-03-28 op Delete the character after the point.
951 de190a2b 2021-07-17 op .It Ic mini-goto-beginning
952 de190a2b 2021-07-17 op Select the first completion, if any.
953 de190a2b 2021-07-17 op .It Ic mini-goto-end
954 de190a2b 2021-07-17 op Select the last completion, if any.
955 bba111bc 2021-03-28 op .It Ic mini-kill-line
956 b3be07ea 2021-07-18 op Delete from point until the end of the line.
957 067b7ffd 2022-04-15 op .It Ic mini-kill-whole-line
958 067b7ffd 2022-04-15 op Delete the whole line.
959 bba111bc 2021-03-28 op .It Ic mini-next-history-element
960 bba111bc 2021-03-28 op Load the previous history element.
961 bba111bc 2021-03-28 op .It Ic mini-previous-history-element
962 bba111bc 2021-03-28 op Load the next history element.
963 bba111bc 2021-03-28 op .El
964 7d2d15f5 2021-04-30 op .Ss Aliases
965 7d2d15f5 2021-04-30 op The following aliases are available during
966 7d2d15f5 2021-04-30 op .Ic execute-extended-command :
967 7d2d15f5 2021-04-30 op .Bl -tag -width 16m -compact
968 1e0f5c02 2022-01-15 op .It Ic open
969 1e0f5c02 2022-01-15 op .Ic load-url
970 c82b3fd6 2021-05-12 op .It Ic tabn
971 c82b3fd6 2021-05-12 op .Ic tab-next
972 c82b3fd6 2021-05-12 op .It Ic tabnew
973 c82b3fd6 2021-05-12 op .Ic tab-new
974 c82b3fd6 2021-05-12 op .It Ic tabp
975 c82b3fd6 2021-05-12 op .Ic tab-previous
976 7d2d15f5 2021-04-30 op .It Ic q No and Ic wq
977 7d2d15f5 2021-04-30 op .Ic kill-telescope
978 288b931b 2022-04-13 op .It Ic w
979 288b931b 2022-04-13 op .Ic write-buffer
980 74ca8ef4 2021-06-19 op .El
981 7ee780fa 2021-07-21 op .Sh ENVIRONMENT
982 7ee780fa 2021-07-21 op When
983 7ee780fa 2021-07-21 op .Nm
984 7ee780fa 2021-07-21 op is started, it inspects the following environment variables:
985 7ee780fa 2021-07-21 op .Bl -tag -width NO_COLORS
986 7ee780fa 2021-07-21 op .It Ev HOME
987 7ee780fa 2021-07-21 op The user's login directory.
988 7ee780fa 2021-07-21 op .It Ev NO_COLORS
989 7ee780fa 2021-07-21 op To decide whether to use colors or not.
990 7ee780fa 2021-07-21 op The content of the variable doesn't matter.
991 7ee780fa 2021-07-21 op .It Ev TERM
992 7ee780fa 2021-07-21 op The user's terminal name.
993 73389b00 2021-10-08 op .It Ev XDG_CACHE_HOME , Ev XDG_CONFIG_HOME , Ev XDG_DATA_HOME
994 73389b00 2021-10-08 op If defined can alter the default location of the files used.
995 7ee780fa 2021-07-21 op .El
996 bba111bc 2021-03-28 op .Sh FILES
997 73389b00 2021-10-08 op By default
998 73389b00 2021-10-08 op .Nm
999 73389b00 2021-10-08 op follows the XDG Base Directory Specification.
1000 73389b00 2021-10-08 op However, if
1001 73389b00 2021-10-08 op .Pa ~/.telescope
1002 73389b00 2021-10-08 op exists, XDG is ignored and all the files are stored inside it.
1003 73389b00 2021-10-08 op The usage of
1004 73389b00 2021-10-08 op .Ev XDG_CACHE_HOME ,
1005 73389b00 2021-10-08 op .Ev XDG_CONFIG_HOME
1006 73389b00 2021-10-08 op and
1007 73389b00 2021-10-08 op .Ev XDG_DATA_HOME
1008 73389b00 2021-10-08 op can further alter the location of these files.
1009 73389b00 2021-10-08 op .Pp
1010 bba111bc 2021-03-28 op .Bl -tag -width Ds -compact
1011 eb2ed626 2021-10-07 op .It Pa ~/.config/telescope/config
1012 dca97b00 2021-06-19 op Default configuration file.
1013 de04b178 2021-11-26 op .It Pa ~/.local/share/telescope/pages/about_*.gmi
1014 eb2ed626 2021-10-07 op Overrides for built-in about: pages.
1015 eb2ed626 2021-10-07 op .It Pa ~/.local/share/telescope/bookmarks.gmi
1016 eb2ed626 2021-10-07 op Bookmarks file.
1017 eb2ed626 2021-10-07 op .It Pa ~/.local/share/telescope/known_hosts
1018 7ee780fa 2021-07-21 op Hash of the certificates for all the known hosts.
1019 7ee780fa 2021-07-21 op Each line contains three fields: hostname with optional port number,
1020 7ee780fa 2021-07-21 op hash of the certificate and a numeric flag.
1021 eb2ed626 2021-10-07 op .It Pa ~/.cache/telescope/lock
1022 d0fd368a 2021-07-15 op Lock file used to prevent multiple instance of
1023 d0fd368a 2021-07-15 op .Nm
1024 d0fd368a 2021-07-15 op from running at the same time.
1025 eb2ed626 2021-10-07 op .It Pa ~/.cache/telescope/session
1026 7ee780fa 2021-07-21 op The list of tabs from the last session.
1027 6c04e8b6 2021-04-01 op .El
1028 74ca8ef4 2021-06-19 op .Sh EXAMPLES
1029 984245ce 2021-06-23 op It's possible to browse
1030 984245ce 2021-06-23 op .Dq the small web
1031 984245ce 2021-06-23 op .Pq i.e. simple websites
1032 3a761ed2 2021-06-25 op by using programs like the duckling-proxy by defining a proxy in
1033 eb2ed626 2021-10-07 op .Pa ~/.config/telescope/config :
1034 984245ce 2021-06-23 op .Bd -literal -offset indent
1035 a0c41865 2021-07-20 op proxy http via "gemini://127.0.0.1:1965"
1036 a0c41865 2021-07-20 op proxy https via "gemini://127.0.0.1:1965"
1037 74ca8ef4 2021-06-19 op .Ed
1038 19f9cf0f 2021-06-24 op .Pp
1039 19f9cf0f 2021-06-24 op To load
1040 19f9cf0f 2021-06-24 op .Nm
1041 7ee780fa 2021-07-21 op without any configuration
1042 19f9cf0f 2021-06-24 op .Bd -literal -offset indent
1043 19f9cf0f 2021-06-24 op telescope -c /dev/null
1044 19f9cf0f 2021-06-24 op .Ed
1045 73389b00 2021-10-08 op .Sh STANDARDS
1046 73389b00 2021-10-08 op .Rs
1047 73389b00 2021-10-08 op .%B XDG Base Directory Specification
1048 73389b00 2021-10-08 op .%U https://specifications.freedesktop.org/basedir-spec/latest/
1049 73389b00 2021-10-08 op .Re
1050 c7067b0b 2022-01-13 op .Sh ACKNOWLEDGEMENTS
1051 c7067b0b 2022-01-13 op The
1052 c7067b0b 2022-01-13 op .Dq Trust, but verify (where appropriate)
1053 c7067b0b 2022-01-13 op TOFU scheme was firstly suggested by thfr:
1054 c7067b0b 2022-01-13 op .Lk gemini://thfr.info/gemini/modified-trust-verify.gmi .
1055 bba111bc 2021-03-28 op .Sh AUTHORS
1056 bba111bc 2021-03-28 op .An -nosplit
1057 bba111bc 2021-03-28 op The
1058 bba111bc 2021-03-28 op .Nm
1059 bba111bc 2021-03-28 op program was written by
1060 bba111bc 2021-03-28 op .An Omar Polo Aq Mt op@omarpolo.com .
1061 8bfe7529 2021-11-27 op .Sh CAVEATS
1062 8bfe7529 2021-11-27 op .Nm
1063 95e30305 2021-01-02 op assumes a UTF-8 environment and doesn't try to cope with other encodings.
1064 95e30305 2021-01-02 op This can cause strange rendering issues if you're lucky, or possibly
1065 95e30305 2021-01-02 op weird thing happening depending on your locale and terminal emulator.
1066 b240cdbb 2022-01-13 op .Pp
1067 b240cdbb 2022-01-13 op The algorithm used for text-wrapping is naive and doesn't really work for
1068 b240cdbb 2022-01-13 op languages that make heavily use of glyphs composed by multiple UNICODE
1069 b240cdbb 2022-01-13 op codepoints.
1070 7ee780fa 2021-07-21 op .Sh BUGS
1071 7ee780fa 2021-07-21 op There's no UI for out-of-band certificates validation.