From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7209 Path: main.gmane.org!not-for-mail From: Eric Swenson Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus UU support Date: 15 Jul 1996 13:01:49 +0000 Sender: eswenson@bonzo2.borland.com Message-ID: References: <199607151248.NAA07124@propos.long.harlequin.co.uk> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147550 6289 80.91.224.250 (20 Oct 2002 20:59:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:59:10 +0000 (UTC) Cc: ntemacs-users@cs.washington.edu, ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id NAA16358 for ; Mon, 15 Jul 1996 13:34:19 -0700 Original-Received: from druid.borland.com (druid.borland.com [143.186.11.70]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Mon, 15 Jul 1996 21:59:22 +0200 Original-Received: from bonzo2.borland.com.borland.com by druid.borland.com with smtp (Smail3.1.28.1 #3) id m0uftoS-0001z4C; Mon, 15 Jul 96 13:00 PDT Original-To: Andrew Innes In-Reply-To: Andrew Innes's message of Mon, 15 Jul 1996 13:48:54 +0100 Original-Lines: 45 X-Mailer: Gnus v5.2.22/Emacs 19.31 Xref: main.gmane.org gmane.emacs.gnus.general:7209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7209 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 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.