Le 23/12/2011 14:35, Pavel Sanda a écrit :
Abdelrazak Younes wrote:
so we need new RC option or even better to test internally whether
we are on local box. i'm not sure how to detect it reliably
but one possible route seems to be DISPLAY environment variable.
(i see DISPLAY=:0.0 on local connection and DISPLAY=somehost:10.0
on the forwarded one...)

That is a good idea.

just to check, could people around sitting on linux or mac systems
report back their output of the command (to have some review):
set |grep DISPLAY

Ubuntu Lucid:

fantomas: set | grep DISPLAY
DISPLAY=:0.0

JMarc

Reply via email to