Re: reset/terminate problems; preventing multiple XWin instance

2004-03-04 Thread Harold L Hunt II
I actually have a fairly long laundry list of things that I am going to be doing for this "open a unique display number problem". One of them is to add some options for specifying what to do if a particular display cannot be opened (-display-or-die), others either let you specify whether to as

Re: reset/terminate problems; preventing multiple XWin instance

2004-03-04 Thread cygwinx2eran
On 2004-03-04 13:12, Alexander Gottwald wrote: > if ! xdpyinfo >/dev/null 2>&1; then Cygwin's xdpyinfo waits for 6 second before giving up. A couple of days ago I posted an alternative solution using netstat, which doesn't have this delay. Both suffer from race conditions, which are quite likely

Re: reset/terminate problems; preventing multiple XWin instance

2004-03-04 Thread Alexander Gottwald
On Thu, 4 Mar 2004 [EMAIL PROTECTED] wrote: > On 2004-03-04 18:02, Takuma Murakami wrote: > > > > Perhaps there should be a switch that says "if the display already > > > exists, exit silently". > > I agree. We should have an option like "-silent" or "-quiet". > > That's not quite it -- I want

Re: reset/terminate problems; preventing multiple XWin instance

2004-03-04 Thread cygwinx2eran
On 2004-03-04 18:02, Takuma Murakami wrote: > > Perhaps there should be a switch that says "if the display already > > exists, exit silently". > I agree. We should have an option like "-silent" or "-quiet". That's not quite it -- I want to ignore a "display already exists" error, but if some oth