This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Work around for "Can't open display"
- To: "'cygwin-xfree at cygwin dot com '" <cygwin-xfree at cygwin dot com>
- Subject: RE: Work around for "Can't open display"
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Tue, 10 Apr 2001 20:43:43 -0400
There is no C program needed for it. It is defined by Windows at OS level.
All you need in startxwin.bat
if %OS%== "Windows_NT" XWIn....
if %OS% == " " XWIN..............
This is already in new startxwin bat and I do not believe it has anything to
do with OS DEFINE. This simply a TPC/IP issue on local machine. X is a
networked based server thus depends upon network protocols.
Suhaib
-----Original Message-----
From: Enoch Wu
To: cygwin-xfree@cygwin.com
Sent: 4/10/2001 5:33 PM
Subject: Work around for "Can't open display"
Hi all,
I remember seeing a C program that can read the OS type on
MS platforms. For now, a work around is given below:
Add this to your .bashrc:
export OS="Windows_NT" <---- if you have NT type.
export OS="" <---- if you have Win9x type
EW
Enjoy.