From a8d623a8b7697809def3671f9e46fc5cb41ad85d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 29 Nov 2012 20:07:07 -0500 Subject: ui:util:pager: document Nathan Weizenbaum as author of Ruby inspiration Nathan's post is released under CC BY-SA 3.0 Unported. According the the FSF, the CC BY-SA 2.0 Generic was not compatible with BE's GPLv2+ [1]. I expect my Python implementation is sufficiently different from Nathan's original notes to be classified as "fair use" and not an "adaptation". [1]: http://www.gnu.org/licenses/license-list.html#ccbysa --- libbe/ui/util/pager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbe/ui') diff --git a/libbe/ui/util/pager.py b/libbe/ui/util/pager.py index 025d62e..20a583e 100644 --- a/libbe/ui/util/pager.py +++ b/libbe/ui/util/pager.py @@ -22,7 +22,8 @@ Automatic pager for terminal output (a la Git). import sys, os, select -# see http://nex-3.com/posts/73-git-style-automatic-paging-in-ruby +# Inspired by Nathan Weizenbaum's +# http://nex-3.com/posts/73-git-style-automatic-paging-in-ruby def run_pager(paginate='auto'): """ paginate should be one of 'never', 'auto', or 'always'. -- cgit