Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39B5597B.779582AF@home.com>
Date: Tue, 05 Sep 2000 16:37:15 -0400
From: "David A. Cobb" <superbiskit@home.com>
Organization: @home user
X-Mailer: Mozilla 4.74 [en] (Win98; U)
X-Accept-Language: en,ru,pdf
MIME-Version: 1.0
To: cygwin@sources.redhat.com
Subject: Re: Current Directory? [Branch from Re: DLL naming conventions]
References: <200009011148.OAA23769@urkki.tellabs.fi> <39AFB333.69CE5F95@ece.gatech.edu> <20000902140958.F7695@demon.co.uk> <39B14893.A86AF3F9@ece.gatech.edu> <20000902231925.Q7695@demon.co.uk> <20000902221915.B13854@cygnus.com> <39B4209A.6B5BBEC1@home.com> <20000904225307.B1081@cygnus.com> <39B54A8D.6D4A876D@veritas.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Bob McGowan wrote:

> I'd like to expand on this, hopefully to add clarity.  The above is
> absolutely correct, for an interactive foreground shell session.
> Another way to say it is that the "current directory" is what you would
> get if you were to open the file named "." (dot, period...) in an
> application (which includes the shells).
>
> Additionally, since any particular application may be run in the
> background, and may also change directory, it is possible to have
> several "current directories", depending on which of the running
> applications you are referring to.
>

The "Current Directory" then, must be a property/attribute of the "Current
Process."  Is that correct?  With respect to the operator, it is relative
to the
current top window?

In other words, when I launch a program the cd is established by the
[shell] process in which I execute the launch command.  Subsequently, the
running
process may change it internally.  If I focus somewhere else, "my" current
directory changes, but that's irrelevant to the program I launched before.

Have I got it?


>
> --
> Bob McGowan
> Staff Software Quality Engineer
> VERITAS Software
> rmcgowan@veritas.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
David A. Cobb, Software Engineer, Public Access Advocate
"Don't buy or use crappy software"
"By the grace of God I am a Christian man,
 by my actions a great sinner" -- The Way of a Pilgrim [R. M. French, tr.]



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

