From owner-freebsd-questions Mon Jun 3 17:15:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mbox.ki.se (mbox.ki.se [130.237.98.110]) by hub.freebsd.org (Postfix) with ESMTP id 66D3937B406 for ; Mon, 3 Jun 2002 17:15:39 -0700 (PDT) Received: from localhost (lawmay@localhost) by mbox.ki.se (8.9.3/8.9.3) with ESMTP id CAA18704 for ; Tue, 4 Jun 2002 02:15:37 +0200 (MET DST) Date: Tue, 4 Jun 2002 02:15:37 +0200 (MET DST) From: Lawrence Mayer dsg To: freebsd-questions@FreeBSD.ORG Subject: How to scroll through several screens of text ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Could you please help me with answers to the following questions? I have hunted unsuccessfully through the Handbook and FAQ for answers. Please forgive me if I've missed them. Also, I imagine you've gotten these questions many times before on this list. All of the following questions revolve around the same problem. I often use commands such as ls or pkg_info which produce several screens worth of text. By definition, the text scrolls off the screen. When the screen output is finished, I hit "scroll lock" and use the arrow keys to go backward and read text that scrolled off screen. The problem with this method is that the screen output is often larger than the screen buffer, in which case I can't scroll back far enough to see the beginning of the screen output. Another problem: I have not been able to get "scroll lock" to work at all with xterm or rxvt. So far, the only way I have found around these problems is to save the output of ls , pkg_info, etc into a file (e.g. ls > foo), which I can then examine at my leisure with a text editor. 1. Is there a way to make FreeBSD output no more than n lines to the screen at a time, and wait for a "return" before outputing the next n lines to the screen? (That way, I could adjust n to be slightly less than the number of lines on my screen and could read each screen at my leisure instead of having them fly past much too fast too read.) 2. What if I'm using a terminal emulator like xterm or rxvt? Any way to do (1) above? 3. Is there any way to increase the size of FreeBSD's screen buffer? 4. If so, will this method work if I'm using a terminal emulator like xterm or rxvt? Friendly Greetings, Lawrence Mayer Ume=E5, Sweden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message