App-termpub

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

It supports internal and external links, skips the front matter and
will display images with an external viewer. Your reading position
will be saved and restored.

Many text movement commands are compatible with _less(1)_.

The text will be hyphenated if the hyphenation patterns from hunspells
libhyphen are installed.

# OPTIONS

- --\[no-\]hyphenation

    Hyphenate text. Defaults to true.

- --lang LANGUAGE\_TAG

    Set the language used for hyphenation. Defaults to the books language or
    'en-US' if not specified.

- --width WIDTH

    Set screen width. Defaults to 80.

# KEY BINDINGS

- h, ?

    Display help screen.

- n

    Go to the next chapter.

- p

    Go to the previous chapter.

- t

    Jump to the table of contents.

- m

    Followed by any lowercase letter, marks the current position with that
    letter.

- '

    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.

- \[num\] |

    Set pager width to _num_.

- \[num\] %

    Go to a line N percent into the chapter.

- \[num\] g

    Go to line _num_ in the chapter, defaults to 1.

- \[num\] G

    Go to line _num_ in the chapter, default to the end of the chapter.

- \[num\] o

    Open link _num_. _termpub_ calls _xdg-open_ with the url as first
    argument if the link references an external ressource.

- C-g

    Cancel numeric prefix _num_ argument.

- KEY\_DOWN, j, RETURN

    Scroll one line down.

- KEY\_UP, k

    Scroll one line up.

- KEY\_NPAGE, SPACE

    Scroll forward one window.

- KEY\_PPAGE, KEY\_BACKSPACE

    Scroll backward one window.

- KEY\_HOME

    Go to the beginning of the current chapter.

- KEY\_END

    Go to the ned of the current chapter.

- <,>

    Go back or forward in the chapter history.

- q

    Quit.

- Q

    Quit without saving the current reading position.

# 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
termpub will try to read $XDG\_CONFIG\_HOME/termpub/termpubrc.



( run in 0.882 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )