App-termpub
view release on metacpan or search on metacpan
script/termpub view on Meta::CPAN
The text will be hyphenated if the hyphenation patterns from hunspells
libhyphen are installed.
=head1 OPTIONS
=over 4
=item --[no-]hyphenation
Hyphenate text. Defaults to true.
=item --lang LANGUAGE_TAG
Set the language used for hyphenation. Defaults to the books language or
'en-US' if not specified.
=item --width WIDTH
Set screen width. Defaults to 80.
=back
=head1 KEY BINDINGS
=over 4
=item h, ?
Display help screen.
=item n
Go to the next chapter.
=item p
Go to the previous chapter.
=item t
Jump to the table of contents.
=item m
Followed by any lowercase letter, marks the current position with that
letter.
=item '
Followed by any lowercase letter, returns to the position which was
previously marked with that letter. Followed by another single quote,
returns to the position at which the last "large" movement command was
executed.
=item [num] |
Set pager width to I<num>.
=item [num] %
Go to a line N percent into the chapter.
=item [num] g
Go to line I<num> in the chapter, defaults to 1.
=item [num] G
Go to line I<num> in the chapter, default to the end of the chapter.
=item [num] o
Open link I<num>. I<termpub> calls I<xdg-open> with the url as first
argument if the link references an external ressource.
=item C-g
Cancel numeric prefix I<num> argument.
=item KEY_DOWN, j, RETURN
Scroll one line down.
=item KEY_UP, k
Scroll one line up.
=item KEY_NPAGE, SPACE
Scroll forward one window.
=item KEY_PPAGE, KEY_BACKSPACE
Scroll backward one window.
=item KEY_HOME
Go to the beginning of the current chapter.
=item KEY_END
Go to the ned of the current chapter.
=item <,>
Go back or forward in the chapter history.
=item q
Quit.
=item Q
Quit without saving the current reading position.
=back
=head1 CONFIGURATION FILE
When termpub is invoked, it will attempt to read a configuration file
named .termpubrc in your home directory. If this file does not exist
( run in 0.798 second using v1.01-cache-2.11-cpan-39bf76dae61 )