This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
reset/terminate problems; preventing multiple XWin instances
- From: cygwinx2eran at tromer dot org
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 29 Feb 2004 02:09:04 +0200
- Subject: reset/terminate problems; preventing multiple XWin instances
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
First, I'd like to extend my gratitude and appreciation to the Cygwin/X
developers. Your hard work has improved Cygwin/X by bounds and leaps,
making it an increasingly attractive alternative to bloated and
expensive commercial offerings. (Now if only multiwindow mode had decent
performance, like the other two modes...)
A few issues I've encountered with Cygwin/X 4.3.0-47:
Issue #1:
In multiwindow mode, XWin doesn't reset when the last client exists.
Example:
XWin :9 -terminate -multiwindow & sleep 5; DISPLAY=:9 xhost
XWin should terminate after 5 seconds, but it remains running.
Issue #2:
In the default mode, XWin sometimes terminates instead of resetting.
Example:
XWin :9& sleep 5; DISPLAY=:9 xhost; sleep 5; DISPLAY=:9 xhost
XWin should reset after 5 seconds and again after 5 more seconds.
The first reset goes well, but on the second reset XWin usually terminates.
Issue #3:
Hoe does one write a batchfile that does "open an xterm window; run XWin
first if necessary"? Being perhaps the most common usage case, such a
batchfile should be bundled in the Cygwin/X package and mentioned in the
documentation.
Note that /usr/X11R6/bin/startxwin.bat always runs a new instance of
XWin, even if one is already running. This can result in inefficiency
and confusion when the script is executed several times to open several
xterm windows (a natural thing to do). It's made even worse by issue #1
above.
Also, startxwin.bat doesn't use -clipboard.
Eran