When I run a w3m-img-enabled w3m over an ssh connection, it seems to overwrite random X windows with the images it displays (I can provide screenshots if necessary) Actually, not completely random: it's usually the window that has focus when w3m starts to draw the images. (rather than the xterm that I ran w3m in) Daniel
At Tue, 9 Apr 2002 19:14:46 -0400, Daniel Burrows wrote: Yes, it's known bug, but it is too difficult to fix this because of w3m-img's implementation. Regards, Fumitoshi UKAI
Hi, This old bug is indeed difficult to fix: the remote w3m-img just can't know in which terminal it is running. The only guess it can make is that the X focus is probably on it. And of course, if one runs A$ ssh B B$ sleep 10 ; w3m foo.bar.com and switch focus to another window in the middle of the 10 seconds, w3m-img will indeed display images on that other window instead of the xterm. A solution is to use recent ssh's Send Environment facility: on the server side, in /etc/ssh/sshd_config, add AcceptEnv WINDOWID, and on the client side, in /etc/ssh/ssh_config, or in your ~/.ssh/config, add SendEnv WINDOWID. Now w3m-img on host B can just pick up the $WINDOWID variable and display images in the right xterm. Regards, Samuel
I am observing similar behaviour on my framebuffer console: When switching consoles while w3m is downloading/displaying images it starts displaying the images on whichever console I am currently switched too. Pressing CTRL-L in a non-w3m-running console properly redraws the console without the w3m images but as soon as w3m has downloaded the next image it re-displays all of them in whichever console I am in. I'd assume this is simply a missing am-I-the-active-console? check somewhere. Thanks Karsten