Yes, most does the right thing. Thanks! "view" (which is just read-only vim) does as well.
-Robin On Fri, Oct 24, 2008 at 03:26:14PM -0400, Tom Scogland wrote: > Actually I use vim for that these days. I have an alias that > starts vim and runs ":Man <arguments>" whenever I run man. That > means it works nice and fast, and I get nicely highlighted man > pages. As to a less stupid dedicated pager, there's always most, > which also does syntax highlighting though the key commands don't > quite work for me. It might do the redraw a little better, but > I'm not sure. > > On Fri, Oct 24, 2008 at 2:34 PM, Robin Lee Powell < > [EMAIL PROTECTED]> wrote: > > > On Fri, Oct 24, 2008 at 02:26:30PM +0100, Thomas Adam wrote: > > > Hello -- > > > > > > 2008/10/24 Robin Lee Powell <[EMAIL PROTECTED]>: > > > > > > > > I'm playing around with vertical split. I'm using Screen > > > > version 4.00.03jw4 (FAU) 2-May-06 on Debian. > > > > > > > > When I have vertical split on, less is slow. *Really* slow. So > > > > is more. vim is OK. When I say "slow", I mean that when I say > > > > "less file", it takes ~20 seconds for it to put the first > > > > screenful of data up. > > > > > > > > Any idea what's up? > > > > > > It's a known caveat of vertical splits in screen. Screen has to > > > continually redraw the region and so that slows things down. > > > > I had a giant post written about how vertical splits in emacs and > > vim are quite fast, and how running vim under a vertical split in > > screen is also snappy, as opposed to running less, so there *must* > > be a problem somewhere... > > > > And then I realized that when you page down in vim, it redraws its > > display area once. When you page down in less, it redraws line by > > line. > > > > -_- > > > > Holding down j in vim to make it redraw line by line makes > > everything just as slow as less. > > > > So. > > > > Can anyone reccomend a less (ha!) stupid pager? more does the same > > thing, and I can't view man pages like this. > > > > less -c mostly does the trick... Except that the initial screen > > clear to put the cursor at the top line is done the slow way, and > > hence takes ~30 seconds. "clear ; less -c [file]" works, but I'd > > love a better suggestion. > > > > -Robin > > > > -- > > They say: "The first AIs will be built by the military as weapons." > > And I'm thinking: "Does it even occur to you to try for something > > other than the default outcome?" -- http://shorl.com/tydruhedufogre > > http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ > > > > > > _______________________________________________ > > screen-users mailing list > > screen-users@gnu.org > > http://lists.gnu.org/mailman/listinfo/screen-users > > > > > > -- > -N > AKA:Tom Scogland > I am enough of an artist to draw freely upon my imagination. Imagination is > more important than knowledge. Knowledge is limited. Imagination encircles > the world. > -Albert Einstein -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users