On 10/11/2010 1:21 PM, Christopher Faylor wrote: > You probably could try to figure out if the X server is working and then > see which display is being used from that but I really don't think it > makes sense to slow down mintty to perform this check. FWIW, this > wouldn't work with the linux console either. > > IMO, it just boils down to a situation where, if the user wants to have > things display remotely, they have to go to the effort to properly set > the DISPLAY environment variable. Modifying mintty, the cygwin console, > or any other non-X application to do the right thing isn't the way to > go.
FYI, the 'checkX' program from the run2 package could be useful here, as part of a script the end user could run, within mintty or the cygwin console... -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
