On Tue, 20 Apr 2010 19:04:05 +0200, Stephen Hahn <[email protected]> wrote:
> * Adam Leventhal <[email protected]> [2010-04-19 21:02]: >> I'd be interested to understand why 6212 was solved with a dependency rather: >> >> if [[ -x /usr/bin/less ]]; then >> PAGER=/usr/bin/less -ins >> else >> PAGER=/usr/bin/more >> fi >> >> export PAGER >> >> or simply: >> >> export PAGER=/usr/bin/more > > There's a long thread on one of the opensolaris.org aliases that led > to less being the new default for PAGER in the new user rc files. I > think your defensive check would be a good improvement, and should > lead to the elimination of the added dependency to doctools. Yes, please :) -> Bug 13732 - /etc/skel/.profile does set PAGER=less without checking its availability http://defect.opensolaris.org/bz/show_bug.cgi?id=13732 6933562 Bug 13732 - /etc/skel/.profile does set PAGER=less without checking its availability http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6933562 --- frankB _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
