aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-02 14:45:55 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-02 14:45:55 +0100
commit5d7e1f6249a7b4710b5d7950a532602628282d27 (patch)
tree5608c9b300e35c4e365b7c1da2ddd51741170786
parentadd readme (diff)
downloadread-quickly-5d7e1f6249a7b4710b5d7950a532602628282d27.tar.gz
read-quickly-5d7e1f6249a7b4710b5d7950a532602628282d27.tar.bz2
read-quickly-5d7e1f6249a7b4710b5d7950a532602628282d27.tar.xz
m readme + add man page
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--README5
-rw-r--r--doc/man/rq.179
2 files changed, 83 insertions, 1 deletions
diff --git a/README b/README
index 7f6c65f..663df64 100644
--- a/README
+++ b/README
@@ -27,7 +27,7 @@ ENVIRONMENT
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):
+ are (case-insensitive):
wpm
w/m
@@ -54,6 +54,9 @@ COMMANDS
right Go to next previous word.
down Go to next previous word.
+RATIONALE
+ This should be obvious.
+
SEE ALSO
No similar or otherwise related work known.
Please inform me if you know any.
diff --git a/doc/man/rq.1 b/doc/man/rq.1
new file mode 100644
index 0000000..1482ab5
--- /dev/null
+++ b/doc/man/rq.1
@@ -0,0 +1,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