delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/05/18:03:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39B56E80.38BF932C@veritas.com>
Date: Tue, 05 Sep 2000 15:06:56 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "David A. Cobb" <superbiskit AT home DOT com>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: Current Directory? [Branch from Re: DLL naming conventions]
References: <200009011148 DOT OAA23769 AT urkki DOT tellabs DOT fi> <39AFB333 DOT 69CE5F95 AT ece DOT gatech DOT edu> <20000902140958 DOT F7695 AT demon DOT co DOT uk> <39B14893 DOT A86AF3F9 AT ece DOT gatech DOT edu> <20000902231925 DOT Q7695 AT demon DOT co DOT uk> <20000902221915 DOT B13854 AT cygnus DOT com> <39B4209A DOT 6B5BBEC1 AT home DOT com> <20000904225307 DOT B1081 AT cygnus DOT com> <39B54A8D DOT 6D4A876D AT veritas DOT com> <39B5597B DOT 779582AF AT home DOT com>

"David A. Cobb" wrote:
> 
> Bob McGowan wrote:
> 
> > I'd like to expand on this, hopefully to add clarity.  The above is
---
The one thing I did not say I was doing, was looking at this from a
"command line" orientation.  Windowing software adds complexity since
the user now is seeing multiple instances of applications.

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

I'm not sure what the definition should be for "Current Process".  If by
that you mean the currently active, top window, then basically, yes. 
But, each and every process has a "current directory", whether or not it
is currently running, whether or not it is the "top window", etc.  You
are correct that from the perspective of the operator, the operator's
"current directory" will be that of the 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?
> 

I think you've got it ;)

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019