Date: Tue, 4 Jun 2002 08:54:52 +0300 (EEST) From: Alexander V Zubchenko <stalker@hermes-comp.zp.ua> To: Lawrence Mayer dsg <Lawrence.Mayer@dsg.ki.se> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: How to scroll through several screens of text ? Message-ID: <20020604084655.W32721-100000@server.hermes-comp.zp.ua> In-Reply-To: <Pine.GSO.4.44.0206040212360.23533-100000@mbox.ki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, All! On Tue, 4 Jun 2002, Lawrence Mayer dsg wrote: > 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. AFAIC, there r no answers. > > 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. If you can, you can recompile kernel and increase screen buffer size. option SC_HISTORY_SIZE=200 may help You. C /usr/src/sys/i386/conf/LINT for more details on tuning your console. > > Another problem: I have not been able to get "scroll lock" to work at all > with xterm or rxvt. Each of them has command-line options to turn scrollbar on and set size of buffer. (for rxvt it already answered, for xterm it is -sb (turn on scrollbar) and -sl <number> (how many lines to save, default 64)). More info in xterm(1). > > 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. |less or |more which is more suitable to you. imho, one big difference between them is that by default more exit when EOF reached, but less show you '(END)' message and wait for command > > Friendly Greetings, > Lawrence Mayer <lawmay@ki.se> > Umeå, Sweden > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Sincerely mine, Stalker. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604084655.W32721-100000>