Debian Codegraph @

doc/fimrc.man.html

raw
1 <!-- Creator : groff version 1.22.4 -->
2 <!-- CreationDate: Sun May 19 12:02:42 2024 -->
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4 "http://www.w3.org/TR/html4/loose.dtd">
5 <html>
6 <head>
7 <meta name="generator" content="groff -Thtml, see www.gnu.org">
8 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
9 <meta name="Content-Style" content="text/css">
10 <style type="text/css">
11 p { margin-top: 0; margin-bottom: 0; vertical-align: top }
12 pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
13 table { margin-top: 0; margin-bottom: 0; vertical-align: top }
14 h1 { text-align: center }
15 </style>
16 <title>fimrc</title>
17
18 </head>
19 <body>
20
21 <h1 align="center">fimrc</h1>
22
23 <a href="#NAME">NAME</a><br>
24 <a href="#SYNOPSIS">SYNOPSIS</a><br>
25 <a href="#DESCRIPTION">DESCRIPTION</a><br>
26 <a href="#FIM LANGUAGE GRAMMAR">FIM LANGUAGE GRAMMAR</a><br>
27 <a href="#COMMANDS REFERENCE">COMMANDS REFERENCE</a><br>
28 <a href="#KEYSYMS REFERENCE">KEYSYMS REFERENCE</a><br>
29 <a href="#AUTOCOMMANDS REFERENCE">AUTOCOMMANDS REFERENCE</a><br>
30 <a href="#VARIABLES REFERENCE">VARIABLES REFERENCE</a><br>
31 <a href="#DEFAULT ALIASES REFERENCE">DEFAULT ALIASES REFERENCE</a><br>
32 <a href="#COMMAND LINE USAGE EXAMPLES">COMMAND LINE USAGE EXAMPLES</a><br>
33 <a href="#CONFIGURATION FILE EXAMPLE">CONFIGURATION FILE EXAMPLE</a><br>
34 <a href="#NOTES">NOTES</a><br>
35 <a href="#BUGS">BUGS</a><br>
36 <a href="#SEE ALSO">SEE ALSO</a><br>
37 <a href="#AUTHOR">AUTHOR</a><br>
38 <a href="#COPYRIGHT">COPYRIGHT</a><br>
39
40 <hr>
41
42
43 <h2>NAME
44 <a name="NAME"></a>
45 </h2>
46
47
48 <p style="margin-left:11%; margin-top: 1em">fimrc -
49 <b>fim</b> configuration file and language reference</p>
50
51 <h2>SYNOPSIS
52 <a name="SYNOPSIS"></a>
53 </h2>
54
55
56 <p style="margin-left:11%; margin-top: 1em"><b>~/.fimrc
57 <br>
58 /usr/local/etc/fimrc <br>
59 fim</b> --script-from-stdin [ <i>{options}</i> ] &lt;
60 <i>{scriptfile}</i> <b><br>
61 fim</b> --execute-script <i>{scriptfile}</i> [
62 <i>{options}</i> ] <b><br>
63 fim</b> --execute-commands <i>{commands}</i> [
64 <i>{options}</i> ] <b><br>
65 fim</b> --final-commands <i>{commands}</i> [
66 <i>{options}</i> ] <b><br>
67 fim</b> --write-scriptout <i>{scriptfile}</i> [
68 <i>{options}</i> ] <b><br>
69 fim</b> --write-scriptout /dev/stdout [ <i>{options}</i> ]
70 <b><br>
71 fim</b> --chars-press :<i>{commands}</i> [ <i>{options}</i>
72 ] <b><br>
73 fim</b> --chars-press :<i>{commands}</i> --chars-press
74 &rsquo;&rsquo; [ <i>{options}</i> ] <b><br>
75 fim</b> --keysym-press <i>{keysym}</i> [ <i>{options}</i>
76 ]</p>
77
78 <h2>DESCRIPTION
79 <a name="DESCRIPTION"></a>
80 </h2>
81
82
83 <p style="margin-left:11%; margin-top: 1em">This page
84 explains the <b>fim</b> scripting language, which is used
85 for the <b>fimrc</b> configuration files,
86 <i>{scriptfile}</i>s, or <i>{commands}</i> passed via
87 command line <i>{options}</i>. This language can be used to
88 issue commands (or programs) from the internal program
89 command line accessed interactively by default through the
90 &quot;:&quot; key (which can be customized via the
91 &quot;<b>_console_key</b>&quot; variable). One may exit from
92 command line mode by pressing the Enter key on an empty line
93 (a non empty command line would be submitted for execution),
94 or the Esc key (only in SDL mode). The general form of a fim
95 command/program is shown in the next section.</p>
96
97 <h2>FIM LANGUAGE GRAMMAR
98 <a name="FIM LANGUAGE GRAMMAR"></a>
99 </h2>
100
101
102 <p style="margin-left:11%; margin-top: 1em">This section
103 specifies the grammar of the <b>fim</b> language.</p>
104
105 <p style="margin-left:11%; margin-top: 1em">Language
106 elements surrounded by a single quote (&quot;&rsquo;&quot;)
107 are literals.</p>
108
109 <p style="margin-left:11%; margin-top: 1em">Warning: at the
110 present state, this grammar has conflicts. A future release
111 shall fix them.</p>
112
113 <p style="margin-left:11%; margin-top: 1em">program: %empty
114 <br>
115 | statement_list</p>
116
117
118 <p style="margin-left:11%; margin-top: 1em">statement_list:
119 statement <br>
120 | statement &rsquo;;&rsquo; statement_list <br>
121 | non_atomic_statements_block statement_list <br>
122 | statements_block</p>
123
124
125 <p style="margin-left:11%; margin-top: 1em">non_atomic_statements_block:
126 &rsquo;{&rsquo; statement_list &rsquo;}&rsquo; <br>
127 | INTEGER &rsquo;{&rsquo; statement_list &rsquo;}&rsquo;
128 <br>
129 | conditional_statement</p>
130
131
132 <p style="margin-left:11%; margin-top: 1em">statements_block:
133 atomic_statements_block <br>
134 | non_atomic_statements_block</p>
135
136
137 <p style="margin-left:11%; margin-top: 1em">conditional_statement:
138 if_statement <br>
139 | loop_statement</p>
140
141 <p style="margin-left:11%; margin-top: 1em">if_statement:
142 &rsquo;if&rsquo; &rsquo;(&rsquo; expression &rsquo;)&rsquo;
143 statements_block <br>
144 | &rsquo;if&rsquo; &rsquo;(&rsquo; expression
145 &rsquo;)&rsquo; statements_block &rsquo;else&rsquo;
146 statements_block</p>
147
148
149 <p style="margin-left:11%; margin-top: 1em">loop_statement:
150 &rsquo;while&rsquo; &rsquo;(&rsquo; expression
151 &rsquo;)&rsquo; statements_block <br>
152 | &rsquo;do&rsquo; statements_block &rsquo;while&rsquo;
153 &rsquo;(&rsquo; expression &rsquo;)&rsquo;</p>
154
155
156 <p style="margin-left:11%; margin-top: 1em">atomic_statements_block:
157 statement &rsquo;;&rsquo; <br>
158 | statement &rsquo;;&rsquo; &rsquo;;&rsquo; <br>
159 | statement &rsquo;;&rsquo; &rsquo;;&rsquo;
160 &rsquo;;&rsquo;</p>
161
162 <p style="margin-left:11%; margin-top: 1em">statement:
163 &rsquo;!&rsquo; arguments <br>
164 | INTEGER &rsquo;,&rsquo; INTEGER IDENTIFIER <br>
165 | INTEGER &rsquo;,&rsquo; INTEGER IDENTIFIER arguments <br>
166 | INTEGER IDENTIFIER <br>
167 | SLASH_AND_REGEXP <br>
168 | &rsquo;+&rsquo; UNQUOTED_FLOAT &rsquo;%&rsquo; <br>
169 | &rsquo;+&rsquo; QUOTED_FLOAT &rsquo;%&rsquo; <br>
170 | &rsquo;+&rsquo; INTEGER &rsquo;%&rsquo; <br>
171 | &rsquo;*&rsquo; UNQUOTED_FLOAT <br>
172 | &rsquo;*&rsquo; QUOTED_FLOAT <br>
173 | &rsquo;*&rsquo; INTEGER <br>
174 | UNQUOTED_FLOAT &rsquo;%&rsquo; <br>
175 | QUOTED_FLOAT &rsquo;%&rsquo; <br>
176 | INTEGER &rsquo;%&rsquo; <br>
177 | &rsquo;-&rsquo; UNQUOTED_FLOAT &rsquo;%&rsquo; <br>
178 | &rsquo;-&rsquo; QUOTED_FLOAT &rsquo;%&rsquo; <br>
179 | &rsquo;-&rsquo; INTEGER &rsquo;%&rsquo; <br>
180 | INTEGER <br>
181 | &rsquo;-&rsquo; INTEGER <br>
182 | IDENTIFIER <br>
183 | IDENTIFIER FILE_PATH <br>
184 | IDENTIFIER arguments <br>
185 | INTEGER IDENTIFIER arguments <br>
186 | IDENTIFIER &rsquo;=&rsquo; expression</p>
187
188 <p style="margin-left:11%; margin-top: 1em">arguments:
189 expression <br>
190 | expression arguments</p>
191
192 <p style="margin-left:11%; margin-top: 1em">expression:
193 &rsquo;(&rsquo; expression &rsquo;)&rsquo; <br>
194 | expression &rsquo;.&rsquo; expression <br>
195 | &rsquo;!&rsquo; expression <br>
196 | expression &rsquo;%&rsquo; expression <br>
197 | expression &rsquo;+&rsquo; expression <br>
198 | expression &rsquo;-&rsquo; expression <br>
199 | expression &rsquo;*&rsquo; expression <br>
200 | expression &rsquo;/&rsquo; expression <br>
201 | expression &rsquo;&lt;&rsquo; expression <br>
202 | expression &rsquo;&gt;&rsquo; expression <br>
203 | expression &rsquo;||&rsquo; expression <br>
204 | expression BOR expression <br>
205 | expression &rsquo;&amp;&amp;&rsquo; expression <br>
206 | expression BAND expression <br>
207 | expression &rsquo;&gt;=&rsquo; expression <br>
208 | expression &rsquo;&lt;=&rsquo; expression <br>
209 | expression &rsquo;!=&rsquo; expression <br>
210 | expression &rsquo;==&rsquo; expression <br>
211 | expression &rsquo;=~&rsquo; expression <br>
212 | &rsquo;-&rsquo; expression <br>
213 | IDENTIFIER <br>
214 | INTEGER <br>
215 | QUOTED_FLOAT <br>
216 | UNQUOTED_FLOAT <br>
217 | STRING</p>
218
219 <p style="margin-left:11%; margin-top: 1em">A STRING can be
220 either a single quoted string or a double quoted string. A
221 floating point number can be either unquoted
222 (UNQUOTED_FLOAT) or quoted (QUOTED_FLOAT). A QUOTED_FLOAT is
223 a floating point number, either single (&quot;&rsquo;&quot;)
224 or double (&quot;&quot;&quot;) quoted. An INTEGER shall be
225 an unsigned integer number. An IDENTIFIER shall be one of
226 the valid fim commands (see <b>COMMANDS REFERENCE</b> ) or a
227 valid alias. A VARIABLE shall be an already declared or
228 undeclared variable identifier (see <b>VARIABLES
229 REFERENCE</b> ) or a valid alias, created using the
230 <b>alias</b> command. The &quot;=~&quot; operator treats the
231 right expression as a STRING, and uses it as a regular
232 expression for matching purposes. The SLASH_AND_REGEXP is a
233 slash (&quot;/&quot;) followed by a STRING, interpreted as a
234 regular expression. If &rsquo;INTEGER , INTEGER IDENTIFIER
235 arguments&rsquo; is encountered, command IDENTIFIER will be
236 repeated on each file in the interval between the two
237 INTEGERs, and substituting the given file name to any
238 &rsquo;{}&rsquo; found in the commands arguments (which must
239 be quoted in order to be treated as strings). See
240 <i>regex</i>(1) for regular expression syntax.</p>
241
242 <p style="margin-left:11%; margin-top: 1em">The way some
243 one-line statements are evaluated:</p>
244
245 <p style="margin-left:11%; margin-top: 1em">: enter command
246 line mode (here one can use readline bindings as C-r, C-s,
247 M-b, M-f, ...) <br>
248 :<i>{number}</i> jump to <i>{number}</i>^th image in the
249 list</p>
250
251 <table width="100%" border="0" rules="none" frame="void"
252 cellspacing="0" cellpadding="0">
253 <tr valign="top" align="left">
254 <td width="11%"></td>
255 <td width="-3%"></td>
256 <td width="7%">
257
258
259 <p>:^</p></td>
260 <td width="85%">
261
262
263 <p>jump to first image in the list</p></td></tr>
264 <tr valign="top" align="left">
265 <td width="11%"></td>
266 <td width="-3%"></td>
267 <td width="7%">
268
269
270 <p>:$</p></td>
271 <td width="85%">
272
273
274 <p>jump to last image in the list</p></td></tr>
275 </table>
276
277 <p style="margin-left:11%;">:*<i>{factor}</i> scale the
278 image by <i>{factor}</i> <br>
279 :<i>{scale}</i>% scale the image to the desired
280 <i>{scale}</i> <br>
281 :+<i>{scale}</i>% scale the image up to the desired
282 percentage <i>{scale}</i> (relatively to the original) <br>
283 :-<i>{scale}</i>% scale the image down to the desired
284 percentage <i>{scale}</i> (relatively to the original)</p>
285
286 <table width="100%" border="0" rules="none" frame="void"
287 cellspacing="0" cellpadding="0">
288 <tr valign="top" align="left">
289 <td width="11%"></td>
290 <td width="-3%"></td>
291 <td width="7%">
292
293
294 <p>/<i>{regexp}</i></p></td>
295 <td width="8%"></td>
296 <td width="8%">
297 </td>
298 <td width="7%">
299
300
301 <p>entering the pattern <i>{regexp}</i> (with
302 &rsquo;/&rsquo;) makes fim jump to the next image whose
303 filename matches <i>{regexp}</i></p></td>
304 <td width="62%">
305 </td></tr>
306 <tr valign="top" align="left">
307 <td width="11%"></td>
308 <td width="-3%"></td>
309 <td width="7%">
310
311
312 <p>/*.png$</p></td>
313 <td width="8%"></td>
314 <td width="8%">
315 </td>
316 <td width="7%">
317
318
319 <p>entering this pattern (with &rsquo;/&rsquo;) makes fim
320 jump to the next image whose filename ends with
321 &rsquo;png&rsquo;</p> </td>
322 <td width="62%">
323 </td></tr>
324 <tr valign="top" align="left">
325 <td width="11%"></td>
326 <td width="-3%"></td>
327 <td width="7%">
328
329
330 <p>/png</p></td>
331 <td width="8%">
332 </td>
333 <td width="8%">
334
335
336 <p>a shortcut for &rsquo;/.*png.*&rsquo;</p></td>
337 <td width="7%"></td>
338 <td width="62%">
339 </td></tr>
340 <tr valign="top" align="left">
341 <td width="11%"></td>
342 <td width="-3%"></td>
343 <td width="7%">
344
345
346 <p>2,4 stdout &rsquo;{}&rsquo;</p></td>
347 <td width="8%"></td>
348 <td width="8%"></td>
349 <td width="7%"></td>
350 <td width="62%">
351
352
353 <p>print three filenames to standard output.</p></td></tr>
354 <tr valign="top" align="left">
355 <td width="11%"></td>
356 <td width="-3%"></td>
357 <td width="7%">
358
359
360 <p>!<i>{syscmd}</i></p></td>
361 <td width="8%"></td>
362 <td width="8%">
363 </td>
364 <td width="7%">
365
366
367 <p>executes the <i>{syscmd}</i> quoted string as an
368 argument to the &quot;system&quot; fim command.</p></td>
369 <td width="62%">
370 </td></tr>
371 </table>
372
373 <h2>COMMANDS REFERENCE
374 <a name="COMMANDS REFERENCE"></a>
375 </h2>
376
377
378 <p style="margin-left:11%; margin-top: 1em"><b>alias</b>
379 <br>
380 alias [<i>{identifier}</i> [<i>{commands}</i>
381 [<i>{description}</i>]]] <br>
382 Without arguments, lists the current aliases. <br>
383 With one, shows an identifier&rsquo;s assigned command. <br>
384 With two, assigns to an identifier a user defined command or
385 sequence of commands. <br>
386 With three, also assigns a help string.</p>
387
388 <p style="margin-left:11%; margin-top: 1em"><b>align</b>
389 <br>
390 align
391 [&rsquo;bottom&rsquo;|&rsquo;top&rsquo;|&rsquo;left&rsquo;|right&rsquo;]:
392 if image larger than drawing area, align one side of the
393 image to the border. <br>
394 align &rsquo;center&rsquo;: align equally far from all
395 sides. <br>
396 align &rsquo;info&rsquo;: print internal alignment
397 information.</p>
398
399 <p style="margin-left:11%; margin-top: 1em"><b>autocmd</b>
400 <br>
401 autocmd <i>{event} {pattern} {commands}</i>: manipulate
402 autocommands (inspired from Vim autocmd&rsquo;s). <br>
403 Without arguments, list autocommands. <br>
404 With arguments, specifies for which type of event and which
405 current file open, which commands to execute. <br>
406 See the default built-in configuration files for
407 examples.</p>
408
409
410 <p style="margin-left:11%; margin-top: 1em"><b>autocmd_del</b>
411 <br>
412 autocmd_del: specify autocommands to delete. <br>
413 Usage: autocmd_del <i>{event} {pattern} {commands}</i>.</p>
414
415
416 <p style="margin-left:11%; margin-top: 1em"><b>basename</b>
417 <br>
418 basename <i>{filename}</i>: returns the basename of
419 <i>{filename}</i> in the &rsquo;_last_cmd_output&rsquo;
420 variable.</p>
421
422 <p style="margin-left:11%; margin-top: 1em"><b>bind</b>
423 <br>
424 bind [<i>{keysym}</i> [<i>{commands}</i>
425 [<i>{description}</i>]]]: bind a key <i>{keysym}</i> to
426 <i>{commands}</i>. <br>
427 Optional <i>{description}</i> specifies a documentation
428 string. <br>
429 If <i>{keysym}</i> is at least two characters long and
430 begins with 0 (zero), the integer number after the 0 will be
431 treated as a raw keycode to bind the specified
432 <i>{keysym}</i> to. <br>
433 Use the &rsquo;_verbose_keys&rsquo; variable to discover
434 (display device dependent) raw keys. <br>
435 Key binding is dynamical, so you can bind keys even during
436 program&rsquo;s execution. <br>
437 You can get a list of valid symbols (keysyms) by invoking
438 dump_key_codes or in the man page.</p>
439
440 <p style="margin-left:11%; margin-top: 1em"><b>cd</b> <br>
441 cd <i>{path}</i>: change the current directory to
442 <i>{path}</i>. <br>
443 If <i>{path}</i> is a file, use its base directory name.
444 <br>
445 cd &rsquo;-&rsquo; changes to the previous current directory
446 (before the last &rsquo;:cd <i>{path}</i>&rsquo;
447 command).</p>
448
449 <p style="margin-left:11%; margin-top: 1em"><b>clear</b>
450 <br>
451 clear: clear the virtual console.</p>
452
453
454 <p style="margin-left:11%; margin-top: 1em"><b>commands</b>
455 <br>
456 commands: display the existing commands.</p>
457
458 <p style="margin-left:11%; margin-top: 1em"><b>color</b>
459 <br>
460 color [&rsquo;desaturate&rsquo;]: desaturate the displayed
461 image colors. <br>
462 color [&rsquo;negate&rsquo;]: negate the displayed image
463 colors. <br>
464 color
465 [&rsquo;colorblind&rsquo;|&rsquo;c&rsquo;|&rsquo;deuteranopia&rsquo;|&rsquo;d&rsquo;]:
466 simulate a form of the deuteranopia color vision deficiency
467 (cvd). <br>
468 color [&rsquo;protanopia&rsquo;|&rsquo;p&rsquo;]: simulate a
469 form of the protanopia cvd. <br>
470 color [&rsquo;tritanopia&rsquo;|&rsquo;t&rsquo;]: simulate a
471 form of the tritanopia cvd. <br>
472 color [&rsquo;daltonize&rsquo;|&rsquo;D&rsquo;]: if
473 following a cvd specification, attempts correcting it. <br>
474 color [&rsquo;identity&rsquo;]: populate the image with
475 &rsquo;RGB identity&rsquo; pixels. <br>
476 To get back the original, you have to reload the image.</p>
477
478 <p style="margin-left:11%; margin-top: 1em"><b>crop</b>
479 <br>
480 crop: crop image to a centered rectangle, half the width and
481 half the height. <br>
482 crop <i>{p}</i>: crop image to the middle <i>{p}</i>
483 horizontal percent and <i>{p}</i> vertical percent of the
484 image. <br>
485 crop <i>{w} {h}</i>: crop image to the middle <i>{w}</i>
486 horizontal percent and <i>{h}</i> vertical percent of the
487 image. <br>
488 crop <i>{x1} {y1} {x2} {y2}</i>: crop image to the area
489 between the upper left (<i>{x1}</i>,<i>{y1}</i>) and lower
490 right (<i>{x2}</i>,<i>{y2}</i>) corner. <br>
491 Units are intended as percentage (0 to 100). <br>
492 Note: still experimental functionality.</p>
493
494 <p style="margin-left:11%; margin-top: 1em"><b>desc</b>
495 <br>
496 desc &rsquo;load&rsquo; <i>{filename}</i>
497 [<i>{sepchar}</i>]: load description file <i>{filename}</i>,
498 using the optional <i>{sepchar}</i> character as separator.
499 <br>
500 desc &rsquo;reload&rsquo;: load once again description files
501 specified at the command line with
502 --load-image-descriptions-file, with respective separators.
503 <br>
504 desc [&rsquo;-all&rsquo;] [&rsquo;-append&rsquo;]
505 [&rsquo;-nooverw&rsquo;] &rsquo;save&rsquo;
506 <i>{filename}</i> [<i>{sepchar}</i>]: save current list
507 descriptions to file <i>{filename}</i>, using the optional
508 <i>{sepchar}</i> character as separator, and if
509 &rsquo;-all&rsquo; is present then save the variables, and
510 if &rsquo;-append&rsquo; is present then only append, and if
511 &rsquo;-nooverw&rsquo; is present then do not overwrite
512 existing files. <br>
513 See documentation of --load-image-descriptions-file for the
514 format of <i>{filename}</i>.</p>
515
516 <p style="margin-left:11%; margin-top: 1em"><b>display</b>
517 <br>
518 display [&rsquo;reinit&rsquo; <i>{string}</i> |
519 &rsquo;resize&rsquo; <i>{w} {h}</i> | [&rsquo;menuadd&rsquo;
520 <i>{menuspec}</i>|&rsquo;menudel&rsquo;|&rsquo;v&rsquo;|&rsquo;V&rsquo;]
521 ]: display the current file contents or change display
522 settings. <br>
523 If &rsquo;reinit&rsquo; switch is supplied, the
524 <i>{string}</i> specifier is used to reinitialize the
525 display device parameters like e.g. resolution, window
526 system options; see the --output-device command line switch
527 for allowed values. <br>
528 If &rsquo;resize&rsquo; and no argument, ask the window
529 manager to resize the window like the image. <br>
530 If &rsquo;resize&rsquo; and two arguments, these are used to
531 reset width and height of the current window. <br>
532 In the &rsquo;menuadd&rsquo; case, use <i>{menuspec}</i> as
533 GTK window menu specification. This specification string
534 argument can be repeated. Each argument has form M/S. M is a
535 slash-separated submenu location, with optional
536 &rsquo;_&rsquo; (underscore) before a GTK accelerator
537 character (e.g. &quot;File&quot;, &quot;_File&quot;,
538 &quot;View/Scale&quot;, &quot;_View/Scale&quot;). M cannot
539 be empty and must be followed by a &rsquo;/&rsquo;. S can
540 specify a simple entry, a toggle entry, or radio buttons. If
541 a simple entry, it consists of one to three sections
542 separated by &quot; &quot; (two spaces). If M begins with
543 two non-alphanumeric symbols, these will be used as
544 separators, instead of the two spaces. The first section is
545 the name of the menu entry (a label), the second is a
546 command specification, the third is a shortcut character.
547 The following labels are special and if followed by
548 &rsquo;/&rsquo;, they create custom menus: FimMenuLimit
549 (pre-categorized &quot;limit&quot;-based commands based on
550 actual &quot;desc&quot; command data), FimMenuCommands (with
551 commands), FimMenuAliases (with aliases), FimMenuKeyBindings
552 (with bindings), FimMenuVariables (with variables&rsquo;
553 values), FimMenuCommandsHelp (commands help),
554 FimMenuAliasesHelp (aliases help), FimMenuKeyBindingsHelp
555 (bindings help), FimMenuVariablesHelp (variables&rsquo;
556 help). A toggle button specification can take the form
557 &rsquo;toggle__&rsquo;<i>{identifier}</i>&rsquo;__&rsquo;<i>{value}</i>&rsquo;__&rsquo;<i>{value}</i>
558 and starts the toggle button with the second <i>{value}</i>
559 (which has to be different). Actually, between
560 &rsquo;toggle&rsquo; and the second value, instead of
561 &rsquo;__&rsquo; you can use any two same punctuation signs
562 or Tab characters consistently. E.g. &quot;menu/label
563 toggle___v__1__2 &quot; or &quot;menu/label toggle::_v::1::2
564 &quot; are ok, but &quot;menu/label toggle___v__1__1 &quot;
565 or &quot;menu/label toggle___v::1::2 &quot; are not. A radio
566 buttons specification has as many sections as radio buttons,
567 separated internally by double spaces, and consisting each
568 by a string, two spaces, an assignment
569 <i>{identifier}</i>=<i>{value}</i> (notice no quotes are
570 necessary around <i>{value}</i>, and repetitions are
571 illegal), two spaces, and an optional accelerator character
572 (e.g. &quot;m/first: v=1 a second: v=2 b third: v=3 c&quot;
573 is ok, but &quot;m/first: v=1 a second: v=2 b third: v=2
574 c&quot; is not). <br>
575 Option &rsquo;menudel&rsquo; removes all menus. <br>
576 Note: &rsquo;menuadd&rsquo; and &rsquo;menudel&rsquo; are
577 only valid for the <b>gtk</b> mode and are experimental. In
578 particular, currently there are limitations on which
579 characters are allowed in menu command specifications; the
580 recommended workaround is to use aliases. <br>
581 Experimental option &rsquo;v&rsquo; increases internal
582 verbosity for some graphical outputs; experimental option
583 &rsquo;V&rsquo; decreases it. <br>
584 See also the &rsquo;_debug_commands&rsquo; variable.</p>
585
586
587 <p style="margin-left:11%; margin-top: 1em"><b>dump_key_codes</b>
588 <br>
589 dump_key_codes: dump the active key codes (unescaped, for
590 inspection purposes).</p>
591
592 <p style="margin-left:11%; margin-top: 1em"><b>echo</b>
593 <br>
594 echo <i>{args}</i>: print the <i>{args}</i> on console.</p>
595
596 <p style="margin-left:11%; margin-top: 1em"><b>else</b>
597 <br>
598
599 if(<i>expression</i>){<i>action</i>;}[&rsquo;else&rsquo;{<i>action</i>;}]:
600 see if.</p>
601
602 <p style="margin-left:11%; margin-top: 1em"><b>eval</b>
603 <br>
604 eval <i>{args}</i>: evaluate <i>{args}</i> as commands,
605 executing them.</p>
606
607 <p style="margin-left:11%; margin-top: 1em"><b>exec</b>
608 <br>
609 exec <i>{filename(s)}</i>: execute script
610 <i>{filename(s)}</i>.</p>
611
612 <p style="margin-left:11%; margin-top: 1em"><b>font</b>
613 <br>
614 font &rsquo;scan&rsquo; [<i>{dirname}</i>]: scan
615 <i>{dirname}</i> or /usr/share/consolefonts looking for
616 fonts in the internal fonts list. <br>
617 font &rsquo;load&rsquo; <i>{filename}</i>: load font
618 <i>{filename}</i>. <br>
619 font {&rsquo;next&rsquo;|&rsquo;prev&rsquo;}: load next or
620 previous font from the internal fonts list. <br>
621 font &rsquo;info&rsquo;: print current font filename.</p>
622
623 <p style="margin-left:11%; margin-top: 1em"><b>getenv</b>
624 <br>
625 getenv <i>{identifier}</i>: create a variable with the same
626 value as the &rsquo;<i>{identifier}</i>&rsquo; environment
627 variable, but with an identifier prefixed by
628 &rsquo;ENV_&rsquo;. So e.g. getenv &rsquo;DISPLAY&rsquo;
629 creates &rsquo;ENV_DISPLAY&rsquo;. Nothing is being printed;
630 no variable is created if <i>{identifier}</i> is empty.</p>
631
632 <p style="margin-left:11%; margin-top: 1em"><b>goto</b>
633 <br>
634 goto
635 {[&rsquo;+&rsquo;|&rsquo;-&rsquo;]<i>{number}</i>[&rsquo;%&rsquo;][&rsquo;f&rsquo;|&rsquo;p&rsquo;|&rsquo;F&rsquo;|&rsquo;P&rsquo;]}+
636 | {/<i>{regexp}</i>/} | {?<i>{filename}</i>} |
637 {&rsquo;+//&rsquo;} |
638 {&rsquo;+/&rsquo;|&rsquo;-/&rsquo;}[<i>C</i>] |
639 {{&rsquo;+&rsquo;|&rsquo;-&rsquo;}<i>{identifier}</i>[&rsquo;+&rsquo;]}:
640 jump to an image. <br>
641 If <i>{number}</i> is given, and not surrounded by any
642 specifier, go to image at index <i>{number}</i>. <br>
643 If followed by &rsquo;%&rsquo;, the effective index is
644 computed as a percentage to the current available images.
645 <br>
646 If prepended by &rsquo;-&rsquo; or &rsquo;+&rsquo;, the jump
647 is relative to the current index. <br>
648 The &rsquo;f&rsquo; specifier asks for the jump to occur
649 within the files (same for &rsquo;F&rsquo;, but accelerates
650 if keep pressing). <br>
651 The &rsquo;p&rsquo; specifier asks for the jump to occur in
652 terms of pages, within the current file (same for
653 &rsquo;P&rsquo;, but accelerates if keep pressing). <br>
654 If there&rsquo;s only one file in the list and no
655 &rsquo;f&rsquo; specified, a &rsquo;p&rsquo; will be
656 implied, for a page jump. <br>
657 The above form can be concatenated several times, but only
658 the last occurrence of either file or page goto will be
659 effective. <br>
660 If /<i>{regexp}</i>/ is given, jump to the first image
661 matching the given /<i>{regexp}</i>/ regular expression
662 pattern. <br>
663 If the argument starts with ?, jump to the filename
664 following ?. <br>
665 If given &rsquo;+//&rsquo;, jump to the first different
666 image matching the last given regular expression pattern.
667 <br>
668 With &rsquo;+/&rsquo;<i>C</i> or &rsquo;-/&rsquo;<i>C</i>,
669 jump to the next or the previous file according to <i>C</i>:
670 if &rsquo;s&rsquo; if same directory, if &rsquo;d&rsquo; if
671 down the directory hierarchy, if &rsquo;u&rsquo; if down the
672 directory hierarchy, if &rsquo;b&rsquo; if same basename, if
673 upper case match is negative, if missing defaults to
674 &rsquo;S&rsquo; (jump to file in different dir). <br>
675 If <i>{identifier|identifier2...}]</i> is encountered after
676 a &rsquo;+&rsquo; or &rsquo;-&rsquo; sign, jump to the next
677 or the previous image having a different value for any
678 corresponding i:<i>{identifier}</i> (a trailing
679 &rsquo;+&rsquo; requires a non empty value). <br>
680 Matching can occur on both file name and description,
681 possibly loaded via desc or --load-image-descriptions-file;
682 see also &rsquo;_lastgotodirection&rsquo; and
683 &rsquo;_re_search_opts&rsquo;. <br>
684 You can specify multiple arguments to goto: those after the
685 first one triggering a jump are ignored. <br>
686 Executes autocommands for events PreGoto and PostGoto.
687 Keeping pressed shall accelerate images browsing.</p>
688
689 <p style="margin-left:11%; margin-top: 1em"><b>help</b>
690 <br>
691 help [<i>{identifier}</i>]: provide online help, assuming
692 <i>{identifier}</i> is a variable, alias, or command
693 identifier. <br>
694 If <i>{identifier}</i> begins with &rsquo;/&rsquo;, search
695 on the help contents, and show a list of matching items.
696 <br>
697 A list of commands can be obtained simply invoking
698 &rsquo;commands&rsquo;; a list of aliases with
699 &rsquo;alias&rsquo;; a list of bindings with
700 &rsquo;bind&rsquo;; a list of variables with
701 &rsquo;variables&rsquo;.</p>
702
703 <p style="margin-left:11%; margin-top: 1em"><b>if</b> <br>
704
705 if(<i>expression</i>){<i>action</i>;}[&rsquo;else&rsquo;{<i>action</i>;}]:
706 see &rsquo;else&rsquo;.</p>
707
708 <p style="margin-left:11%; margin-top: 1em"><b>info</b>
709 <br>
710 info: display information about the current file.</p>
711
712 <p style="margin-left:11%; margin-top: 1em"><b>limit</b>
713 <br>
714 limit {&rsquo;-list&rsquo;|&rsquo;-listall&rsquo;}
715 &rsquo;variable&rsquo;|[&rsquo;-further&rsquo;|&rsquo;-merge&rsquo;|&rsquo;-subtract&rsquo;]
716 [{<i>expression</i>} |{<i>variable</i>} <i>{value}</i>]: A
717 browsable file list filtering function (like limiting in the
718 &rsquo;mutt&rsquo; program). Uses information loaded via
719 --load-image-descriptions-file. <br>
720 If invoked with &rsquo;-list&rsquo;/&rsquo;-listall&rsquo;
721 only, will list the current description variable ids. <br>
722 If invoked with &rsquo;-list&rsquo;/&rsquo;-listall&rsquo;
723 &rsquo;id&rsquo;, will list set values for the variable
724 &rsquo;id&rsquo;. <br>
725 If &rsquo;-further&rsquo; is present, will start with the
726 current list; if not, with the full list. <br>
727 If &rsquo;-merge&rsquo; is present, new matches will be
728 merged in the existing list and sorted. <br>
729 If &rsquo;-subtract&rsquo; is present, sort and filter out
730 matches. <br>
731 If {<i>variable</i>} and {value} are provided, limit to
732 files having property {<i>variable</i>} set to
733 <i>{value}</i>. <br>
734 If {<i>expression</i>} is one exclamation point
735 (&rsquo;!&rsquo;), will limit to the currently marked files
736 only. <br>
737 If {<i>expression</i>} is &rsquo;~!&rsquo; will limit to
738 files with unique basename. <br>
739 if &rsquo;~=&rsquo;, to files with duplicate basename. <br>
740 if &rsquo;~^&rsquo;, to the first of the files with
741 duplicate basename. <br>
742 if &rsquo;~$&rsquo;, to the last of the files with duplicate
743 basename. <br>
744 On &rsquo;~i&rsquo; [<i>MINIDX</i>][-][<i>MAXIDX</i>], (each
745 a number possibly followed by a multiplier &rsquo;K&rsquo;)
746 will limit on filenames in position <i>MINIDX</i> to
747 <i>MAXIDX</i>. <br>
748 On &rsquo;~z&rsquo; will limit to files having the current
749 file&rsquo;s size. <br>
750 on &rsquo;~z&rsquo; [<i>MINSIZE</i>][-][<i>MAXSIZE</i>],
751 (each a number possibly followed by a multiplier among
752 &rsquo;k&rsquo;,&rsquo;K&rsquo;,&rsquo;m&rsquo;,&rsquo;M&rsquo;)
753 will limit on filesize within these limits. <br>
754 on &rsquo;~d&rsquo; will limit to files having the current
755 file&rsquo;s date +- one day. <br>
756 on &rsquo;~d&rsquo; [<i>MINTIME</i>][-][<i>MAXTIME</i>],
757 (each the count of seconds since the Epoch (First of Jan. of
758 1970) or a date as <i>DD</i>/<i>MM</i>/<i>YYYY</i>) will
759 limit on file time (struct stat&rsquo;s
760 &rsquo;st_mtime&rsquo;, in seconds) within this interval.
761 <br>
762 For other values of {<i>expression</i>}, limit to files
763 whose description string matches {<i>expression</i>}. <br>
764 Invoked with no arguments, the original browsable files list
765 is restored.</p>
766
767 <p style="margin-left:11%; margin-top: 1em"><b>list</b>
768 <br>
769 list: display the files list. <br>
770 list &rsquo;random_shuffle&rsquo;: randomly shuffle the file
771 list. <br>
772 list &rsquo;reverse&rsquo;: reverse the file list. <br>
773 list &rsquo;clear&rsquo;: clear the file list. <br>
774 list &rsquo;sort&rsquo;: sort the file list. <br>
775 list &rsquo;sort_basename&rsquo;: sort the file list
776 according to base name. <br>
777 list &rsquo;sort_comment&rsquo;: sort the file list
778 according to the value of the _comment variable. <br>
779 list &rsquo;sort_var&rsquo; <i>{var}</i>: sort the file list
780 according to the value of the i:<i>{var}</i> variable. <br>
781 list &rsquo;vars&rsquo;|&rsquo;variables&rsquo;: list
782 variables in all i:* read from description file. <br>
783 list &rsquo;sort_fsize&rsquo;: sort the file list according
784 to file size. <br>
785 list &rsquo;sort_mtime&rsquo;: sort the file list according
786 to modification date. <br>
787 list &rsquo;pop&rsquo;: remove the current file from the
788 files list, and step back. <br>
789 list &rsquo;remove&rsquo; [<i>{filename(s)}</i>]: remove the
790 current file, or the <i>{filename(s)}</i>, if specified.
791 <br>
792 list &rsquo;push&rsquo; <i>{filename(s)}</i>: push
793 <i>{filename(s)}</i> to the back of the files list. <br>
794 list &rsquo;filesnum&rsquo;: display the number of files in
795 the files list. <br>
796 list &rsquo;mark&rsquo; [<i>{args}</i>]: mark image file
797 names for stdout printing at exit, with <i>{args}</i> mark
798 the ones matching according to the rules of the
799 &rsquo;limit&rsquo; command, otherwise the current file.
800 <br>
801 list &rsquo;unmark&rsquo; [<i>{args}</i>]: unmark marked
802 image file names, with <i>{args}</i> unmark the ones
803 matching according to the rules of the &rsquo;limit&rsquo;
804 command, otherwise the current file. <br>
805 list &rsquo;marked&rsquo;: show which files have been marked
806 so far. <br>
807 list &rsquo;dumpmarked&rsquo;: dump to stdout the marked
808 files (you usually want to &rsquo;unmarkall&rsquo;
809 afterwards). <br>
810 list &rsquo;markall&rsquo;: mark all the current list files.
811 <br>
812 list &rsquo;unmarkall&rsquo;: unmark all the marked files.
813 <br>
814 list &rsquo;pushdir&rsquo; <i>{dirname}</i>: push all the
815 files in <i>{dirname}</i>, when matching the regular
816 expression in variable _pushdir_re or, if empty, from
817 constant regular expression
818 &rsquo;.(JPG|PNG|GIF|BMP|TIFF|TIF|JPEG|JFIF|PPM|PGM|PBM|PCX|QOI|AVIF|WEBP)$&rsquo;.
819 <br>
820 list &rsquo;pushdirr&rsquo; <i>{dirname}</i>: like pushdir,
821 but also push encountered directory entries recursively.
822 <br>
823 list &rsquo;swap&rsquo;: move the current image filename to
824 the first in the list (you&rsquo;ll have to invoke reload to
825 see the effect). <br>
826 Of the above commands, several are temporarily not available
827 for the duration of a background load (enabled by
828 --background-recursive), which lasts until
829 _loading_in_background is 0.</p>
830
831 <p style="margin-left:11%; margin-top: 1em"><b>load</b>
832 <br>
833 load: load the image, if not yet loaded (see also
834 &rsquo;reload&rsquo;). <br>
835 Executes autocommands for events PreLoad and PostLoad.</p>
836
837 <p style="margin-left:11%; margin-top: 1em"><b>pan</b> <br>
838 pan <i>{vsteps}</i>% <i>{hsteps}</i>%: pan the image to
839 <i>{vsteps}</i> percentage steps from the top and
840 <i>{hsteps}</i> percentage steps from left. <br>
841 pan <i>{vsteps} {hsteps}</i>: pan the image to
842 <i>{vsteps}</i> pixels from the top and <i>{hsteps}</i>
843 pixels from left. <br>
844 pan
845 {&rsquo;down&rsquo;|&rsquo;up&rsquo;|&rsquo;left&rsquo;|&rsquo;right&rsquo;|&rsquo;ne&rsquo;|&rsquo;nw&rsquo;|&rsquo;se&rsquo;|&rsquo;sw&rsquo;}[+-]
846 [<i>{steps}</i>[&rsquo;%&rsquo;]]: pan the image
847 <i>{steps}</i> pixels in the desired direction. <br>
848 If the &rsquo;%&rsquo; specifier is present, <i>{steps}</i>
849 is treated as a percentage of current screen dimensions.
850 <br>
851 If <i>{steps}</i> is not specified, the &rsquo;_steps&rsquo;
852 variable is used. <br>
853 If present, the &rsquo;_hsteps&rsquo; variable is considered
854 for horizontal panning. <br>
855 A &rsquo;+&rsquo; (or &rsquo;-&rsquo;) sign at the end of
856 the first argument jumps to next (or previous) if border is
857 reached. <br>
858 If present, the &rsquo;_vsteps&rsquo; variable is considered
859 for vertical panning. <br>
860 The variables may be terminated by the &rsquo;%&rsquo;
861 specifier. <br>
862 Executes autocommands for events PrePan and PostPan.</p>
863
864 <p style="margin-left:11%; margin-top: 1em"><b>popen</b>
865 <br>
866 popen <i>{syscmd}</i>: pipe a command, invoking popen():
867 spawns a shell, invoking &rsquo;<i>{syscmd}</i>&rsquo; and
868 executing as fim commands the output of
869 &rsquo;<i>{syscmd}</i>&rsquo;. Can be disabled at configure
870 time with --disable-system.</p>
871
872 <p style="margin-left:11%; margin-top: 1em"><b>pread</b>
873 <br>
874 pread <i>{args}</i>: execute <i>{args}</i> as a shell
875 command and read the output as an image file (using
876 &rsquo;popen&rsquo;). Can be disabled at configure time with
877 --disable-system.</p>
878
879
880 <p style="margin-left:11%; margin-top: 1em"><b>prefetch</b>
881 <br>
882 prefetch: prefetch (read into the cache) the two nearby
883 image files (next and previous), for a faster subsequent
884 opening. <br>
885 Executes autocommands for events PrePrefetch and
886 PostPrefetch. <br>
887 See also the &rsquo;_want_prefetch&rsquo; variable.</p>
888
889 <p style="margin-left:11%; margin-top: 1em"><b>pwd</b> <br>
890 pwd: print the current directory name, and updates the
891 &rsquo;_pwd&rsquo; variable.</p>
892
893 <p style="margin-left:11%; margin-top: 1em"><b>quit</b>
894 <br>
895 quit [<i>{number}</i>]: terminate the program. <br>
896 If <i>{number}</i> is specified, use it as the program
897 return status. <br>
898 Note that autocommand &rsquo;PostInteractiveCommand&rsquo;
899 does not trigger after this command.</p>
900
901
902 <p style="margin-left:11%; margin-top: 1em"><b>recording</b>
903 <br>
904 recording &rsquo;start&rsquo;: start recording the executed
905 commands. <br>
906 recording &rsquo;stop&rsquo;: stop recording the executed
907 commands. <br>
908 recording &rsquo;dump&rsquo;: dump in the console the record
909 buffer. <br>
910 recording &rsquo;execute&rsquo;: execute the record buffer.
911 <br>
912 recording &rsquo;repeat_last&rsquo;: repeat the last
913 performed action.</p>
914
915
916 <p style="margin-left:11%; margin-top: 1em"><b>redisplay</b>
917 <br>
918 redisplay: re-display the current file contents.</p>
919
920 <p style="margin-left:11%; margin-top: 1em"><b>reload</b>
921 <br>
922 reload [<i>{arg}</i>]: load the image into memory. <br>
923 If <i>{arg}</i> is present, force reloading, bypassing the
924 cache (see also &rsquo;load&rsquo;). <br>
925 Executes autocommands for events PreReload and
926 PostReload.</p>
927
928 <p style="margin-left:11%; margin-top: 1em"><b>rotate</b>
929 <br>
930 rotate <i>{number}</i>: rotate the image the specified
931 amount of degrees. If unspecified, by one. If you are
932 interested in orthogonal rotations, see
933 &rsquo;_orientation&rsquo; and related aliases. <br>
934 Executes autocommands for events PreScale and PostScale.</p>
935
936 <p style="margin-left:11%; margin-top: 1em"><b>scale</b>
937 <br>
938 scale
939 {[&rsquo;+&rsquo;|&rsquo;-&rsquo;]<i>{value}</i>[&rsquo;%&rsquo;]|&rsquo;*&rsquo;<i>{value}</i>|&rsquo;w&rsquo;|&rsquo;h&rsquo;|&rsquo;a&rsquo;|&rsquo;b&rsquo;|&rsquo;+[+-*/]&rsquo;|[&rsquo;&lt;&rsquo;|&rsquo;&gt;&rsquo;]|&rsquo;shadow&rsquo;}:
940 scale the image according to a scale <i>{value}</i> (e.g.:
941 0.5,40%,&rsquo;w&rsquo;,&rsquo;h&rsquo;,&rsquo;a&rsquo;,&rsquo;b&rsquo;).
942 <br>
943 If given &rsquo;*&rsquo; and a value, multiply the current
944 scale by that value. <br>
945 If given &rsquo;w&rsquo;, scale according to the screen
946 width. <br>
947 If given &rsquo;h&rsquo;, scale to the screen height. <br>
948 If given &rsquo;a&rsquo;, to the minimum of &rsquo;w&rsquo;
949 and &rsquo;h&rsquo;. <br>
950 If given &rsquo;b&rsquo;, like &rsquo;a&rsquo;, provided
951 that the image width exceeds &rsquo;w&rsquo; or
952 &rsquo;h&rsquo;. <br>
953 If <i>{value}</i> is a number, scale relatively to the
954 original image width. <br>
955 If the number is followed by &rsquo;%&rsquo;, the relative
956 scale is treated as a percentage. <br>
957 If given &rsquo;++&rsquo;(&rsquo;+-&rsquo;), increment
958 (decrement) the &rsquo;_magnify_factor&rsquo;,
959 &rsquo;_reduce_factor&rsquo; variables by
960 &rsquo;_scale_factor_delta&rsquo;. <br>
961 If given &rsquo;+*&rsquo;(&rsquo;+/&rsquo;), multiply
962 (divide) the &rsquo;_magnify_factor&rsquo;,
963 &rsquo;_reduce_factor&rsquo; variables by
964 &rsquo;_scale_factor_multiplier&rsquo;. <br>
965 If given &rsquo;&lt;&rsquo; (or &rsquo;&gt;&rsquo;), shrink
966 (or magnify) image using nearest mipmap (cached pre-scaled
967 version). If given &rsquo;shadow&rsquo; as a parameter,
968 search a same-named file in one of the directories specified
969 to --load-shadow-dir. <br>
970 Executes autocommands for events PreScale and PostScale.</p>
971
972 <p style="margin-left:11%; margin-top: 1em"><b>scroll</b>
973 <br>
974 scroll: scroll down the image, going next when hitting the
975 bottom. <br>
976 scroll &rsquo;forward&rsquo;: scroll the image as we were
977 reading left to right (see
978 &rsquo;_scroll_skip_page_fraction&rsquo; variable). <br>
979 Executes autocommands for events PrePan and PostPan.</p>
980
981 <p style="margin-left:11%; margin-top: 1em"><b>set</b> <br>
982 set: returns a list of variables which are set. <br>
983 set <i>{identifier}</i>: returns the value of variable
984 <i>{identifier}</i>. <br>
985 set <i>{identifier} {value}</i>: sets variable
986 <i>{identifier}</i> to value <i>{value}</i>.</p>
987
988
989 <p style="margin-left:11%; margin-top: 1em"><b>set_commandline_mode</b>
990 <br>
991 set_commandline_mode: set console mode. Note that the mode
992 will change only after the current block of commands is
993 evaluated.</p>
994
995
996 <p style="margin-left:11%; margin-top: 1em"><b>set_interactive_mode</b>
997 <br>
998 set_interactive_mode: set interactive mode. Note that the
999 mode will change only after the current block of commands is
1000 evaluated.</p>
1001
1002 <p style="margin-left:11%; margin-top: 1em"><b>sleep</b>
1003 <br>
1004 sleep [<i>{number}</i>]: sleep for the specified number of
1005 seconds (or 1, if unspecified).</p>
1006
1007 <p style="margin-left:11%; margin-top: 1em"><b>status</b>
1008 <br>
1009 status: set the status line to the collation of the given
1010 arguments.</p>
1011
1012 <p style="margin-left:11%; margin-top: 1em"><b>stderr</b>
1013 <br>
1014 stderr <i>{args}</i>: writes to stderr its arguments
1015 <i>{args}</i>.</p>
1016
1017 <p style="margin-left:11%; margin-top: 1em"><b>stdout</b>
1018 <br>
1019 stdout <i>{args}</i>: writes to stdout its arguments
1020 <i>{args}</i>.</p>
1021
1022 <p style="margin-left:11%; margin-top: 1em"><b>system</b>
1023 <br>
1024 system <i>{syscmd}</i>: get the output of executing the
1025 <i>{syscmd}</i> system command. Uses the popen() system
1026 call. Usually popen invokes &quot;/bin/sh -c
1027 <i>{syscmd}</i>&quot;. This might not handle a multi-word
1028 command; in that case you have to put it into a script. See
1029 &rsquo;man popen&rsquo; for more. Can be disabled at
1030 configure time with --disable-system.</p>
1031
1032
1033 <p style="margin-left:11%; margin-top: 1em"><b>variables</b>
1034 <br>
1035 variables: display the existing variables.</p>
1036
1037 <p style="margin-left:11%; margin-top: 1em"><b>unalias</b>
1038 <br>
1039 unalias <i>{identifier}</i> | &rsquo;-a&rsquo;: delete the
1040 alias <i>{identifier}</i> or all aliases (use
1041 &rsquo;-a&rsquo;, not -a).</p>
1042
1043 <p style="margin-left:11%; margin-top: 1em"><b>unbind</b>
1044 <br>
1045 unbind <i>{keysym}</i>: unbind the action associated to a
1046 specified <i>{keysym}</i> <br>
1047 If <i>{keysym}</i> is at least two characters long and
1048 begins with 0 (zero), the integer number after the 0 will be
1049 treated as a raw keycode to bind the specified
1050 <i>{keysym}</i> to. <br>
1051 Use the &rsquo;_verbose_keys&rsquo; variable to discover
1052 (display device dependent) raw keys.</p>
1053
1054 <p style="margin-left:11%; margin-top: 1em"><b>while</b>
1055 <br>
1056 while(<i>expression</i>){<i>action</i>;}: A conditional
1057 cycle construct. <br>
1058 May be interrupted by hitting the &rsquo;Esc&rsquo; or the
1059 &rsquo;:&rsquo; key.</p>
1060
1061 <p style="margin-left:11%; margin-top: 1em"><b>window</b>
1062 <br>
1063 window <i>{args}</i>: this command is disabled.</p>
1064
1065 <h2>KEYSYMS REFERENCE
1066 <a name="KEYSYMS REFERENCE"></a>
1067 </h2>
1068
1069
1070 <p style="margin-left:11%; margin-top: 1em">&quot; &quot;
1071 &quot;!&quot; &rsquo;&quot;&rsquo; &quot;#&quot;
1072 &quot;$&quot; &quot;%&quot; &quot;&amp;&quot;
1073 &quot;&rsquo;&quot; &quot;(&quot; &quot;)&quot;
1074 &quot;*&quot; &quot;+&quot; &quot;,&quot; &quot;-&quot;
1075 &quot;.&quot; &quot;/&quot; &quot;0&quot; &quot;1&quot;
1076 &quot;2&quot; &quot;3&quot; &quot;4&quot; &quot;5&quot;
1077 &quot;6&quot; &quot;7&quot; &quot;8&quot; &quot;9&quot;
1078 &quot;:&quot; &quot;;&quot; &quot;&lt;&quot; &quot;=&quot;
1079 &quot;&gt;&quot; &quot;?&quot; &quot;@&quot; &quot;A&quot;
1080 &quot;Any&quot; &quot;B&quot; &quot;Backspace&quot;
1081 &quot;C&quot; &quot;C-a&quot; &quot;C-b&quot;
1082 &quot;C-c&quot; &quot;C-d&quot; &quot;C-e&quot;
1083 &quot;C-f&quot; &quot;C-g&quot; &quot;C-h&quot;
1084 &quot;C-i&quot; &quot;C-j&quot; &quot;C-k&quot;
1085 &quot;C-l&quot; &quot;C-m&quot; &quot;C-n&quot;
1086 &quot;C-o&quot; &quot;C-p&quot; &quot;C-q&quot;
1087 &quot;C-r&quot; &quot;C-s&quot; &quot;C-t&quot;
1088 &quot;C-u&quot; &quot;C-v&quot; &quot;C-w&quot;
1089 &quot;C-x&quot; &quot;C-y&quot; &quot;C-z&quot;
1090 &quot;D&quot; &quot;Del&quot; &quot;Down&quot; &quot;E&quot;
1091 &quot;End&quot; &quot;Enter&quot; &quot;Esc&quot;
1092 &quot;F&quot; &quot;F1&quot; &quot;F10&quot; &quot;F11&quot;
1093 &quot;F12&quot; &quot;F2&quot; &quot;F3&quot; &quot;F4&quot;
1094 &quot;F5&quot; &quot;F6&quot; &quot;F7&quot; &quot;F8&quot;
1095 &quot;F9&quot; &quot;G&quot; &quot;H&quot; &quot;Home&quot;
1096 &quot;I&quot; &quot;Ins&quot; &quot;J&quot; &quot;K&quot;
1097 &quot;L&quot; &quot;Left&quot; &quot;M&quot; &quot;N&quot;
1098 &quot;O&quot; &quot;P&quot; &quot;PageDown&quot;
1099 &quot;PageUp&quot; &quot;Q&quot; &quot;R&quot;
1100 &quot;Right&quot; &quot;S&quot; &quot;T&quot;
1101 &quot;Tab&quot; &quot;U&quot; &quot;Up&quot; &quot;V&quot;
1102 &quot;W&quot; &quot;X&quot; &quot;Y&quot; &quot;Z&quot;
1103 &quot;[&quot; &quot;\&quot; &quot;]&quot; &quot;^&quot;
1104 &quot;_&quot; &quot;&rsquo;&quot; &quot;a&quot;
1105 &quot;b&quot; &quot;c&quot; &quot;d&quot; &quot;e&quot;
1106 &quot;f&quot; &quot;g&quot; &quot;h&quot; &quot;i&quot;
1107 &quot;j&quot; &quot;k&quot; &quot;l&quot; &quot;m&quot;
1108 &quot;n&quot; &quot;o&quot; &quot;p&quot; &quot;q&quot;
1109 &quot;r&quot; &quot;s&quot; &quot;t&quot; &quot;u&quot;
1110 &quot;v&quot; &quot;w&quot; &quot;x&quot; &quot;y&quot;
1111 &quot;z&quot; &quot;{&quot; &quot;|&quot; &quot;}&quot;
1112 &quot;~&quot;</p>
1113
1114 <h2>AUTOCOMMANDS REFERENCE
1115 <a name="AUTOCOMMANDS REFERENCE"></a>
1116 </h2>
1117
1118
1119 <p style="margin-left:11%; margin-top: 1em">Available
1120 autocommands are: PreScale, PostScale, PrePan, PostPan,
1121 PreRedisplay, PostRedisplay, PreDisplay, PostDisplay,
1122 PrePrefetch, PostPrefetch, PreReload, PostReload, PreLoad,
1123 PostLoad, PreGoto, PostGoto, PreConfigLoading,
1124 PostConfigLoading, PreHardcodedConfigLoading,
1125 PostHardcodedConfigLoading, PreUserConfigLoading,
1126 PostUserConfigLoading, PreGlobalConfigLoading,
1127 PostGlobalConfigLoading, PreInteractiveCommand,
1128 PostInteractiveCommand, PreExecutionCycle,
1129 PostExecutionCycle, PreExecutionCycleArgs, PreWindow,
1130 PostWindow, and they are triggered on actions as suggested
1131 by their name. <br>
1132 Those associated to actual commands are mentioned in the
1133 associated commands reference.</p>
1134
1135 <h2>VARIABLES REFERENCE
1136 <a name="VARIABLES REFERENCE"></a>
1137 </h2>
1138
1139
1140 <p style="margin-left:11%; margin-top: 1em">If undeclared,
1141 a variable will evaluate to 0.</p>
1142
1143 <p style="margin-left:11%; margin-top: 1em">When assigning
1144 a variable to a string, use single or double quoting,
1145 otherwise it will be treated as a number.</p>
1146
1147 <p style="margin-left:11%; margin-top: 1em">The namespaces
1148 in which variables may exist are: current image, global. A
1149 namespace is specified by a prefix, which can be:
1150 &rsquo;i:&rsquo;, be prepended to the variable name. The
1151 global namespace is equivalent to the empty
1152 one:&rsquo;&rsquo;. The special variable i:* expands to the
1153 collation of all the name-value pairs for the current
1154 image.</p>
1155
1156 <p style="margin-left:11%; margin-top: 1em">In the
1157 following, the [internal] variables are the ones referenced
1158 in the source code (not including the hardcoded
1159 configuration, which may be inspected and/or invalidated by
1160 the user at runtime).</p>
1161
1162 <p style="margin-left:11%; margin-top: 1em"><b>_TERM</b>
1163 [out,g:] the environment TERM variable. <b><br>
1164 __exif_flipped</b> [out,i:] flipping information, read from
1165 the EXIF tags of a given image. <b><br>
1166 __exif_mirrored</b> [out,i:] mirroring information, read
1167 from the EXIF tags of a given image. <b><br>
1168 _all_file_loaders</b> [out,g:] space-separated list of
1169 hardcoded file loaders usable with _file_loader. <b><br>
1170 _archive_files</b> [in,g:] If non-empty, a regular
1171 expression matching the filenames to be treated as archives
1172 (multipage files). If empty,
1173 &quot;.(RAR|ZIP|TAR|TAR.GZ|TGZ|TAR.BZ2|TBZ|TBZ2|CBR|CBZ|LHA|7Z|XAR|ISO)$&quot;
1174 is used. Within each archive, only filenames matching the
1175 regular expression in the _pushdir_re variable are
1176 considered for loading. <b><br>
1177 _autocmd_trace_stack</b> [in,g:] dump to stdout autocommands
1178 (autocmd) stack trace during their execution (for debugging
1179 purposes). <b><br>
1180 _autodesaturate</b> [in,g:] if 1, desaturate all images.
1181 <b><br>
1182 _autoflip</b> [in,g:] if 1, flip all images. <b><br>
1183 _automirror</b> [in,g:] if 1, mirror all images. <b><br>
1184 _autonegate</b> [in,g:] if 1, negate all images. <b><br>
1185 _autotop</b> [in,g:] if 1, align to the top freshly loaded
1186 images. <b><br>
1187 _buffered_in_tmpfile</b> [out,i:] if an image has been
1188 temporarily converted and decoded from a temporary file, its
1189 name is here. <b><br>
1190 _cache_control</b> [in,g:] string for cache control. If it
1191 starts with &rsquo;m&rsquo;, cache mipmaps; if it starts
1192 with &rsquo;M&rsquo; then do not not cache them. Otherwise
1193 defaults apply. <b><br>
1194 _cache_status</b> [out,g:] string with current information
1195 on cache status. <b><br>
1196 _cached_images</b> [out,g:] the number of images currently
1197 cached. <b><br>
1198 _caption_over_image</b> [in,g:] if set to a value different
1199 than 0, display a custom comment string specified according
1200 to the value of _caption_over_image_fmt; if larger than 1,
1201 with black background; if 3, draw above the image, with no
1202 overlap. Occupies at most half of the screen. <b><br>
1203 _caption_over_image_fmt</b> [in,g:] custom info format
1204 string, displayed in a caption over the image; if unset:
1205 i:_comment; otherwise a custom format string specified just
1206 as _info_fmt_str. <b><br>
1207 _command_expansion</b> [in,g:] if 1, enable autocompletion
1208 (on execution) of alias and command strings. <b><br>
1209 _comment</b> [i:,out] the image comment, extracted from the
1210 image file (if any). <b><br>
1211 _console_buffer_free</b> [out,g:] amount of unused memory in
1212 the output console buffer. <b><br>
1213 _console_buffer_total</b> [out,g:] amount of memory
1214 allocated for the output console buffer. <b><br>
1215 _console_buffer_used</b> [out,g:] amount of used memory in
1216 the output console buffer. <b><br>
1217 _console_key</b> [in,g:] the key bound (an integer variable)
1218 to spawn the command line; overrides any other binding.
1219 It&rsquo;s set -1 if command line disabled. <b><br>
1220 _console_lines</b> [out,g:] the number of buffered output
1221 console text lines. <b><br>
1222 _console_offset</b> [in,out,g:] position of the text
1223 beginning in the output console, expressed in lines. <b><br>
1224 _debug_commands</b> [in,g:] debugging option string for
1225 printing out . if containing &rsquo;a&rsquo;, print out
1226 autocmd info; if containing &rsquo;c&rsquo;, print out each
1227 command; if containing &rsquo;k&rsquo;, print out each
1228 pressed key in command line mode; if containing
1229 &rsquo;i&rsquo;, print interpreter internal steps; if
1230 containing &rsquo;B&rsquo;, clear screen and print
1231 background loading files; if containing &rsquo;C&rsquo;,
1232 print cache activity; if containing &rsquo;m&rsquo;, gtk
1233 mode menus tooltips will contain also specification strings;
1234 if containing &rsquo;mm&rsquo;, gtk mode menu building will
1235 also be very verbose. <b><br>
1236 _device_string</b> [out,g:] the current display device
1237 string, in the form
1238 [fb|sdl|gtk|ca|aa|dumb][=<i>{gfxopts}</i>]. See option
1239 --output-device for a description. <b><br>
1240 _display_as_binary</b> [in,g:] force loading files as
1241 pixelmaps (no image decoding is performed); if 1, using one
1242 bit per pixel; if 24, using 24 bits per pixel. If empty,
1243 load and decode the files as usual. <b><br>
1244 _display_as_rendered_text</b> [in,g:] if 1, force loading
1245 specified files as text files (no image decoding is
1246 performed); otherwise load and decode the files as usual.
1247 <b><br>
1248 _display_busy</b> [in,g:] if 1, display a message on the
1249 status bar when processing. <b><br>
1250 _display_console</b> [in,g:] if 1, display the output
1251 console. <b><br>
1252 _display_status</b> [in,g:] if 1, display the status bar.
1253 <b><br>
1254 _display_status_bar</b> [in,g:] if 1, display the status
1255 bar. <b><br>
1256 _display_status_fmt</b> [in,g:] custom info format string,
1257 displayed in the lower left corner of the status bar; if
1258 unset: full pathname; otherwise a custom format string
1259 specified just as _info_fmt_str. <b><br>
1260 _do_sanity_check</b> [in,experimental,g:] if 1, execute a
1261 sanity check on startup. <b><br>
1262 _downscale_huge_at_load</b> [in,g:] if 1, downscale at load
1263 time huge images (that is, ones exceeding by 1.5 times the
1264 screen size). <b><br>
1265 _exif_orientation</b> [out,i:] orientation information in
1266 the same format of _orientation, read from the orientation
1267 EXIF tags (i:EXIF_Orientation). <b><br>
1268 _exiftool_comment</b> [out,g:] comment extracted via the
1269 exiftool interface; see _use_exiftool. <b><br>
1270 _external_decoder_program</b> [out,i:] if an image has been
1271 decoded via an external program, its name is here. <b><br>
1272 _fbfont</b> [out,g:] The current console font file string.
1273 If the internal hardcoded font has been used, then its value
1274 is &quot;fim://&quot;. <b><br>
1275 _fbfont_as_screen_fraction</b> [in,g:] Scale the rendered
1276 text to at least this (integer) fraction of the screen.
1277 Disable font autoscaling with -1. (Only enabled if
1278 configured with --with-font-magnifying-factor=FACTOR, with
1279 FACTOR&lt;1). <b><br>
1280 _fbfont_magnify_factor</b> [in,g:] For the rendered text use
1281 a font magnified by this (integer) factor. Maximal value is
1282 &quot;16&quot;. (Only enabled if configured with
1283 --with-font-magnifying-factor=FACTOR, with FACTOR&lt;1).
1284 <b><br>
1285 _fbfont_verbosity</b> [in,g:] if &gt; 0, verbose font
1286 loading <b><br>
1287 _file_load_time</b> [out,i:] time taken to load the file and
1288 decode the image, in seconds. <b><br>
1289 _file_loader</b> [in,i:,g:] specify a file loader to use
1290 (among the ones listed in the -V switch output); [out]
1291 i:_file_loader stores the loader of the current image.
1292 <b><br>
1293 _fileindex</b> [out,g:] the current image numeric index.
1294 <b><br>
1295 _filelistlen</b> [out,g:] current image list length (number
1296 of visible images). <b><br>
1297 _filename</b> [out,i:] the current file name string. <b><br>
1298 _fim_bpp</b> [out,g:] the bits per pixel count. <b><br>
1299 _fim_default_config_file_contents</b> [out,g:] the contents
1300 of the default (hardcoded) configuration file (executed
1301 after the minimal hardcoded config). <b><br>
1302 _fim_default_grammar_file_contents</b> [out,g:] the contents
1303 of the default (hardcoded) grammar file. <b><br>
1304 _fim_scriptout_file</b> [in,g:] the name of the file to
1305 write to when recording sessions. <b><br>
1306 _fim_version</b> [out,g:] fim version number; may be used
1307 for keeping compatibility of fim scripts across evolving
1308 versions. <b><br>
1309 _hide_gtk_menus</b> [out,g:] internal <b><br>
1310 _hsteps</b> [in,g:] the default steps, in pixels, when
1311 panning images horizontally (overrides steps). <b><br>
1312 _ignorecase</b> [in,g:] if 1, allow for case-insensitive
1313 regexp-based match in autocommands (autocmd). <b><br>
1314 _info_fmt_str</b> [in,g:] custom info format string,
1315 displayed in the lower right corner of the status bar; may
1316 contain ordinary text and special &rsquo;expando&rsquo;
1317 sequences. These are: %p for current scale, in percentage;
1318 %w for width; %h for height; %i for image index in list; %k
1319 for the value of i:_comment (comment description) variable
1320 in square brackets (if non empty); %l for current image list
1321 length; %L for flip/mirror/orientation information; %P for
1322 page information; %F for file size; %M for screen image
1323 memory size; %m for memory used by mipmap; %C for memory
1324 used by cache; %T for total memory used (approximation); %R
1325 for total max memory used (as detected by getrusage()); %n
1326 for the current file path name; %N for the current file path
1327 name basename; ; %c for centering information; %v for the
1328 fim program/version identifier string; %% for an ordinary %.
1329 A sequence like %?VAR?EXP? expands to EXP if i:VAR is set
1330 (or, otherwise, if VAR); EXP is copied verbatim except for
1331 contained sequences of the form %:VAR:, which expand to the
1332 value of variable i:VAR (or, if unset, VAR); this is meant
1333 to be used like in e.g.
1334 &rsquo;%?EXIF_DateTimeOriginal?[%:EXIF_DateTimeOriginal:]?&rsquo;,
1335 where the EXIF-set variable EXIF_DateTimeOriginal (make sure
1336 you have libexif for this) are used only if present. <b><br>
1337 _inhibit_display</b> [internal,g:] if 1, inhibit display.
1338 <b><br>
1339 _last_cmd_output</b> [out,experimental,g:] the last command
1340 output. <b><br>
1341 _last_file_loader</b> [out,g:] set to the name of the last
1342 file loader used. <b><br>
1343 _last_system_output</b> [out,experimental,g:] the standard
1344 output of the last call to the system command. <b><br>
1345 _lastfileindex</b> [out,g:] the last visited image numeric
1346 index (different than _fileindex). Useful for jumping back
1347 and forth easily between two images with &rsquo;goto
1348 _lastfileindex&rsquo;. <b><br>
1349 _lastgotodirection</b> [out,g:] the last file goto direction
1350 (either string &rsquo;+1&rsquo; or string &rsquo;-1&rsquo;).
1351 <b><br>
1352 _lastpageindex</b> [out,g:] the last visited file page
1353 index. <b><br>
1354 _load_default_etc_fimrc</b> [in,g:] if 1 at startup, load
1355 the system wide initialization file. <b><br>
1356 _load_fim_history</b> [in,g:] if 1 on startup, load the
1357 ~/.fim_history file on startup. <b><br>
1358 _load_hidden_dirs</b> [in,g:] if not 1, when pushing
1359 directories/files, those with name beginning with a dot (.)
1360 are skipped. <b><br>
1361 _loading_in_background</b> [out,g:] 1 if program has been
1362 invoked with --background-recursive and still loading in
1363 background. <b><br>
1364 _loop_only_once</b> [internal,g:] if 1 and doing a
1365 --slideshow, do it once. <b><br>
1366 _lwidth</b> [in,g:] if&gt;0, force the output console text
1367 width. <b><br>
1368 _magnify_factor</b> [in,g:] the image scale multiplier used
1369 when magnifying images size. <b><br>
1370 _max_cached_images</b> [in,g:] the maximum number of images
1371 after which forcing evictions. Setting this to 0 (no limits)
1372 is ok provided _max_cached_memory is set meaningfully.
1373 <b><br>
1374 _max_cached_memory</b> [in,g:] the maximum amount of memory
1375 (in KiB) at which images continue being added to the cache.
1376 Setting this to 0 (no limit) leads to a crash (there is no
1377 protection currently). <b><br>
1378 _max_iterated_commands</b> [g:] the iteration limit for N in
1379 &quot;N[commandname]&quot; iterated command invocations.
1380 <b><br>
1381 _min_cached_images</b> [in,g:] the minimum number of images
1382 to keep from eviction; if less than four can lead to
1383 inefficiencies: e.g. when jumping between two images, each
1384 time an erase and a prefetch of neighboring images would
1385 trigger. default value is 4. <b><br>
1386 _no_default_configuration</b> [in,g:] if 0, a default,
1387 hardcoded configuration is loaded at startup, after the
1388 minimal hardcoded one. <b><br>
1389 _no_external_loader_programs</b> [in,g:] if 1, do not
1390 attempt using external programs to decode a file of an
1391 unknown format. <b><br>
1392 _no_rc_file</b> [in,g:] if 1, do not load the ~/.fimrc
1393 configuration file at startup. <b><br>
1394 _open_offset</b> [in,optional,g:,i:] offset (specified in
1395 bytes) used when opening a file; [out] i:_open_offset is
1396 assigned to images opened at a nonzero offset. <b><br>
1397 _open_offset_retry</b> [in,optional,g:] number of adjacent
1398 bytes to probe in opening the file. <b><br>
1399 _orientation</b> [internal,i:] Orthogonal clockwise rotation
1400 (orientation) is controlled by:
1401 &rsquo;i:_orientation&rsquo;, &rsquo;g:_orientation&rsquo;
1402 and applied on a per-image basis. In particular, the values
1403 of the three variables are summed up and the sum is
1404 interpreted as the image orientation. If the sum is 0, no
1405 rotation applies; if it is 1, a single ( 90&rsquo;) rotation
1406 applies; if it is 2, a double (180&rsquo;) rotation applies;
1407 if it is 3, a triple (270&rsquo;) rotation applies. If the
1408 sum is not one of 0,1,2,3, the value of the sum modulo 4 is
1409 considered. Therefore, &quot;:i:_orientation=1&quot; and
1410 &quot;:i:_orientation=5&quot; are equivalent: they rotate
1411 the image one time by 90&rsquo;. <b><br>
1412 _pread_cmd</b> [in,g:] a user-specified shell command
1413 emitting an image on stdout, in a format readable by the
1414 convert utility. If the current filename matches
1415 &quot;^[/A-Za-z0-9_.][/A-Za-z0-9_.-]*$&quot;, substitute it
1416 to any occurrence of &rsquo;{}&rsquo;. <b><br>
1417 _preferred_rendering_dpi</b> [in,optional,g:] if &gt;0,
1418 rendering of pdf, ps, djvu use this value for a default
1419 document dpi; if unset, use an internal default value.
1420 <b><br>
1421 _preferred_rendering_width</b> [in,optional,g:] if &gt;0,
1422 bit-based (see _display_as_binary) rendering uses this value
1423 for a default document width (instead of a default value).
1424 <b><br>
1425 _push_checks</b> [in,experimental,g:] if 1 (default), check
1426 with stat() the existence of input files before
1427 push&rsquo;ing them (set this to 0 to speed up loading very
1428 long file lists; in these cases a trailing slash (/) must be
1429 used to tell fim a pathname is a directory). This only works
1430 after initialization (thus, after command line files have
1431 been push&rsquo;ed); use --no-stat-push if you wish to set
1432 this to 0 at command line files specification. <b><br>
1433 _push_pushes_dirs</b> [in,g:] if 1, the push command also
1434 accepts and pushes directories (using pushdir). if 2, also
1435 push hidden files/directories, that is, ones whose names
1436 begin with a dot (.). <b><br>
1437 _pushdir_re</b> [in] regular expression to match against
1438 when pushing files from a directory or an archive. By
1439 default this is
1440 &quot;.(JPG|PNG|GIF|BMP|TIFF|TIF|JPEG|JFIF|PPM|PGM|PBM|PCX|QOI|AVIF|WEBP)$&quot;.
1441 <b><br>
1442 _pwd</b> [out,g:] the current working directory; variable
1443 updated at startup and whenever the working directory
1444 changes. <b><br>
1445 _re_search_opts</b> [in,g:] affects regexp-based searches;
1446 if an empty string, defaults apply; if it contains
1447 &rsquo;i&rsquo; (&rsquo;I&rsquo;), case insensitive
1448 (sensitive) searches occur; if it contains &rsquo;b&rsquo;,
1449 match on basename, if contains &rsquo;f&rsquo; on full
1450 pathname; if it contains &rsquo;D&rsquo;, match on
1451 description. <b><br>
1452 _reduce_factor</b> [in,g:] the image scale multiplier used
1453 when reducing images size. <b><br>
1454 _retry_loader_probe</b> [in,g:] if set to 1 and a
1455 user-specified file loader fails, probe for a different
1456 loader. <b><br>
1457 _rows</b> [in,g:] if &gt;0, set the number of text lines in
1458 the console to be displayed . <b><br>
1459 _save_fim_history</b> [in,g:] if 1 on exit, save the
1460 ~/.fim_history file on exit. <b><br>
1461 _scale_factor_delta</b> [in,g:] value used for
1462 incrementing/decrementing the scaling factors. <b><br>
1463 _scale_factor_multiplier</b> [in,g:] value used for scaling
1464 up/down the scaling factors. <b><br>
1465 _scale_style</b> [in,g:] if non empty, pass it to the scale
1466 command; see its documentation for possible values. <b><br>
1467 _screen_height</b> [out] the screen height. <b><br>
1468 _screen_width</b> [out,g:] the screen width. <b><br>
1469 _scroll_skip_page_fraction</b> [int,g:] if &gt;1, fraction
1470 of page to skip when scrolling (e.g.
1471 &rsquo;scrollforward&rsquo;); if 1, auto chosen; if &lt;1,
1472 disabled. <b><br>
1473 _seek_magic</b> [optional,g:] seek a &rsquo;magic&rsquo;
1474 signature in the file after opening it, and try decoding it
1475 starting within the range of that signature (use like this:
1476 fim -C &rsquo;_seek_magic=MAGIC_STRING;push
1477 filename&rsquo;). <b><br>
1478 _slideshow_sleep_time</b> [in,g:] number of seconds of sleep
1479 during slideshow mode. <b><br>
1480 _status_line</b> [in,g:] if 1, display the status bar.
1481 <b><br>
1482 _steps</b> [in,g:] the default steps, in pixels, when
1483 panning images. <b><br>
1484 _stop_slideshow</b> [internal,g:] if it becomes 1 during a
1485 slideshow, stop it; gets unset before each
1486 &rsquo;while&rsquo;. <b><br>
1487 _sys_rc_file</b> [in,g:] string with the global
1488 configuration file name. <b><br>
1489 _use_exiftool</b> [in,g:] if &gt;0 and supported, use
1490 exiftool to get additional information. If 1, append this
1491 information to _comment; if 2, to _exiftool_comment. <b><br>
1492 _use_mipmaps</b> [in,g:] if &gt;0, use mipmaps to speed up
1493 downscaling of images (this has a memory overhead equivalent
1494 to one image copy); mipmaps are not cached. If 2, use every
1495 fourth source pixel instead of averaging (good for photos,
1496 not for graphs). <b><br>
1497 _verbose_errors</b> [in,g:] if 1, display on stdout internal
1498 errors, while parsing commands. <b><br>
1499 _verbose_keys</b> [in,g:] if 1, display on the console the
1500 raw keycode of each key hit interactively. <b><br>
1501 _verbosity</b> [in,experimental,g:] program verbosity.
1502 <b><br>
1503 _vsteps</b> [in,g:] the default steps, in pixels, when
1504 panning images vertically (overrides steps). <b><br>
1505 _want_autocenter</b> [in,g:] if 1, center the image when
1506 displayed. <b><br>
1507 _want_exif_orientation</b> [in,g:] if 1, reorient images
1508 using information from EXIF metadata (and stored in in
1509 _exif_orientation, __exif_mirrored, __exif_flipped ).
1510 <b><br>
1511 _want_prefetch</b> [in,g:] if 1, prefetch further files just
1512 after displaying the first file; if 2 (and configured with
1513 --enable-cxx11) load in the background. <b><br>
1514 _want_wm_caption_status</b> [in,g:] this works only if
1515 supported by the display device. If set to a number that is
1516 not 0, show the status (or command) line in the window
1517 manager caption; if set to a non-empty string, interpret it
1518 just as a file info format string (see _info_fmt_str); if
1519 empty, show the program version. <b><br>
1520 _want_wm_mouse_ctrl</b> [in,g:] if at least 9 chars long,
1521 enable mouse click/movement behaviour when in GTK, SDL or
1522 libcaca mode; the 9 chars correspond to a 3x3 screen
1523 clickable grid and the equivalent command keys; clicking
1524 middle or right button toggle on-screen usage info. <b><br>
1525 angle</b> [in,out,i:] a floating point number specifying the
1526 rotation angle, in degrees. <b><br>
1527 ascale</b> [in,out,i:] the asymmetric scaling of the current
1528 image. <b><br>
1529 desaturated</b> [out,i:] 1, if the image is desaturated.
1530 <b><br>
1531 flipped</b> [out,i:] 1, if the image is flipped. <b><br>
1532 fresh</b> [in,out,i:,experimental] 1 if the image was
1533 loaded, before all autocommands (autocmd) execution. <b><br>
1534 height</b> [out,i:] the current image original height.
1535 <b><br>
1536 mirrored</b> [out,i:] 1, if the image is mirrored. <b><br>
1537 negated</b> [out,i:] 1, if the image is negated. <b><br>
1538 page</b> [out,experimental,g:] the current page. <b><br>
1539 pages</b> [out,experimental,i:] the current number of pages
1540 of an image. <b><br>
1541 random</b> [out] a pseudorandom number. <b><br>
1542 scale</b> [in,i:] the scale of the current image. <b><br>
1543 sheight</b> [out,i:] the current image scaled height.
1544 <b><br>
1545 swidth</b> [out,i:] the current image scaled width. <b><br>
1546 width</b> [out,i:] the current image original width.</p>
1547
1548 <h2>DEFAULT ALIASES REFERENCE
1549 <a name="DEFAULT ALIASES REFERENCE"></a>
1550 </h2>
1551
1552
1553 <p style="margin-left:11%; margin-top: 1em">Hardcoded
1554 aliases are:</p>
1555
1556 <p style="margin-left:11%; margin-top: 1em">alias
1557 <b>&quot;A&quot;</b> &quot;_autotop=1-_autotop;&quot; <br>
1558 alias <b>&quot;magnify&quot;</b> &quot;scale
1559 &rsquo;+&rsquo;&quot; # magnify the displayed image by the
1560 _magnify_factor variable or <i>{args}</i> <br>
1561 alias <b>&quot;next&quot;</b> &quot;goto
1562 &rsquo;+1&rsquo;&quot; # go to the next page or file <br>
1563 alias <b>&quot;next_file&quot;</b> &quot;goto
1564 &rsquo;+1f&rsquo;&quot; # go to the next file in the list
1565 <br>
1566 alias <b>&quot;next_page&quot;</b> &quot;goto
1567 &rsquo;+1p&rsquo;&quot; # go to the next page in the file
1568 <br>
1569 alias <b>&quot;prev&quot;</b> &quot;goto
1570 &rsquo;-1&rsquo;&quot; # go to the previous page or file
1571 <br>
1572 alias <b>&quot;prev_file&quot;</b> &quot;goto
1573 &rsquo;-1f&rsquo;&quot; # go to the previous file in the
1574 list <br>
1575 alias <b>&quot;prev_page&quot;</b> &quot;goto
1576 &rsquo;-1p&rsquo;&quot; # go to the previous page in the
1577 file <br>
1578 alias <b>&quot;reduce&quot;</b> &quot;scale
1579 &rsquo;-&rsquo;&quot; # reduce the displayed image by
1580 _reduce_factor or <i>{args}</i> <br>
1581 alias <b>&quot;scale_factor_decrease&quot;</b> &quot;scale
1582 &rsquo;+-&rsquo;&quot; # subtract _scale_factor_delta to the
1583 scale factors _reduce_factor and _magnify_factor <br>
1584 alias <b>&quot;scale_factor_grow&quot;</b> &quot;scale
1585 &rsquo;+*&rsquo;&quot; # multiply the scale factors
1586 _reduce_factor and _magnify_factor by
1587 _scale_factor_multiplier <br>
1588 alias <b>&quot;scale_factor_increase&quot;</b> &quot;scale
1589 &rsquo;++&rsquo;&quot; # add _scale_factor_delta to the
1590 scale factors _reduce_factor and _magnify_factor <br>
1591 alias <b>&quot;scale_factor_shrink&quot;</b> &quot;scale
1592 &rsquo;+/&rsquo;&quot; # divide the scale factors
1593 _reduce_factor and _magnify_factor by
1594 _scale_factor_multiplier</p>
1595
1596 <p style="margin-left:11%; margin-top: 1em">They can be
1597 redefined with <b>alias</b> or deleted with the
1598 <b>unalias</b> command. <br>
1599 Further default aliases are usually loaded at startup -- see
1600 the CONFIGURATION FILE EXAMPLE section below.</p>
1601
1602 <h2>COMMAND LINE USAGE EXAMPLES
1603 <a name="COMMAND LINE USAGE EXAMPLES"></a>
1604 </h2>
1605
1606
1607 <p style="margin-left:11%; margin-top: 1em"># jump to the
1608 third image: <br>
1609 3; <br>
1610 # jump to first image: <br>
1611 ^; <br>
1612 # jump to last image: <br>
1613 $; <br>
1614 # magnify the image two times: <br>
1615 *2; <br>
1616 # scale the image to the 30% of the original: <br>
1617 30%; <br>
1618 # scale the image up by 30%: <br>
1619 +30%; <br>
1620 # scale the image down by 30%: <br>
1621 -30%; <br>
1622 # jump to the next image whose filename matches the
1623 &quot;.*jpg&quot; regular expression: <br>
1624 /.*jpg; <br>
1625 # execute the &quot;date&quot; system command <br>
1626 !&quot;date&quot;;</p>
1627
1628 <h2>CONFIGURATION FILE EXAMPLE
1629 <a name="CONFIGURATION FILE EXAMPLE"></a>
1630 </h2>
1631
1632
1633 <p style="margin-left:11%; margin-top: 1em">Part of the
1634 default configuration comes from the
1635 <b>_fim_default_config_file_contents</b> variable, shown
1636 here. <br>
1637 One can skip its loading by using the
1638 <b>_no_default_configuration</b> variable.</p>
1639
1640 <p style="margin-left:11%; margin-top: 1em">#
1641 $LastChangedDate: 2024-05-15 01:34:42 +0200 (Wed, 15 May
1642 2024) $ <br>
1643 # Contents of the default &rsquo;fimrc&rsquo; file,
1644 hardcoded in the fim executable. <br>
1645 # Read the documentation (man fimrc) to discover how to
1646 change this default hardcoded file and how to make your own.
1647 <br>
1648 # Note that usually a ~/.fimrc file is read after these
1649 options take effect, so you could reset all of this with
1650 ease. <br>
1651 # Lines beginning with a pound (#) are ignored by fim (they
1652 are treated as comments). <br>
1653 # <br>
1654 # Internal variables. <br>
1655 # Some of these variables influence fim&rsquo;s behaviour
1656 (input variables), some are set by fim (output variables).
1657 <br>
1658 # It is wise the input variables are set at the beginning of
1659 the file, so the bottom may issue commands correctly
1660 affected by them. <br>
1661
1662 if(_cache_control==&rsquo;&rsquo;){_cache_control=&rsquo;m&rsquo;;}
1663 <br>
1664
1665 if(_debug_commands==&rsquo;&rsquo;){_debug_commands=&rsquo;&rsquo;;}
1666 <br>
1667
1668 if(_command_expansion==&rsquo;&rsquo;){_command_expansion=1;}
1669 <br>
1670 if(_display_status==&rsquo;&rsquo;){_display_status=0;} <br>
1671
1672 if(_max_cached_images==&rsquo;&rsquo;){_max_cached_images=5;}
1673 <br>
1674
1675 if(_min_cached_images==&rsquo;&rsquo;){_min_cached_images=4;}
1676 <br>
1677
1678 if(_max_cached_memory==&rsquo;&rsquo;){_max_cached_memory=81920;}
1679 <br>
1680
1681 if(_max_iterated_commands==&rsquo;&rsquo;){_max_iterated_commands=100;}
1682 <br>
1683 if(_want_prefetch==&rsquo;&rsquo;){_want_prefetch=1;} <br>
1684
1685 if(_no_external_loader_programs==&rsquo;&rsquo;){_no_external_loader_programs=0;}
1686 <br>
1687
1688 if(_scale_style==&rsquo;&rsquo;){_scale_style=&rsquo;b&rsquo;;}
1689 <br>
1690 if(_save_fim_history==&rsquo;&rsquo;){_save_fim_history=1;}
1691 <br>
1692 if(_load_fim_history==&rsquo;&rsquo;){_load_fim_history=1;}
1693 <br>
1694 if(_verbose_keys==&rsquo;&rsquo;){_verbose_keys=0;} <br>
1695 if(_display_busy==&rsquo;&rsquo;){_display_busy=1;} <br>
1696 if(_ignorecase==&rsquo;&rsquo;){_ignorecase=1;} <br>
1697
1698 if(_re_search_opts==&rsquo;&rsquo;){_re_search_opts=&rsquo;biD&rsquo;;}
1699 <br>
1700 if(_console_offset==&rsquo;&rsquo;){_console_offset=0;} <br>
1701 if(_console_key==&rsquo;&rsquo;){_console_key=58;} <br>
1702
1703 if(_display_as_binary==&rsquo;&rsquo;){_display_as_binary=0;}
1704 <br>
1705 if(_push_checks==&rsquo;&rsquo;){_push_checks=1;} <br>
1706
1707 #if(_want_wm_caption_status==&rsquo;&rsquo;){_want_wm_caption_status=0;}
1708 <br>
1709
1710 if(_want_exif_orientation==&rsquo;&rsquo;){_want_exif_orientation=1;}
1711 <br>
1712 if(ascale==&rsquo;&rsquo;){ascale=&quot;1.0&quot;;} <br>
1713 if(_use_mipmaps==&rsquo;&rsquo;){_use_mipmaps=1;} <br>
1714
1715 if(_downscale_huge_at_load==&rsquo;&rsquo;){_downscale_huge_at_load=1;}
1716 <br>
1717
1718 if(_scroll_skip_page_fraction==&rsquo;&rsquo;){_scroll_skip_page_fraction=0;}
1719 <br>
1720
1721 if(_want_wm_mouse_ctrl==&rsquo;&rsquo;){_want_wm_mouse_ctrl=&quot;&rsquo;pP+a-=nN&quot;;}
1722 <br>
1723
1724 if(_slideshow_sleep_time==&rsquo;&rsquo;){_slideshow_sleep_time=1;}
1725 <br>
1726 # <br>
1727 # External variables (not used internally). <br>
1728
1729 if(allow_round_scroll==&rsquo;&rsquo;){allow_round_scroll=0;}
1730 <br>
1731 if(console_scroll_n==&rsquo;&rsquo;){console_scroll_n=3;}
1732 <br>
1733 # <br>
1734 alias &quot;toggleautoflip&quot;
1735 &quot;_autoflip=1-_autoflip&quot; &quot;&quot;; <br>
1736 alias &quot;toggleautonegate&quot;
1737 &quot;_autonegate=1-_autonegate&quot; &quot;&quot;; <br>
1738 alias &quot;toggleflip&quot;
1739 &quot;i:flipped=1-i:flipped&quot; &quot;toggles flipped
1740 property on the current image&quot;; <br>
1741 alias &quot;flip&quot; &quot;toggleflip;redisplay&quot;
1742 &quot;flip the current image along the horizontal
1743 axis&quot;; <br>
1744 alias &quot;fliponce&quot; &quot;flip;toggleflip&quot;
1745 &quot;flip, but just for one display&quot;; <br>
1746 alias &quot;toggleautomirror&quot;
1747 &quot;_automirror=1-_automirror&quot; &quot;&quot;; <br>
1748 alias &quot;togglemirror&quot;
1749 &quot;i:mirrored=1-i:mirrored&quot; &quot;toggles mirrored
1750 property on the current image&quot;; <br>
1751 alias &quot;mirror&quot; &quot;togglemirror;redisplay&quot;
1752 &quot;mirror the image along the vertical axis&quot;
1753 &quot;&quot;; <br>
1754 alias &quot;mirroronce&quot; &quot;mirror;togglemirror&quot;
1755 &quot;mirror, but just for one display&quot;; <br>
1756 alias &rsquo;toggleLimitMarked&rsquo;
1757 &rsquo;__pre_limit_fileindex=_fileindex;_limit_mode=1-_limit_mode;
1758 if(_limit_mode==1){limit &quot;!&quot;;} else { limit; }
1759 if(_filelistlen&lt;1){_limit_mode=0;limit;goto
1760 __pre_limit_fileindex;} i:fresh=1;redisplay; &rsquo;
1761 &quot;toggle between limiting file list to the marked files
1762 and the full list&quot;; <br>
1763 alias &quot;unlimit&quot;
1764 &quot;limit;i:fresh=1;reload;redisplay&quot; &quot;calling
1765 limit with no arguments restores the original list&quot;;
1766 <br>
1767 #alias &rsquo;mark_current_file&rsquo;
1768 &rsquo;_markedfile=i:_filename&rsquo;; <br>
1769 #alias &rsquo;goto_marked_file&rsquo; &rsquo;goto
1770 &quot;?&quot;._markedfile&rsquo;; <br>
1771 alias &rsquo;mark_current_file&rsquo;
1772 &rsquo;_markedfile=_fileindex&rsquo;; # Note: temporary;
1773 _markedfile undocumented. <br>
1774 alias &rsquo;goto_marked_file&rsquo; &rsquo;goto
1775 _markedfile&rsquo;; # Note: temporary. <br>
1776 # Warning : binding to C-s, C-z and C-c won&rsquo;t make
1777 effect, as these <br>
1778 # codes are get caught by the console driver and will have
1779 no effect in fim. <br>
1780 # Moreover, C-z will crash fim and C-c will terminate it.
1781 <br>
1782 # Some other combinations (e.g.:C-l) may have similar
1783 problems in your console. <br>
1784 bind &rsquo;f&rsquo; &quot;flip&quot;; <br>
1785 bind &rsquo;F&rsquo; &quot;fliponce&quot;; <br>
1786 bind &rsquo;m&rsquo; &quot;mirror&quot;; <br>
1787 bind &rsquo;M&rsquo; &quot;mirroronce&quot;; <br>
1788 bind &rsquo;q&rsquo; &quot;quit&quot;; <br>
1789 bind &rsquo;Esc&rsquo; &quot;quit&quot;; <br>
1790 #bind &rsquo;n&rsquo; &quot;next_file&quot;; <br>
1791 #bind &rsquo;n&rsquo; &quot;next&quot;; <br>
1792 bind &rsquo;C-h&rsquo; &quot;help&quot;; <br>
1793 #bind &rsquo;?&rsquo; &quot;help&quot;; # assigned to
1794 back-search <br>
1795 #bind &rsquo;/&rsquo; &quot;help&quot;; # assigned to
1796 forward-search <br>
1797 bind &rsquo;=&rsquo; &quot;scale &rsquo;100%&rsquo;&quot;;
1798 <br>
1799 #bind &rsquo;p&rsquo; &quot;prev_file&quot;; <br>
1800 #alias &rsquo;list_remove_and_reload&rsquo; &quot;list
1801 &rsquo;remove&rsquo;;reload&quot;; # once menus commands can
1802 support ;, remove this <br>
1803 bind &rsquo;Del&rsquo; &quot;list
1804 &rsquo;remove&rsquo;;reload&quot;; # no quit on last file
1805 <br>
1806 #bind &rsquo;Del&rsquo; &quot;list_remove_and_reload&quot;;
1807 # no quit on last file <br>
1808 #bind &rsquo;Del&rsquo; &quot;if(_filelistlen&lt;2)quit;list
1809 &rsquo;remove&rsquo;;reload;&quot;; # quit if no files left
1810 <br>
1811 #bind &rsquo;s&rsquo; &quot;list &rsquo;sort&rsquo;&quot;;
1812 <br>
1813 bind &rsquo; &rsquo; &quot;scroll
1814 &rsquo;forward&rsquo;&quot;; <br>
1815 bind &rsquo;S&rsquo; &quot;toggleDisplayStatus&quot;; <br>
1816 bind &rsquo;I&rsquo; &quot;toggleautonegate&quot;; <br>
1817 bind &rsquo;i&rsquo; &quot;color
1818 &rsquo;negate&rsquo;;redisplay&quot;; <br>
1819 bind &rsquo;g&rsquo; &quot;color
1820 &rsquo;desaturate&rsquo;;redisplay&quot;; <br>
1821 bind &rsquo;[&rsquo; &rsquo;font_reduce;redisplay&rsquo;;
1822 <br>
1823 bind &rsquo;]&rsquo; &rsquo;font_magnify;redisplay&rsquo;;
1824 <br>
1825 bind &rsquo;|&rsquo;
1826 &rsquo;toggle_font_auto_scale;redisplay&rsquo;; <br>
1827 bind &rsquo;{&rsquo; &rsquo;font
1828 &quot;prev&quot;;redisplay&rsquo;; <br>
1829 bind &rsquo;}&rsquo; &rsquo;font
1830 &quot;next&quot;;redisplay&rsquo;; <br>
1831 bind &rsquo;G&rsquo; &quot;toggleDesaturate&quot;; <br>
1832 bind &rsquo;r&rsquo; &quot;rotate90&quot;; <br>
1833 bind &rsquo;R&rsquo; &quot;rotate270&quot;; <br>
1834 bind &rsquo;+&rsquo; &quot;magnify&quot;; <br>
1835 bind &rsquo;a&rsquo; &quot;scale &rsquo;a&rsquo;&quot;; <br>
1836 bind &rsquo;H&rsquo; &quot;scale &rsquo;H&rsquo;&quot;; <br>
1837 bind &rsquo;Tab&rsquo; &quot;toggleVerbosity&quot;; <br>
1838 bind &rsquo;Menu&rsquo; &quot;toggleVerbosity&quot;; <br>
1839 bind &rsquo;v&rsquo; &quot;toggleDisplayStatus&quot;; <br>
1840 bind &rsquo;A&rsquo; &quot;A&quot;; <br>
1841 #bind &rsquo;C-m&rsquo; &quot;list &rsquo;mark&rsquo;&quot;;
1842 <br>
1843 bind &rsquo;C-m&rsquo; &quot;mark_current_file&quot;; <br>
1844 bind &rsquo;C-j&rsquo; &quot;goto_marked_file&quot;; <br>
1845 bind &rsquo;u&rsquo; &quot;list &rsquo;unmark&rsquo;&quot;;
1846 <br>
1847 bind &rsquo;Enter&rsquo; &quot;list &rsquo;mark&rsquo;;goto
1848 _lastgotodirection&quot;; <br>
1849 bind &rsquo;-&rsquo; &quot;reduce&quot;; <br>
1850 bind &quot;Up&quot; &quot;pan_up&quot;; <br>
1851 bind &rsquo;k&rsquo; &quot;pan_up&quot;; <br>
1852 bind &quot;Right&quot; &quot;pan_right&quot;; <br>
1853 bind &rsquo;l&rsquo; &quot;pan_right&quot;; <br>
1854 bind &quot;Down&quot; &quot;pan_down&quot;; <br>
1855 bind &rsquo;j&rsquo; &quot;pan_down&quot;; <br>
1856 bind &quot;Left&quot; &quot;pan_left&quot;; <br>
1857 bind &rsquo;h&rsquo; &quot;pan_left&quot;; <br>
1858 bind &rsquo;t&rsquo; &quot;align &rsquo;top&rsquo;&quot;;
1859 <br>
1860 bind &rsquo;C-g&rsquo; &quot;system &rsquo;fbgrab&rsquo;
1861 &rsquo;fim_&rsquo;._device_string.&rsquo;.png&rsquo;&quot;;
1862 # grab a screenshot <br>
1863 #bind &rsquo;C-r&rsquo; &quot;recording
1864 &rsquo;start&rsquo;&quot;; <br>
1865 bind &rsquo;C-r&rsquo; &quot;reload &rsquo;&rsquo;&quot;;
1866 <br>
1867 bind &rsquo;Q&rsquo; &quot;recording
1868 &rsquo;stop&rsquo;&quot;; <br>
1869 bind &rsquo;D&rsquo; &quot;recording
1870 &rsquo;dump&rsquo;&quot;; <br>
1871 bind &rsquo;E&rsquo; &quot;recording
1872 &rsquo;execute&rsquo;&quot;; <br>
1873 bind &rsquo;C-e&rsquo; &quot;recording
1874 &rsquo;execute&rsquo;&quot;; <br>
1875 bind &rsquo;C-x&rsquo; &quot;recording
1876 &rsquo;execute&rsquo;&quot;; <br>
1877 bind &rsquo;.&rsquo; &quot;recording
1878 &rsquo;repeat_last&rsquo;&quot;; <br>
1879 bind &rsquo;&rsquo;&rsquo; &quot;toggleLimitMarked&quot;;
1880 <br>
1881 alias &quot;toggleVerbosity&quot;
1882 &quot;_display_console=1-_display_console;i:fresh=1;redisplay&quot;
1883 &quot;&quot;; <br>
1884 alias &quot;toggleKeyVerbosity&quot;
1885 &quot;_verbose_keys=1-_verbose_keys;redisplay&quot;
1886 &quot;&quot;; <br>
1887 alias &quot;toggleDesaturate&quot;
1888 &quot;_autodesaturate=1-_autodesaturate;redisplay&quot;
1889 &quot;&quot;; <br>
1890 alias &quot;idempotent_cmd&quot; &quot;goto
1891 &rsquo;&rsquo;&quot;; <br>
1892 # <br>
1893 # Autocommands examples: <br>
1894 #autocmd &quot;PostInteractiveCommand&quot;
1895 &quot;fim.png&quot; &quot;echo &rsquo;\nmatched an
1896 interactive command on fim.png\n&rsquo;&quot;; <br>
1897 #autocmd &quot;PostDisplay&quot; &quot;.*png&quot;
1898 &quot;echo &rsquo;this is a png file&rsquo;&quot;; <br>
1899 #autocmd &quot;PostDisplay&quot; &quot;.*jpg&quot;
1900 &quot;echo &rsquo;this is a jpg file&rsquo;&quot;; <br>
1901 #autocmd &quot;PostDisplay&quot; &quot;&quot; &quot;echo
1902 &rsquo;\nthis is a file\n&rsquo;&quot;; <br>
1903 #autocmd &quot;PostGoto&quot; &quot;&quot;
1904 &quot;set_interactive_mode&quot;; <br>
1905 autocmd &quot;PostGoto&quot; &quot;&quot;
1906 &quot;reload&quot;; <br>
1907 autocmd &quot;PostWindow&quot; &quot;&quot;
1908 &quot;i:fresh=1;redisplay;&quot;; <br>
1909 autocmd &quot;PreRedisplay&quot; &quot;&quot;
1910 &quot;i:_will_display=1&quot;; <br>
1911 autocmd &quot;PreRedisplay&quot; &quot;&quot;
1912 &quot;if(_scale_style!=&rsquo;&rsquo; &amp;&amp;
1913 i:fresh){i:fresh=0;scale _scale_style ;i:fresh=0;}&quot;;
1914 <br>
1915 autocmd &quot;PostRedisplay&quot; &quot;&quot;
1916 &quot;i:_will_display=0&quot;; <br>
1917 # Display device specific config <br>
1918 alias &quot;aalib_fix_do&quot;
1919 &quot;{if(aascale==&rsquo;&rsquo;){ascale=&rsquo;2.0&rsquo;;}else{ascale=aascale;}
1920 i:fresh=1;display;if(_TERM=~&rsquo;screen&rsquo;){echo
1921 &rsquo;Detected screen+aalib: key bindings may not work as
1922 intended.&rsquo;}}&quot; &quot;See aalib_fix.&quot;; <br>
1923 alias &quot;aalib_fix&quot;
1924 &quot;if(_device_string=~&rsquo;^aa&rsquo;){aalib_fix_do;scale
1925 &rsquo;a&rsquo;;}&quot; &quot;When using the aalib (ASCII
1926 art) library we face a problem: glyph proportions are seldom
1927 square (as pixels are), and are tricky to detect; for this
1928 reason, we need to reshape the image with respect to the
1929 font ratio, but we have to make a guess in the scaling
1930 factor to compensate. If at runtime a better value is known
1931 for the terminal font height/with ratio, it may be fed in
1932 the &rsquo;aascale&rsquo; variable for an accurate
1933 scaling.&quot;; <br>
1934 alias &quot;cacalib_fix_do&quot;
1935 &quot;{if(cacascale==&rsquo;&rsquo;){ascale=&rsquo;1.18&rsquo;;}else{scale=cacascale;}
1936 i:fresh=1;display;if(_TERM=~&rsquo;screen&rsquo;){echo
1937 &rsquo;Detected screen+cacalib: key bindings may not work as
1938 intended.&rsquo;}}&quot; &quot;See cacalib_fix.&quot;; <br>
1939 alias &quot;cacalib_fix&quot; &quot;getenv
1940 &rsquo;DISPLAY&rsquo;;if(_device_string=~&rsquo;^ca&rsquo;
1941 &amp;&amp; ENV_DISPLAY==&rsquo;&rsquo;){cacalib_fix_do;scale
1942 &rsquo;a&rsquo;;}&quot; &quot;When using the libcaca
1943 (Coloured ASCII art) library we face a problem: glyph
1944 proportions are seldom square (as pixels are), and are
1945 tricky to detect; for this reason, we need to reshape the
1946 image with respect to the font ratio, but we have to make a
1947 guess in the scaling factor to compensate. If at runtime a
1948 better value is known for the terminal font height/with
1949 ratio, it may be fed in the &rsquo;cacascale&rsquo; variable
1950 for an accurate scaling.&quot;; <br>
1951 autocmd &quot;PostReload&quot; &quot;&quot;
1952 &quot;aalib_fix&quot;; <br>
1953 autocmd &quot;PostLoad&quot; &quot;&quot;
1954 &quot;aalib_fix&quot;; <br>
1955 autocmd &quot;PostReload&quot; &quot;&quot;
1956 &quot;cacalib_fix&quot;; <br>
1957 autocmd &quot;PostLoad&quot; &quot;&quot;
1958 &quot;cacalib_fix&quot;; <br>
1959 alias &quot;refresh&quot; &quot;desc
1960 &rsquo;reload&rsquo;;redisplay;&quot; &quot;reloads and
1961 displays image description&quot;; <br>
1962 bind &quot;F5&quot; &quot;refresh&quot;; <br>
1963 alias &quot;toggle_fullscreen&quot; &quot;if(
1964 (_device_string=~&rsquo;^sdl&rsquo; ||
1965 _device_string=~&rsquo;^gtk&rsquo; ) &amp;&amp;
1966 !_fullscreen){_old_sw=_screen_width;_old_sh=_screen_height;display
1967 &rsquo;reinit&rsquo; &rsquo;mW0:0&rsquo;;_fullscreen=1;}else
1968 if( (_device_string=~&rsquo;^sdl&rsquo; ||
1969 _device_string=~&rsquo;^gtk&rsquo; ) &amp;&amp;
1970 _old_sw*_old_sh*_fullscreen){display &rsquo;reinit&rsquo;
1971 &rsquo;rwm&rsquo;._old_sw.&rsquo;:&rsquo;._old_sh;_fullscreen=0;}_gtk_fullscreen=_fullscreen;&quot;
1972 &quot;Toggles full screen. Will show mouse cursor in full
1973 screen.&quot;; <br>
1974 alias &quot;_gtk_check_for_toggle_fullscreen&quot; &quot;if(
1975 _device_string=~&rsquo;^gtk&rsquo; &amp;&amp;
1976 _gtk_fullscreen != _fullscreen){toggle_fullscreen;}&quot;;
1977 <br>
1978 alias &quot;_gtk_check_for_toggle_gtk_menus&quot;
1979 &quot;if(_device_string=~&rsquo;^gtk&rsquo;){if(_hide_gtk_menus){display
1980 &rsquo;reinit&rsquo; &rsquo;b&rsquo;;}else{display
1981 &rsquo;reinit&rsquo; &rsquo;B&rsquo;;}}&quot;; <br>
1982 bind &quot;F11&quot; &quot;toggle_fullscreen&quot;;</p>
1983
1984 <p style="margin-left:11%; margin-top: 1em">autocmd
1985 &quot;PostReload&quot; &quot;&quot; &quot;i:fresh=1&quot; ;
1986 <br>
1987 autocmd &quot;PostScale&quot; &quot;&quot;
1988 &quot;if(0==i:_will_display){i:fresh=1;display;}&quot; ;
1989 <br>
1990 autocmd &quot;PostPan&quot; &quot;&quot;
1991 &quot;{i:fresh=1;display;}&quot; ; <br>
1992 #autocmd &quot;PostReload&quot; &quot;pdf|ps|djvu|dvi&quot;
1993 &quot;scale &rsquo;w&rsquo;;align &rsquo;top&rsquo;&quot;;
1994 <br>
1995 autocmd &quot;PostReload&quot; &quot;&quot;
1996 &quot;if(i:fresh){redisplay;}&quot;; <br>
1997 autocmd &quot;PostInteractiveCommand&quot; &quot;&quot;
1998 &quot;if(i:fresh){display;i:fresh=0;}&quot;; <br>
1999 autocmd &quot;PostInteractiveCommand&quot; &quot;&quot;
2000 &quot;if(_want_prefetch&gt;0){prefetch;}&quot;; <br>
2001 autocmd &quot;PostInteractiveCommand&quot; &quot;&quot;
2002 &quot;if(_display_console==0 &amp;&amp;
2003 i:fresh){redisplay;i:fresh=0;}&quot;; <br>
2004 autocmd &quot;PostInteractiveCommand&quot; &quot;&quot;
2005 &quot;idempotent_cmd&quot;; # Bug workaround: without it
2006 console scroll is broken. <br>
2007 autocmd &quot;PostInteractiveCommand&quot; &quot;&quot;
2008 &quot;_gtk_check_for_toggle_gtk_menus;_gtk_check_for_toggle_fullscreen&quot;;</p>
2009
2010 <p style="margin-left:11%; margin-top: 1em">#alias
2011 &quot;next10&quot;
2012 &quot;i=0;while(i&lt;10){i=i+1;next;display;sleep
2013 &rsquo;1&rsquo;;}&quot; &quot;goes forward 10 images&quot;;
2014 <br>
2015 #alias &quot;prev10&quot;
2016 &quot;i=0;while(i&lt;10){i=i+1;prev;display;sleep
2017 &rsquo;1&rsquo;;}&quot; &quot;goes backward 10 images&quot;;
2018 <br>
2019 bind &rsquo;N&rsquo; &quot;goto &rsquo;+1p&rsquo;
2020 &rsquo;+museum|series|city|category|artist+&rsquo;
2021 &rsquo;+/S&rsquo; &rsquo;+10&rsquo;;&quot; &quot;goto by
2022 jump or category or directory or just ahead&quot;; <br>
2023 bind &rsquo;P&rsquo; &quot;goto &rsquo;-1p&rsquo;
2024 &rsquo;-museum|series|city|category|artist+&rsquo;
2025 &rsquo;-/S&rsquo; &rsquo;-10&rsquo;;&quot; &quot;goto by
2026 jump or category or directory or just back &quot;; <br>
2027 bind &rsquo;C-n&rsquo; &quot;goto &rsquo;+//&rsquo;&quot;;
2028 <br>
2029 bind &rsquo;C-p&rsquo; &quot;goto &rsquo;-//&rsquo;&quot;;
2030 <br>
2031 bind &rsquo;C-b&rsquo; &quot;goto &rsquo;-//&rsquo;&quot;; #
2032 Warning: many configurations cannot detect C-b. <br>
2033 bind &rsquo;W&rsquo; &quot;display
2034 &rsquo;resize&rsquo;&quot; &quot;if supported, resizes the
2035 window to match the current image pixels size&quot;; <br>
2036 #bind &rsquo;C-w&rsquo; &quot;scale
2037 &rsquo;100%&rsquo;;display &rsquo;resize&rsquo;&quot;
2038 &quot;if supported, scales the image to 100% and resizes the
2039 window to match its size (if fits)&quot;; <br>
2040 bind &rsquo;C-w&rsquo;
2041 &quot;if(_scale_style!=&rsquo;w&rsquo;){_scale_style=&rsquo;w&rsquo;;scale
2042 &rsquo;w&rsquo;;}else{_scale_style=&rsquo;&rsquo;;scale
2043 &rsquo;100%&rsquo;;}&quot; &quot;scale to width&quot;; <br>
2044 alias &quot;endless_slideshow&quot;
2045 &quot;while(1){display;sleep
2046 _slideshow_sleep_time;next;}&quot; &quot;performs an
2047 automated slideshow, endlessly&quot;; <br>
2048 alias &quot;bookview&quot; &quot;while(1){display;sleep
2049 &rsquo;2&rsquo;;scroll &rsquo;down&rsquo;;}&quot;
2050 &quot;&quot;; <br>
2051 alias &quot;comicview&quot; &quot;while(1){display;sleep
2052 &rsquo;2&rsquo;;scroll &rsquo;down&rsquo;;}&quot;
2053 &quot;&quot;; <br>
2054 alias &quot;read&quot; &quot;while(1){display;sleep
2055 &rsquo;2&rsquo;;scroll &rsquo;forward&rsquo;;}&quot;
2056 &quot;&quot;; <br>
2057 alias &quot;slowread&quot;
2058 &quot;while(_fileindex&lt;=_filelistlen-1){display;sleep
2059 &rsquo;2&rsquo;;scroll &rsquo;forward&rsquo;;}&quot;
2060 &quot;loop once slowly&quot;; <br>
2061 alias &quot;fastread&quot;
2062 &quot;while(_fileindex&lt;=_filelistlen-1){display;sleep
2063 &rsquo;0.1&rsquo;;scroll &rsquo;forward&rsquo;;}&quot;
2064 &quot;proceeds like in a book but very fast, once&quot;;
2065 <br>
2066 alias &quot;pornview&quot; &quot;echo &rsquo;press any key
2067 repeatedly to terminate&rsquo; ;endless_slideshow&quot;
2068 &quot;enters an endless slideshow (alias name from an actual
2069 image viewer)&quot;; <br>
2070 autocmd &quot;PreExecutionCycle&quot; &quot;/fbps-&quot;
2071 &quot;_display_busy=0;_display_status=0&quot; ; <br>
2072 autocmd &quot;PreExecutionCycle&quot; &quot;&quot;
2073 &quot;i:fresh=1;reload&quot;; <br>
2074 autocmd &quot;PreExecutionCycle&quot;
2075 &quot;/fbps-.*ps001.png&quot;
2076 &quot;i:fresh=1;redisplay&quot;; <br>
2077 ## Example in imposing a file loader to an extension: <br>
2078 #autocmd &quot;PreReload&quot; &quot;.*mtx.gz&quot;
2079 &quot;_file_loader=&rsquo;MatrixMarket&rsquo;&quot;; <br>
2080 #autocmd &quot;PostReload&quot; &quot;.*mtx.gz&quot;
2081 &quot;_file_loader=&rsquo;&rsquo;&quot;; <br>
2082 bind &rsquo;*&rsquo;
2083 &quot;_display_console=0;toggleVerbosity;echo i:*&quot;;
2084 <br>
2085 bind &rsquo;w&rsquo; &quot;scale &rsquo;w&rsquo;&quot;; <br>
2086 bind &rsquo;&lt;&rsquo; &quot;rotate10_ccw;display&quot;;
2087 <br>
2088 bind &rsquo;&gt;&rsquo; &quot;rotate10;display&quot;; <br>
2089 bind &rsquo;_&rsquo; &quot;_scale_style=&rsquo;&rsquo;;scale
2090 &rsquo;100%&rsquo;&quot;; <br>
2091 bind &rsquo;,&rsquo; &quot;_display_console=1;echo
2092 _last_system_output&quot;; <br>
2093 bind &rsquo;C-a&rsquo;
2094 &quot;if(_scale_style!=&rsquo;a&rsquo;){_scale_style=&rsquo;a&rsquo;;scale
2095 &rsquo;a&rsquo;;}else{_scale_style=&rsquo;&rsquo;;scale
2096 &rsquo;100%&rsquo;;}&quot; &quot;scale to height&quot;; <br>
2097 # <br>
2098 alias &quot;pan_nw&quot; &quot;pan &rsquo;nw&rsquo;&quot;
2099 &quot;pans the image to the upper left&quot;; <br>
2100 alias &quot;pan_ne&quot; &quot;pan &rsquo;ne&rsquo;&quot;
2101 &quot;pans the image to the upper right&quot;; <br>
2102 alias &quot;pan_se&quot; &quot;pan &rsquo;se&rsquo;&quot;
2103 &quot;pans the image to the lower left&quot;; <br>
2104 alias &quot;pan_sw&quot; &quot;pan &rsquo;sw&rsquo;&quot;
2105 &quot;pans the image to the lower right&quot;; <br>
2106 alias &quot;pan_down&quot; &quot;if(_display_console==0){pan
2107 &rsquo;down&rsquo;;}else{scd;}&quot; &quot;pans the image
2108 down / scrolls console down&quot;; <br>
2109 alias &quot;pan_up&quot; &quot;if(_display_console==0){pan
2110 &rsquo;up&rsquo; ;}else{scu;}&quot; &quot;pans the image up
2111 / scrolls console up&quot;; <br>
2112 alias &quot;pan_left&quot; &quot;pan
2113 &rsquo;left&rsquo;&quot; &quot;pans the image left&quot;;
2114 <br>
2115 alias &quot;pan_right&quot; &quot;pan
2116 &rsquo;right&rsquo;&quot; &quot;pans the image right&quot;;
2117 <br>
2118 alias &quot;diagonal_nw&quot; &quot;pan_nw&quot; &quot;pans
2119 the image to the upper left&quot;; <br>
2120 alias &quot;diagonal_ne&quot; &quot;pan_ne&quot; &quot;pans
2121 the image to the upper right&quot;; <br>
2122 alias &quot;diagonal_se&quot; &quot;pan_se&quot; &quot;pans
2123 the image to the lower left&quot;; <br>
2124 alias &quot;diagonal_sw&quot; &quot;pan_sw&quot; &quot;pans
2125 the image to the lower right&quot;; <br>
2126 bind &rsquo;d&rsquo; &quot;diagonal_nw&quot;; <br>
2127 bind &rsquo;D&rsquo; &quot;diagonal_se&quot;; <br>
2128 bind &rsquo;x&rsquo; &quot;diagonal_ne&quot;; <br>
2129 bind &rsquo;X&rsquo; &quot;diagonal_sw&quot;; <br>
2130 alias &quot;toggleDisplayStatus&quot;
2131 &quot;_display_status=1-_display_status;redisplay&quot;
2132 &quot;&quot;; <br>
2133 alias &quot;toggleDisplayBusy&quot;
2134 &quot;_display_busy=1-_display_busy&quot; &quot;&quot;; <br>
2135 alias &quot;sort&quot; &quot;list &rsquo;sort&rsquo;&quot;
2136 &quot;sorts the files list ordered&quot;; <br>
2137 bind &rsquo;o&rsquo; &quot;sort&quot;; <br>
2138 bind &rsquo;b&rsquo; &quot;prev&quot;; <br>
2139 bind &rsquo;B&rsquo; &quot;toggleDisplayBusy&quot;; <br>
2140 alias &quot;random_slideshow&quot;
2141 &quot;while(1){display;sleep _slideshow_sleep_time; eval
2142 &rsquo;r=random&rsquo;;goto r;}&quot; &quot;performs a
2143 shuffled slideshow, endlessly&quot;; <br>
2144 alias &quot;rotate90_ccw&quot;
2145 &quot;i:_orientation=i:_orientation+3;i:fresh=1;redisplay&quot;
2146 &quot;rotate 90 degrees counter clockwise&quot;; <br>
2147 alias &quot;rotate90_cw&quot;
2148 &quot;i:_orientation=i:_orientation+1;i:fresh=1;redisplay&quot;
2149 &quot;rotate 90 degrees clockwise&quot;; <br>
2150 alias &quot;rotate180&quot;
2151 &quot;i:_orientation=i:_orientation+2;i:fresh=1;redisplay&quot;
2152 &quot;rotate 180 degrees&quot;; <br>
2153 alias &quot;rotate90&quot; &quot;rotate90_cw;display&quot;
2154 &quot;rotate 90 degrees clockwise&quot;; <br>
2155 alias &quot;rotate270&quot; &quot;rotate90_ccw;display&quot;
2156 &quot;rotate 90 degrees counter clockwise&quot;; <br>
2157 alias &quot;rotate10&quot; &quot;rotate
2158 &rsquo;10&rsquo;;display&quot; &quot;rotate 10 degrees
2159 counter clockwise&quot;; <br>
2160 alias &quot;rotate10_ccw&quot; &quot;rotate -10
2161 ;display&quot; &quot;rotate 10 degrees clockwise&quot;;</p>
2162
2163 <p style="margin-left:11%; margin-top: 1em">bind
2164 &rsquo;K&rsquo; &rsquo;if(_display_console==0){echo
2165 i:_filename.&quot;:
2166 &quot;.i:_comment;toggleVerbosity}else{toggleVerbosity;}&rsquo;;
2167 <br>
2168 bind &rsquo;C-k&rsquo; &rsquo;crop&rsquo; # still
2169 experimental</p>
2170
2171 <p style="margin-left:11%; margin-top: 1em">alias
2172 &rsquo;cache&rsquo; &rsquo;echo _cache_status&rsquo;
2173 &quot;displays cached images status&quot;; <br>
2174 bind &rsquo;c&rsquo; &rsquo;align &quot;center&quot;&rsquo;;
2175 <br>
2176 alias &rsquo;widen&rsquo;
2177 &rsquo;i:ascale=i:ascale*&quot;1.1&quot;;*1.0&rsquo;
2178 &quot;widen the current image&quot;; <br>
2179 alias &rsquo;narrow&rsquo;
2180 &rsquo;i:ascale=i:ascale/&quot;1.1&quot;;*1.0&rsquo;
2181 &quot;narrow the current image&quot;; <br>
2182 bind &rsquo;y&rsquo; &quot;widen&quot; &quot;widen
2183 horizontally the image&quot;; <br>
2184 bind &rsquo;Y&rsquo; &quot;narrow&quot; &quot;shrink
2185 horizontally the image&quot;; <br>
2186 alias &rsquo;console_scroll_up&rsquo;
2187 &rsquo;if(_console_offset&lt;_console_lines+console_scroll_n-_rows){_console_offset=_console_offset+console_scroll_n;}&rsquo;
2188 &quot;scrolls up the virtual console&quot;; <br>
2189 alias &rsquo;console_scroll_down&rsquo;
2190 &rsquo;if(allow_round_scroll ||
2191 (_console_offset&gt;=console_scroll_n)){_console_offset=_console_offset-console_scroll_n;}&rsquo;
2192 &quot;scrolls down the virtual console&quot;; <br>
2193 alias &rsquo;console_scroll_reset&rsquo;
2194 &rsquo;{_console_offset=0;}&rsquo;; <br>
2195 alias &rsquo;scu&rsquo; &rsquo;console_scroll_up&rsquo;
2196 &quot;&quot;; <br>
2197 alias &rsquo;scd&rsquo; &rsquo;console_scroll_down&rsquo;
2198 &quot;&quot;; <br>
2199 alias &rsquo;scz&rsquo; &rsquo;console_scroll_reset&rsquo;
2200 &quot;&quot;; <br>
2201 alias &rsquo;center&rsquo; &rsquo;align
2202 &quot;center&quot;&rsquo;; <br>
2203 alias &rsquo;left&rsquo; &rsquo;align
2204 &quot;left&quot;&rsquo;; <br>
2205 alias &rsquo;right&rsquo; &rsquo;align
2206 &quot;right&quot;&rsquo;; <br>
2207 alias &rsquo;top&rsquo; &rsquo;align &quot;top&quot;&rsquo;;
2208 <br>
2209 alias &rsquo;bottom&rsquo; &rsquo;align
2210 &quot;bottom&quot;&rsquo;; <br>
2211 alias &quot;font_magnify_auto&quot;
2212 &quot;if(_fbfont_as_screen_fraction&gt;1){_fbfont_as_screen_fraction=_fbfont_as_screen_fraction-1;}else{_fbfont_as_screen_fraction=_screen_width/100+_screen_height/100;}&quot;
2213 &quot;&quot;; <br>
2214 alias &quot;font_magnify_manual&quot;
2215 &quot;_fbfont_magnify_factor=_fbfont_magnify_factor+1&quot;
2216 &quot;&quot;; <br>
2217 alias &quot;font_reduce_auto&quot;
2218 &quot;if(_fbfont_as_screen_fraction&gt;1){_fbfont_as_screen_fraction=_fbfont_as_screen_fraction+1;}&quot;
2219 &quot;&quot;; <br>
2220 alias &quot;font_reduce_manual&quot;
2221 &quot;_fbfont_magnify_factor=_fbfont_magnify_factor-1&quot;
2222 &quot;&quot;; <br>
2223 alias &quot;toggle_font_auto_scale&quot;
2224 &quot;if(_fbfont_as_screen_fraction&lt;0){_fbfont_as_screen_fraction=0;echo
2225 &rsquo;Auto font scaling
2226 on.&rsquo;;}else{_fbfont_as_screen_fraction=-1;echo
2227 &rsquo;Auto font scaling off.&rsquo;;}&quot; &quot;toggles
2228 between manual and auto font scaling control&quot;; <br>
2229 alias &rsquo;next_file_same_search&rsquo; &quot;goto
2230 &rsquo;+//&rsquo;;&quot; &quot;go to next file with same
2231 search criteria&quot;; <br>
2232 alias &rsquo;next_file_dir_same&rsquo; &quot;goto
2233 &rsquo;+/s&rsquo;;&quot; &quot;go to next file in same
2234 dir&quot;; <br>
2235 alias &rsquo;next_file_dir_other&rsquo; &quot;goto
2236 &rsquo;+/S&rsquo;;&quot; &quot;go to next file in other
2237 dir&quot;; <br>
2238 alias &rsquo;next_file_dir_up&rsquo; &quot;goto
2239 &rsquo;+/u&rsquo;;&quot; &quot;go to next file up the dir
2240 hierarchy&quot;; <br>
2241 alias &rsquo;next_file_dir_down&rsquo; &quot;goto
2242 &rsquo;+/d&rsquo;;&quot; &quot;go to next file down the dir
2243 hierarchy&quot;; <br>
2244 alias &rsquo;next_file_same_basename&rsquo; &quot;goto
2245 &rsquo;+/b&rsquo;;&quot; &quot;go to next file with same
2246 basename&quot;; <br>
2247 alias &rsquo;prev_file_dir_same&rsquo; &quot;goto
2248 &rsquo;-/s&rsquo;;&quot; &quot;go to prev file in same
2249 dir&quot;; <br>
2250 alias &rsquo;prev_file_dir_other&rsquo; &quot;goto
2251 &rsquo;-/S&rsquo;;&quot; &quot;go to prev file in other
2252 dir&quot;; <br>
2253 alias &rsquo;prev_file_dir_up&rsquo; &quot;goto
2254 &rsquo;-/u&rsquo;;&quot; &quot;go to prev file up the dir
2255 hierarchy&quot;; <br>
2256 alias &rsquo;prev_file_dir_down&rsquo; &quot;goto
2257 &rsquo;-/d&rsquo;;&quot; &quot;go to prev file down the dir
2258 hierarchy&quot;; <br>
2259 alias &rsquo;prev_file_same_basename&rsquo; &quot;goto
2260 &rsquo;-/b&rsquo;;&quot; &quot;go to prev file with same
2261 basename&quot;; <br>
2262 #alias &quot;font_magnify&quot;
2263 &quot;if(_fbfont_as_screen_fraction&lt;0)
2264 {font_magnify_manual;}else{font_magnify_auto;}&quot;
2265 &quot;increase font size (either relative or
2266 absolute)&quot;; <br>
2267 #alias &quot;font_reduce&quot;
2268 &quot;if(_fbfont_as_screen_fraction&lt;0)
2269 {font_reduce_manual;} else{font_reduce_auto;}&quot;
2270 &quot;increase font size (either relative or
2271 absolute)&quot;; <br>
2272 alias &quot;font_magnify&quot;
2273 &quot;_fbfont_as_screen_fraction=-1;font_magnify_manual&quot;
2274 &quot;increase absolute font size and set manual font
2275 control&quot;; <br>
2276 alias &quot;font_reduce&quot;
2277 &quot;_fbfont_as_screen_fraction=-1;font_reduce_manual&quot;
2278 &quot;decrease absolute font size and set manual font
2279 control&quot;; <br>
2280 bind &quot;PageUp&quot;
2281 &quot;if(_display_console==0){prev;}else{scu;}&quot;; <br>
2282 bind &quot;PageDown&quot;
2283 &quot;if(_display_console==0){next;}else{scd;}&quot;; <br>
2284 bind &quot;Home&quot; &quot;0;&quot;; <br>
2285 bind &quot;End&quot; &quot;$;&quot;; <br>
2286 bind &quot;^&quot; &quot;0;&quot;; <br>
2287 bind &quot;$&quot; &quot;$;&quot;; <br>
2288 #bind &quot;Backspace&quot; &quot;prev&quot;; # console code
2289 for C-h and Backspace is the same :-) <br>
2290 bind &quot;&rsquo;&quot; &quot;goto
2291 _lastfileindex.&rsquo;f&rsquo;.(_lastpageindex+1).&rsquo;p&rsquo;&quot;;
2292 <br>
2293 bind &rsquo;&quot;&rsquo; &quot;scale
2294 &rsquo;shadow&rsquo;;i:fresh=1;redisplay;&quot;; <br>
2295 bind &rsquo;(&rsquo; &quot;goto &rsquo;^p&rsquo;&quot;; <br>
2296 bind &rsquo;)&rsquo; &quot;goto &rsquo;$p&rsquo;&quot;; <br>
2297 bind &rsquo;Z&rsquo; &quot;sleep 1&quot;; <br>
2298 _display_status=1; # lower status line <br>
2299 _want_wm_caption_status=&quot;fim:%N@%p%%%L[%i/%l]&quot;;
2300 <br>
2301
2302 _caption_over_image_fmt=&quot;%?_comment?%:_comment:?&quot;;
2303 <br>
2304 _info_fmt_str=&quot;%p%% %wx%h%L %i/%l%P %F %T %c&quot;; #
2305 lower right line part <br>
2306 #_display_status_fmt=&quot;%N:%k&quot;; # <br>
2307
2308 _display_status_fmt=&quot;%N%?EXIF_DateTimeOriginal?[%:EXIF_DateTimeOriginal:]?%?EXIF_ExposureTime?[%:EXIF_ExposureTime:]?%?EXIF_FNumber?[%:EXIF_FNumber:]?%?EXIF_ApertureValue?[%:EXIF_ApertureValue:]?%?EXIF_ISOSpeedRatings?[ISO%:EXIF_ISOSpeedRatings:]?%?_markedfile?[mark
2309 on %:_markedfile:]?:%k&quot;; # lower left line part <br>
2310 # funny aliases: <br>
2311 alias &quot;webcam&quot; &quot;pread &rsquo;vgrabbj -d
2312 /dev/video0&rsquo;;$&quot; &quot;say cheese&quot;; <br>
2313 alias &rsquo;espeak&rsquo; &rsquo;system
2314 \&rsquo;espeak\&rsquo; i:_filename.&quot;
2315 &quot;.i:_comment&rsquo; &rsquo;say something&rsquo;; <br>
2316 #_fbfont_as_screen_fraction=-1; # disable auto font scaling
2317 <br>
2318 if( _device_string=~&rsquo;^gtk[^e]*$&rsquo; ) {</p>
2319
2320 <table width="100%" border="0" rules="none" frame="void"
2321 cellspacing="0" cellpadding="0">
2322 <tr valign="top" align="left">
2323 <td width="8%"></td>
2324 <td width="7%"></td>
2325 <td width="8%">
2326
2327
2328 <p>alias &quot;man_fim&quot; &quot;system &rsquo;man&rsquo;
2329 &rsquo;fim&rsquo;;
2330 _display_console=0;toggleVerbosity;&quot;;</p> </td>
2331 <td width="77%"></td>
2332 </td></tr>
2333 <tr valign="top" align="left">
2334 <td width="8%"></td>
2335 <td width="7%"></td>
2336 <td width="8%">
2337
2338
2339 <p>alias &quot;man_fimrc&quot; &quot;system
2340 &rsquo;man&rsquo;
2341 &rsquo;fimrc&rsquo;;_display_console=0;toggleVerbosity;&quot;;</p> </td>
2342 <td width="77%"></td>
2343 </td></tr>
2344 <tr valign="top" align="left">
2345 <td width="8%"></td>
2346 <td width="7%"></td>
2347 <td width="8%">
2348
2349
2350 <p>alias &rsquo;_rebuild_menus&rsquo; &rsquo;display
2351 &quot;reinit&quot; &quot;f&quot;;&rsquo;;</p></td>
2352 <td width="77%"></td>
2353 </td></tr>
2354 <tr valign="top" align="left">
2355 <td width="8%"></td>
2356 <td width="7%"></td>
2357 <td width="8%">
2358
2359
2360 <p>alias &rsquo;_rebuild_quieter_menus&rsquo;
2361 &rsquo;_debug_commands=_debug_commands-&quot;m&quot;;display
2362 &quot;reinit&quot; &quot;fV&quot;;&rsquo;; # remove
2363 &quot;m&quot; occurrences from _debug_commands and
2364 rebuild</p> </td>
2365 <td width="77%"></td>
2366 </td></tr>
2367 <tr valign="top" align="left">
2368 <td width="8%"></td>
2369 <td width="7%"></td>
2370 <td width="8%">
2371
2372
2373 <p>alias &rsquo;_rebuild_verboser_menus&rsquo;
2374 &rsquo;_debug_commands=_debug_commands.&quot;m&quot;;_rebuild_menus;&rsquo;;</p> </td>
2375 <td width="77%"></td>
2376 </td></tr>
2377 <tr valign="top" align="left">
2378 <td width="8%"></td>
2379 <td width="7%"></td>
2380 <td width="8%">
2381
2382
2383 <p>alias &rsquo;_rebuild_verbosest_menus&rsquo;
2384 &rsquo;_debug_commands=_debug_commands.&quot;mm&quot;;_rebuild_menus;&rsquo;;</p> </td>
2385 <td width="77%"></td>
2386 </td></tr>
2387 <tr valign="top" align="left">
2388 <td width="8%"></td>
2389 <td width="7%"></td>
2390 <td width="8%">
2391
2392
2393 <p>alias &rsquo;toggle_gtk_menus&rsquo;
2394 &rsquo;if(!_hide_gtk_menus){_hide_gtk_menus=1;}else{_hide_gtk_menus=0;}&rsquo;;</p> </td>
2395 <td width="77%"></td>
2396 </td></tr>
2397 <tr valign="top" align="left">
2398 <td width="8%"></td>
2399 <td width="7%"></td>
2400 <td width="8%">
2401
2402
2403 <p>autocmd &quot;PreInteractiveCommand&quot; &quot;&quot;
2404 &quot;if(__internal_state_changed){_rebuild_menus;__internal_state_changed=0;}&quot;;</p> </td>
2405 <td width="77%"></td>
2406 </td></tr>
2407 <tr valign="top" align="left">
2408 <td width="8%"></td>
2409 <td width="7%"></td>
2410 <td width="8%">
2411
2412
2413 <p>autocmd &quot;PostInteractiveCommand&quot; &quot;&quot;
2414 &quot;if(__internal_state_changed){_rebuild_menus;__internal_state_changed=0;}&quot;;</p> </td>
2415 <td width="77%"></td>
2416 </td></tr>
2417 <tr valign="top" align="left">
2418 <td width="8%"></td>
2419 <td width="7%"></td>
2420 <td width="8%">
2421
2422
2423 <p>autocmd &quot;PreExecutionCycle&quot; &quot;&quot;
2424 &quot;if(__internal_state_changed){_rebuild_menus;__internal_state_changed=0;}&quot;;</p> </td>
2425 <td width="77%"></td>
2426 </td></tr>
2427 <tr valign="top" align="left">
2428 <td width="8%"></td>
2429 <td width="7%"></td>
2430 <td width="8%">
2431
2432
2433 <p>display &quot;menuadd&quot;</p></td>
2434 <td width="77%"></td>
2435 </td></tr>
2436 <tr valign="top" align="left">
2437 <td width="8%"></td>
2438 <td width="7%">
2439 </td>
2440 <td width="8%">
2441 </td>
2442 <td width="77%"></td>
2443 </td></tr>
2444 <tr valign="top" align="left">
2445 <td width="8%"></td>
2446 <td width="7%"></td>
2447 <td width="8%">
2448
2449
2450 <p>&quot;_File/&quot;</p></td>
2451 <td width="77%"></td>
2452 </td></tr>
2453 <tr valign="top" align="left">
2454 <td width="8%"></td>
2455 <td width="7%">
2456 </td>
2457 <td width="8%">
2458 </td>
2459 <td width="77%"></td>
2460 </td></tr>
2461 <tr valign="top" align="left">
2462 <td width="8%"></td>
2463 <td width="7%"></td>
2464 <td width="8%">
2465
2466
2467 <p>&quot;_File/_Open file open C-o&quot;</p></td>
2468 <td width="77%"></td>
2469 </td></tr>
2470 <tr valign="top" align="left">
2471 <td width="8%"></td>
2472 <td width="7%">
2473 </td>
2474 <td width="8%">
2475 </td>
2476 <td width="77%"></td>
2477 </td></tr>
2478 <tr valign="top" align="left">
2479 <td width="8%"></td>
2480 <td width="7%"></td>
2481 <td width="8%">
2482
2483
2484 <p>&quot;_File/Open _directory open_dir &quot;</p></td>
2485 <td width="77%"></td>
2486 </td></tr>
2487 <tr valign="top" align="left">
2488 <td width="8%"></td>
2489 <td width="7%">
2490 </td>
2491 <td width="8%">
2492 </td>
2493 <td width="77%"></td>
2494 </td></tr>
2495 <tr valign="top" align="left">
2496 <td width="8%"></td>
2497 <td width="7%"></td>
2498 <td width="8%">
2499
2500
2501 <p>&quot;_File/_Next file or page next &quot;</p></td>
2502 <td width="77%"></td>
2503 </td></tr>
2504 <tr valign="top" align="left">
2505 <td width="8%"></td>
2506 <td width="7%">
2507 </td>
2508 <td width="8%">
2509 </td>
2510 <td width="77%"></td>
2511 </td></tr>
2512 <tr valign="top" align="left">
2513 <td width="8%"></td>
2514 <td width="7%"></td>
2515 <td width="8%">
2516
2517
2518 <p>&quot;_File/_Next file next_file &quot;</p></td>
2519 <td width="77%"></td>
2520 </td></tr>
2521 <tr valign="top" align="left">
2522 <td width="8%"></td>
2523 <td width="7%">
2524 </td>
2525 <td width="8%">
2526 </td>
2527 <td width="77%"></td>
2528 </td></tr>
2529 <tr valign="top" align="left">
2530 <td width="8%"></td>
2531 <td width="7%"></td>
2532 <td width="8%">
2533
2534
2535 <p>&quot;_File/_Next in other directory
2536 next_file_dir_other&quot;</p> </td>
2537 <td width="77%"></td>
2538 </td></tr>
2539 <tr valign="top" align="left">
2540 <td width="8%"></td>
2541 <td width="7%">
2542 </td>
2543 <td width="8%">
2544 </td>
2545 <td width="77%"></td>
2546 </td></tr>
2547 <tr valign="top" align="left">
2548 <td width="8%"></td>
2549 <td width="7%"></td>
2550 <td width="8%">
2551
2552
2553 <p>&quot;_File/_Next in this directory
2554 next_file_dir_same&quot;</p> </td>
2555 <td width="77%"></td>
2556 </td></tr>
2557 <tr valign="top" align="left">
2558 <td width="8%"></td>
2559 <td width="7%">
2560
2561
2562 <p>#</p></td>
2563 <td width="8%">
2564 </td>
2565 <td width="77%"></td>
2566 </td></tr>
2567 <tr valign="top" align="left">
2568 <td width="8%"></td>
2569 <td width="7%"></td>
2570 <td width="8%">
2571
2572
2573 <p>&quot;_File/_Next as last search goto + &quot; # Note
2574 that slashes are not supported currently.</p></td>
2575 <td width="77%"></td>
2576 </td></tr>
2577 <tr valign="top" align="left">
2578 <td width="8%"></td>
2579 <td width="7%">
2580 </td>
2581 <td width="8%">
2582 </td>
2583 <td width="77%"></td>
2584 </td></tr>
2585 <tr valign="top" align="left">
2586 <td width="8%"></td>
2587 <td width="7%"></td>
2588 <td width="8%">
2589
2590
2591 <p>&quot;_File/_Next as last search next_file_same_search
2592 &quot;</p> </td>
2593 <td width="77%"></td>
2594 </td></tr>
2595 <tr valign="top" align="left">
2596 <td width="8%"></td>
2597 <td width="7%">
2598 </td>
2599 <td width="8%">
2600 </td>
2601 <td width="77%"></td>
2602 </td></tr>
2603 <tr valign="top" align="left">
2604 <td width="8%"></td>
2605 <td width="7%"></td>
2606 <td width="8%">
2607
2608
2609 <p>&quot;_File/_Go back to last file goto _lastfileindex
2610 &quot;</p> </td>
2611 <td width="77%"></td>
2612 </td></tr>
2613 <tr valign="top" align="left">
2614 <td width="8%"></td>
2615 <td width="7%">
2616 </td>
2617 <td width="8%">
2618 </td>
2619 <td width="77%"></td>
2620 </td></tr>
2621 <tr valign="top" align="left">
2622 <td width="8%"></td>
2623 <td width="7%"></td>
2624 <td width="8%">
2625
2626
2627 <p>&quot;_File/_Previous in list prev p&quot;</p></td>
2628 <td width="77%"></td>
2629 </td></tr>
2630 <tr valign="top" align="left">
2631 <td width="8%"></td>
2632 <td width="7%">
2633
2634
2635 <p>#</p></td>
2636 <td width="8%">
2637 </td>
2638 <td width="77%"></td>
2639 </td></tr>
2640 <tr valign="top" align="left">
2641 <td width="8%"></td>
2642 <td width="7%"></td>
2643 <td width="8%">
2644
2645
2646 <p>&quot;_File/Remove from list list
2647 &rsquo;pop&rsquo;&quot;</p> </td>
2648 <td width="77%"></td>
2649 </td></tr>
2650 <tr valign="top" align="left">
2651 <td width="8%"></td>
2652 <td width="7%">
2653
2654
2655 <p>#</p></td>
2656 <td width="8%">
2657 </td>
2658 <td width="77%"></td>
2659 </td></tr>
2660 <tr valign="top" align="left">
2661 <td width="8%"></td>
2662 <td width="7%"></td>
2663 <td width="8%">
2664
2665
2666 <p>&quot;_File/Remove from list list_remove_and_reload
2667 &quot;</p> </td>
2668 <td width="77%"></td>
2669 </td></tr>
2670 <tr valign="top" align="left">
2671 <td width="8%"></td>
2672 <td width="7%">
2673 </td>
2674 <td width="8%">
2675 </td>
2676 <td width="77%"></td>
2677 </td></tr>
2678 <tr valign="top" align="left">
2679 <td width="8%"></td>
2680 <td width="7%"></td>
2681 <td width="8%">
2682
2683
2684 <p>&quot;_File/Remove from list list
2685 &rsquo;remove&rsquo;;reload &quot;</p></td>
2686 <td width="77%"></td>
2687 </td></tr>
2688 <tr valign="top" align="left">
2689 <td width="8%"></td>
2690 <td width="7%">
2691 </td>
2692 <td width="8%">
2693 </td>
2694 <td width="77%"></td>
2695 </td></tr>
2696 <tr valign="top" align="left">
2697 <td width="8%"></td>
2698 <td width="7%"></td>
2699 <td width="8%">
2700
2701
2702 <p>&quot;_File/Mark list &rsquo;mark&rsquo;&quot;</p></td>
2703 <td width="77%"></td>
2704 </td></tr>
2705 <tr valign="top" align="left">
2706 <td width="8%"></td>
2707 <td width="7%">
2708 </td>
2709 <td width="8%">
2710 </td>
2711 <td width="77%"></td>
2712 </td></tr>
2713 <tr valign="top" align="left">
2714 <td width="8%"></td>
2715 <td width="7%"></td>
2716 <td width="8%">
2717
2718
2719 <p>&quot;_File/Unmark list &rsquo;unmark&rsquo;&quot;</p></td>
2720 <td width="77%"></td>
2721 </td></tr>
2722 <tr valign="top" align="left">
2723 <td width="8%"></td>
2724 <td width="7%">
2725 </td>
2726 <td width="8%">
2727 </td>
2728 <td width="77%"></td>
2729 </td></tr>
2730 <tr valign="top" align="left">
2731 <td width="8%"></td>
2732 <td width="7%"></td>
2733 <td width="8%">
2734
2735
2736 <p>&quot;_File/_Quit quit q&quot;</p></td>
2737 <td width="77%"></td>
2738 </td></tr>
2739 <tr valign="top" align="left">
2740 <td width="8%"></td>
2741 <td width="7%">
2742 </td>
2743 <td width="8%">
2744 </td>
2745 <td width="77%"></td>
2746 </td></tr>
2747 <tr valign="top" align="left">
2748 <td width="8%"></td>
2749 <td width="7%"></td>
2750 <td width="8%">
2751
2752
2753 <p>&quot;_List/Show list&quot;</p></td>
2754 <td width="77%"></td>
2755 </td></tr>
2756 <tr valign="top" align="left">
2757 <td width="8%"></td>
2758 <td width="7%">
2759 </td>
2760 <td width="8%">
2761 </td>
2762 <td width="77%"></td>
2763 </td></tr>
2764 <tr valign="top" align="left">
2765 <td width="8%"></td>
2766 <td width="7%"></td>
2767 <td width="8%">
2768
2769
2770 <p>&quot;_List/_Limit FimMenuLimit/&quot;</p></td>
2771 <td width="77%"></td>
2772 </td></tr>
2773 <tr valign="top" align="left">
2774 <td width="8%"></td>
2775 <td width="7%">
2776 </td>
2777 <td width="8%">
2778 </td>
2779 <td width="77%"></td>
2780 </td></tr>
2781 <tr valign="top" align="left">
2782 <td width="8%"></td>
2783 <td width="7%"></td>
2784 <td width="8%">
2785
2786
2787 <p>&quot;_List/Limit to.../files sized as current one limit
2788 &rsquo;~z&rsquo;&quot; #</p></td>
2789 <td width="77%"></td>
2790 </td></tr>
2791 <tr valign="top" align="left">
2792 <td width="8%"></td>
2793 <td width="7%">
2794 </td>
2795 <td width="8%">
2796 </td>
2797 <td width="77%"></td>
2798 </td></tr>
2799 <tr valign="top" align="left">
2800 <td width="8%"></td>
2801 <td width="7%"></td>
2802 <td width="8%">
2803
2804
2805 <p>&quot;_List/Limit to.../files dated as current one limit
2806 &rsquo;~d&rsquo;&quot;</p> </td>
2807 <td width="77%"></td>
2808 </td></tr>
2809 <tr valign="top" align="left">
2810 <td width="8%"></td>
2811 <td width="7%">
2812 </td>
2813 <td width="8%">
2814 </td>
2815 <td width="77%"></td>
2816 </td></tr>
2817 <tr valign="top" align="left">
2818 <td width="8%"></td>
2819 <td width="7%"></td>
2820 <td width="8%">
2821
2822
2823 <p>&quot;_List/Limit to.../files with duplicate basename
2824 limit &rsquo;~=&rsquo;&quot;</p></td>
2825 <td width="77%"></td>
2826 </td></tr>
2827 <tr valign="top" align="left">
2828 <td width="8%"></td>
2829 <td width="7%">
2830 </td>
2831 <td width="8%">
2832 </td>
2833 <td width="77%"></td>
2834 </td></tr>
2835 <tr valign="top" align="left">
2836 <td width="8%"></td>
2837 <td width="7%"></td>
2838 <td width="8%">
2839
2840
2841 <p>&quot;_List/_Unlimit list (reset) unlimit u&quot;</p></td>
2842 <td width="77%"></td>
2843 </td></tr>
2844 <tr valign="top" align="left">
2845 <td width="8%"></td>
2846 <td width="7%">
2847 </td>
2848 <td width="8%">
2849 </td>
2850 <td width="77%"></td>
2851 </td></tr>
2852 <tr valign="top" align="left">
2853 <td width="8%"></td>
2854 <td width="7%"></td>
2855 <td width="8%">
2856
2857
2858 <p>&quot;_List/Reverse list &rsquo;reverse&rsquo;
2859 &quot;</p> </td>
2860 <td width="77%"></td>
2861 </td></tr>
2862 <tr valign="top" align="left">
2863 <td width="8%"></td>
2864 <td width="7%">
2865 </td>
2866 <td width="8%">
2867 </td>
2868 <td width="77%"></td>
2869 </td></tr>
2870 <tr valign="top" align="left">
2871 <td width="8%"></td>
2872 <td width="7%"></td>
2873 <td width="8%">
2874
2875
2876 <p>&quot;_List/Sort by name list &rsquo;sort&rsquo;
2877 &quot;</p> </td>
2878 <td width="77%"></td>
2879 </td></tr>
2880 <tr valign="top" align="left">
2881 <td width="8%"></td>
2882 <td width="7%">
2883 </td>
2884 <td width="8%">
2885 </td>
2886 <td width="77%"></td>
2887 </td></tr>
2888 <tr valign="top" align="left">
2889 <td width="8%"></td>
2890 <td width="7%"></td>
2891 <td width="8%">
2892
2893
2894 <p>&quot;_List/Sort by size list &rsquo;sort_fsize&rsquo;
2895 &quot;</p> </td>
2896 <td width="77%"></td>
2897 </td></tr>
2898 <tr valign="top" align="left">
2899 <td width="8%"></td>
2900 <td width="7%">
2901 </td>
2902 <td width="8%">
2903 </td>
2904 <td width="77%"></td>
2905 </td></tr>
2906 <tr valign="top" align="left">
2907 <td width="8%"></td>
2908 <td width="7%"></td>
2909 <td width="8%">
2910
2911
2912 <p>&quot;_List/Sort by time list &rsquo;sort_mtime&rsquo;
2913 &quot;</p> </td>
2914 <td width="77%"></td>
2915 </td></tr>
2916 <tr valign="top" align="left">
2917 <td width="8%"></td>
2918 <td width="7%">
2919 </td>
2920 <td width="8%">
2921 </td>
2922 <td width="77%"></td>
2923 </td></tr>
2924 <tr valign="top" align="left">
2925 <td width="8%"></td>
2926 <td width="7%"></td>
2927 <td width="8%">
2928
2929
2930 <p>&quot;_List/Shuffle randomly list
2931 &rsquo;random_shuffle&rsquo; &quot;</p></td>
2932 <td width="77%"></td>
2933 </td></tr>
2934 <tr valign="top" align="left">
2935 <td width="8%"></td>
2936 <td width="7%">
2937 </td>
2938 <td width="8%">
2939 </td>
2940 <td width="77%"></td>
2941 </td></tr>
2942 <tr valign="top" align="left">
2943 <td width="8%"></td>
2944 <td width="7%"></td>
2945 <td width="8%">
2946
2947
2948 <p>&quot;_List/Mark all list &rsquo;markall&rsquo;
2949 &quot;</p> </td>
2950 <td width="77%"></td>
2951 </td></tr>
2952 <tr valign="top" align="left">
2953 <td width="8%"></td>
2954 <td width="7%">
2955 </td>
2956 <td width="8%">
2957 </td>
2958 <td width="77%"></td>
2959 </td></tr>
2960 <tr valign="top" align="left">
2961 <td width="8%"></td>
2962 <td width="7%"></td>
2963 <td width="8%">
2964
2965
2966 <p>&quot;_List/Slideshow/Random random_slideshow &quot;</p></td>
2967 <td width="77%"></td>
2968 </td></tr>
2969 <tr valign="top" align="left">
2970 <td width="8%"></td>
2971 <td width="7%">
2972 </td>
2973 <td width="8%">
2974 </td>
2975 <td width="77%"></td>
2976 </td></tr>
2977 <tr valign="top" align="left">
2978 <td width="8%"></td>
2979 <td width="7%"></td>
2980 <td width="8%">
2981
2982
2983 <p>&quot;_List/Slideshow/Endless endless_slideshow
2984 &quot;</p> </td>
2985 <td width="77%"></td>
2986 </td></tr>
2987 <tr valign="top" align="left">
2988 <td width="8%"></td>
2989 <td width="7%">
2990 </td>
2991 <td width="8%">
2992 </td>
2993 <td width="77%"></td>
2994 </td></tr>
2995 <tr valign="top" align="left">
2996 <td width="8%"></td>
2997 <td width="7%"></td>
2998 <td width="8%">
2999
3000
3001 <p>&quot;_List/Slideshow/Slideshow time: 0 s
3002 _slideshow_sleep_time=0 0.5 s _slideshow_sleep_time=0.5 1 s
3003 _slideshow_sleep_time=1 2 s _slideshow_sleep_time=2 3 s
3004 _slideshow_sleep_time=3 &quot;</p></td>
3005 <td width="77%"></td>
3006 </td></tr>
3007 <tr valign="top" align="left">
3008 <td width="8%"></td>
3009 <td width="7%">
3010 </td>
3011 <td width="8%">
3012 </td>
3013 <td width="77%"></td>
3014 </td></tr>
3015 <tr valign="top" align="left">
3016 <td width="8%"></td>
3017 <td width="7%"></td>
3018 <td width="8%">
3019
3020
3021 <p>&quot;_List/Slideshow/Stop _stop_slideshow=1 &quot;</p></td>
3022 <td width="77%"></td>
3023 </td></tr>
3024 <tr valign="top" align="left">
3025 <td width="8%"></td>
3026 <td width="7%">
3027 </td>
3028 <td width="8%">
3029 </td>
3030 <td width="77%"></td>
3031 </td></tr>
3032 <tr valign="top" align="left">
3033 <td width="8%"></td>
3034 <td width="7%"></td>
3035 <td width="8%">
3036
3037
3038 <p>&quot;_List/Slideshow/Slow read slowread &quot;</p></td>
3039 <td width="77%"></td>
3040 </td></tr>
3041 <tr valign="top" align="left">
3042 <td width="8%"></td>
3043 <td width="7%">
3044 </td>
3045 <td width="8%">
3046 </td>
3047 <td width="77%"></td>
3048 </td></tr>
3049 <tr valign="top" align="left">
3050 <td width="8%"></td>
3051 <td width="7%"></td>
3052 <td width="8%">
3053
3054
3055 <p>&quot;_List/Slideshow/Fast read fastread &quot;</p></td>
3056 <td width="77%"></td>
3057 </td></tr>
3058 <tr valign="top" align="left">
3059 <td width="8%"></td>
3060 <td width="7%">
3061 </td>
3062 <td width="8%">
3063 </td>
3064 <td width="77%"></td>
3065 </td></tr>
3066 <tr valign="top" align="left">
3067 <td width="8%"></td>
3068 <td width="7%"></td>
3069 <td width="8%">
3070
3071
3072 <p>&quot;_View/ Automirror toggle||_automirror||1||0 &quot;
3073 # &rsquo; &rsquo; as external separator, || as internal
3074 separator</p> </td>
3075 <td width="77%"></td>
3076 </td></tr>
3077 <tr valign="top" align="left">
3078 <td width="8%"></td>
3079 <td width="7%">
3080 </td>
3081 <td width="8%">
3082 </td>
3083 <td width="77%"></td>
3084 </td></tr>
3085 <tr valign="top" align="left">
3086 <td width="8%"></td>
3087 <td width="7%"></td>
3088 <td width="8%">
3089
3090
3091 <p>&quot;_View/||Autoflip||toggle.._autoflip..1..0||&quot;
3092 # || as external separator, .. as internal separator</p></td>
3093 <td width="77%"></td>
3094 </td></tr>
3095 <tr valign="top" align="left">
3096 <td width="8%"></td>
3097 <td width="7%">
3098
3099
3100 <p>#</p></td>
3101 <td width="8%">
3102 </td>
3103 <td width="77%"></td>
3104 </td></tr>
3105 <tr valign="top" align="left">
3106 <td width="8%"></td>
3107 <td width="7%"></td>
3108 <td width="8%">
3109
3110
3111 <p>&quot;_View/Scale: _auto _scale_style=a a Scale: by
3112 _hand (manual) _scale_style=m m Scale: by _width
3113 _scale_style=w w Scale: by _height _scale_style=h
3114 h&quot;</p> </td>
3115 <td width="77%"></td>
3116 </td></tr>
3117 <tr valign="top" align="left">
3118 <td width="8%"></td>
3119 <td width="7%">
3120 </td>
3121 <td width="8%">
3122 </td>
3123 <td width="77%"></td>
3124 </td></tr>
3125 <tr valign="top" align="left">
3126 <td width="8%"></td>
3127 <td width="7%"></td>
3128 <td width="8%">
3129
3130
3131 <p>&quot;_View/**Scale: 1x**_scale_style= ** **Scale:
3132 _auto**_scale_style=a**a**Scale: _auto (till
3133 100%)**_scale_style=b**b**Scale: by _hand
3134 (manual)**_scale_style=m**m**Scale: by window
3135 _width**_scale_style=w**w**Scale: by window
3136 _height**_scale_style=h**h&quot;</p> </td>
3137 <td width="77%"></td>
3138 </td></tr>
3139 <tr valign="top" align="left">
3140 <td width="8%"></td>
3141 <td width="7%">
3142 </td>
3143 <td width="8%">
3144 </td>
3145 <td width="77%"></td>
3146 </td></tr>
3147 <tr valign="top" align="left">
3148 <td width="8%"></td>
3149 <td width="7%"></td>
3150 <td width="8%">
3151
3152
3153 <p>&quot;_View/Orientation: normal _orientation=0
3154 Orientation: 90&rsquo;right _orientation=1 Orientation:
3155 upside down _orientation=2 Orientation: 90&rsquo; left
3156 _orientation=3 &quot;</p></td>
3157 <td width="77%"></td>
3158 </td></tr>
3159 <tr valign="top" align="left">
3160 <td width="8%"></td>
3161 <td width="7%">
3162 </td>
3163 <td width="8%">
3164 </td>
3165 <td width="77%"></td>
3166 </td></tr>
3167 <tr valign="top" align="left">
3168 <td width="8%"></td>
3169 <td width="7%"></td>
3170 <td width="8%">
3171
3172
3173 <p>&quot;_View/Desaturate toggle___autodesaturate__1__0
3174 &quot;</p> </td>
3175 <td width="77%"></td>
3176 </td></tr>
3177 <tr valign="top" align="left">
3178 <td width="8%"></td>
3179 <td width="7%">
3180 </td>
3181 <td width="8%">
3182 </td>
3183 <td width="77%"></td>
3184 </td></tr>
3185 <tr valign="top" align="left">
3186 <td width="8%"></td>
3187 <td width="7%"></td>
3188 <td width="8%">
3189
3190
3191 <p>&quot;_View/Autonegate toggle___autonegate__1__0
3192 &quot;</p> </td>
3193 <td width="77%"></td>
3194 </td></tr>
3195 <tr valign="top" align="left">
3196 <td width="8%"></td>
3197 <td width="7%">
3198 </td>
3199 <td width="8%">
3200 </td>
3201 <td width="77%"></td>
3202 </td></tr>
3203 <tr valign="top" align="left">
3204 <td width="8%"></td>
3205 <td width="7%"></td>
3206 <td width="8%">
3207
3208
3209 <p>&quot;_View/Vertical scroll/** Default steps:
3210 auto**_vsteps=****10%**_vsteps=10%****20%**_vsteps=20%****50%**_vsteps=50%****100%**_vsteps=100%**&quot;</p> </td>
3211 <td width="77%"></td>
3212 </td></tr>
3213 <tr valign="top" align="left">
3214 <td width="8%"></td>
3215 <td width="7%">
3216 </td>
3217 <td width="8%">
3218 </td>
3219 <td width="77%"></td>
3220 </td></tr>
3221 <tr valign="top" align="left">
3222 <td width="8%"></td>
3223 <td width="7%"></td>
3224 <td width="8%">
3225
3226
3227 <p>&quot;_View/Vertical scroll/** Skip page fraction if
3228 smaller than
3229 ...auto**_scroll_skip_page_fraction=****disabled**_scroll_skip_page_fraction=-1****1/8**_scroll_skip_page_fraction=8****1/16**_scroll_skip_page_fraction=16**&quot;</p> </td>
3230 <td width="77%"></td>
3231 </td></tr>
3232 <tr valign="top" align="left">
3233 <td width="8%"></td>
3234 <td width="7%">
3235 </td>
3236 <td width="8%">
3237 </td>
3238 <td width="77%"></td>
3239 </td></tr>
3240 <tr valign="top" align="left">
3241 <td width="8%"></td>
3242 <td width="7%"></td>
3243 <td width="8%">
3244
3245
3246 <p>&quot;_View/Refresh description &amp; co refresh
3247 &quot;</p> </td>
3248 <td width="77%"></td>
3249 </td></tr>
3250 <tr valign="top" align="left">
3251 <td width="8%"></td>
3252 <td width="7%">
3253 </td>
3254 <td width="8%">
3255 </td>
3256 <td width="77%"></td>
3257 </td></tr>
3258 <tr valign="top" align="left">
3259 <td width="8%"></td>
3260 <td width="7%"></td>
3261 <td width="8%">
3262
3263
3264 <p>&quot;_View/||Apply EXIF
3265 Orientation||toggle.._want_exif_orientation..1..0||&quot;</p> </td>
3266 <td width="77%"></td>
3267 </td></tr>
3268 <tr valign="top" align="left">
3269 <td width="8%"></td>
3270 <td width="7%">
3271 </td>
3272 <td width="8%">
3273 </td>
3274 <td width="77%"></td>
3275 </td></tr>
3276 <tr valign="top" align="left">
3277 <td width="8%"></td>
3278 <td width="7%"></td>
3279 <td width="8%">
3280
3281
3282 <p>&quot;_Image/_Mirror toggle__i:mirrored__1__0
3283 m&quot;</p> </td>
3284 <td width="77%"></td>
3285 </td></tr>
3286 <tr valign="top" align="left">
3287 <td width="8%"></td>
3288 <td width="7%">
3289 </td>
3290 <td width="8%">
3291 </td>
3292 <td width="77%"></td>
3293 </td></tr>
3294 <tr valign="top" align="left">
3295 <td width="8%"></td>
3296 <td width="7%"></td>
3297 <td width="8%">
3298
3299
3300 <p>&quot;_Image/_Flip
3301 toggle&amp;&amp;i:flipped&amp;&amp;1&amp;&amp;0 f&quot; #
3302 &amp;&amp; as internal separator</p></td>
3303 <td width="77%"></td>
3304 </td></tr>
3305 <tr valign="top" align="left">
3306 <td width="8%"></td>
3307 <td width="7%">
3308
3309
3310 <p>#</p></td>
3311 <td width="8%">
3312 </td>
3313 <td width="77%"></td>
3314 </td></tr>
3315 <tr valign="top" align="left">
3316 <td width="8%"></td>
3317 <td width="7%"></td>
3318 <td width="8%">
3319
3320
3321 <p>&quot;_Image Extras/_Let&rsquo;s Flip again
3322 toggle&amp;&amp;i:flipped&amp;&amp;1&amp;&amp;0 f&quot; #
3323 &amp;&amp; as internal separator</p></td>
3324 <td width="77%"></td>
3325 </td></tr>
3326 <tr valign="top" align="left">
3327 <td width="8%"></td>
3328 <td width="7%">
3329 </td>
3330 <td width="8%">
3331 </td>
3332 <td width="77%"></td>
3333 </td></tr>
3334 <tr valign="top" align="left">
3335 <td width="8%"></td>
3336 <td width="7%"></td>
3337 <td width="8%">
3338
3339
3340 <p>&quot;_Image/Orientation: normal i:_orientation=0
3341 Orientation: 90&rsquo;right i:_orientation=1 Orientation:
3342 upside down i:_orientation=2 Orientation: 90&rsquo; left
3343 i:_orientation=3 &quot;</p></td>
3344 <td width="77%"></td>
3345 </td></tr>
3346 <tr valign="top" align="left">
3347 <td width="8%"></td>
3348 <td width="7%">
3349 </td>
3350 <td width="8%">
3351 </td>
3352 <td width="77%"></td>
3353 </td></tr>
3354 <tr valign="top" align="left">
3355 <td width="8%"></td>
3356 <td width="7%"></td>
3357 <td width="8%">
3358
3359
3360 <p>&quot;_Image/EXIF Orientation: normal
3361 i:_exif_orientation=0 EXIF Orientation: 90&rsquo;right
3362 i:_exif_orientation=1 EXIF Orientation: upside down
3363 i:_exif_orientation=2 EXIF Orientation: 90&rsquo; left
3364 i:_exif_orientation=3 &quot; # previously __exif_orientation
3365 but renamed for the double-symbol-separator convention</p></td>
3366 <td width="77%"></td>
3367 </td></tr>
3368 <tr valign="top" align="left">
3369 <td width="8%"></td>
3370 <td width="7%">
3371 </td>
3372 <td width="8%">
3373 </td>
3374 <td width="77%"></td>
3375 </td></tr>
3376 <tr valign="top" align="left">
3377 <td width="8%"></td>
3378 <td width="7%"></td>
3379 <td width="8%">
3380
3381
3382 <p>&quot;_Window/_Fullscreen toggle**_gtk_fullscreen**1**0
3383 F11&quot;</p> </td>
3384 <td width="77%"></td>
3385 </td></tr>
3386 <tr valign="top" align="left">
3387 <td width="8%"></td>
3388 <td width="7%">
3389 </td>
3390 <td width="8%">
3391 </td>
3392 <td width="77%"></td>
3393 </td></tr>
3394 <tr valign="top" align="left">
3395 <td width="8%"></td>
3396 <td width="7%"></td>
3397 <td width="8%">
3398
3399
3400 <p>&quot;_Window/Hide the menu bar (press mouse button to
3401 restore) toggle_gtk_menus&quot;</p></td>
3402 <td width="77%"></td>
3403 </td></tr>
3404 <tr valign="top" align="left">
3405 <td width="8%"></td>
3406 <td width="7%">
3407
3408
3409 <p>#</p></td>
3410 <td width="8%">
3411 </td>
3412 <td width="77%"></td>
3413 </td></tr>
3414 <tr valign="top" align="left">
3415 <td width="8%"></td>
3416 <td width="7%"></td>
3417 <td width="8%">
3418
3419
3420 <p>&quot;_Window/Hide menu bar (press mouse button to
3421 restore) toggle||_hide_gtk_menus||0||1&quot; # not yet ready
3422 to replace toggle_gtk_menus</p></td>
3423 <td width="77%"></td>
3424 </td></tr>
3425 <tr valign="top" align="left">
3426 <td width="8%"></td>
3427 <td width="7%">
3428 </td>
3429 <td width="8%">
3430 </td>
3431 <td width="77%"></td>
3432 </td></tr>
3433 <tr valign="top" align="left">
3434 <td width="8%"></td>
3435 <td width="7%"></td>
3436 <td width="8%">
3437
3438
3439 <p>&quot;_Window/Resize window to image size display
3440 &rsquo;resize&rsquo;&quot;</p> </td>
3441 <td width="77%"></td>
3442 </td></tr>
3443 <tr valign="top" align="left">
3444 <td width="8%"></td>
3445 <td width="7%">
3446 </td>
3447 <td width="8%">
3448 </td>
3449 <td width="77%"></td>
3450 </td></tr>
3451 <tr valign="top" align="left">
3452 <td width="8%"></td>
3453 <td width="7%"></td>
3454 <td width="8%">
3455
3456
3457 <p>&quot;_Window/Text size reduce font_reduce&quot;</p></td>
3458 <td width="77%"></td>
3459 </td></tr>
3460 <tr valign="top" align="left">
3461 <td width="8%"></td>
3462 <td width="7%">
3463 </td>
3464 <td width="8%">
3465 </td>
3466 <td width="77%"></td>
3467 </td></tr>
3468 <tr valign="top" align="left">
3469 <td width="8%"></td>
3470 <td width="7%"></td>
3471 <td width="8%">
3472
3473
3474 <p>&quot;_Window/Text size magnify font_magnify&quot;</p></td>
3475 <td width="77%"></td>
3476 </td></tr>
3477 <tr valign="top" align="left">
3478 <td width="8%"></td>
3479 <td width="7%">
3480 </td>
3481 <td width="8%">
3482 </td>
3483 <td width="77%"></td>
3484 </td></tr>
3485 <tr valign="top" align="left">
3486 <td width="8%"></td>
3487 <td width="7%"></td>
3488 <td width="8%">
3489
3490
3491 <p>&quot;_Window/Text font: next font
3492 &rsquo;next&rsquo;&quot;</p> </td>
3493 <td width="77%"></td>
3494 </td></tr>
3495 <tr valign="top" align="left">
3496 <td width="8%"></td>
3497 <td width="7%">
3498 </td>
3499 <td width="8%">
3500 </td>
3501 <td width="77%"></td>
3502 </td></tr>
3503 <tr valign="top" align="left">
3504 <td width="8%"></td>
3505 <td width="7%"></td>
3506 <td width="8%">
3507
3508
3509 <p>&quot;_Window/Text font: prev font
3510 &rsquo;prev&rsquo;&quot;</p> </td>
3511 <td width="77%"></td>
3512 </td></tr>
3513 <tr valign="top" align="left">
3514 <td width="8%"></td>
3515 <td width="7%">
3516 </td>
3517 <td width="8%">
3518 </td>
3519 <td width="77%"></td>
3520 </td></tr>
3521 <tr valign="top" align="left">
3522 <td width="8%"></td>
3523 <td width="7%"></td>
3524 <td width="8%">
3525
3526
3527 <p>&quot;_Window/Show status line
3528 toggle||_display_status||1||0 &quot;</p></td>
3529 <td width="77%"></td>
3530 </td></tr>
3531 <tr valign="top" align="left">
3532 <td width="8%"></td>
3533 <td width="7%">
3534 </td>
3535 <td width="8%">
3536 </td>
3537 <td width="77%"></td>
3538 </td></tr>
3539 <tr valign="top" align="left">
3540 <td width="8%"></td>
3541 <td width="7%"></td>
3542 <td width="8%">
3543
3544
3545 <p>&quot;_Window/Caption over image: None
3546 _caption_over_image=0 Caption over image: No background
3547 _caption_over_image=1 Caption over image: Black background
3548 _caption_over_image=2 Caption over image: Above image, no
3549 overlap _caption_over_image=3 &quot;</p></td>
3550 <td width="77%"></td>
3551 </td></tr>
3552 <tr valign="top" align="left">
3553 <td width="8%"></td>
3554 <td width="7%">
3555 </td>
3556 <td width="8%">
3557 </td>
3558 <td width="77%"></td>
3559 </td></tr>
3560 <tr valign="top" align="left">
3561 <td width="8%"></td>
3562 <td width="7%"></td>
3563 <td width="8%">
3564
3565
3566 <p>&quot;_Window/Window caption: minimal
3567 _want_wm_caption_status=FIM Window caption: reasonable
3568 _want_wm_caption_status=fim:[%i/%l] Window caption: rich
3569 _want_wm_caption_status=fim:%N@%p%%%L[%i/%l]%?EXIF_DateTimeOriginal?[%:EXIF_DateTimeOriginal:]?
3570 &quot;</p> </td>
3571 <td width="77%"></td>
3572 </td></tr>
3573 <tr valign="top" align="left">
3574 <td width="8%"></td>
3575 <td width="7%">
3576 </td>
3577 <td width="8%">
3578 </td>
3579 <td width="77%"></td>
3580 </td></tr>
3581 <tr valign="top" align="left">
3582 <td width="8%"></td>
3583 <td width="7%"></td>
3584 <td width="8%">
3585
3586
3587 <p>&quot;_Window/Mouse click help grid: default
3588 _want_wm_mouse_ctrl=&rsquo;pP+a-=nN Mouse click help grid:
3589 simplified _want_wm_mouse_ctrl=ppp+a-nnn &quot;</p></td>
3590 <td width="77%"></td>
3591 </td></tr>
3592 <tr valign="top" align="left">
3593 <td width="8%"></td>
3594 <td width="7%">
3595 </td>
3596 <td width="8%">
3597 </td>
3598 <td width="77%"></td>
3599 </td></tr>
3600 <tr valign="top" align="left">
3601 <td width="8%"></td>
3602 <td width="7%"></td>
3603 <td width="8%">
3604
3605
3606 <p>&quot;_Advanced/Show output console (then hide with Tab)
3607 toggleVerbosity v&quot;</p></td>
3608 <td width="77%"></td>
3609 </td></tr>
3610 <tr valign="top" align="left">
3611 <td width="8%"></td>
3612 <td width="7%">
3613 </td>
3614 <td width="8%">
3615 </td>
3616 <td width="77%"></td>
3617 </td></tr>
3618 <tr valign="top" align="left">
3619 <td width="8%"></td>
3620 <td width="7%"></td>
3621 <td width="8%">
3622
3623
3624 <p>&quot;_Advanced/Verbose keys toggle___verbose_keys__1__0
3625 &quot;</p> </td>
3626 <td width="77%"></td>
3627 </td></tr>
3628 <tr valign="top" align="left">
3629 <td width="8%"></td>
3630 <td width="7%">
3631 </td>
3632 <td width="8%">
3633 </td>
3634 <td width="77%"></td>
3635 </td></tr>
3636 <tr valign="top" align="left">
3637 <td width="8%"></td>
3638 <td width="7%"></td>
3639 <td width="8%">
3640
3641
3642 <p>&quot;_Advanced/Low execution verbosity
3643 _debug_commands=0 Intermediate execution verbosity
3644 _debug_commands=ackCm High execution verbosity
3645 _debug_commands=ackCmmi &quot;</p></td>
3646 <td width="77%"></td>
3647 </td></tr>
3648 <tr valign="top" align="left">
3649 <td width="8%"></td>
3650 <td width="7%">
3651 </td>
3652 <td width="8%">
3653 </td>
3654 <td width="77%"></td>
3655 </td></tr>
3656 <tr valign="top" align="left">
3657 <td width="8%"></td>
3658 <td width="7%"></td>
3659 <td width="8%">
3660
3661
3662 <p>&quot;_Advanced/Rebuild menus with no verbosity
3663 _rebuild_quieter_menus&quot;</p> </td>
3664 <td width="77%"></td>
3665 </td></tr>
3666 <tr valign="top" align="left">
3667 <td width="8%"></td>
3668 <td width="7%">
3669 </td>
3670 <td width="8%">
3671 </td>
3672 <td width="77%"></td>
3673 </td></tr>
3674 <tr valign="top" align="left">
3675 <td width="8%"></td>
3676 <td width="7%"></td>
3677 <td width="8%">
3678
3679
3680 <p>&quot;_Advanced/Rebuild menus with tooltips
3681 _rebuild_verboser_menus&quot;</p> </td>
3682 <td width="77%"></td>
3683 </td></tr>
3684 <tr valign="top" align="left">
3685 <td width="8%"></td>
3686 <td width="7%">
3687 </td>
3688 <td width="8%">
3689 </td>
3690 <td width="77%"></td>
3691 </td></tr>
3692 <tr valign="top" align="left">
3693 <td width="8%"></td>
3694 <td width="7%"></td>
3695 <td width="8%">
3696
3697
3698 <p>&quot;_Advanced/Rebuild menus very verbosely
3699 _rebuild_verbosest_menus&quot;</p> </td>
3700 <td width="77%"></td>
3701 </td></tr>
3702 <tr valign="top" align="left">
3703 <td width="8%"></td>
3704 <td width="7%">
3705 </td>
3706 <td width="8%">
3707 </td>
3708 <td width="77%"></td>
3709 </td></tr>
3710 <tr valign="top" align="left">
3711 <td width="8%"></td>
3712 <td width="7%"></td>
3713 <td width="8%">
3714
3715
3716 <p>&quot;_Advanced/Verbose menu
3717 toggle||_display_busy||1||0&quot;</p> </td>
3718 <td width="77%"></td>
3719 </td></tr>
3720 <tr valign="top" align="left">
3721 <td width="8%"></td>
3722 <td width="7%">
3723 </td>
3724 <td width="8%">
3725 </td>
3726 <td width="77%"></td>
3727 </td></tr>
3728 <tr valign="top" align="left">
3729 <td width="8%"></td>
3730 <td width="7%"></td>
3731 <td width="8%">
3732
3733
3734 <p>&quot;_Advanced/Downscale huge images on load
3735 toggle||_downscale_huge_at_load||1||0&quot;</p> </td>
3736 <td width="77%"></td>
3737 </td></tr>
3738 <tr valign="top" align="left">
3739 <td width="8%"></td>
3740 <td width="7%">
3741 </td>
3742 <td width="8%">
3743 </td>
3744 <td width="77%"></td>
3745 </td></tr>
3746 <tr valign="top" align="left">
3747 <td width="8%"></td>
3748 <td width="7%"></td>
3749 <td width="8%">
3750
3751
3752 <p>&quot;_Advanced/Background prefetch _want_prefetch=2
3753 Foreground prefetch _want_prefetch=1 No prefetch
3754 _want_prefetch=0 &quot;</p></td>
3755 <td width="77%"></td>
3756 </td></tr>
3757 <tr valign="top" align="left">
3758 <td width="8%"></td>
3759 <td width="7%">
3760 </td>
3761 <td width="8%">
3762 </td>
3763 <td width="77%"></td>
3764 </td></tr>
3765 <tr valign="top" align="left">
3766 <td width="8%"></td>
3767 <td width="7%"></td>
3768 <td width="8%">
3769
3770
3771 <p>&quot;_Custom actions/_Mark current file
3772 mark_current_file&quot;</p> </td>
3773 <td width="77%"></td>
3774 </td></tr>
3775 <tr valign="top" align="left">
3776 <td width="8%"></td>
3777 <td width="7%">
3778 </td>
3779 <td width="8%">
3780 </td>
3781 <td width="77%"></td>
3782 </td></tr>
3783 <tr valign="top" align="left">
3784 <td width="8%"></td>
3785 <td width="7%"></td>
3786 <td width="8%">
3787
3788
3789 <p>&quot;_Custom actions/_Go to marked file
3790 goto_marked_file&quot;</p> </td>
3791 <td width="77%"></td>
3792 </td></tr>
3793 <tr valign="top" align="left">
3794 <td width="8%"></td>
3795 <td width="7%">
3796 </td>
3797 <td width="8%">
3798 </td>
3799 <td width="77%"></td>
3800 </td></tr>
3801 <tr valign="top" align="left">
3802 <td width="8%"></td>
3803 <td width="7%"></td>
3804 <td width="8%">
3805
3806
3807 <p>&quot;_Custom actions/Webcam shot (needs vgrabbj)
3808 webcam&quot;</p> </td>
3809 <td width="77%"></td>
3810 </td></tr>
3811 <tr valign="top" align="left">
3812 <td width="8%"></td>
3813 <td width="7%">
3814 </td>
3815 <td width="8%">
3816 </td>
3817 <td width="77%"></td>
3818 </td></tr>
3819 <tr valign="top" align="left">
3820 <td width="8%"></td>
3821 <td width="7%"></td>
3822 <td width="8%">
3823
3824
3825 <p>&quot;_Custom actions/Say something (needs espeak)
3826 espeak&quot;</p> </td>
3827 <td width="77%"></td>
3828 </td></tr>
3829 <tr valign="top" align="left">
3830 <td width="8%"></td>
3831 <td width="7%">
3832 </td>
3833 <td width="8%">
3834 </td>
3835 <td width="77%"></td>
3836 </td></tr>
3837 <tr valign="top" align="left">
3838 <td width="8%"></td>
3839 <td width="7%"></td>
3840 <td width="8%">
3841
3842
3843 <p>&quot;_Custom actions/Max cached memory: 256MiB
3844 _max_cached_memory=262144 unlimited _max_cached_memory=0
3845 very little _max_cached_memory=1 80MiB
3846 _max_cached_memory=81920 &quot;</p></td>
3847 <td width="77%"></td>
3848 </td></tr>
3849 <tr valign="top" align="left">
3850 <td width="8%"></td>
3851 <td width="7%">
3852 </td>
3853 <td width="8%">
3854 </td>
3855 <td width="77%"></td>
3856 </td></tr>
3857 <tr valign="top" align="left">
3858 <td width="8%"></td>
3859 <td width="7%"></td>
3860 <td width="8%">
3861
3862
3863 <p>&quot;_Custom actions/Max cached images: unlimited
3864 _max_cached_images=0 5 _max_cached_images=5 10
3865 _max_cached_images=10 100 _max_cached_images=100 &quot;</p></td>
3866 <td width="77%"></td>
3867 </td></tr>
3868 <tr valign="top" align="left">
3869 <td width="8%"></td>
3870 <td width="7%">
3871 </td>
3872 <td width="8%">
3873 </td>
3874 <td width="77%"></td>
3875 </td></tr>
3876 <tr valign="top" align="left">
3877 <td width="8%"></td>
3878 <td width="7%"></td>
3879 <td width="8%">
3880
3881
3882 <p>&quot;_All actions/_Commands FimMenuCommands/&quot;</p></td>
3883 <td width="77%"></td>
3884 </td></tr>
3885 <tr valign="top" align="left">
3886 <td width="8%"></td>
3887 <td width="7%">
3888 </td>
3889 <td width="8%">
3890 </td>
3891 <td width="77%"></td>
3892 </td></tr>
3893 <tr valign="top" align="left">
3894 <td width="8%"></td>
3895 <td width="7%"></td>
3896 <td width="8%">
3897
3898
3899 <p>&quot;_All actions/_Aliases FimMenuAliases/&quot;</p></td>
3900 <td width="77%"></td>
3901 </td></tr>
3902 <tr valign="top" align="left">
3903 <td width="8%"></td>
3904 <td width="7%">
3905 </td>
3906 <td width="8%">
3907 </td>
3908 <td width="77%"></td>
3909 </td></tr>
3910 <tr valign="top" align="left">
3911 <td width="8%"></td>
3912 <td width="7%"></td>
3913 <td width="8%">
3914
3915
3916 <p>&quot;_All actions/_Key Bindings
3917 FimMenuKeyBindings/&quot;</p> </td>
3918 <td width="77%"></td>
3919 </td></tr>
3920 <tr valign="top" align="left">
3921 <td width="8%"></td>
3922 <td width="7%">
3923 </td>
3924 <td width="8%">
3925 </td>
3926 <td width="77%"></td>
3927 </td></tr>
3928 <tr valign="top" align="left">
3929 <td width="8%"></td>
3930 <td width="7%"></td>
3931 <td width="8%">
3932
3933
3934 <p>&quot;_All actions/_Variables
3935 FimMenuVariables/&quot;</p> </td>
3936 <td width="77%"></td>
3937 </td></tr>
3938 <tr valign="top" align="left">
3939 <td width="8%"></td>
3940 <td width="7%">
3941 </td>
3942 <td width="8%">
3943 </td>
3944 <td width="77%"></td>
3945 </td></tr>
3946 <tr valign="top" align="left">
3947 <td width="8%"></td>
3948 <td width="7%"></td>
3949 <td width="8%">
3950
3951
3952 <p>&quot;_Help/_Commands FimMenuCommandsHelp/&quot;</p></td>
3953 <td width="77%"></td>
3954 </td></tr>
3955 <tr valign="top" align="left">
3956 <td width="8%"></td>
3957 <td width="7%">
3958 </td>
3959 <td width="8%">
3960 </td>
3961 <td width="77%"></td>
3962 </td></tr>
3963 <tr valign="top" align="left">
3964 <td width="8%"></td>
3965 <td width="7%"></td>
3966 <td width="8%">
3967
3968
3969 <p>&quot;_Help/_Aliases FimMenuAliasesHelp/&quot;</p></td>
3970 <td width="77%"></td>
3971 </td></tr>
3972 <tr valign="top" align="left">
3973 <td width="8%"></td>
3974 <td width="7%">
3975 </td>
3976 <td width="8%">
3977 </td>
3978 <td width="77%"></td>
3979 </td></tr>
3980 <tr valign="top" align="left">
3981 <td width="8%"></td>
3982 <td width="7%"></td>
3983 <td width="8%">
3984
3985
3986 <p>&quot;_Help/_Key Bindings
3987 FimMenuKeyBindingsHelp/&quot;</p> </td>
3988 <td width="77%"></td>
3989 </td></tr>
3990 <tr valign="top" align="left">
3991 <td width="8%"></td>
3992 <td width="7%">
3993 </td>
3994 <td width="8%">
3995 </td>
3996 <td width="77%"></td>
3997 </td></tr>
3998 <tr valign="top" align="left">
3999 <td width="8%"></td>
4000 <td width="7%"></td>
4001 <td width="8%">
4002
4003
4004 <p>&quot;_Help/_Variables FimMenuVariablesHelp/&quot;</p></td>
4005 <td width="77%"></td>
4006 </td></tr>
4007 <tr valign="top" align="left">
4008 <td width="8%"></td>
4009 <td width="7%">
4010 </td>
4011 <td width="8%">
4012 </td>
4013 <td width="77%"></td>
4014 </td></tr>
4015 <tr valign="top" align="left">
4016 <td width="8%"></td>
4017 <td width="7%"></td>
4018 <td width="8%">
4019
4020
4021 <p>&quot;_Help/_man FIM man_fim&quot;</p></td>
4022 <td width="77%"></td>
4023 </td></tr>
4024 <tr valign="top" align="left">
4025 <td width="8%"></td>
4026 <td width="7%">
4027 </td>
4028 <td width="8%">
4029 </td>
4030 <td width="77%"></td>
4031 </td></tr>
4032 <tr valign="top" align="left">
4033 <td width="8%"></td>
4034 <td width="7%"></td>
4035 <td width="8%">
4036
4037
4038 <p>&quot;_Help/_man fimrc man_fimrc&quot;;</p></td>
4039 <td width="77%"></td>
4040 </td></tr>
4041 <tr valign="top" align="left">
4042 <td width="8%"></td>
4043 <td width="7%">
4044 </td>
4045 <td width="8%">
4046 </td>
4047 <td width="77%"></td>
4048 </td></tr>
4049 <tr valign="top" align="left">
4050 <td width="8%"></td>
4051 <td width="7%"></td>
4052 <td width="8%">
4053
4054
4055 <p>#&quot;_Custom actions/scaling: _auto _scale_style=a a
4056 scaling: _auto to original _scale_style=b b scaling: manual
4057 _scale_style=m m scaling: by _width _scale_style=w w&quot; #
4058 copy for demo purposes</p></td>
4059 <td width="77%"></td>
4060 </td></tr>
4061 <tr valign="top" align="left">
4062 <td width="8%"></td>
4063 <td width="7%">
4064 </td>
4065 <td width="8%">
4066 </td>
4067 <td width="77%"></td>
4068 </td></tr>
4069 <tr valign="top" align="left">
4070 <td width="8%"></td>
4071 <td width="7%"></td>
4072 <td width="8%">
4073
4074
4075 <p>#&quot;_Custom actions/_Toggle flipped flag
4076 toggle__i:flipped__1__0 f&quot;</p></td>
4077 <td width="77%"></td>
4078 </td></tr>
4079 <tr valign="top" align="left">
4080 <td width="8%"></td>
4081 <td width="7%">
4082 </td>
4083 <td width="8%">
4084 </td>
4085 <td width="77%"></td>
4086 </td></tr>
4087 <tr valign="top" align="left">
4088 <td width="8%"></td>
4089 <td width="7%"></td>
4090 <td width="8%">
4091
4092
4093 <p>#&quot;_Custom actions/_Submenu/_Frobnicate unmapped_cmd
4094 /&quot;</p> </td>
4095 <td width="77%"></td>
4096 </td></tr>
4097 <tr valign="top" align="left">
4098 <td width="8%"></td>
4099 <td width="7%">
4100 </td>
4101 <td width="8%">
4102 </td>
4103 <td width="77%"></td>
4104 </td></tr>
4105 <tr valign="top" align="left">
4106 <td width="8%"></td>
4107 <td width="7%"></td>
4108 <td width="8%">
4109
4110
4111 <p>#&quot;_Custom actions/_Submenu/_Defrobnicate
4112 unmapped_cmd u&quot;</p></td>
4113 <td width="77%"></td>
4114 </td></tr>
4115 <tr valign="top" align="left">
4116 <td width="8%"></td>
4117 <td width="7%">
4118 </td>
4119 <td width="8%">
4120 </td>
4121 <td width="77%"></td>
4122 </td></tr>
4123 <tr valign="top" align="left">
4124 <td width="8%"></td>
4125 <td width="7%"></td>
4126 <td width="8%">
4127
4128
4129 <p>#&quot;_Custom actions/_Submenu/FimMenuLimit
4130 FimMenuLimit/&quot;</p> </td>
4131 <td width="77%"></td>
4132 </td></tr>
4133 <tr valign="top" align="left">
4134 <td width="8%"></td>
4135 <td width="7%">
4136 </td>
4137 <td width="8%">
4138 </td>
4139 <td width="77%"></td>
4140 </td></tr>
4141 <tr valign="top" align="left">
4142 <td width="8%"></td>
4143 <td width="7%"></td>
4144 <td width="8%">
4145
4146
4147 <p>#&quot;_Custom actions/_Submenu/_Do-frobnicate
4148 unmapped_cmd *&quot; # bad specification</p></td>
4149 <td width="77%"></td>
4150 </td></tr>
4151 <tr valign="top" align="left">
4152 <td width="8%"></td>
4153 <td width="7%">
4154 </td>
4155 <td width="8%">
4156 </td>
4157 <td width="77%"></td>
4158 </td></tr>
4159 <tr valign="top" align="left">
4160 <td width="8%"></td>
4161 <td width="7%"></td>
4162 <td width="8%">
4163
4164
4165 <p>#&quot;_Custom actions/_Submenu/_Fribnikate frobnicate
4166 unmapped_cmd *&quot; # bad specification</p></td>
4167 <td width="77%"></td>
4168 </td></tr>
4169 <tr valign="top" align="left">
4170 <td width="8%"></td>
4171 <td width="7%">
4172 </td>
4173 <td width="8%">
4174 </td>
4175 <td width="77%"></td>
4176 </td></tr>
4177 <tr valign="top" align="left">
4178 <td width="8%"></td>
4179 <td width="7%"></td>
4180 <td width="8%">
4181
4182
4183 <p>#&quot;_Custom actions/_Submenu/_Next next *&quot; # bad
4184 specification</p> </td>
4185 <td width="77%"></td>
4186 </td></tr>
4187 <tr valign="top" align="left">
4188 <td width="8%"></td>
4189 <td width="7%">
4190 </td>
4191 <td width="8%">
4192 </td>
4193 <td width="77%"></td>
4194 </td></tr>
4195 <tr valign="top" align="left">
4196 <td width="8%"></td>
4197 <td width="7%"></td>
4198 <td width="8%">
4199
4200
4201 <p>#&quot;_Custom actions/_Add menu...
4202 menu_dialog&quot;</p> </td>
4203 <td width="77%"></td>
4204 </td></tr>
4205 <tr valign="top" align="left">
4206 <td width="8%"></td>
4207 <td width="7%">
4208 </td>
4209 <td width="8%">
4210 </td>
4211 <td width="77%"></td>
4212 </td></tr>
4213 <tr valign="top" align="left">
4214 <td width="8%"></td>
4215 <td width="7%"></td>
4216 <td width="8%">
4217
4218
4219 <p>#&quot;_Custom actions/_Toggle full screen view
4220 toggle</p> </td>
4221 <td width="77%"></td>
4222 </td></tr>
4223 <tr valign="top" align="left">
4224 <td width="8%"></td>
4225 <td width="7%"></td>
4226 <td width="8%"></td>
4227 <td width="77%"></td>
4228
4229
4230 <p>_gtk_fullscreen</p></td></tr>
4231 <tr valign="top" align="left">
4232 <td width="8%"></td>
4233 <td width="7%"></td>
4234 <td width="8%"></td>
4235 <td width="77%"></td>
4236 </td></tr>
4237 <tr valign="top" align="left">
4238 <td width="8%"></td>
4239 <td width="7%"></td>
4240 <td width="8%"></td>
4241 <td width="77%"></td>
4242
4243
4244 <p>1</p></td></tr>
4245 <tr valign="top" align="left">
4246 <td width="8%"></td>
4247 <td width="7%"></td>
4248 <td width="8%"></td>
4249 <td width="77%"></td>
4250 </td></tr>
4251 <tr valign="top" align="left">
4252 <td width="8%"></td>
4253 <td width="7%"></td>
4254 <td width="8%"></td>
4255 <td width="77%"></td>
4256
4257
4258 <p>0&quot;</p></td></tr>
4259 <tr valign="top" align="left">
4260 <td width="8%"></td>
4261 <td width="7%">
4262 </td>
4263 <td width="8%">
4264 </td>
4265 <td width="77%"></td>
4266 </td></tr>
4267 <tr valign="top" align="left">
4268 <td width="8%"></td>
4269 <td width="7%"></td>
4270 <td width="8%">
4271
4272
4273 <p>if (_last_cmd_output!=&quot;&quot;) quit -1;</p></td>
4274 <td width="77%"></td>
4275 </td></tr>
4276 </table>
4277
4278 <p style="margin-left:11%;">} <br>
4279 help &rsquo;&rsquo;; # WELCOME... <br>
4280 # More examples: <br>
4281 #alias &quot;plisten&quot; &rsquo;popen &quot;nc -l -p 9999
4282 &quot;&rsquo; &quot;executes fim commands coming from port
4283 9999 on this computer&quot;; <br>
4284 #alias &quot;wlisten&quot;
4285 &quot;while(1){sleep;plisten;}&quot; &quot;listen to a pipe,
4286 endlessly&quot;; <br>
4287 #alias &quot;musicplay&quot; &quot;system &rsquo;mpc&rsquo;
4288 &rsquo;play&rsquo;&quot; &quot;&quot;; <br>
4289 #alias &quot;musicpause&quot; &quot;system &rsquo;mpc&rsquo;
4290 &rsquo;pause&rsquo;&quot; &quot;&quot;; <br>
4291 #alias &quot;rdjpgcom&quot; &rsquo;system
4292 &quot;rdjpgcom&quot; i:_filename&rsquo;; <br>
4293 # offsetscan usage : need a mechanism for popping all images
4294 before. <br>
4295 #alias &quot;offsetscan&quot; &quot;while(i:width&lt;1){list
4296 &rsquo;push&rsquo; &rsquo;blob.jpg&rsquo;;stdout
4297 _open_offset ;_open_offset=_open_offset+1;reload;}&quot;;
4298 <br>
4299 #alias &quot;webcam_cycle&quot;
4300 &quot;while(1){webcam;reload;sleep 1;}&quot;; <br>
4301 # This is a FIM initialization file. <br>
4302 # Without it FIM cannot work like it should. <br>
4303 # Feel free to modify it, but with caution!</p>
4304
4305 <h2>NOTES
4306 <a name="NOTES"></a>
4307 </h2>
4308
4309
4310 <p style="margin-left:11%; margin-top: 1em">This manual
4311 page could be improved. Certain side effects of commands are
4312 not documented. Neither a formal description of the various
4313 commands. Interaction of commands and variables is also not
4314 completely documented.</p>
4315
4316 <h2>BUGS
4317 <a name="BUGS"></a>
4318 </h2>
4319
4320
4321 <p style="margin-left:11%; margin-top: 1em">The <b>fim</b>
4322 language shall be more liberal with quoting.</p>
4323
4324 <h2>SEE ALSO
4325 <a name="SEE ALSO"></a>
4326 </h2>
4327
4328
4329 <p style="margin-left:11%; margin-top: 1em"><i>fim</i>(1),
4330 <i>fimgs</i>(1), <i>regex</i>(1).</p>
4331
4332 <h2>AUTHOR
4333 <a name="AUTHOR"></a>
4334 </h2>
4335
4336
4337 <p style="margin-left:11%; margin-top: 1em">Michele Martone
4338 &lt;dezperado _CUT_ autistici _CUT_ org&gt;</p>
4339
4340 <h2>COPYRIGHT
4341 <a name="COPYRIGHT"></a>
4342 </h2>
4343
4344
4345 <p style="margin-left:11%; margin-top: 1em">See copyright
4346 notice in <i>fim</i>(1).</p>
4347 <hr>
4348 </body>
4349 </html>