X-Spam-Check-By: sourceware.org
Date: Wed, 23 Nov 2005 13:59:37 -0800
From: Lester Ingber <ingber@ingber.com>
To: cygwin@cygwin.com
Subject: Re: P.S. cygheap base mismatch
Message-ID: <20051123215937.GA6799@ingber.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.10i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I have use tcsh scripts run from a Cygwin window to start X-windows.  I had
been using lines like:
#!/bintcsh -f
xterm -j -sb -bg white -fg darkblue -cr green -ms magenta -bd red -geometry 80x84-0+0 -name right >>& /tmp/log.xwin &
With cygwin1-20051117.dll I was now also getting additional DOS windows.

I found that by using
xterm -j -sb -bg white -fg darkblue -cr green -ms magenta -bd red -geometry 80x84-0+0 -name right &
the DOS windows no longer pop up.

I also isolated the popen() problem somewhat.  Those popen()'s used
for file I/O still seem fine when using `gcc -mno-cygwin`, but the
popen()'s that fail are like:
 sprintf (utc_comm, "%s", "date -u +%Y%m%d");
  if ((ptr_comm = popen (utc_comm, "r")) == NULL) {
      // ...
  }
  pclose (ptr_comm);
I guess the use of `date` is like trying to write to STDOUT which
presents some problems when using `gcc -mno-cygwin`.

Thanks.

Lester

On Tue, Nov 22, 2005 at 10:43:48PM -0500, Christopher Faylor wrote:
: Date: Tue, 22 Nov 2005 22:43:48 -0500
: From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
: To: cygwin@cygwin.com
: Subject: Re: P.S. cygheap base mismatch
: Reply-To: cygwin@cygwin.com
: 
: On Tue, Nov 22, 2005 at 07:27:03PM -0800, Lester Ingber wrote:
: >Yes, I just put in cygwin1-20051117.dll.
: >
: >The cygheap problem does not seem to be present, and I'm able to start
: >xterm windows.  A quirk though:  Each xterm window also brings up a
: >separate DOS window, and thexterm window is killed if I kill the DOS
: >window?
: 
: How are you starting the xterms?  Via run?  From a shortcut?  From
: another xterm?
: 
: cgf


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

