From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Shutko Newsgroups: gmane.emacs.help Subject: Re: shell mode, changing directory Date: Fri, 21 Mar 2003 18:23:02 GMT Organization: Optimum Online Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87isuck2tu.fsf@wesley.springies.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048271308 31175 80.91.224.249 (21 Mar 2003 18:28:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 18:28:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 21 19:28:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wRFg-00086J-00 for ; Fri, 21 Mar 2003 19:28:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wRCx-0001oT-0B for gnu-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2003 13:25:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!cyclone2.usenetserver.com!news.webusenet.com!news01.optonline.net!news4.srv.hcvlny.cv.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:5t699QZGTUWXwpeD3a17uTKAAFk= Original-Lines: 15 Original-NNTP-Posting-Host: 24.47.114.19 Original-X-Trace: news4.srv.hcvlny.cv.net 1048270982 24.47.114.19 (Fri, 21 Mar 2003 13:23:02 EST) Original-NNTP-Posting-Date: Fri, 21 Mar 2003 13:23:02 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:111297 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7796 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7796 Phillip Lord writes: > 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. Send "cd blah" to the process... that's the only way. You can't change a process's working directory from outside. comint-send-string might help. -- Alan Shutko - I am the rocks. Looking for a developer in St. Louis? http://web.springies.com/~ats/ Hey! You knuckleheads! - Gypsy to Mads