From owner-freebsd-questions@FreeBSD.ORG Sat Feb 19 23:37:41 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB085106566C for ; Sat, 19 Feb 2011 23:37:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id C53918FC1C for ; Sat, 19 Feb 2011 23:37:41 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id E42D3E80458; Sat, 19 Feb 2011 15:37:38 -0800 (PST) Date: Sat, 19 Feb 2011 15:37:38 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110219233736.GA20393@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: variable line-display pager? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 23:37:42 -0000 Need help findind a way of using existing unix utilities to diplay chunks of N lines of a text files. Here N <= the number of lines in the file. For instance, say that my xterm/console/"Konsole" is 80x53 lines. My text file is around 200 lines long and I want to use more or less or some GUI pager to display only 15 lines at one time. Tapping the space bar would display another 15 lines and so on until EOF. Is there a way of doing with with flags of the existing /usr/bin/less or is there some other pager that I can build? thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org