Zoran Dzelajlija <[email protected]> writes:

> Reproducible on the original machine:
>
> [23:12] ~ => COLUMNS=90 dpkg -l rxvt-unicode-lite elinks zsh libc6 |tail -4; 
> echo $TERM 
> ii  elinks           0.12~pre3-2      advanced text-mode WWW browser
> ii  libc6            2.9-4            GNU C Library: Shared libraries
> ii  rxvt-unicode-lit 9.06-1           RXVT-like terminal emulator with basic 
> Unicode s
> ii  zsh              4.3.9-4          A shell with lots of features
> rxvt-unicode

Can't reproduce with locally built Debian packages:

ii  elinks           0.12~pre3-2      advanced text-mode WWW browser
ii  libc6            2.7-16           GNU C Library: Shared libraries
ii  rxvt-unicode-lit 9.06-1           RXVT-like terminal emulator with basic 
Unicode s
ii  zsh              4.3.9-3          A shell with lots of features
rxvt-unicode

> With elinks 0.11.4-3, rxvt-unicode-lite 9.05-1+lenny1:
>
> TERM=xterm        - makes the issue disappear
> TERM=rxvt         - bug present
> TERM=rxvt-unicode - bug present as above (this is rxvt-unicode-lite's default)

Does the mouse work in ELinks when TERM=xterm?
You mentioned that after ctrl-z, the middle button doesn't paste
the selection; do other mouse buttons work as expected?

ELinks is supposed to send these sequences to the terminal when
started or resumed:

#define INIT_TWIN_MOUSE_SEQ     "\033[?9h"      /**< Send MIT Mouse Row & 
Column on Button Press */
#define INIT_XWIN_MOUSE_SEQ     "\033[?1000h"   /**< Send Mouse X & Y on button 
press and release */

And these when suspended or quit:

#define DONE_TWIN_MOUSE_SEQ     "\033[?9l"      /**< Don't Send MIT Mouse Row & 
Column on Button Press */
#define DONE_XWIN_MOUSE_SEQ     "\033[?1000l"   /**< Don't Send Mouse X & Y on 
button press and release */

Can you check whether that happens?  You could perhaps use
"script" or "strace" to capture the output from ELinks to the
terminal.  If there are problems with suspending the process, try
instead stracing rxvt as it reads the characters from the pty.
Alternatively, if you can reproduce the bug under Screen (perhaps
changing TERM and unsetting STY, to make ELinks not notice it's
in Screen), then you can use Screen's logging facilities.

> Versions of terminfo database and pterm:

ELinks doesn't use terminfo yet.

Attachment: pgpx6yv9C618i.pgp
Description: PGP signature

Reply via email to