On 12/23/2011 08:35 AM, Pavel Sanda wrote:
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

/home/rgheck/ > set | grep DISPLAY
DISPLAY=:0

rh

Reply via email to