rakyll/drive

Use "less" as pager instead of "more"

insidewhy opened this issue · 2 comments

"more" sucks compared to "less". Haven't even used more since 199x until this program presented me with it. more is so old it doesn't even work with modern terminals (using urxvt + tmux here).

Also does not respect PAGER environment variable.

The best would be:

  1. Default pager is less.
  2. Pager can be customised using standard PAGER unix environment variable.

Hello @ohjames thank you for reporting this and welcome to drive.
Actually, no pager is tied to drive. Seeing "---More" for pagination is just the result of a plain printf + scanf combination

fmt.Printf("---More---");
// Then scanning for the response

This repo is no longer being maintained and if you feel this is an issue, please close this issue here and re-open it at https://github.com/odeke-em/drive.