From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 05:56:51 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 299B5106566B for ; Sun, 20 Feb 2011 05:56:51 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy2-pub.bluehost.com (oproxy2-pub.bluehost.com [67.222.39.60]) by mx1.freebsd.org (Postfix) with SMTP id E8CEC8FC15 for ; Sun, 20 Feb 2011 05:56:50 +0000 (UTC) Received: (qmail 1333 invoked by uid 0); 20 Feb 2011 05:56:50 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy2.bluehost.com with SMTP; 20 Feb 2011 05:56:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=VwAU4IDGe4yENBPgSOCcBKHL5BEgXBhzvZcVUmuIe69y4ZqRe68cl2/phXlyYlyMNGixcz4LCmtL8PiPX0ajhL43ndPKq57u/69hemnXsP3Evj2Zm/voVXRlkEJLrN/X; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pr2Hp-00031M-1a for freebsd-questions@FreeBSD.ORG; Sat, 19 Feb 2011 22:56:50 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sat, 19 Feb 2011 22:46:15 -0700 Date: Sat, 19 Feb 2011 22:46:15 -0700 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20110220054615.GA90008@guilt.hydra> Mail-Followup-To: FreeBSD Mailing List References: <20110219233736.GA20393@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20110219233736.GA20393@thought.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: 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: Sun, 20 Feb 2011 05:56:51 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 19, 2011 at 03:37:38PM -0800, Gary Kline wrote: >=20 > Need help findind a way of using existing unix utilities to diplay > chunks of N lines of a text files. Here N <=3D the number of lines in > the file. >=20 > 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=20 > 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? Actually, the more pager should scroll one page at a time, determining a "page" by the size of the console in which it is displayed, if I remember correctly. Just `more filename` and start hitting the spacebar. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1gqqcACgkQ9mn/Pj01uKXhJQCgxDCqk+iAIQ+W0kYTihDtnqxG fjYAoOU0tyqmDMxTgG7L5CZG9E9RJSci =0Wi/ -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--