unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gary O'Sullivan <gary.osullivan@iol.ie>
To: Noam Postavsky <npostavs@users.sourceforge.net>,
	Gary O'Sullivan <gary5000@gmail.com>
Cc: 24787@debbugs.gnu.org
Subject: bug#24787: 25.1; eshell cd not changing directory on remote path (windows-nt)
Date: Tue, 25 Oct 2016 21:44:51 +0100	[thread overview]
Message-ID: <58acc64c-1a42-1afb-1387-62cd8829a2c0@iol.ie> (raw)
In-Reply-To: <CAM-tV-8NNBjvhfFB3MORNt63diOUL9JVuQ1vqB+0wyH_6GLQBQ@mail.gmail.com>

On 25/10/16 00:21, Noam Postavsky wrote:
> On Mon, Oct 24, 2016 at 7:03 PM, Gary O'Sullivan <gary5000@gmail.com> wrote:
>> Run runemacs.exe -Q
>>
>> M-x eshell
>>
>> Welcome to the Emacs shell
>>
>>
>> c:/software/emacs/bin $ cd /plink:mysrv:/
>>
>> /plink:mysrv:/home/gary/ $ cd etc
>>
>> No such directory found via CDPATH environment variable
>>
>> /plink:mysrv:/home/gary/ $ cd /plink:mysrv:/etc
>>
>> /plink:mysrv:/etc $
>
> Wouldn't the corresponding relative path for this be ../../etc? (I'm
> assuming cd /plink:mysrv:/home/gary/etc doesn't work)

The output from the ls command looks ok, I can see the etc directory but 
pwd/cd seems to be confused. If I go directly to 
"/plink:mysrv:/home/gary" I can list the files in my home directory but 
cd is still not working.

c:/software/emacs/bin $ cd /plink:mysrv:/
/plink:mysrv:/home/gary/ $ pwd
/plink:mysrv:/home/gary/
/plink:mysrv:/home/gary/ $ ls
bin   dev  home  lib64       media  mnt  opt   root  selinux  sys usr
boot  etc  lib   lost+found  misc   net  proc  sbin  srv      tmp var
/plink:mysrv:/home/gary/ $ cd etc
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary/ $ cd /plink:mysrv:/home/gary
/plink:mysrv:/home/gary $ pwd
/plink:mysrv:/home/gary
/plink:mysrv:/home/gary $ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates Videos
/plink:mysrv:/home/gary $ cd Documents
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary $ cd ..
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary $ pwd
/plink:mysrv:/home/gary
/plink:mysrv:/home/gary $ cd ../../etc
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary $







  reply	other threads:[~2016-10-25 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 23:03 bug#24787: 25.1; eshell cd not changing directory on remote path (windows-nt) Gary O'Sullivan
2016-10-24 23:21 ` Noam Postavsky
2016-10-25 20:44   ` Gary O'Sullivan [this message]
2016-10-30 20:12 ` Alan Third

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=58acc64c-1a42-1afb-1387-62cd8829a2c0@iol.ie \
    --to=gary.osullivan@iol.ie \
    --cc=24787@debbugs.gnu.org \
    --cc=gary5000@gmail.com \
    --cc=npostavs@users.sourceforge.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).