From: Barry Margolin <barry.margolin@level3.com>
Subject: Re: shell mode, changing directory
Date: Fri, 21 Mar 2003 18:11:07 GMT [thread overview]
Message-ID: <%AIea.8$0i.628@paloalto-snr1.gtei.net> (raw)
In-Reply-To: vffzpgbo3b.fsf@rpc71.cs.man.ac.uk
In article <vffzpgbo3b.fsf@rpc71.cs.man.ac.uk>,
Phillip Lord <p.lord@russet.org.uk> wrote:
>>>>>> "Kevin" == Kevin Rodgers <kevin.rodgers@ihs.com> writes:
>
> Kevin> Phillip Lord wrote:
>
> >> Can anyone tell me how to force a *shell* buffer to change it's
> >> current working directory? Effectively I want to fake typing "cd
> >> blah", but I can't see a good way to do this.
>
>
> Kevin> M-x cd RET blah RET
>
>This appears to change the default directory of the buffer, not the
>current working directory of the shell, which is not really what I
>want. Both need to happen.
Unix doesn't provide any way for one process to change the working
directory of another one.
I suppose you could write a command that will send a "cd <wherever>"
command to the shell buffer with process-send-string.
--
Barry Margolin, barry.margolin@level3.com
Genuity Managed Services, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
next prev parent reply other threads:[~2003-03-21 18:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-19 16:22 shell mode, changing directory Phillip Lord
2003-03-21 16:18 ` Kevin Rodgers
2003-03-21 17:56 ` Phillip Lord
2003-03-21 18:11 ` Barry Margolin [this message]
2003-03-21 21:15 ` Kevin Rodgers
2003-03-24 12:40 ` Phillip Lord
2003-03-21 18:23 ` Alan Shutko
-- strict thread matches above, loose matches on Subject: below --
2003-03-21 18:40 Bingham, Jay
[not found] <mailman.3489.1048272184.21513.help-gnu-emacs@gnu.org>
2003-03-21 19:53 ` Alan Shutko
2003-03-22 9:42 ` Piet van Oostrum
2003-03-24 16:21 ` Phillip Lord
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='%AIea.8$0i.628@paloalto-snr1.gtei.net' \
--to=barry.margolin@level3.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.