Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!noao!arizona!naucse!jdc
From: jdc@naucse.UUCP (John Campbell)
Newsgroups: comp.sources.d
Subject: Less version 123 (beta)  -swc bug
Keywords: blank lines (not ~) don't always erase
Message-ID: <1724@naucse.UUCP>
Date: 29 Sep 89 13:55:16 GMT
Organization: Northern Arizona University, Flagstaff, AZ
Lines: 22

The newest version of less came right up and ran for me--in fact it
seemed so stable that I just made it my default.  Man pages, however,
started to annoy be in that the last piece of the man page (you know
a few lines and an END prompt) was put on top of a non-blank screen.

It seems that ``less -swc'' does not erase the blank lines as it should.
In other words, ``less -sc'' puts tildes (~) in place and everything
is cool, but requesting ``less -swc'' doesn't blank out the lines (the
w option says use blank lines instead of ~ lines for "emptiness").

I didn't have time to look at the source code yet.   I expect the problem
is easy to fix--if only I weren't so busy.  Anyone else fixed it?

Also, the documentation says that -c just ignores the check to see if 
characters are 8 bits or not.  (Man pages are inherently 7 bits, right?)
Anyway, -c seems to do more than that.  As far as I can tell the -c switch
also causes different scrolling behavior--repainting from the top of the
screen instead of scrolling the screen.  Who can explain this?
-- 
	John Campbell               ...!arizona!naucse!jdc
                                    CAMPBELL@NAUVAX.bitnet
	unix?  Sure send me a dozen, all different colors.