nsxiv590d9fe
Fix typo and manpage improvement (#249)
* Fixes some typo and adds some consistency to the manpage Typo detected automatically whilst packaging nsxiv for Debian
+27 −16
2 files changed
- M examples/key-handler +1 −1
- M nsxiv.1 +26 −15
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | # reloads them. | |
| 10 | 10 | ||
| 11 | 11 | # By default nsxiv(1) will send one image per-line to stdin, however when using | |
| 12 | − | # -0 the image list will be NULL separated and the enviornment variable | |
| 12 | + | # -0 the image list will be NULL separated and the environment variable | |
| 13 | 13 | # "$NSXIV_USING_NULL" will be set to 1. | |
| 14 | 14 | ||
| 15 | 15 | # The key combo argument has the following form: "[C-][M-][S-]KEY", | |
| @@ -30,7 +30,7 @@ It has two modes of operation: image and thumbnail mode. The default is image | |||
| 30 | 30 | mode, in which only the current image is shown. In thumbnail mode a grid of | |
| 31 | 31 | small previews is displayed, making it easy to choose an image to open. | |
| 32 | 32 | .P | |
| 33 | − | Please note, that the fullscreen mode requires an EWMH/NetWM compliant window | |
| 33 | + | Please note, that the fullscreen mode requires an EWMH/NetWM-compliant window | |
| 34 | 34 | manager. | |
| 35 | 35 | .SH OPTIONS | |
| 36 | 36 | .TP | |
| @@ -83,7 +83,7 @@ nsxiv can be used as a visual filter/pipe. | |||
| 83 | 83 | Enable private mode, in which nsxiv does not write any cache or temporary files. | |
| 84 | 84 | .TP | |
| 85 | 85 | .B \-q | |
| 86 | − | Be quiet, disable warnings to standard error stream. | |
| 86 | + | Be quiet, and disable warnings to standard error stream. | |
| 87 | 87 | .TP | |
| 88 | 88 | .B \-r | |
| 89 | 89 | Search the given directories recursively for images to view. | |
| @@ -93,7 +93,7 @@ Start in slideshow mode. Set the delay between images to | |||
| 93 | 93 | .I DELAY | |
| 94 | 94 | seconds. | |
| 95 | 95 | .I DELAY | |
| 96 | − | may be a floating point number. | |
| 96 | + | may be a floating-point number. | |
| 97 | 97 | .TP | |
| 98 | 98 | .BI "\-s " MODE | |
| 99 | 99 | Set scale mode according to MODE character. Supported modes are: [d]own, | |
| @@ -112,11 +112,11 @@ The same as `\-z 100'. | |||
| 112 | 112 | Set zoom level to ZOOM percent. | |
| 113 | 113 | .TP | |
| 114 | 114 | .B \-0 | |
| 115 | − | Use NULL-separator. With this option output of \-o and file-list sent to the | |
| 115 | + | Use NULL-separator. With this option, output of \-o and file-list sent to the | |
| 116 | 116 | key-handler and the input of \-i will be separated by a NULL character. | |
| 117 | 117 | .SH KEYBOARD COMMANDS | |
| 118 | 118 | .SS General | |
| 119 | − | The following keyboard commands are available in both image and thumbnail mode: | |
| 119 | + | The following keyboard commands are available in both image and thumbnail modes: | |
| 120 | 120 | .TP | |
| 121 | 121 | .BR 0 \- 9 | |
| 122 | 122 | Prefix the next command with a number (denoted via | |
| @@ -366,7 +366,7 @@ The following mouse mappings are available in thumbnail mode: | |||
| 366 | 366 | Select the image. Goes into image mode if double\-clicked. | |
| 367 | 367 | .TP | |
| 368 | 368 | .B Button3 | |
| 369 | − | Mark/unmark the image. Dragging while holding Button3 down will mark/unmark | |
| 369 | + | Mark/unmark the image. Dragging while holding down Button3 will mark/unmark | |
| 370 | 370 | multiple images. | |
| 371 | 371 | .TP | |
| 372 | 372 | .B Button4 | |
| @@ -429,12 +429,18 @@ The window title can be replaced with the output of a user-provided script, | |||
| 429 | 429 | which is called by nsxiv whenever there's a redraw. The path of this script is | |
| 430 | 430 | .I $XDG_CONFIG_HOME/nsxiv/exec/win-title | |
| 431 | 431 | and the arguments given to it (where "Optional" arguments might be empty) are: | |
| 432 | − | 1) resolved absolute path of the current file, | |
| 433 | − | 2) current file number, | |
| 434 | − | 3) total file count, | |
| 435 | − | 4) image width (Optional: Disabled on thumbnails mode), | |
| 436 | − | 5) image height (Optional: Disabled on thumbnails mode), | |
| 437 | − | 6) current zoom (Optional: Disabled on thumbnails mode). | |
| 432 | + | .IP $1 4 | |
| 433 | + | resolved absolute path of the current file | |
| 434 | + | .IP $2 4 | |
| 435 | + | current file number | |
| 436 | + | .IP $3 4 | |
| 437 | + | total file count | |
| 438 | + | .IP $4 4 | |
| 439 | + | image width (Optional: Disabled on thumbnails mode) | |
| 440 | + | .IP $5 4 | |
| 441 | + | image height (Optional: Disabled on thumbnails mode) | |
| 442 | + | .IP $6 4 | |
| 443 | + | current zoom (Optional: Disabled on thumbnails mode) | |
| 438 | 444 | .P | |
| 439 | 445 | The term file is used rather than image as nsxiv does not precheck that the | |
| 440 | 446 | input files are valid images. Total file count may be different from the actual | |
| @@ -447,8 +453,13 @@ The information displayed on the left side of the status bar can be replaced | |||
| 447 | 453 | with the output of a user-provided script, which is called by nsxiv whenever an | |
| 448 | 454 | image gets loaded. The path of this script is | |
| 449 | 455 | .I $XDG_CONFIG_HOME/nsxiv/exec/image-info | |
| 450 | − | and the arguments given to it are: 1) path to image file, 2) image width, | |
| 451 | − | 3) image height. | |
| 456 | + | and the arguments given to it are: | |
| 457 | + | .IP $1 4 | |
| 458 | + | path to image file | |
| 459 | + | .IP $2 4 | |
| 460 | + | image width | |
| 461 | + | .IP $3 4 | |
| 462 | + | image height | |
| 452 | 463 | .P | |
| 453 | 464 | There is also an example script installed together with nsxiv as | |
| 454 | 465 | .IR EGPREFIX/image-info . | |
| @@ -465,7 +476,7 @@ the handler terminates. It then checks which images have been modified and | |||
| 465 | 476 | reloads them. | |
| 466 | 477 | ||
| 467 | 478 | By default nsxiv(1) will send one image per-line to stdin, however when using | |
| 468 | − | \-0 the image list will be NULL separated and the enviornment variable | |
| 479 | + | \-0 the image list will be NULL separated and the environment variable | |
| 469 | 480 | "$NSXIV_USING_NULL" will be set to 1. | |
| 470 | 481 | ||
| 471 | 482 | The key combo argument has the following form: "[C-][M-][S-]KEY", | |