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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to