是在cygwin下运行sh文件时报的错,错误如下: Administrator@20090702-1702 /opt/tinyos-2.x-contrib/diku/common/apps/TTXDemo/PC display $ sh start_meter.sh start_meter.sh: line 12: xdpyinfo: command not found Screen is x We are going to create 3 windows start_meter.sh: line 29: / 3 : syntax error: operand expected (error token is 3 ) 在网上搜了很多东西,都觉得帮助不大,试了都不行,我明明就设置了DISPLAY变量的,这么还提示我没有设置呢?郁闷了~ 后来发现xdpyinfo根本就不存在!! 现在就想安装xdpyinfo,可是网上找不到这个软件,真是着急,有高手指点下啊?