Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Swenson <ejs@borland.com>
Cc: ntemacs-users@cs.washington.edu, ding@ifi.uio.no
Subject: Re: Gnus UU support
Date: 15 Jul 1996 13:01:49 +0000	[thread overview]
Message-ID: <u3f2tr7pe.fsf@bonzo2.borland.com> (raw)
In-Reply-To: Andrew Innes's message of Mon, 15 Jul 1996 13:48:54 +0100

Thanks, Andrew for your explanation.  It makes sense to me.  Now, the
more important question, should the Gnus sources (and indeed any Gnu
Emacs sources) try to take this kind of stuff into account?  Should I
attempt to get the Gnus folks to incorporate my change into the Gnus
sources?  I'm kind of leary about trying given that most folks who
write code for Gnu Emacs look down rather loudly at NT-specific
changes.  Folks who run GNU Emacs on non-win32 platforms are
all-to-often apt to say "that's what you get for running on Win32".  

My change just adds a unwind-protected call to cd around the code that
starts the process.  Should I attempt to get the Gnus folks to make
the change or is there another avenue (like you and the other NT Emacs
maintainers)?  

Thanks.  -- Eric

Andrew Innes <andrewi@harlequin.co.uk> writes:

> Not quite - you have tripped over a "feature" of DOS/NT command shells,
> which derives from the DOS drive/directory API.  Each drive maintains
> its own concept of working directory (per process on NT), and the wd for
> a drive can be changed without changing the cwd for the process (except
> that the cwd will be changed by changing the wd of the current drive).
> 
> [Note that on NT, I gather the command shell goes to some trouble to
> make things appear to work this way, because the underlying API no
> longer has separate functions to change drive and wd, although it still
> supports the ability to change drive, setting cwd based on the wd for
> the new drive.]
> 
> So the `cd' command only tells the shell to change the wd of a drive -
> unless you are changing the wd for the current drive, this does not
> change the cwd for the shell process.
> 
> There is a separate command to change the current drive - just the new
> drive letter and colon alone on the command line.  When you select a new
> drive, that drive's wd becomes the process cwd.
> 
> Unfortunately, this kind of solution will be required on NT, until such
> time as there is a decent shell for NT which can be made to behave like
> Unix shells and is commonly available.
> 
> Given the legacy of the DOS command shell, and the length of time it has
> taken Microsoft to make even modest improvements in it, we cannot really
> expect the standard shell to ever have this ability.


       reply	other threads:[~1996-07-15 13:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199607151248.NAA07124@propos.long.harlequin.co.uk>
1996-07-15 13:01 ` Eric Swenson [this message]
1996-07-16 12:16   ` Andrew Innes
1996-07-16 15:14     ` Steinar Bang
1996-07-16 13:58   ` Richard Pieri
1996-07-16 18:49   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u3f2tr7pe.fsf@bonzo2.borland.com \
    --to=ejs@borland.com \
    --cc=ding@ifi.uio.no \
    --cc=ntemacs-users@cs.washington.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).