81 lines
2.3 KiB
Groff
81 lines
2.3 KiB
Groff
.TH "RTV" "1" "December 20, 2015" "Version 1.8.0" "Usage and Commands"
|
|
.SH NAME
|
|
RTV - Reddit Terminal Viewer
|
|
.SH SYNOPSIS
|
|
rtv [\-h] [\-V] [\-s SUBREDDIT] [\-l LINK] [\-\-log FILE] [\-\-config FILE] [\-\-ascii] [\-\-non\-persistent] [\-\-clear\-auth] [\-\-copy\-config]
|
|
.SH DESCRIPTION
|
|
Reddit Terminal Viewer is a lightweight browser for www.reddit.com built into a
|
|
terminal window.
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
show this help message and exit
|
|
|
|
.TP
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
show program's version number and exit
|
|
|
|
.TP
|
|
\fB\-s SUBREDDIT\fR
|
|
name of the subreddit that will be opened on start
|
|
|
|
.TP
|
|
\fB\-l LINK\fR
|
|
full URL of a submission that will be opened on start
|
|
|
|
.TP
|
|
\fB\-\-log FILE\fR
|
|
log HTTP requests to the given file
|
|
|
|
.TP
|
|
\fB\-\-config FILE\fR
|
|
Load configuration settings from the given file
|
|
|
|
.TP
|
|
\fB\-\-ascii\fR
|
|
enable ascii\-only mode
|
|
|
|
.TP
|
|
\fB\-\-non\-persistent\fR
|
|
Forget the authenticated user when the program exits
|
|
|
|
.TP
|
|
\fB\-\-clear\-auth\fR
|
|
Remove any saved user data before launching
|
|
|
|
.TP
|
|
\fB\-\-copy\-config\fR
|
|
Copy the default configuration to {HOME}/.config/rtv/rtv.cfg
|
|
|
|
|
|
.SH CONTROLS
|
|
Navigate between posts by using the arrow keys or vim-style `hjkl` movement.
|
|
You can view the full list of commands by pressing the \fB?\fR key inside of the program.
|
|
.SH FILES
|
|
.TP
|
|
.BR $XDG_CONFIG_HOME/rtv/rtv.cfg
|
|
The configuration file can be used to customize default program settings, see
|
|
README.rst for more information.
|
|
.TP
|
|
.BR $XDG_CONFIG_HOME/rtv/refresh-token
|
|
After you login to reddit, your most recent OAuth refresh token will be stored
|
|
for future sessions. You can disable this behavior by setting the option
|
|
\fBpersistent=False\fR in your configuration file.
|
|
.SH ENVIRONMENT
|
|
.TP
|
|
.BR RTV_EDITOR
|
|
Specifies which text editor RTV will attempt to use when editing comments and
|
|
posts. RTV will fallback to \fI$EDITOR\fR if the editor is unspecified.
|
|
.TP
|
|
.BR BROWSER
|
|
Specifies which webbrowser RTV will attempt to use when opening links.
|
|
This can be set to a terminal browser (w3m, lynx, elinks, etc.) for a true
|
|
terminal experience. RTV will fallback to the system's default browser.
|
|
.SH AUTHOR
|
|
Man page written by Johnathan "ShaggyTwoDope" Jenkins <twodopeshaggy@gmail.com> (2015).
|
|
.SH BUGS
|
|
Report bugs to \fIhttps://github.com/michael-lazar/rtv/issues\fR
|
|
.SH LICENSE
|
|
The MIT License (MIT)
|
|
.PP
|
|
(c) 2015 Michael Lazar |