Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3FFE04E3.DFC40A2A@dessent.net>
Date: Thu, 08 Jan 2004 17:33:23 -0800
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: control-spacebar
References: <20040108204601.C1DDB3C063@juggler.cs.utah.edu> <Pine.GSO.4.56.0401081550250.8635@slinky.cs.nyu.edu> <Pine.GSO.4.56.0401081633300.18895@slinky.cs.nyu.edu> <20040108220309.E7E393C063@juggler.cs.utah.edu> <6.0.1.1.0.20040108170956.04118050@127.0.0.1> <Pine.GSO.4.56.0401081721250.19598@slinky.cs.nyu.edu> <20040108223508.EFF7B3C063@juggler.cs.utah.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

"H. James de St. Germain" wrote:

> at the time... Its curious that it works in either place and even more
> curious that placing it after cygwin starts causes programs like rxvt
> to core dump.

Why should that be curious?  As Chris pointed out it has to be set
before cygwin1.dll initializes.  If you set it in any kind of rc or
dotfile it's too late, as you're already running a shell and/or rxvt by
that point, all of which are Cygwin apps that load cygwin1.dll.  If you
put it in the batch file before the first Cygwin program runs, it will
be set when the DLL does its initialization, so everything is fine.  You
can also set it with Windows own Environment Variables setting page,
which causes it to be set in the registry and active for all processes,
not just the Cygwin.bat.  I think this is required if you have any
Cygwin apps running as a service.

Brian

--
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/

