On 2007-06-25 09:21:26 -0400, Thomas Dickey wrote: > On Mon, Jun 25, 2007 at 03:17:50PM +0200, Vincent Lefevre wrote: > > Would ttyrec be OK? I only have my laptop here and "script" isn't > > installed. > > That sounds ok (google suggests it's a form of 'script').
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 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). 2. Move back in the Xterm scrollback buffer. 3. Triple-click, and let the mouse button pressed (in particular on a slow machine). Xterm soon gets lost in the selection. While the mouse button is still pressed, move the mouse pointer upward and downward: one can already see that the paragraph limits do not correspond to the real newline characters. -- Vincent Lefèvre <[EMAIL PROTECTED]> - 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)
==make Making all in tests make[1]: Entering directory `/home/lefevre/software/mpfr/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/lefevre/software/mpfr/tests' make[1]: Entering directory `/home/lefevre/software/mpfr' if /bin/sh ./libtool --tag=CC --mode=compile gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT exceptions.lo -MD -MP -MF ".deps/exceptions.Tpo" -c -o exceptions.lo exceptions.c; \ then mv -f ".deps/exceptions.Tpo" ".deps/exceptions.Plo"; else rm -f ".deps/exceptions.Tpo"; exit 1; fi mkdir .libs gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.c -fPIC -DPIC -o .libs/exceptions.o gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.c -o exceptions.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT extract.lo -MD -MP -MF ".deps/extract.Tpo" -c -o extract.lo extract.c; \ then mv -f ".deps/extract.Tpo" ".deps/extract.Plo"; else rm -f ".deps/extract.Tpo"; exit 1; fi gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT extract.lo -MD -MP -MF .deps/extract.Tpo -c extract.c -fPIC -DPIC -o .libs/extract.o gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT extract.lo -MD -MP -MF .deps/extract.Tpo -c extract.c -o extract.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT uceil_exp2.lo -MD -MP -MF ".deps/uceil_exp2.Tpo" -c -o uceil_exp2.lo uceil_exp2.c; \ then mv -f ".deps/uceil_exp2.Tpo" ".deps/uceil_exp2.Plo"; else rm -f ".deps/uceil_exp2.Tpo"; exit 1; fi gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT uceil_exp2.lo -MD -MP -MF .deps/uceil_exp2.Tpo -c uceil_exp2.c -fPIC -DPIC -o .libs/uceil_exp2.o gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT uceil_exp2.lo -MD -MP -MF .deps/uceil_exp2.Tpo -c uceil_exp2.c -o uceil_exp2.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT uceil_log2.lo -MD -MP -MF ".deps/uceil_log2.Tpo" -c -o uceil_log2.lo uceil_log2.c; \ then mv -f ".deps/uceil_log2.Tpo" ".deps/uceil_log2.Plo"; else rm -f ".deps/uceil_log2.Tpo"; exit 1; fi gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT uceil_log2.lo -MD -MP -MF .deps/uceil_log2.Tpo -c uceil_log2.c -fPIC -DPIC -o .libs/uceil_log2.o gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT uceil_log2.lo -MD -MP -MF .deps/uceil_log2.Tpo -c uceil_log2.c -o uceil_log2.o >/dev/null 2>&1 if /bin/sh ./libtool --tag=CC --mode=compile gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT ufloor_log2.lo -MD -MP -MF ".deps/ufloor_log2.Tpo" -c -o ufloor_log2.lo ufloor_log2.c; \ then mv -f ".deps/ufloor_log2.Tpo" ".deps/ufloor_log2.Plo"; else rm -f ".deps/ufloor_log2.Tpo"; exit 1; fi gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT ufloor_log2.lo -MD -MP -MF .deps/ufloor_log2.Tpo -c ufloor_log2.c -fPIC -DPIC -o .libs/ufloor_log2.o gcc -DWANT_ASSERT=2 -DMPFR_USE_LOGGING=1 -DMPFR_TESTS_TIMEOUT=60 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I. -I/usr/local/gmp-debug/include -Wall -Wmissing-prototypes -g -O2 -Wno-format -MT ufloor_log2.lo -MD -MP -MF .deps/ufloor_log2.Tpo -c ufloor_log2.c -o ufloor_log2.o >/dev/null 2>&1 make[1]: *** [ufloor_log2.lo] Error 1 make: *** [all-recursive] Interrupt (B[m]1;ay:mpfr]2; [EMAIL PROTECTED] - ~/software/mpfr | pts/4[1m[7m%[27m[1m[m [m[27m[24m[J[1m[40m[33may:~/software/mpfr[41m[130][40m> [m[?12l[?25h[K[45C[1m[40m[33m<18:57:02[m[?12l[?25h[54D