From: W. Trevor King Date: Fri, 30 Nov 2012 01:07:07 +0000 (-0500) Subject: ui:util:pager: document Nathan Weizenbaum as author of Ruby inspiration X-Git-Url: http://git.tremily.us/?p=be.git;a=commitdiff_plain;h=a8d623a8b7697809def3671f9e46fc5cb41ad85d 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 --- 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'.