NetBSD Problem Report #7648

Received: (qmail 905 invoked from network); 26 May 1999 07:57:12 -0000
Message-Id: <199905260756.JAA02062@lyssa.owl.de>
Date: Wed, 26 May 1999 09:56:29 +0200 (MEST)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: less's scrolling uses wrong video mode
X-Send-Pr-Version: 3.95

>Number:         7648
>Category:       bin
>Synopsis:       less's scrolling uses wrong video mode
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 26 01:05:00 +0000 1999
>Closed-Date:    Thu Jul 29 22:51:52 +0000 1999
>Last-Modified:  Thu Jul 29 22:53:19 +0000 1999
>Originator:     Matthias Scheler
>Release:        990524
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Environment:
System: NetBSD lyssa.owl.de 1.4C NetBSD 1.4C (LYSSA) #5: Tue May 25 02:28:19 MEST 1999 tron@lyssa.owl.de:/src/sys/compile/LYSSA i386


>Description:
If I scroll a page forward with "less" the top most line is display in
reverse video. This happens in a 80x32 xterm and on a 80x25 wscons virtual
console.

>How-To-Repeat:
setenv LESS "-wiensP?f%f\:. ?pb%pb\%:?bbByte %bb:-.. <f>orward ackward <h>elp <q>uit"
less /etc/services

[The "setenv" is important.]

>Fix:
Sorry, I don't know. It is not related to the patch for PR#227.
>Release-Note:
>Audit-Trail:

From: matthew green <mrg@eterna.com.au>
To: tron@lyssa.owl.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: bin/7648: less's scrolling uses wrong video mode 
Date: Wed, 26 May 1999 18:31:01 +1000



 i will forward this to the less author.


    >Description:
    If I scroll a page forward with "less" the top most line is display in
    reverse video. This happens in a 80x32 xterm and on a 80x25 wscons virtual
    console.

    >How-To-Repeat:
    setenv LESS "-wiensP?f%f\:. ?pb%pb\%:?bbByte %bb:-.. <f>orward ackward <h>elp <q>uit"
    less /etc/services

    [The "setenv" is important.]

    >Fix:
    Sorry, I don't know. It is not related to the patch for PR#227.

 i'm glad to know that.  :-)

From: Manuel Bouyer <bouyer@antioche.lip6.fr>
To: Matthias Scheler <tron@lyssa.owl.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/7648: less's scrolling uses wrong video mode
Date: Wed, 26 May 1999 10:33:11 +0200

 On Wed, May 26, 1999 at 09:56:29AM +0200, Matthias Scheler wrote:
 > >Description:
 > If I scroll a page forward with "less" the top most line is display in
 > reverse video. This happens in a 80x32 xterm and on a 80x25 wscons virtual
 > console.
 > 
 > >How-To-Repeat:
 > setenv LESS "-wiensP?f%f\:. ?pb%pb\%:?bbByte %bb:-.. <f>orward ackward <h>elp <q>uit"
 > less /etc/services
 > 
 > [The "setenv" is important.]
 > 

 I can't reproduce it this way on 1.4, althouh I've seen it in other
 circumstances without the 'setenv' (mostly while reading man pages).
 Maybe this has something to do with lines length. Does your /etc/services have
 lines that have exactly 80 caracters ?

 --
 Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
 --

From: Matthias Scheler <tron@zhadum.de>
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/7648: less's scrolling uses wrong video mode
Date: Wed, 26 May 1999 13:05:20 +0200

 On Wed, May 26, 1999 at 10:33:11AM +0200, Manuel Bouyer wrote:
 > Maybe this has something to do with lines length. Does your /etc/services
 > have lines that have exactly 80 caracters ?

 I don't know. But I can reproduce it with files where all lines have a
 length of less than 80 characters.

 -- 
 Matthias Scheler                                http://home.owl.de/~tron/
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Thu Jul 29 15:51:52 PDT 1999 
State-Changed-Why:  
Problem was caused by new function of "-w" option. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.