[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276345: copy-paste troubles with the first line of a less



On Sat, Oct 23, 2004 at 09:42:10PM +0200, Loc Minier wrote:
> Thomas Dickey <dickey@radix.net> - Fri, Oct 22, 2004:
> 
> > On Fri, Oct 22, 2004 at 08:20:04PM +0200, Vincent Lefevre wrote:
> > > On 2004-10-13 16:34:42 +0200, Loïc Minier wrote:
> > > >  [...]
> > > FYI, I reported this bug to Thomas on 2002-03-08.
> 
>  Vincent Lefevre reported on 2002-03-08, and I reported on 2004-10-13,
>  and you're quoting:
> 
> > It might only be a similar bug.  Here are two that are in the same general
> > area:
> >                   Patch #183 - 2003/12/26 - XFree86 4.3.99.903
> >                      Patch #167 - 2002/8/24 - XFree86 4.2.0
> 
>  I don't how this couls relate to the first of the second patch, I still

The symptoms sound similar - in the fixes there were places where data was
referenced outside the screen buffer.

>  get the problem randomly anyway.  Are you suggesting you might reverse
>  these patches?  Or do you want someone to look at the patches and check
>  wether they introduced new bugs?

no - I was just pointing out that the particular bug Vincent was talking about
might have been fixed.  Reviewing patches doesn't help much unless you know
exactly what you're looking for (I mainly do that to see when a change was
made and what the corresponding log comments are).

It's likely that it only appears "randomly" because the conditions for
reproducing the bug are not well understood.  Talking about something that
appears when less is run (is this using xterm's alternate screen?  Probably). 
The alternate screen buffer is only as large as the terminal window.  The
normal (with scrollback) is much larger.  So bugs that hit a boundary are more
likely to happen with the alternate screen buffer.  (I don't use the alternate
screen much, so it's mainly other people who would notice a problem with it).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpDNP4ZWfPUo.pgp
Description: PGP signature


Reply to: