Krolyxon
Commit 2e2942d

Branches

Refs →

nsxiv2e2942d

Cleanup manpage (#186)

* Move `-T` option in manpage

The `-T` option breaks the alphabetical order of options in both the
SYNOPSIS and OPTION sections

* Reword "on bottom of" in manpage

* Pluralize "count pixel"

* Fix typos

* Reword `M` keyboard binding description

* rename info bar -> statusbar for consistency

* document all the thumbnail bindings

* Add website to HOMEPAGE section

* Add missing maintainers

* Sort maintainers by activity
Author
mamg22
Date
2021-12-23 19:25 -0400
Committer
GitHub · 2021-12-24 05:25 +0600
Parent
ff88908
Commit
2e2942d926087b1131ab6b453486d93cef97458e

+65 −41

1 file changed

  1. M nsxiv.1 +65 −41
M nsxiv.1 View
@@ -14,14 +14,14 @@ nsxiv \- Neo Simple X Image Viewer
1414 .IR GEOMETRY ]
1515 .RB [ \-N
1616 .IR NAME ]
17−.RB [ \-T
18−.IR TITLE ]
1917 .RB [ \-n
2018 .IR NUM ]
2119 .RB [ \-S
2220 .IR DELAY ]
2321 .RB [ \-s
2422 .IR MODE ]
23+.RB [ \-T
24+.IR TITLE ]
2525 .RB [ \-z
2626 .IR ZOOM ]
2727 .IR FILE ...
@@ -44,7 +44,7 @@ Play animations with a constant frame rate set to
4444 Play animations of multi-frame images.
4545 .TP
4646 .B \-b
47−Do not show info bar on bottom of window.
47+Do not show statusbar at the bottom of the window.
4848 .TP
4949 .B \-c
5050 Remove all orphaned cache files from the thumbnail cache directory and exit.
@@ -66,19 +66,6 @@ more information on GEOMETRY argument.
6666 .BI "\-N " NAME
6767 Set the resource name of nsxiv's X window to NAME.
6868 .TP
69−.BI "\-T " TITLE
70−Set the window title to TITLE. Use the format `prefix:suffixmode'. Any string
71−literal is accepted for prefix, and the format of suffixmode is:
72−
73−.EX
74− Value Format
75− 0 Empty
76− 1 Basename of file
77− 2 Full path to file
78−.EE
79−
80−By defualt, prefix is set to "nsxiv - " and suffixmode is set to 1 (basename).
81−.TP
8269 .BI "\-n " NUM
8370 Start at picture number NUM.
8471 .TP
@@ -114,6 +101,19 @@ may be a floating point number.
114101 Set scale mode according to MODE character. Supported modes are: [d]own,
115102 [f]it, [F]ill, [w]idth, [h]eight.
116103 .TP
104+.BI "\-T " TITLE
105+Set the window title to TITLE. Use the format `prefix:suffixmode'. Any string
106+literal is accepted for prefix, and the format of suffixmode is:
107+
108+.EX
109+ Value Format
110+ 0 Empty
111+ 1 Basename of file
112+ 2 Full path to file
113+.EE
114+
115+By default, prefix is set to "nsxiv - " and suffixmode is set to 1 (basename).
116+.TP
117117 .B \-t
118118 Start in thumbnail mode.
119119 .TP
@@ -128,7 +128,7 @@ Set zoom level to ZOOM percent.
128128 .TP
129129 .B \-0
130130 Use NULL-separator. With this option output of \-o and file-list sent to the
131−key-handler and the input of \-i will be seperated by a NULL character.
131+key-handler and the input of \-i will be separated by a NULL character.
132132 .SH KEYBOARD COMMANDS
133133 .SS General
134134 The following keyboard commands are available in both image and thumbnail mode:
@@ -147,7 +147,7 @@ Switch to thumbnail mode / open selected image in image mode.
147147 Toggle fullscreen mode.
148148 .TP
149149 .B b
150−Toggle visibility of info bar on bottom of window.
150+Toggle visibility of statusbar at the bottom of the window.
151151 .TP
152152 .B Ctrl-x
153153 Send the next key to the external key-handler. See section EXTERNAL KEY HANDLER
@@ -188,7 +188,7 @@ Zoom out.
188188 Mark/unmark the current image.
189189 .TP
190190 .B M
191−Repeat last mark action on all images from the last marked/unmarked up to the
191+Mark/unmark all images starting from the last marked/unmarked image up to the
192192 current one.
193193 .TP
194194 .B Ctrl-m
@@ -289,22 +289,22 @@ Panning:
289289 .BR h ", " Left
290290 Scroll image 1/5 of window width or
291291 .I count
292−pixel left.
292+pixels left.
293293 .TP
294294 .BR j ", " Down
295295 Scroll image 1/5 of window height or
296296 .I count
297−pixel down.
297+pixels down.
298298 .TP
299299 .BR k ", " Up
300300 Scroll image 1/5 of window height or
301301 .I count
302−pixel up.
302+pixels up.
303303 .TP
304304 .BR l ", " Right
305305 Scroll image 1/5 of window width or
306306 .I count
307−pixel right.
307+pixels right.
308308 .TP
309309 .B H
310310 Scroll to left image edge.
@@ -371,34 +371,48 @@ Toggle slideshow mode and/or set the delay between images to
371371 .I count
372372 seconds.
373373 .SH MOUSE COMMANDS
374−The following mouse mappings are available in image mode:
374+.SS Thumbnail mode
375+The following mouse mappings are available in thumbnail mode:
375376 .TP
376−General:
377+.B Button1
378+Select the image. Goes into image mode if double\-clicked.
377379 .TP
378380 .B Button3
379−Switch to thumbnail mode.
381+Mark/unmark the image. Dragging while holding Button3 down will mark/unmark
382+multiple images.
380383 .TP
381−Navigate image list:
384+.B Button4
385+Scroll up by one row.
386+.TP
387+.B Button5
388+Scroll down by one row.
389+.TP
390+.B Ctrl-Button4
391+Scroll up by one page.
392+.TP
393+.B Ctrl-Button5
394+Scroll down by one page.
395+.SS Image mode
396+The following mouse mappings are available in image mode:
382397 .TP
383398 .B Button1
384399 Go to the next image if the mouse cursor is in the right part of the window or
385400 to the previous image if it is in the left part.
386401 .TP
387−Panning:
402+.B Ctrl-Button1
403+Pan the image relative to the mouse cursor.
388404 .TP
389405 .B Button2
390406 Pan the image according to the mouse cursor position in the window while
391407 keeping this button pressed down.
392408 .TP
393−.B Ctrl-Button1
394−Pan the image relative to the mouse cursor.
395−.TP
396−Zooming:
409+.B Button3
410+Switch to thumbnail mode.
397411 .TP
398−.B ScrollUp
412+.B Button4
399413 Zoom in.
400414 .TP
401−.B ScrollDown
415+.B Button5
402416 Zoom out.
403417 .SH CONFIGURATION
404418 The following X resources are supported:
@@ -474,15 +488,18 @@ Bert Muennich <ber.t at posteo.de>
474488 .EE
475489 .SH CURRENT MAINTAINERS
476490 .EX
477−Anupam Ashish Minz
478−Berke Kocaoğlu <berke.kocaoglu at metu.edu.tr>
479−Guilherme Freire
480−Kian Kasad <kian at kasad.com>
481491 N-R-K <nrk at disroot.org>
482−Stein Gunnar Bakkeby <bakkeby at gmail.com>
492+Berke Kocaoğlu <berke.kocaoglu at metu.edu.tr>
483493 TAAPArthur <taaparthur at gmail.com>
484−explosion-mental <explosion0mental at gmail.com>
485494 eylles <ed.ylles1997 at gmail.com>
495+mamg22 <marcomonizg at gmail.com>
496+LuXu
497+explosion-mental <explosion0mental at gmail.com>
498+Guilherme Freire
499+Stein Gunnar Bakkeby <bakkeby at gmail.com>
500+Anupam Ashish Minz
501+Sam Whitehead
502+Kian Kasad <kian at kasad.com>
486503 qsmodo
487504 .EE
488505 .SH CONTRIBUTORS
@@ -495,9 +512,16 @@ Max Voit <mvdev at with-eyes.net>
495512 For additional contributors, run `git shortlog -s` in the nsxiv repository.
496513 .EE
497514 .SH HOMEPAGE
515+.TP
516+Website:
517+.EE
518+https://nsxiv.github.io/nsxiv/
498519 .EX
499−https://github.com/nsxiv/nsxiv
520+.TP
521+Source code:
500522 .EE
523+https://github.com/nsxiv/nsxiv
524+.EX
501525 .SH SEE ALSO
502526 .BR X (7),
503527 .BR xrdb (1)