help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell mode, changing directory


From: Barry Margolin
Subject: Re: shell mode, changing directory
Date: Fri, 21 Mar 2003 18:11:07 GMT

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]