Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Use "less" as pager instead of "more" #62

Open
insidewhy opened this issue May 4, 2015 · 2 comments
Open

Use "less" as pager instead of "more" #62

insidewhy opened this issue May 4, 2015 · 2 comments

Comments

@insidewhy
Copy link

"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).

@insidewhy
Copy link
Author

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.

@odeke-em
Copy link
Contributor

odeke-em commented May 4, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants