Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!bullard From: bullard@trwrb.UUCP (Drew D. Bullard) Newsgroups: comp.sources.bugs Subject: less(1) bug and fix Message-ID: <3828@trwrb.UUCP> Date: Tue, 1-Dec-87 14:33:07 EST Article-I.D.: trwrb.3828 Posted: Tue Dec 1 14:33:07 1987 Date-Received: Sat, 5-Dec-87 02:32:36 EST Reply-To: bullard@trwrb.UUCP (Drew D. Bullard) Organization: TRW SDS, Redondo Beach, CA Lines: 61 Keywords: less NAME less - problem with the "c" option DATE ENACTED TBD KEYWORDS less PROBLEM DESCRIPTION When the "c" option is in effect and the termcap entry has "am" set (automatic margins), characters in column 80 are deleted and "clear to end of line" does not work. RESOLUTION In the file output.c , in the routine putline() change: ------ - ------- if (column < sc_width || !auto_wrap || ignaw) to if (column < sc_width || auto_wrap || ignaw) FILES /usr/local/src/cmd/less/output.c REQUESTOR Drew Bullard 4.2bsd TRW (12/1/87) 1 -- ---- Drew Bullard {ihnp4,ucbvax,sdcrdcf}!trwrb!bullard