Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-22 Thread Ignace Mouzannar
Hi, I have encountered the same problems when testing rlwrap on my Debian. However, when I ssh from my Debian on my FreeBSD machine (on which I have locally compiled rlwrap-0.32) and run rlwrap, everything goes fine. Which makes me think that this bug is not related to the running terminal, gnome

Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-22 Thread Francois Marier
On 2009-11-22 at 12:00:44, Hans Lub wrote: > So: why doesn't tgetstr('dl1', ...) find anything for your xterm? > > Could you please run 'infocmp' inside an xterm and mail me the result? Here is the output of infocmp: # Reconstructed via infocmp from file: /lib/terminfo/x/xterm xterm|X11 te

Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-22 Thread Hans Lub
Hello Francois What happens is this: - For cases where a terminal is missing a certain capability (for cursor movement, clearing a line etc) rlwrap has a 'surrogate' routine to do the same (e.g. printing lots of spaces to clear a line) - There is an old and rather stupid bug in the su

Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-21 Thread Francois Marier
On 2009-11-21 at 21:15:42, Hans Lub wrote: > Hopefully the Bug will manifest itself again (if it's not a HeisenBug...) That's not a problem, I can reproduce it everytime I open dc. > If so, could you send me the /tmp/rlwrap.debug file? Attached. Cheers, Francois 0.000 main.c:492

Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-21 Thread Hans Lub
Hi François This will keep me busy for a while! I suppose that you, as a package maintainer, can compile rlwrap yourself. Could you please re-configure it with [fmarier] /usr/src/rlwrap-0.32 > ./configure --enable-debug [fmarier] /usr/src/rlwrap-0.32 > make [fmarier] /usr/src/rlwrap-0.32 > s

Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-21 Thread Francois Marier
Thanks for jumping in Hans! I am also able to reliably reproduce the problem with "rlwrap dc" In that case, the "garbage" I see is always a fragment from the last line of my ~/.inputrc: ble-bell (The line in question is "set prefer-visible bell") I have attached the strace output and here's t

Bug#557070: rlwrap garbage (Debian bug #557070)

2009-11-21 Thread Hans Lub
Hi Vladimir [cc: François Marier] I saw your bug report about rlwrap on the Debian Bug Tracking System. Thanks a lot for reporting it! As I am the rlwrap author, and as it doesn't really look like a Debian-specific problem I take the liberty of jumping in before François Could you please give me