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

Bug#430121: xterm: EOL characters missing from selection (affects triple-click)



On 2007-06-26 06:03:21 -0400, Thomas Dickey wrote:
> On Tue, Jun 26, 2007 at 09:27:29AM +0200, Vincent Lefevre wrote:
> > Unfortunately, ttyrec no longer works on my PowerBook (I get the
> > error "Out of pty's"). But I've tried xterm's "log to file" feature.
> > This log file (attached) looks OK, though I could reproduce the bug.
> > For instance, in the selection, there was no newline after the line
> > ending with ".libs/uceil_log2.o", but it is present in the log file.
> 
> I'll see if I can make that replay (it "should" work)

A naive replay won't work: you need (triple-)clicks while the output
occurs to be able to reproduce the bug (such clicks more or less
freeze xterm's output).

> > I recall the basic step to reproduce the bug:
> > 1. Run a program that generates very long lines, such as make on MPFR
> >    (and wait a bit to have sufficient data in the terminal).
> 
> I'll look into that.  For my quick check, I did an "ls -l /usr/bin",
> and clicked on the singly-wrapped lines showing symbolic links.
> (I also tried it with your environment settings ;-)

FYI, I couldn't reproduce the problem with ls -lR.

> Your picture shows you're using a color-make (will try that).

Color doesn't make any difference (see Xterm.log that was attached,
this example had no colors).

> I did notice the clock in the prompt - makes me wonder if it is writing
> out to the margin and in some way confusing the xterm.  Is that a separate
> program, or part of bash?

It is part of zsh, but shouldn't have any influcence. IMHO, that's
the clicks that confuse xterm.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



Reply to: