aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/rq.1
blob: 1482ab5ad790bcbf823c7164cdefe4a11ae061b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.TH RQ 1 RQ
.SH NAME
rq \- read quickly
.SH SYNOPSIS
.B rq
.RI [ FILE ]
.SH DESCRIPTION
Displays a plain-text file word-by-word in the middle
of the terminal. Words are automatically paged in a
specifyable rate, by default 2 words per second.
Repeated words will be indicated by alternating reverse
video highlighting.
.PP
Escape sequences are printed as-is.
.PP
If no file is specified, or if \- i specified,
stdin will be paged.
.SH OPTIONS
None.
.SH ENVIRONMENT
.TP
.B RQ_RATE
The rate at which the words will be printed.
Defaults to 120 words per minute.
.br
.br
This should a positive integer optionally
followed by a unit. If no unit is specified,
words per minute will be used. Value units
are (case-insensitive):
.nf
.PP
.B \ \ \ \ \ \ \ wpm
.B \ \ \ \ \ \ \ w/m
.B \ \ \ \ \ \ \ m
.B \ \ \ \ \ \ \ wpmin
.B \ \ \ \ \ \ \ w/min
.BR \ \ \ \ \ \ \ /min\ \ \ \  Words\ per\ minute.
.PP
.B \ \ \ \ \ \ \ wpsec
.B \ \ \ \ \ \ \ w/sec
.B \ \ \ \ \ \ \ /sec
.B \ \ \ \ \ \ \ wps
.B \ \ \ \ \ \ \ w/s
.B \ \ \ \ \ \ \ /s
.BR \ \ \ \ \ \ \ Hz\ \ \ \ \ \  Words\ per\ second.
.fi
.SH COMMANDS
.TP
.B \+
Increase word rate.
.TP
.B \-
Decrease word rate.
.TP
.B p
Pause/resume.
.TP
.B q
Exit.
.TP
.BR left ,\  up
Go to the previous word.
.TP
.BR right ,\  down
Go to next previous word.
.SH RATIONALE
This should be obvious.
.SH SEE ALSO
No similar or otherwise related work known.
Please inform me if you know any.
.SH AUTHORS
Principal author, Mattias Andrée.  See the LICENSE file for the full
list of authors.
.SH LICENSE
MIT/X Consortium License.
.SH BUGS
Please report bugs to https://github.com/maandree/rq/issues or to
maandree@member.fsf.org