fbpdf.1: update and improve the manual page
[fbpdf.git] / fbpdf.1
blob729d005cb2146efa913370f8f1c8022c3c5d8b15
1 .TH FBPDF 1 "JUNE 2022"
2 .SH NAME
3 fbpdf \- framebuffer PDF viewer
4 .SH SYNOPSIS
5 .B fbpdf
6 .RB [ -r
7 .IR rotation ]
8 .RB [ -z
9 .IR zoom_x10 ]
10 .RB [ -p
11 .IR page_number ]
12 .IR filename
13 .SH DESCRIPTION
15 .B fbpdf
16 is a small framebuffer PDF viewer which uses the MuPDF backend.
18 .B fbpdf2
19 is similar to fbpdf, but uses poppler as backend.
21 .B fbdjvu
22 is a djvu viewer.
24 The options documented here are available in all three programs.
25 .SH OPTIONS
26 .TP
27 .BI "\-r " rotation
28 Rotate specified number of degrees
29 .TP
30 .BI "\-z " zoom_x10
31 Zoom by a multiple of ten
32 .TP
33 .BI "\-p " page_number
34 Go to specified page
35 .SH KEY BINDINGS
36 Most of the key bindings accept a numerical prefix.
37 For instance, '^F' tells fbpdf to show the next page
38 while '5^F' tells it to show the fifth next page.
40 .TP
41 .B h
42 Scroll left
43 .TP
44 .B j
45 Scroll down
46 .TP
47 .B k
48 Scroll up
49 .TP
50 .B l
51 Scroll right
52 .TP
53 .B ^d | <Space>
54 Page down
55 .TP
56 .B ^u | <Backspace>
57 Page up
58 .TP
59 .B ^f | J
60 Go to next page
61 .TP
62 .B ^b | K
63 Go to previous page
64 .TP
65 .B H
66 Show page top
67 .TP
68 .B M
69 Center the page vertically
70 .TP
71 .B L
72 Show page bottom
73 .TP
74 .B C
75 Center the page horizontally
76 .TP
77 .B f
78 Fit page height
79 .TP
80 .B w
81 Fit page width
82 .TP
83 .B W
84 Fit page contents horizontally
85 .TP
86 .B [
87 Align with the left edge of the page
88 .TP
89 .B ]
90 Align with the right edge of the page
91 .TP
92 .B {
93 Align with the leftmost character on the page
94 .TP
95 .B }
96 Align with the rightmost character on the page
97 .TP
98 .B <prefix>G
99 Go to specified page, default to the last page if no prefix
101 .B <prefix>o
102 Set page number (for 'G' command only)
104 .B <prefix>O
105 Set page number and go to current page
107 .B <prefix>r
108 Rotate specified number of degrees
110 .B <prefix>z
111 Zoom by a multiple of ten in percentage (i.e. '15z' = 150%)
113 .B <prefix>Z
114 Set the default zoom level for 'z' command
116 .B m<mark>
117 Mark page as <mark>, could be any letter
119 .B '<mark>
120 Jump to the page marked as <mark>
122 .B `<mark>
123 Jump to the page and position marked as <mark>
125 .B ^[ / <Esc>
126 Clear numerical prefix
128 .B <prefix>d
129 Sleep specified seconds before the next command
131 .B I
132 Invert colors
134 .B i
135 Display file information
137 .B e
138 Reload file
140 .B ^l
141 Redraw screen
143 .B q
144 Quit program
145 .SH AUTHOR
146 Written by fbpdf contributors.